I need some help. Much hair pulling out here.
I’ve got a Texecom Alarm Panel plugin communicating with Vera Edge over Serial. Every now and then they stop communicating.
I’ve done much debugging and logging and this is what I can be sure of;
- Luup.io.is_connected() returns TRUE, so I know the interface is connected
- Luup.io.write() returns TRUE so I know that my data was sent
… but when the comms fail, nothing comes back.
You might think its because the Alarm panel is stuck, or non-responsive… yep, I thought that too… but here’s the odd thing… a Luup.reload ALWAYS fixes the problem (for a few hours). Why would reloading the Luup device make the Alarm Panel start communicating again? Surely the issue must be in the vera buffers or something…
I’d love to do a Luup.io.close() and luau.io.open() again when they stop communicating, but these calls don’t exist… so how do you “reboot” the serial connection without reloading the entire Luup several times a day ?
thanks for any help…