Ticket #272 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

Support for device push notification from Telldus Live!

Reported by: patrik åkerfeldt <patrik.akerfeldt@…> Owned by:
Priority: major Milestone: 2.1.3
Component: Telldus Live! Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All Sensitive: no
Verified by Telldus: no

Description

It would be nice with push notifications from Telldus Live! on certain events. Like when devices change states or when a sensor reaches a certain threshold value. I am particularly interested in support for Google Cloud Messaging (GCM).

Needed:
registerDevice(type, identifier) where type is either APN or GCM (more?) and identifier is the device identifier for the type.
unregisterDevice(...)

And then some methods for what events to get push notifications for.

Change History

comment:1 Changed 6 years ago by patrik åkerfeldt <patrik.akerfeldt@…>

I would be happy to help implement this but unfortunately the Telldus Live! source code isn't open yet. For security concerns I guess? Maybe if it would be possible to open source just parts of the source code, enough to build push notifications on top of it. But I'm not sure the current code is structured. If this is even doable at the moment.

comment:2 Changed 6 years ago by micke prag <micke.prag@…>

  • Milestone set to 2.1.3

comment:3 Changed 6 years ago by micke prag <micke.prag@…>

We have initial support for push notifications in the servers for testing. What kind of events are you most interested in getting initially?

Sensors updating? Devices changing state? Other?

comment:4 Changed 6 years ago by patrik åkerfeldt <patrik.akerfeldt@…>

I think devices changing state is the most requested one right now. So by priority:

  1. Device state
  2. Sensor updating
  3. Sensor thresholds (but maybe this is more advanced)

And also, if one could somehow define which devices/sensors to listen to, but maybe that's a future improvement.

I'm more than happy to beta test this!

comment:5 Changed 6 years ago by johan söderström <johan.soderstrom@…>

Just a comment... Saving sensor values would (for me) be a top priority, in fact this is the main reason for when buying the Tellstick NET (kind of surprised when it was not trivial to do, but I wait eagerly).

If this could easily be saved into say google drive (spreadsheet) that would be wonderful...

I have been trying a bit with google scripts as well... That might be thetrick perhaps...?

Should I get the google scripts working I will let you know...

Needless to say: if you need testers for this count me in.

Note: See TracTickets for help on using tickets.