new
This commit is contained in:
parent
5a308ad8ba
commit
09756d7309
@ -12,7 +12,7 @@ before_script:
|
||||
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi'
|
||||
- npm -v
|
||||
- npm install winston@2.3.1
|
||||
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
|
||||
- 'npm install https://github.com/yunkong2/yunkong2.js-controller/tarball/master --production'
|
||||
env:
|
||||
- CXX=g++-4.8
|
||||
addons:
|
||||
|
10
README.md
10
README.md
@ -1,14 +1,14 @@
|
||||
![Logo](admin/pushover.png)
|
||||
# ioBroker pushover Adapter
|
||||
# yunkong2 pushover Adapter
|
||||
==============
|
||||
|
||||
[![NPM version](http://img.shields.io/npm/v/iobroker.pushover.svg)](https://www.npmjs.com/package/iobroker.pushover)
|
||||
[![Downloads](https://img.shields.io/npm/dm/iobroker.pushover.svg)](https://www.npmjs.com/package/iobroker.pushover)
|
||||
[![NPM version](http://img.shields.io/npm/v/yunkong2.pushover.svg)](https://www.npmjs.com/package/yunkong2.pushover)
|
||||
[![Downloads](https://img.shields.io/npm/dm/yunkong2.pushover.svg)](https://www.npmjs.com/package/yunkong2.pushover)
|
||||
|
||||
[![NPM](https://nodei.co/npm/iobroker.pushover.png?downloads=true)](https://nodei.co/npm/iobroker.pushover/)
|
||||
[![NPM](https://nodei.co/npm/yunkong2.pushover.png?downloads=true)](https://nodei.co/npm/yunkong2.pushover/)
|
||||
|
||||
|
||||
Send pushover notifications from ioBroker.
|
||||
Send pushover notifications from yunkong2.
|
||||
|
||||
## Configuration
|
||||
First of all it is required an account on pushover.
|
||||
|
@ -52,7 +52,7 @@ Blockly.Words['pushover_log_error'] = {'en': 'error',
|
||||
|
||||
Blockly.Words['pushover_anyInstance'] = {'en': 'all instances', 'de': 'Alle Instanzen', 'ru': 'На все драйвера'};
|
||||
Blockly.Words['pushover_tooltip'] = {'en': 'Send message to pushover', 'de': 'Sende eine Meldung über Telegram', 'ru': 'Послать сообщение через Pushover'};
|
||||
Blockly.Words['pushover_help'] = {'en': 'https://github.com/ioBroker/ioBroker.pushover/blob/master/README.md', 'de': 'https://github.com/ioBroker/ioBroker.pushover/blob/master/README.md', 'ru': 'https://github.com/ioBroker/ioBroker.pushover/blob/master/README.md'};
|
||||
Blockly.Words['pushover_help'] = {'en': 'https://github.com/yunkong2/yunkong2.pushover/blob/master/README.md', 'de': 'https://github.com/yunkong2/yunkong2.pushover/blob/master/README.md', 'ru': 'https://github.com/yunkong2/yunkong2.pushover/blob/master/README.md'};
|
||||
|
||||
Blockly.Sendto.blocks['pushover'] =
|
||||
'<block type="pushover">'
|
||||
|
@ -16,7 +16,7 @@ install:
|
||||
- ps: npm --version
|
||||
- npm install
|
||||
- npm install winston@2.3.1
|
||||
- 'npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production'
|
||||
- 'npm install https://github.com/yunkong2/yunkong2.js-controller/tarball/master --production'
|
||||
test_script:
|
||||
- echo %cd%
|
||||
- node --version
|
||||
|
@ -42,15 +42,15 @@
|
||||
},
|
||||
"title": "Pushover",
|
||||
"desc": {
|
||||
"en": "This adapter allows to send pushover notifications from ioBroker",
|
||||
"de": "Dieser Adapter ermöglicht das Senden von Pushover-Benachrichtigungen von ioBroker",
|
||||
"ru": "Этот адаптер позволяет отправлять pushover-уведомления от ioBroker",
|
||||
"pt": "Este adaptador permite enviar notificações pushover do ioBroker",
|
||||
"nl": "Met deze adapter kunt u pushover-meldingen van ioBroker verzenden",
|
||||
"fr": "Cet adaptateur permet d'envoyer des notifications de transfert depuis ioBroker",
|
||||
"it": "Questo adattatore consente di inviare notifiche pushover da ioBroker",
|
||||
"es": "Este adaptador permite enviar notificaciones fáciles de ioBroker",
|
||||
"pl": "Ten adapter umożliwia wysyłanie powiadomień push z programu ioBroker"
|
||||
"en": "This adapter allows to send pushover notifications from yunkong2",
|
||||
"de": "Dieser Adapter ermöglicht das Senden von Pushover-Benachrichtigungen von yunkong2",
|
||||
"ru": "Этот адаптер позволяет отправлять pushover-уведомления от yunkong2",
|
||||
"pt": "Este adaptador permite enviar notificações pushover do yunkong2",
|
||||
"nl": "Met deze adapter kunt u pushover-meldingen van yunkong2 verzenden",
|
||||
"fr": "Cet adaptateur permet d'envoyer des notifications de transfert depuis yunkong2",
|
||||
"it": "Questo adattatore consente di inviare notifiche pushover da yunkong2",
|
||||
"es": "Este adaptador permite enviar notificaciones fáciles de yunkong2",
|
||||
"pl": "Ten adapter umożliwia wysyłanie powiadomień push z programu yunkong2"
|
||||
},
|
||||
"authors": [
|
||||
"bluefox <dogafox@gmail.com>"
|
||||
@ -66,7 +66,7 @@
|
||||
"messagebox": true,
|
||||
"materialize": true,
|
||||
"subscribe": "messagebox",
|
||||
"readme": "https://github.com/ioBroker/ioBroker.pushover/blob/master/README.md",
|
||||
"readme": "https://github.com/yunkong2/yunkong2.pushover/blob/master/README.md",
|
||||
"wakeup": true,
|
||||
"enabled": true,
|
||||
"icon": "pushover.png",
|
||||
@ -75,14 +75,14 @@
|
||||
"pushover",
|
||||
"message"
|
||||
],
|
||||
"extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.pushover/master/admin/pushover.png",
|
||||
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.pushover/raw/master/admin/pushover.png",
|
||||
"type": "messaging",
|
||||
"blockly": true
|
||||
},
|
||||
"native": {
|
||||
"user": "xxxxx",
|
||||
"token": "xxxxx",
|
||||
"title": "ioBroker",
|
||||
"title": "yunkong2",
|
||||
"sound": "",
|
||||
"priority": 0
|
||||
},
|
||||
|
@ -27,8 +27,8 @@ let appName;
|
||||
function getControllerDir(isInstall) {
|
||||
// Find the js-controller location
|
||||
const possibilities = [
|
||||
'iobroker.js-controller',
|
||||
'ioBroker.js-controller',
|
||||
'yunkong2.js-controller',
|
||||
'yunkong2.js-controller',
|
||||
];
|
||||
/** @type {string} */
|
||||
let controllerPath;
|
||||
|
2
main.js
2
main.js
@ -1,6 +1,6 @@
|
||||
/**
|
||||
*
|
||||
* ioBroker pushover Adapter
|
||||
* yunkong2 pushover Adapter
|
||||
*
|
||||
* (c) 2014-2018 bluefox
|
||||
*
|
||||
|
12
package.json
12
package.json
@ -1,21 +1,21 @@
|
||||
{
|
||||
"name": "iobroker.pushover",
|
||||
"description": "This adapter allows to send pushover notifications from ioBroker",
|
||||
"name": "yunkong2.pushover",
|
||||
"description": "This adapter allows to send pushover notifications from yunkong2",
|
||||
"version": "1.1.0",
|
||||
"author": "bluefox <dogafox@gmail.com>",
|
||||
"contributors": [
|
||||
"bluefox <dogafox@gmail.com>"
|
||||
],
|
||||
"homepage": "https://github.com/ioBroker/ioBroker.pushover",
|
||||
"homepage": "https://github.com/yunkong2/yunkong2.pushover",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"ioBroker",
|
||||
"yunkong2",
|
||||
"pushover",
|
||||
"home automation"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ioBroker/ioBroker.pushover"
|
||||
"url": "https://github.com/yunkong2/yunkong2.pushover"
|
||||
},
|
||||
"dependencies": {
|
||||
"pushover-notifications": "^1.0.0"
|
||||
@ -26,7 +26,7 @@
|
||||
"chai": "^4.1.2"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/ioBroker/ioBroker.pushover/issues"
|
||||
"url": "https://github.com/yunkong2/yunkong2.pushover/issues"
|
||||
},
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
@ -415,7 +415,7 @@ function clearControllerLog() {
|
||||
}
|
||||
|
||||
function clearDB() {
|
||||
var dirPath = rootDir + 'tmp/iobroker-data/sqlite';
|
||||
var dirPath = rootDir + 'tmp/yunkong2-data/sqlite';
|
||||
var files;
|
||||
try {
|
||||
if (fs.existsSync(dirPath)) {
|
||||
|
@ -52,12 +52,12 @@ describe('Test package.json and io-package.json', function() {
|
||||
console.log();
|
||||
}
|
||||
if (
|
||||
ioPackage.common.title.indexOf('iobroker') !== -1 ||
|
||||
ioPackage.common.title.indexOf('ioBroker') !== -1 ||
|
||||
ioPackage.common.title.indexOf('yunkong2') !== -1 ||
|
||||
ioPackage.common.title.indexOf('yunkong2') !== -1 ||
|
||||
ioPackage.common.title.indexOf('adapter') !== -1 ||
|
||||
ioPackage.common.title.indexOf('Adapter') !== -1
|
||||
) {
|
||||
console.log('WARNING: title contains Adapter or ioBroker. It is clear anyway, that it is adapter for ioBroker.');
|
||||
console.log('WARNING: title contains Adapter or yunkong2. It is clear anyway, that it is adapter for yunkong2.');
|
||||
console.log();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user