Ticket #494 (new enhancement)
Native push support for local-API devices
Reported by: | fredrik erlandsson <fredrik.e@…> | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | other | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All | Sensitive: | no |
Verified by Telldus: | no |
Description
It would be nice if the local API could support push of events to subscribers. I.e., when a motion detector detects movement the TellStickZnetV2Lite sends a push notification directly to e.g. HomeAssistant (or other local services).
This is especially useful when TellStick devices are running in environments with unstable Internet (like in a summer house with just a mobile connection).
There is two practical way of implementing this, either let the LUA environment support remote requests (via some HTTP lib), or let the API have an option that lets external services subscribe to events locally so the TellStick* not only sends the event to TelldusLive but also to the local service.
I also see this as an important feature that would make it possible to use this in a good way with other solutions such as home assistant or domoticz. As it is now, I have to pull all new values from the local api every other second to act on changes which is a quite poor solution...