Coder Social home page Coder Social logo

iobroker-community-adapters / iobroker.telegram Goto Github PK

View Code? Open in Web Editor NEW
53.0 16.0 44.0 26.1 MB

Use Telegram service to communicate with ioBroker

License: MIT License

JavaScript 99.21% HTML 0.79%
iobroker telegram bot smarthome iobroker-adapter telegram-bot

iobroker.telegram's Introduction

Logo

ioBroker.telegram

GitHub license Downloads GitHub repo size Translation status
GitHub commit activity GitHub commits since latest release (by date) GitHub last commit GitHub issues
Version:
NPM version Current version in stable repository Number of Installations
Tests:
Test and Release CodeQL

ioBroker telegram adapter

Use telegram service to communicate with ioBroker

Documentation

en Documentation

Sentry

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Changelog

3.5.1 (2024-06-12)

  • (klein0r) Fixed file handling for voice files
  • (klein0r) Updated dependencies

3.5.0 (2024-06-12)

  • (klein0r) Added option to save media files into ioBroker file system (files tab)

3.4.1 (2024-06-09)

  • (klein0r) Blockly 9 compatibility for new ask block

3.4.0 (2024-06-08)

  • (klein0r) Updated Blockly definitions
  • (klein0r) Added Blockly block to ask questions
  • (klein0r) Remove keyboard on answer (or timeout)

3.3.2 (2024-05-26)

  • (foxriver76) fixed problem with webserver handling

License

The MIT License (MIT)

Copyright (c) 2024 iobroker-community-adapters [email protected]
Copyright (c) 2016-2023, bluefox [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.telegram's People

Contributors

algu1 avatar alutov avatar apollon77 avatar basgo avatar boergegrunicke avatar bondrogeen avatar buzzy1337 avatar christianb86 avatar dependabot-preview[bot] avatar dependabot[bot] avatar diginix avatar dilesoft avatar foxriver76 avatar germanbluefox avatar haba1234 avatar iobrokertranslator avatar kirovilya avatar klein0r avatar ldittmar81 avatar mcm1957 avatar nahasapeemapetilon avatar ohuf avatar osrx avatar palmmaniac avatar petervoronov avatar simatec avatar steff42 avatar ta2k avatar vesler avatar winnyschuster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iobroker.telegram's Issues

Can not send message via Node-Red

Hello!

Possibly I found an bug.
When I try to insert something in response field from Node-red ioBroker node, nothing sends to Telegram.
But when I update this field manually message sends successfully.

Possible this happens because node-red sends messages "From: node-red.0" user and via interface I send it "From: admin.0".

Also I can successfully send messages via text2command plugin...

Enhancy by easy Telegram Bot

Idee eines einfach zu konfigurierendem Telegram Bots.
Kein Javascript mehr für jede Funktion sondern ein GUI ähnlich Blockly

Man wählt ein Objekt aus definiert was der Bot damit tun soll und gibt die Ausgabe an den User an.

Man kann sich mit Telegram einen kleinen Bot basteln der bei einem Keyword oder Command entweder die passende Ausgabe ausgibt oder eine Auswahl anbietet.

https://core.telegram.org/bots/2-0-intro

Ich habe mit ein JS gebaut das bei dem Triggerwort Temperatur eine Auswahl der verfügbaren Temperaturmesser zeigt die man dann per Button anklicken kann. Dann bekomme ich die Temperatur.

Es geht alles über Blockly oder JS ist aber für mich zumindest kompliziert wenn es komplexer wird.

Übernommen von ioBroker/AdapterRequests#19

telegram adapter high load!

Hi, after updating to latest iobroker 3, i'm getting a log of errors logged from telegram adapter:

polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running

I've a watchdog running, restarting iobroker when a load of 6 is reached on my raspi3.
This is now happening every day!

I'm runnign telegram adapter version 1.1.4, because with v1.2.0 i was not able to connect to the bot at all!
should I try to update again?
Or make a remove/reinstall of the adapter?

sendPhoto als Buffer senden können

Hallo,

könnte bitte einer der Entwickler die Möglichkeit einbauen ein Photo auch wie in der API möglich als Buffer (Binary) zu senden. Dadurch muss man das Bild einer Kamera z.B. nicht erst auf der Festplatte zwischenspeichern und kann es direkt senden. Beispiel:

`var TelegramBot = require('node-telegram-bot-api');
var bot = new TelegramBot(token);

var requestSettings = {
url: 'http://httpbin.org/image',
encoding: null
};

request(requestSettings, function (error, response, buffer) {
if (!error && response.statusCode == 200) {
bot.sendPhoto(chatId, buffer)
}
});`

Leider habe ich im Moment keiner Zeit einen Fork zu machen und dies selber einzubauen.

Danke und Gruß AlGu

Adapter reboot when receiving message

The adapter is configured in "server" mode. If I send a message to the bot, the adapter reloads with an error. Messages from the adapter come to me without any problems.

time debug message
2018-11-30 19:41:44.140 - error: telegram.0 uncaught exception: msg is not defined
2018-11-30 19:41:44.141 - error: telegram.0 ReferenceError: msg is not defined
--- --- at IncomingMessage.req.on.e (/opt/iobroker/node_modules/iobroker.telegram/main.js:216:31)
--- --- at emitNone (events.js:86:13)
--- --- at IncomingMessage.emit (events.js:185:7)
--- --- at endReadableNT (_stream_readable.js:978:12)
--- --- at _combinedTickCallback (internal/process/next_tick.js:80:11)
--- --- at process._tickCallback (internal/process/next_tick.js:104:9)
2018-11-30 19:41:44.646 - info: telegram.0 terminating
2018-11-30 19:41:44.663 - error: Caught by controller[1]: ReferenceError: msg is not defined
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at IncomingMessage.req.on.e (/opt/iobroker/node_modules/iobroker.telegram/main.js:216:31)
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at emitNone (events.js:86:13)
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at IncomingMessage.emit (events.js:185:7)
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at endReadableNT (_stream_readable.js:978:12)
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at _combinedTickCallback (internal/process/next_tick.js:80:11)
2018-11-30 19:41:44.665 - error: Caught by controller[1]: at process._tickCallback (internal/process/next_tick.js:104:9)
2018-11-30 19:41:44.665 - error: host.iobroker instance system.adapter.telegram.0 terminated with code 0 (OK)
2018-11-30 19:41:44.666 - info: host.iobroker Restart adapter system.adapter.telegram.0 because enabled
2018-11-30 19:41:45.705 - info: host.iobroker instance system.adapter.telegram.0 started with pid 17078
2018-11-30 19:41:46.788 - info: telegram.0 starting. Version 1.3.5 in /opt/iobroker/node_modules/iobroker.telegram, node: v6.14.4
2018-11-30 19:41:48.440 - info: telegram.0 https server listening on port 8443

At 5 o'clock am telegram is terminating

I have to iobroker servers set up. On each of those servers I am receiving the following error message
`

host.raspberrypi | 2018-07-26 05:04:00.611 | info | Restart adapter system.adapter.telegram.0 because enabled
host.raspberrypi | 2018-07-26 05:04:00.610 | error | instance system.adapter.telegram.0 terminated with code 156 ()
telegram.0 | 2018-07-26 04:36:04.092 | error | polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 | 2018-07-26 04:36:00.840 | error | polling_error:ETELEGRAM, ETELEGRAM: 500 Internal server error: restart
telegram.0 | 2018-07-26 04:21:44.415 | error | polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway

`
This occuring on both machine every day at the same time.

missing messageid of last send message

The Datapoint "telegram.0.communicate.requestChatId" and "telegram.0.communicate.requestMessageId" has currently the chatID and the messageId of the last recived message.

In some cases I need the chatID and the messageID of the last send message. (in case If I wan't to update or delete the last message by the Bot.)

To Thus the BotAPI return a Message object, of a message was send On success. As part of this returned object is the message_id and the chat identifier.

Would it be possible to have two additional objects in the Telegram adapter which containes the message and the chat ID of the last send message?

As workaround I currently stores my own message ID, where I use the value of "telegram.0.communicate.requestMessageId" and add a 1 on every send message anbd reset this to the value of "telegram.0.communicate.requestMessageId" on reciving a new message. But that solution is not so good.

502 Bad Gateway Error in Log

Hi,

the folowing error ocurred again and again (mostly at night):

telegram.0 | 2018-02-01 03:06:42.618 | error |  
-- | -- | -- | --
telegram.0 | 2018-02-01 03:06:42.618 | error |  
telegram.0 | 2018-02-01 03:06:42.618 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:42.618 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:42.618 | error |  
telegram.0 | 2018-02-01 03:06:42.618 | error |  
telegram.0 | 2018-02-01 03:06:42.618 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:42.285 | error |  
telegram.0 | 2018-02-01 03:06:42.285 | error |  
telegram.0 | 2018-02-01 03:06:42.285 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:42.285 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:42.285 | error |  
telegram.0 | 2018-02-01 03:06:42.285 | error |  
telegram.0 | 2018-02-01 03:06:42.285 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:41.949 | error |  
telegram.0 | 2018-02-01 03:06:41.949 | error |  
telegram.0 | 2018-02-01 03:06:41.949 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:41.949 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:41.949 | error |  
telegram.0 | 2018-02-01 03:06:41.949 | error |  
telegram.0 | 2018-02-01 03:06:41.949 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:41.617 | error |  
telegram.0 | 2018-02-01 03:06:41.617 | error |  
telegram.0 | 2018-02-01 03:06:41.617 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:41.617 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:41.617 | error |  
telegram.0 | 2018-02-01 03:06:41.617 | error |  
telegram.0 | 2018-02-01 03:06:41.617 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:41.285 | error |  
telegram.0 | 2018-02-01 03:06:41.285 | error |  
telegram.0 | 2018-02-01 03:06:41.285 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:41.285 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:41.285 | error |  
telegram.0 | 2018-02-01 03:06:41.285 | error |  
telegram.0 | 2018-02-01 03:06:41.285 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:40.941 | error |  
telegram.0 | 2018-02-01 03:06:40.941 | error |  
telegram.0 | 2018-02-01 03:06:40.941 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:40.941 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:40.941 | error |  
telegram.0 | 2018-02-01 03:06:40.941 | error |  
telegram.0 | 2018-02-01 03:06:40.941 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:40.607 | error |  
telegram.0 | 2018-02-01 03:06:40.607 | error |  
telegram.0 | 2018-02-01 03:06:40.607 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:40.607 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:40.607 | error |  
telegram.0 | 2018-02-01 03:06:40.607 | error |  
telegram.0 | 2018-02-01 03:06:40.607 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:40.267 | error |  
telegram.0 | 2018-02-01 03:06:40.267 | error |  
telegram.0 | 2018-02-01 03:06:40.267 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:40.267 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:40.267 | error |  
telegram.0 | 2018-02-01 03:06:40.267 | error |  
telegram.0 | 2018-02-01 03:06:40.267 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:39.936 | error |  
telegram.0 | 2018-02-01 03:06:39.936 | error |  
telegram.0 | 2018-02-01 03:06:39.936 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:39.936 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:39.936 | error |  
telegram.0 | 2018-02-01 03:06:39.936 | error |  
telegram.0 | 2018-02-01 03:06:39.936 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:37.487 | error |  
telegram.0 | 2018-02-01 03:06:37.487 | error |  
telegram.0 | 2018-02-01 03:06:37.487 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:37.487 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:37.487 | error |  
telegram.0 | 2018-02-01 03:06:37.487 | error |  
telegram.0 | 2018-02-01 03:06:37.487 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:37.157 | error |  
telegram.0 | 2018-02-01 03:06:37.157 | error |  
telegram.0 | 2018-02-01 03:06:37.157 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:37.157 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:37.157 | error |  
telegram.0 | 2018-02-01 03:06:37.157 | error |  
telegram.0 | 2018-02-01 03:06:37.157 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:36.825 | error |  
telegram.0 | 2018-02-01 03:06:36.825 | error |  
telegram.0 | 2018-02-01 03:06:36.825 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:36.825 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:36.825 | error |  
telegram.0 | 2018-02-01 03:06:36.825 | error |  
telegram.0 | 2018-02-01 03:06:36.825 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:36.496 | error |  
telegram.0 | 2018-02-01 03:06:36.496 | error |  
telegram.0 | 2018-02-01 03:06:36.496 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:36.496 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:36.496 | error |  
telegram.0 | 2018-02-01 03:06:36.496 | error |  
telegram.0 | 2018-02-01 03:06:36.496 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:36.162 | error |  
telegram.0 | 2018-02-01 03:06:36.162 | error |  
telegram.0 | 2018-02-01 03:06:36.162 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:36.162 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:36.162 | error |  
telegram.0 | 2018-02-01 03:06:36.162 | error |  
telegram.0 | 2018-02-01 03:06:36.162 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:35.831 | error |  
telegram.0 | 2018-02-01 03:06:35.831 | error |  
telegram.0 | 2018-02-01 03:06:35.831 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:35.831 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:35.831 | error |  
telegram.0 | 2018-02-01 03:06:35.831 | error |  
telegram.0 | 2018-02-01 03:06:35.831 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:35.482 | error |  
telegram.0 | 2018-02-01 03:06:35.482 | error |  
telegram.0 | 2018-02-01 03:06:35.482 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:35.482 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:35.482 | error |  
telegram.0 | 2018-02-01 03:06:35.482 | error |  
telegram.0 | 2018-02-01 03:06:35.482 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:35.151 | error |  
telegram.0 | 2018-02-01 03:06:35.151 | error |  
telegram.0 | 2018-02-01 03:06:35.151 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:35.151 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:35.151 | error |  
telegram.0 | 2018-02-01 03:06:35.151 | error |  
telegram.0 | 2018-02-01 03:06:35.151 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:34.814 | error |  
telegram.0 | 2018-02-01 03:06:34.814 | error |  
telegram.0 | 2018-02-01 03:06:34.814 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:34.814 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:34.814 | error |  
telegram.0 | 2018-02-01 03:06:34.814 | error |  
telegram.0 | 2018-02-01 03:06:34.814 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:34.487 | error |  
telegram.0 | 2018-02-01 03:06:34.487 | error |  
telegram.0 | 2018-02-01 03:06:34.487 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:34.487 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:34.487 | error |  
telegram.0 | 2018-02-01 03:06:34.487 | error |  
telegram.0 | 2018-02-01 03:06:34.487 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:34.148 | error |  
telegram.0 | 2018-02-01 03:06:34.148 | error |  
telegram.0 | 2018-02-01 03:06:34.148 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:34.148 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:34.148 | error |  
telegram.0 | 2018-02-01 03:06:34.148 | error |  
telegram.0 | 2018-02-01 03:06:34.148 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:33.809 | error |  
telegram.0 | 2018-02-01 03:06:33.809 | error |  
telegram.0 | 2018-02-01 03:06:33.809 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:33.809 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:33.809 | error |  
telegram.0 | 2018-02-01 03:06:33.809 | error |  
telegram.0 | 2018-02-01 03:06:33.809 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:33.476 | error |  
telegram.0 | 2018-02-01 03:06:33.476 | error |  
telegram.0 | 2018-02-01 03:06:33.476 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:33.476 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:33.476 | error |  
telegram.0 | 2018-02-01 03:06:33.476 | error |  
telegram.0 | 2018-02-01 03:06:33.476 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:33.140 | error |  
telegram.0 | 2018-02-01 03:06:33.140 | error |  
telegram.0 | 2018-02-01 03:06:33.140 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:33.140 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:33.140 | error |  
telegram.0 | 2018-02-01 03:06:33.140 | error |  
telegram.0 | 2018-02-01 03:06:33.140 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:32.814 | error |  
telegram.0 | 2018-02-01 03:06:32.814 | error |  
telegram.0 | 2018-02-01 03:06:32.814 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:32.814 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:32.814 | error |  
telegram.0 | 2018-02-01 03:06:32.814 | error |  
telegram.0 | 2018-02-01 03:06:32.814 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:32.488 | error |  
telegram.0 | 2018-02-01 03:06:32.488 | error |  
telegram.0 | 2018-02-01 03:06:32.488 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:32.488 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:32.488 | error |  
telegram.0 | 2018-02-01 03:06:32.488 | error |  
telegram.0 | 2018-02-01 03:06:32.488 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:32.133 | error |  
telegram.0 | 2018-02-01 03:06:32.133 | error |  
telegram.0 | 2018-02-01 03:06:32.133 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:32.133 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:32.133 | error |  
telegram.0 | 2018-02-01 03:06:32.133 | error |  
telegram.0 | 2018-02-01 03:06:32.133 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:31.808 | error |  
telegram.0 | 2018-02-01 03:06:31.808 | error |  
telegram.0 | 2018-02-01 03:06:31.808 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:31.808 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:31.808 | error |  
telegram.0 | 2018-02-01 03:06:31.808 | error |  
telegram.0 | 2018-02-01 03:06:31.808 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:31.477 | error |  
telegram.0 | 2018-02-01 03:06:31.477 | error |  
telegram.0 | 2018-02-01 03:06:31.477 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:31.477 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:31.477 | error |  
telegram.0 | 2018-02-01 03:06:31.477 | error |  
telegram.0 | 2018-02-01 03:06:31.477 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:31.152 | error |  
telegram.0 | 2018-02-01 03:06:31.152 | error |  
telegram.0 | 2018-02-01 03:06:31.152 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:31.152 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:31.152 | error |  
telegram.0 | 2018-02-01 03:06:31.152 | error |  
telegram.0 | 2018-02-01 03:06:31.152 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:30.813 | error |  
telegram.0 | 2018-02-01 03:06:30.813 | error |  
telegram.0 | 2018-02-01 03:06:30.813 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:30.813 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:30.813 | error |  
telegram.0 | 2018-02-01 03:06:30.813 | error |  
telegram.0 | 2018-02-01 03:06:30.813 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:30.486 | error |  
telegram.0 | 2018-02-01 03:06:30.486 | error |  
telegram.0 | 2018-02-01 03:06:30.486 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:30.486 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:30.486 | error |  
telegram.0 | 2018-02-01 03:06:30.486 | error |  
telegram.0 | 2018-02-01 03:06:30.486 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:30.158 | error |  
telegram.0 | 2018-02-01 03:06:30.158 | error |  
telegram.0 | 2018-02-01 03:06:30.158 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:30.158 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:30.158 | error |  
telegram.0 | 2018-02-01 03:06:30.158 | error |  
telegram.0 | 2018-02-01 03:06:30.158 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:29.831 | error |  
telegram.0 | 2018-02-01 03:06:29.831 | error |  
telegram.0 | 2018-02-01 03:06:29.831 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:29.831 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:29.831 | error |  
telegram.0 | 2018-02-01 03:06:29.831 | error |  
telegram.0 | 2018-02-01 03:06:29.831 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:
telegram.0 | 2018-02-01 03:06:29.434 | error |  
telegram.0 | 2018-02-01 03:06:29.434 | error |  
telegram.0 | 2018-02-01 03:06:29.434 | error | nginx/1.12.2
telegram.0 | 2018-02-01 03:06:29.434 | error | 502 Bad Gateway
telegram.0 | 2018-02-01 03:06:29.434 | error |  
telegram.0 | 2018-02-01 03:06:29.434 | error |  
telegram.0 | 2018-02-01 03:06:29.434 | error | polling_error:EPARSE, Error: EPARSE: Error parsing Telegram response:

Can you adjust the polling somewhere or see how it is set?

Thanks
AlGu

changed password -> reauthenticate users

If the password for the Bot is changed in the instance settings the previously authenticated users should be deleted for safety reasons. (Or maybe at least give the user the possibility to choose if the users must reauthenticate or not (checkbox?)) Otherwise the users which were authenticated before the change of the password can just continue to use the bot without entering the new password.

Fehler/Hinweis nach Update auf 1.2.4

Nach Update auf telegram Version 1.2.4 bekomme ich folgenden Fehler/Hinweis im Log mit verweis auf yagop/node-telegram-bot-api#319

Caught | 2018-06-03 22:05:05.724 | error | by controller[0]: See https://github.com/yagop/node-telegram-bot-api/issues/319. at module.js:577:32
Caught | 2018-06-03 22:05:05.724 | error | by controller[0]: In the future, you will have to enable it yourself.
Caught | 2018-06-03 22:05:05.724 | error | by controller[0]: Sun, 03 Jun 2018 20:04:53 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

requestUserId is not containing userid

I am sending me a message, but all I get:

on({id: "telegram.0.communicate.requestUserId"/*Last received request*/, change: "any"}, function(value) {
    console.log(JSON.stringify(value));

// "telegram.0.communicate.requestUserId"/*User ID of last received request*/
})

[info] | javascript.0  script.js.common.telegram:  {"id":"telegram.0.communicate.requestUserId","newState":{"val":"","ts":1544480669826,"ack":false,"lc":1544305043073,"from":"system.adapter.telegram.0"},"oldState":{"val":"","ts":1544480648684,"ack":false,"lc":1544305043073,"from":"system.adapter.telegram.0"},"state":{"val":"","ts":1544480669826,"ack":false,"lc":1544305043073,"from":"system.adapter.telegram.0"}}
-- | --


the "request" also does not contain userid

sendMediaGroup

Ist versuche über telegram ein PhotoAlbum zu verschicken.

Laut API Spezifikation ist die Funktion sendMediaGroup dafür gedacht (https://core.telegram.org/bots/api/#).

Meine Idee war wie folgt:

var mediastring = "{type: 'photo', media: '/tmp/camera.jpg' }, {type: 'photo', media: '/tmp/camera.jpg' }, {type: 'photo', media: '/tmp/camera.jpg'}";

// JSON serialize
var meineBilder = JSON.stringify(mediastring);
var obj = JSON.parse(meineBilder);

sendTo("telegram.0", {
    text: 'mediagroup',
    chatId: 398694033,
    media: obj,
});

Ich bekomme in telegram App nur den Text "mein Text" angezeigt, aber nicht die Bilder.

Laut der Spezifikation (siehe den Link oben) soll man auch nur die chatid und media angeben. Wenn ich "text" weg lasse, erhalte ich aber folgende Fehlermeldung im iobroker log:
telegram.0 2018-01-26 14:45:01.278 error Cannot send message [user - undefined]: Error: ETELEGRAM: 400 Bad Request: message text is empty

Muss man die den Adapter eventuell abändern, dass er auch ohne den Parameter "text" funktioniert?

Config: rememberUsers won't save

adapter.config.rememberUsers is allways false when loading the adapter, regardless of the checkbox in the config-dialog.

Ironically this checkbox is always checked, when reopening the config-dialog.

Anyone got an idea?

If I got the time tomorrow, I will attempt to debug this.

Automatischer Neustart

Seit 3 Tagen startet der Telegram Adapter um 05:04 Uhr jeweils neu. In der Log steht "Scheduled Restart" bzw. Fehler Code 156.

Enhancement for Blockly Sendto Telegram silent

In telegram api its possible to sent messages "silently" without notification at smartphones.
parameter: disable_notification: true

In moment I use it with an own sendtotelegram function in blockly.

It would be very interesting for all blockly-users too, to get an option to silence low-level messages I guess.

Fehlermeldung im Log

Beim täglichen Neustart des Adapters wird eine Meldung vom Typ error in die Logdatei geschrieben.
Da dieser Neustart des Adapters jedoch fest einprogrammiert ist und es sich dabei um ein normales Ereignis handelt, wäre es sehr wünschenswert, wenn die Meldung lediglich eine info-Meldung wäre.

Error

Caught | 2018-06-06 22:50:01.241 | error | by controller[0]: See yagop/node-telegram-bot-api#319. at module.js:570:32
Caught | 2018-06-06 22:50:01.240 | error | by controller[0]: In the future, you will have to enable it yourself.
Caught | 2018-06-06 22:50:01.238 | error | by controller[0]: Wed, 06 Jun 2018 15:49:35 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

Blockly - parse_mode Option

Es wäre praktisch wenn die parse_mode Option um Text per Markdown oder HTML zu formatieren auch per Blockly Block möglich wäre.

z. B. als Option im telegram Block oder als optionaler Schalter in der Adapterkonfiguration im Nachrichten Feld, also wenn z. B. die Option HTML gesetzt ist wird immer der parse_mode: 'HTML' per telegram Blockly Block im Code mit eingefügt.

Blocky "username" translates to user instead of chatID

I am not sure if this is intended or if user has a function at all, but shouldn't "username" be the chatId so we can ad a text field to Username in blocky in order to text a specific person?
So far this only works when we use chatId: 'XXX' instead of user in JS.
Thanks in advance!

Restart message in silent mode optionally

As the adapter restarts after each iobroker restart (initiated by backitup or manually) or on every day (adapter cron) the push message "Bot wird neu gestartet" gets more and more annoying. I suggest an option in the adapter settings to activate silent mode (like in backitup).

Error adapter when on socks proxy

Caught | 2018-06-06 22:49:29.815 | error | by controller[3]: at TCP.onread (net.js:547:20)
Caught | 2018-06-06 22:49:29.814 | error | by controller[3]: at readableAddChunk (_stream_readable.js:176:18)
Caught | 2018-06-06 22:49:29.813 | error | by controller[3]: at Socket.emit (events.js:188:7)
Caught | 2018-06-06 22:49:29.813 | error | by controller[3]: at emitOne (events.js:96:13)
Caught | 2018-06-06 22:49:29.812 | error | by controller[3]: at Socket.Parser.__onData (C:\ioBroker\node_modules\iobroker.telegram\node_modules\socksv5\lib\client.parser.js:33:10)
Caught | 2018-06-06 22:49:29.810 | error | by controller[3]: at Parser._onData (C:\ioBroker\node_modules\iobroker.telegram\node_modules\socksv5\lib\client.parser.js:122:21)
Caught | 2018-06-06 22:49:29.809 | error | by controller[3]: 2018-06-06 22:49:29.240 - telegram.0 Error: ttl expired
Caught | 2018-06-06 22:49:29.808 | error | by controller[2]: 2018-06-06 22:49:29.238 - telegram.0 uncaught exception: ttl expired
Caught | 2018-06-06 22:49:29.807 | error | by controller[1]: at TCP.onread (net.js:547:20) code: 'ETTLEXPIRED' }
Caught | 2018-06-06 22:49:29.806 | error | by controller[1]: at readableAddChunk (_stream_readable.js:176:18)
Caught | 2018-06-06 22:49:29.805 | error | by controller[1]: at Socket.emit (events.js:188:7)
Caught | 2018-06-06 22:49:29.804 | error | by controller[1]: at emitOne (events.js:96:13)
Caught | 2018-06-06 22:49:29.803 | error | by controller[1]: at Socket.Parser.__onData (C:\ioBroker\node_modules\iobroker.telegram\node_modules\socksv5\lib\client.parser.js:33:10)
Caught | 2018-06-06 22:49:29.801 | error | by controller[1]: at Parser._onData (C:\ioBroker\node_modules\iobroker.telegram\node_modules\socksv5\lib\client.parser.js:122:21)
Caught | 2018-06-06 22:49:29.799 | error | by controller[1]: { Error: ttl expired

error 1.3.6

Bekommt seit der aktuellen Version folgenden Error:

Caught 2018-12-03 16:45:48.158 error by controller[0]: See yagop/node-telegram-bot-api#319. at module.js:577:32
Caught 2018-12-03 16:45:48.158 error by controller[0]: In the future, you will have to enable it yourself.
Caught 2018-12-03 16:45:48.158 error by controller[0]: Mon, 03 Dec 2018 15:45:38 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

New Line

Hello,

how could i make a new line in a message response?

Change SendTo: Allow for Group chat receivers (not only single users)

I have filed an iobroker issue, before I found out about this Git!
So for the sake of "redundancy makes for persuasion" here it is again...

This is the English request following up to this German forum post: https://forum.iobroker.net/viewtopic.php?f=22&t=3890&p=166023#p166023 .

O.K., so in the Blockly "SendTo" block for a Telegram messsage, there is a "receiver" (Empfänger) field where you can enter the Telegram user id for a specific receiver. The Javascript that's being generated, uses the "user" parameter to the "sendTo" object. The generated code looks like this:

    sendTo("telegram.0", "send", {
        text: 'Woof!',
        user: '123456789'
    });

The "user" parameter does not support sending to group chat id's, but the "chatId" parameter does!.
On the other hand, the "chatId" parameter also supports sending to single users!!

So by exchanging the "user" parameter for the - better - "chatId" parameter in Blockly, you could make admins and users much happier without losing existing functionality.

The better code would then look like this:

    sendTo("telegram.0", "send", {
        text: 'Meeow!',
        chatId: '-987654321'
    });

Thanks for considering this change.

Oliver.

The new 1.0.08 version generates 409 errors.

telegram.0 | 2017-10-05 21:44:34.342 | error | polling_error:ETELEGRAM, Error: ETELEGRAM: 409 Conflict: terminated by other long poll or webhook
-- | -- | -- | --

Every second a line like above!

Adapter detects username as first name instead of the actual one

As I was having another issue regarding the blocky script with user name field, I realised that the adapter detects me with my first name as username and not my actual username.
Since first names are not unique this could lead to some issues down the road.
I tried to delete everything and reinstall the Adapter and bot but still it shows my first name as user and not my actual one.
Not sure if this is just me, or it is how it is.

Problem ETELEGRAM: 409 Conflict: terminated by other getUpdates...

bei aktivierung des adapters (1.3.0) auf Raspi-Image (ioBroker_Image_RPi_2-3_20180401_stretch.img)
kommt immer die Meldung:

polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running

debug:

2018-09-24 20:40:33.332 - debug: telegram.0 objectDB connected
2018-09-24 20:40:33.411 - debug: telegram.0 statesDB connected
2018-09-24 20:40:33.425 - info: telegram.0 States connected to redis: 127.0.0.1:6379
2018-09-24 20:40:33.686 - info: telegram.0 starting. Version 1.2.7 in /opt/iobroker/node_modules/iobroker.telegram, node: v8.11.1
2018-09-24 20:40:33.992 - debug: telegram.0 Schedule restart: 4 5 * * *
2018-09-24 20:40:34.073 - debug: telegram.0 Start polling with: 300(number) ms interval
2018-09-24 20:40:34.196 - debug: telegram.0 redis pmessage io.telegram.0.communicate.request io.telegram.0.communicate.request {"val":"","ack":true,"ts":1537814434178,"q":0,"from":"system.adapter.telegram.0","lc":1537813620368}
2018-09-24 20:40:34.201 - debug: telegram.0 redis pmessage io.telegram.0.communicate.response io.telegram.0.communicate.response {"val":"","ack":true,"ts":1537814434181,"q":0,"from":"system.adapter.telegram.0","lc":1537813620369}
2018-09-24 20:40:34.597 - info: telegram.0 getMe: {"id":164045638,"is_bot":true,"first_name":"Cluxxxx","username":"Cluxxxx_bot"}
2018-09-24 20:40:41.104 - error: telegram.0 polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2018-09-24 20:40:47.976 - error: telegram.0 polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2018-09-24 20:40:54.859 - error: telegram.0 polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2018-09-24 20:41:03.501 - error: telegram.0 polling_error:ETELEGRAM, ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running

mfg
Farmer

Automatic enabling of cancellation of promises is deprecated

2019-01-08 20:14:21.303 - error: Caught by controller[0]: Tue, 08 Jan 2019 19:14:07 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
2019-01-08 20:14:21.304 - error: Caught by controller[0]: In the future, you will have to enable it yourself.
2019-01-08 20:14:21.304 - error: Caught by controller[0]: See https://github.com/yagop/node-telegram-bot-api/issues/319. at module.js:653:30
2019-01-08 20:14:21.304 - info: host.iobroker instance system.adapter.telegram.1 terminated with code 0 (OK)

Error 409

Hi,

I installed the adapter yesterday. Everything is configured an works perfectly. Except of this error running down my log files (700 entries in 10 minutes).

2018-03-19 09_25_48-iobroker admin

Does anyone has an idea how to handle this?

Thanks in advance.
Elexil

Why the restarts?

I was told I can prevent the messages by deleting the start-stop text in the instance .. but why does it happen in the first place?
img_20181104_185804

ETELEGRAM, ETELEGRAM: 502 Bad Gateway

seit den letzten zwei updates bekomme ich immer Fehlermeldungen:

telegram.0 2018-07-26 03:14:23.329 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:23.006 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:22.684 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:22.360 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:22.037 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:21.715 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:21.391 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:21.067 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:20.743 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:20.419 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:14:20.093 error polling_error:ETELEGRAM, ETELEGRAM: 502 Bad Gateway
telegram.0 2018-07-26 03:04:02.336 info getMe (reconnect): {"id":3782233634,"is_bot":true,"first_name":"IoBroker","username":"ww_bot"}

Info getMe (reconnect) jede Stunde

Ist es wichtig jede Stunden diesen Eintrag als Info zu bekommen?

telegram.0 | 2019-01-23 20:04:06.582 | info | getMe (reconnect):id":1124567890"is_bot":true,"first_name":.....

Error mit Telegram Server mode und SSL

`

host.ioBroker 2018-09-13 20:36:06.678 error instance system.adapter.telegram.0 terminated with code 0 (OK)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at WritableState.onwrite (_stream_writable.js:90:5)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at onwrite (_stream_writable.js:378:7)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at afterWrite (_stream_writable.js:387:3)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/PerMessageDeflate.js:249:5
Caught 2018-09-13 20:36:06.678 error by controller[8]: at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:368:7
Caught 2018-09-13 20:36:06.678 error by controller[8]: at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:536:18
Caught 2018-09-13 20:36:06.678 error by controller[8]: at Receiver.ontext (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/WebSocket.js:841:10)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at WebSocket.emit (events.js:191:7)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at emitTwo (events.js:106:13)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/WebSocket.js:442:14)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
Caught 2018-09-13 20:36:06.678 error by controller[8]: at WS.Transport.onData (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:137:8)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at WS.Transport.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:145:8)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at WS.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at WS. (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:268:10)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:451:14)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
Caught 2018-09-13 20:36:06.677 error by controller[8]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:724:21)
Caught 2018-09-13 20:36:06.676 error by controller[8]: at /opt/iobroker/node_modules/iobroker.telegram/main.js:65:32
Caught 2018-09-13 20:36:06.676 error by controller[8]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
Caught 2018-09-13 20:36:06.676 error by controller[8]: at Object.Greenlock.create (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/index.js:258:13)
Caught 2018-09-13 20:36:06.676 error by controller[8]: at promisifyAllSelf (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/index.js:15:20)
Caught 2018-09-13 20:36:06.676 error by controller[8]: at Array.forEach (native)
Caught 2018-09-13 20:36:06.676 error by controller[8]: at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/greenlock/index.js:17:33
Caught 2018-09-13 20:36:06.676 error by controller[8]: TypeError: util.promisify is not a function
Caught 2018-09-13 20:36:06.676 error by controller[7]: Detected Let's Encrypt v02 URL. Changing version to draft-12.
Caught 2018-09-13 20:36:06.676 error by controller[5]: This will be required in versions v2.3+
Caught 2018-09-13 20:36:06.676 error by controller[5]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed)
Caught 2018-09-13 20:36:06.676 error by controller[4]: 'v01' for Let's Encrypt v1 (deprecated)
Caught 2018-09-13 20:36:06.676 error by controller[3]: or
Caught 2018-09-13 20:36:06.675 error by controller[3]: ('v02' is an alias of 'draft-12'
Caught 2018-09-13 20:36:06.675 error by controller[2]: 'draft-12' for Let's Encrypt v2 and ACME draft 12
Caught 2018-09-13 20:36:06.675 error by controller[2]: Please specify 'version' option:
Caught 2018-09-13 20:36:06.674 error by controller[2]: ==========================================================
Caught 2018-09-13 20:36:06.674 error by controller[2]: == greenlock.js (v2.2.0+) ==
Caught 2018-09-13 20:36:06.674 error by controller[2]: ==========================================================
Caught 2018-09-13 20:36:06.674 error by controller[0]: See yagop/node-telegram-bot-api#319. at module.js:577:32
Caught 2018-09-13 20:36:06.674 error by controller[0]: In the future, you will have to enable it yourself.
Caught 2018-09-13 20:36:06.674 error by controller[0]: Thu, 13 Sep 2018 18:36:05 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.