Telegrambot shell scripts
Posted: Sunday 06 December 2015 12:21
Hi to all, someone can point me how can i code a telegrambot for running shell scripts on rpi?
Tkanks in advanced
Tkanks in advanced
Join 16,000+ members discussing home automation with Domoticz. Get help with Zigbee, ZWave, MQTT, scripting, and 150+ integrations
https://forum.domoticz.com/
Why do you state there is no security in DTGBOT?Egregius wrote:Are you sure you want that?
In my opinion there's no security in a bot.
A bot is excellent for notifications, not for actions.
Why not simply do JSON call to operate Domoticz in a script?carlostkd wrote:Hi thanks for the answer, but i mean preconfigured shell scripts by myself with defined commands, and only that scripts can be runned.
jvdz wrote:Why not simply do JSON call to operate Domoticz in a script?carlostkd wrote:Hi thanks for the answer, but i mean preconfigured shell scripts by myself with defined commands, and only that scripts can be runned.
Jos
TS mentioned telegram bot, didn't think of DTGBOT, sorry for the misunderstanding then.jvdz wrote: Why do you state there is no security in DTGBOT?
It has the ability to whitelist only selected senders ID's, so should be pretty safe.