I've been working on creating a Vera plugin to work with the OTG. This all works OK and I must say I'm very happy that I can now control my central heating via Vera! However unfortunately the responses the OTG sens are not unambiguous. Now I understand that this is a serial interface and there is normally only one master and one slave, but I've connected my OTG via an Ethernet->TTL device. One of the fun things of this is that you can connect from multiple sources (Vera, PC, etc.) to OTG. So multiple devices can send a command like 'PR=G' to the OTG. As a result they will all get the message '0' or '1' back.
The device that has issued the command can parse this, as it knows that it has sent 'PR=G'. However, the others do not and the command sent might just a well have been 'PR=T'.
Would it be possible to prefix all responses with the request? I.e.
Code: Select all
PR=G
PR=G: 1
PR=A
PR=A: OpenTherm Gateway 3.4
TT=21.0
TT=21.0: OK
This would enable all listeners to process the information.