Virtual Devices and updating status of virtual switch.
Posted: Tuesday 16 August 2016 22:05
Hi there,
I am coding some new stuff on my own and I really like to find a way to create feed back from the "backend" used on virtual switch. Eg. if the relay card (that is not on the hardware part) has a relay changed by another application.
I wanted to create a script that checks every X minutes that json of the virtualswitch has changed and push with
But seems the GUI doesn't take the command even if the status json says OK.
How do you do this guys on your side ?
Regards (and sorry if this question has been already asked the search on the forum didn't gave me the right answer).
Xavier
I am coding some new stuff on my own and I really like to find a way to create feed back from the "backend" used on virtual switch. Eg. if the relay card (that is not on the hardware part) has a relay changed by another application.
I wanted to create a script that checks every X minutes that json of the virtualswitch has changed and push with
Code: Select all
'http://192.0.2.1:8080/json.htm?type=command¶m=udevice&idx=127&svalue=On
How do you do this guys on your side ?
Regards (and sorry if this question has been already asked the search on the forum didn't gave me the right answer).
Xavier