Hardware device with serial monitor and LUA parser on input
Posted: Monday 19 December 2016 11:47
Hi,
I'm missing a simple hardware device that attaches to a serial port (tty) where it listens for incoming data and on data calls a parser (LUA).
It should also be possible from virtual devices to transmit commands over the tty.
Background:
I have an Arduino connected to my Domoticz server, the Arduino has a simple 433 MHz transmitter and receiver connected to it. I'm using RCSwitch on the Arduino to send/receive on the 433 Mhz 'network'.
I have an RFLink connected as well - but my devices aren't supported, and the debug logs I mailed them don't get included - so I'm stuck with my own implementation using RCSwitch (which works!)...
Looking at the Domoticz code base, I guess it shouldn't be a huge task to write a hardware device like described based on e.g. ASyncSerial or MySensors?
Hope somebody (with the needed coding skills) can help
Thanks, M
I'm missing a simple hardware device that attaches to a serial port (tty) where it listens for incoming data and on data calls a parser (LUA).
It should also be possible from virtual devices to transmit commands over the tty.
Background:
I have an Arduino connected to my Domoticz server, the Arduino has a simple 433 MHz transmitter and receiver connected to it. I'm using RCSwitch on the Arduino to send/receive on the 433 Mhz 'network'.
I have an RFLink connected as well - but my devices aren't supported, and the debug logs I mailed them don't get included - so I'm stuck with my own implementation using RCSwitch (which works!)...
Looking at the Domoticz code base, I guess it shouldn't be a huge task to write a hardware device like described based on e.g. ASyncSerial or MySensors?
Hope somebody (with the needed coding skills) can help

Thanks, M