Spoonfeeding the Einviracom
I just did some testing of this. It turns out that the Enviracom serial adapter is perfectly happy to accept packets one after another, as long as you wait for the [Ack]. However, my T8635L thermostat apparently does *not* like being bombarded with requests; it drops them until you give it time to respond to one (this is an empirical observation from the behavior I see, not something I found in a document).
The procedure I found that works for me is:
1) send some message at startup time (request room temp, e. g.) -- you'll probably want to send some initial messages anyway, to establish the current state of the system
2) wait for the "[Idle]" packet you'll get after receiving the response to the request; then send the next packet
Firing off additional packets when you see an [Ack] does NOT work, at least in my setup. Only the final packet of a burst gets a response.
In my circumstance, I don't even bother paying attention to the ACK or NAK. If the request somehow gets NAKed, it'll just get repeated fairly soon, anyway, since no response packet was seen.
Originally posted by mitchmitchell1616
View Post
The procedure I found that works for me is:
1) send some message at startup time (request room temp, e. g.) -- you'll probably want to send some initial messages anyway, to establish the current state of the system
2) wait for the "[Idle]" packet you'll get after receiving the response to the request; then send the next packet
Firing off additional packets when you see an [Ack] does NOT work, at least in my setup. Only the final packet of a burst gets a response.
In my circumstance, I don't even bother paying attention to the ACK or NAK. If the request somehow gets NAKed, it'll just get repeated fairly soon, anyway, since no response packet was seen.
Comment