I’ve managed to develop a webthing (in rust) for my amplifier (controlled via the serial port).
The webthing have four properties:
volume: -80 … 30
mode: “Stereo”, “Mono”, “Cinema” …
input: “TV”, “Audio”
on: true/false (OnOffProperty)
Is it possible to have the webthing react to a change of “on” to true by something like:
a) turn on the power (by using an X10 (CM11) “OnOffDevice”)
b) wait a short while
c) send the relevant serial commands to the receiver
Does the “iot gateway” GUI listen to events from the web thing so that I can for example change the mode to “Cinema” when the user changes input to “TV”? If so, what kind of events?
Thanks for an awesome application!