simpleSerialId = indigo.server.getPlugin("org.yergeyjDoesntHaveaURL.simpleserial")
if simpleSerialId.isEnabled():
simpleSerialId.executeAction("hexToSerial", deviceId=577450175, props={"newCommand":"23, 50, 55, 4D, 50, 3F”})
socat GOPEN:/dev/ptyp0,ignoreeof TCP:10.0.1.93:10002
(and open /dev/ttyp0 in your application as serial port)
yergeyj wrote:
I haven't been able to determine commands for colored lights as yet, but if you have a serial adaptor manual that has those commands, I'd be happy to add the respective actions into the plugin.
I haven't been able to determine commands for colored lights as yet, but if you have a serial adaptor manual that has those commands, I'd be happy to add the respective actions into the plugin.
BTW, have you tested the dimmable light actions? That was another of the things that I hadn't been able to test (as I don't have any), and for which I hadn't yet had any feedback. I'm fairly certain the dimmable commands should work with any LED lights, even if the color selections are not yet operable in the plugin.
Jim