Page 1 of 1
Deviceid to push channel update
Posted: Mon Sep 12, 2016 4:06 pm
by Istvan
Hi
I would like update the channels in the device table. I created a restservice and this is working in test if i put manually a deviceid.
How can i invoke with device ready event? I would like add value to channel per device.
Deviceid to push channel update
Posted: Mon Sep 12, 2016 5:22 pm
by Istvan
if i link to button click event then working ...
Deviceid to push channel update
Posted: Tue Sep 13, 2016 8:48 am
by Serhii Kulibaba
Hello Istvan,
You are right, it might not work on the device ready event. The app needs some time to read deviceID, so you can add some timeout to call updateDevice service: https://developer.mozilla.org/en/docs...
Deviceid to push channel update
Posted: Thu Sep 15, 2016 3:22 am
by tcbeaton
Istvan, I have been trying to create a REST service to update the channels but have not succeeded. Is it possible for you to post the instructions on how you set it up? Thanks.
Deviceid to push channel update
Posted: Thu Sep 15, 2016 8:16 am
by Istvan
Ctreate a rest service base on documentation and forum ... start the service with a button event,
The device ready dosnt work for me at all