I had a few ideas of how to make it universal, but never got around to implementing anything… However, for the WiFi version, each thermostat device can communicate separately with the thermostat. For the network version, all comms has to go through a parent device that can look after the RS422 bus traffic and handle the IP connection. My original intention was to support the WiFi as well, but there’s the model is slightly different. Perhaps I could add the wi-fi functionality to make it a universal plug-in? ![]() If there’s interest I can look at releasing an “alpha” version… I hope to have a second thermostat installed tomorrow for the underfloor heating and may need to change a few things to support the different thermostat model, but then the basic functionality should be reasonably complete… For the hot water thermostats (PRT-HW) it provides two separate thermostats in Vera - one for the water, and one for the heating… I haven’t (yet anyway) added anything to manipulate the heating schedules as my main driver is to be able to read the temperatures and override the setpoints… It also syncs the time on all the thermostats on the system. My current plugin just does the basics - sets/reads the setpoint and other config data, reads the temperatures, on/off state etc, and allows setting of holiday mode. I think that should do it, but it’s possible I’ve missed some bits as I wrote all this at the beginning of this year and am only just getting around to installing the heating in the extension now! In your init code, you then need to add the line “bit = require(“bit”)”. Val = tonumber(string.sub(buf, cnt, cnt+1),16) I think the code you need is this -: - Heatmiser CRC functions I think the WiFi version is very similar to the network version, and I’ve already coded the CRC routines (it took a while, but it works fine…). The only problem I can see is that the wi-fi version requires a CRC at the end of every message I need to find out how to generate this CRC in Lua…
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |