Design question, why on startup do you poll every thermostat individually?
That's how I thought it had to be done.
Simply issue commands such as "SN T?" and parse the responses
Do you have any mechanism to do that and capture the response so I can see what gets sent back?
The response is no different then receiving the unsolicited messages except in this case the thermostats coordinate the response, it just seems more efficient to me but in this case I am wearing my manufacturing automation hat (been years).
Here is an example session I just did by hand:
Code: Select all
SN2 RSM=M1:CT,XX M2:CT,XX M3:CT,XX
A minor observation, you do need to pause between commands. I attempted to cut-n-paste all of the commands from notepad into the comm session but it only accepted the first command and discarded the rest. Therefore, (wearing that hat again), I would consider the "SN?" command first to see what thermostats are on the network, then run the global query commands to initialize but not send the next command until the final thermostat had responded with a timeout in place should something unexpected happened.
Figured out the driver does not poll but rather accepts unsolicited messages (Thank You! Finally someone did this right). As my thermostats were setup for polling, I don't know if there might be some benefit upon startup to ensure C1-8 are configured "ON" as mine were "OFF". I ended up shutting down MLS, firing up putty, and making the needed changes by hand, and restarting MLS.... (just a suggestion as it is a one time setup issue)
What commands should it send when it connects?
I think the ability to turn these on/off would be "nice" but at a minimum you want to make sure C1-8 are on to enable unsolicited messages. This might be overkill as it is just a one time setup but according to the manual these are set off and must be turned on. You can always call out the thermostat specifically (SN?) but sometimes global is quicker.
Code: Select all
Can I get remote temperature sensor support? Maybe define them some how as sudo thermostats? They report nothing but the local Temp(F/C) or Humidity (%) and I have one in each of the bedrooms (3 total)
Is that data being reported in the responses now or is it something that needs to be polled?
Yeah, I have looked at the logs this evening and I don't see any unsolicited messages for the remote senors unfortunately. I may have to go without this feature though it was interesting to see (example above where "SN2 R3S1=78F" is the home office, always the warmest room in the house.
I have not had time to investigate the various status messages but does the driver/climate interpret the HVAC relays states? The example I happened to capture while getting the above details: "SN3 HVAC=G+Y1+W1-Y2-W2-B-O+" is an example of "Cooling" (then you have "Heating", "Emergency Heat", etc).
PS: If I can replace our answering machine (have a couple potentials), import weather data from VWS, and get whole house paging working (aka; text to speech) I'll be all set to convert to a Cinemar/ISY solution!