Thanks @Dan for that explanation!
Unfortunately the “list devices” does not work for me, anything i could do to help/bughunt??
(please ignore the timeout message, i send this message to display the plugin isn’t responding to the message…)
[Implemented] Receives messages (Telegram)
Thanks @Dan for that explanation!
Unfortunately the “list devices” does not work for me, anything i could do to help/bughunt??
(please ignore the timeout message, i send this message to display the plugin isn’t responding to the message…)
@rikki78 and @stokstaart
Do you have a large amount of devices in your environment like a boss
I have just found the max allowed string length for Telegram messages is 4096 chars, making this not a bug but a feature
I will implement a fix for this, breaking up larger messages in chucks, and send those piece-meal
Dan
"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
@Dan Thanks for your quick response and the effort you are putting into this!
Looking forward to the update but like i said, for me it’s already a game changer
I dont’t think a messenger should be used as a full-blown CLI for pimatic.
Executing actions on a device and quering its state would be enough for me. It would be nice, however, to be able to specficy which commands can be executed on which devices. A simple white-listing approach using regex patterns may do.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@mwittig Agree, I am not intending to implement interactive CLI functionality beyond this.
Sending device commands should already be possible (Just haven’t documented yet)
Sending commands to execute rules is also already possible.
Querying state can be done with get device <device name>
I will limit the output on the list devices and get all devices commands to just show state, but will still need to ensure messages stay within the Telegram API limits (4096).
commands <-> devices whitelisting I will look into
"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
The bug has been fixed. Furthermore I have removed the “get all devices” command as it is redundant with the list devices and get device commands for a large part. Details and status can be retrieved with get device <device_name | device_id> anyway
"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
as above said : all further communication should be done here https://forum.pimatic.org/topic/2616/new-plugin-for-telegram/ or on any new thread on that topic
thx!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.