dzvent to dialog with telegram
Posted: Tuesday 04 June 2019 0:31
Hi, is it possible to create a dzvent that using notification HTTP (set as telegram bot) can show the status of a light, or switch on/off a light?
Open source Home Automation System
https://forum.domoticz.com/
To show the status of a light is no problem. But I would not know how telegram could steer a domoticz light. Maybe I don't understand ?megamarco83 wrote: Tuesday 04 June 2019 0:31 Hi, is it possible to create a dzvent that using notification HTTP (set as telegram bot) can show the status of a light, or switch on/off a light?
hey ciao, happy to see youwaaren wrote: Tuesday 04 June 2019 1:45To show the status of a light is no problem. But I would not know how telegram could steer a domoticz light. Maybe I don't understand ?megamarco83 wrote: Tuesday 04 June 2019 0:31 Hi, is it possible to create a dzvent that using notification HTTP (set as telegram bot) can show the status of a light, or switch on/off a light?
interesting, thanks.freijn wrote: Tuesday 04 June 2019 8:10 THis one works PERFECT !!
https://github.com/squandor/dynamicTele ... 3t2C1Aex3Q
- Query all devices on their status, if you forgot the correct name you can type "light" or "living" and it will generate a list with all
devices containing that string.
- Set all devices like lights or switches.
Great alternative if you do not like to open ports to your domoticz. ( given you "trust" Telegram for the security outbound)
Code: Select all
pi@raspberrypi:~ $ sudo apt-get install telepot ConfigParser
reading packet....done
creating dependence
reading info...done
E: impossibile find telepot
E: Impossibile find ConfigParserCode: Select all
pi@raspberrypi:~ $ pip install telepot
-bash: pip: command not found
pi@raspberrypi:~ $apt install python3-pipmegamarco83 wrote: Tuesday 04 June 2019 17:06is not working on RPI2 with raspbian stretchCode: Select all
pi@raspberrypi:~ $ pip install telepot -bash: pip: command not found pi@raspberrypi:~ $