I have created an Android app that uses the Insteon V2 API. It can modify scenes (in particular, the on and off times) and it can issue commands to scenes (on and off). I have found that if I change the on / off time for a scene using my app, I can use the regular Android Insteon app and see that the scene has changed (same if I enable or disable a scene (set on time to blank, off time to blank, timer enabled to false, and the daymask to 0).
The problem is, the scene change does not get synchronized (sent to) the hub! The hub continues to follow the original time, not the modified time. Thus the API and the hub get out of synch. Using "Get latest configuration" in the Insteon app doesn't seem to change anything. The app is smart enough not to try to set the same time as another scene (if that happens, it turns off the other scene) so that is not the issue.
The same app can turn on and off scenes, and these commands work just fine - they are sent to the hub.
So .... Is the API just broken when it comes to changes in the scenes?
In addition - it would certainly be nice to be able to send just the changes to a scene (e.g. on/off times) rather than having to download the entire scene, make the changes, and then upload it again - seems to be very error prone.
The problem is, the scene change does not get synchronized (sent to) the hub! The hub continues to follow the original time, not the modified time. Thus the API and the hub get out of synch. Using "Get latest configuration" in the Insteon app doesn't seem to change anything. The app is smart enough not to try to set the same time as another scene (if that happens, it turns off the other scene) so that is not the issue.
The same app can turn on and off scenes, and these commands work just fine - they are sent to the hub.
So .... Is the API just broken when it comes to changes in the scenes?
In addition - it would certainly be nice to be able to send just the changes to a scene (e.g. on/off times) rather than having to download the entire scene, make the changes, and then upload it again - seems to be very error prone.
Comment