I have been able to do a quick and dirty change of the underlying messaging infrastructure, which should be more stable?! Requirement is node v10 though.
If you still experience the disconnect issue: a new action reload <TelegramReceiverDevice>
is made available so you can reload at scheduled times, e.g. 23:00.
Also some minor bugs have been fixed such as the “help” bug.
Before I package and release on NPM, for the advanced users:
sudo systemctl stop pimatic
cd <pimatic-app>/node_modules/
rm -rf pimatic-telegram
git clone http://github.com/sentzu01/pimatic-telegram.git
cd pimatic-telegram
git checkout telegraf
npm install
sudo systemctl restart pimatic
If at any time you want to revert to the released version:
sudo systemctl stop pimatic
cd <pimatic-app>/node_modules/
rm -rf pimatic-telegram
sudo systemctl restart pimatic
Note: I have asked Lord Vader aka @OrTiN to Alpha test. So the issues he reports I will be “more responsive to” as my time is limited. Thanks everyone!
"Screw the captain. It's the engineer running the ship!"
pimatic-telegram, pimatic-tts, pimatic-woox, pimatic-lg-smart-tv, pimatic-spotify, pimatic-wakeuplight and some not-announced plugins