Istvan
Posts: 0
Joined: Mon Oct 13, 2014 1:48 pm

Deviceid to push channel update

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.

Istvan
Posts: 0
Joined: Mon Oct 13, 2014 1:48 pm

Deviceid to push channel update

if i link to button click event then working ...

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Deviceid to push channel update

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...

tcbeaton
Posts: 0
Joined: Wed Oct 01, 2014 4:07 am

Deviceid to push channel update

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.

Istvan
Posts: 0
Joined: Mon Oct 13, 2014 1:48 pm

Deviceid to push channel update

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

Return to “Issues”