Open jayepolo opened 3 years ago
Hi, Everything I know about the module is in this document. I’ve unfortunately not had time to attempt to build one of these interfaces yet.
While I haven’t tried this, it may just be easier to connect something like an esp8266 or RPi Zero W directly to debug or IC pins inside a working EnviroCOM thermostat, equipment module, sensor, or zone module… that way, the existing circuitry will handle the (AC voltage? … edit: nope, it’s DC; see below) physical layer (possibly including bus arbitration and collision avoidance) and then you can access the API directly.
On the board side of the interface, it’s likely just TTL/GPIO/UART, I2C, or SPI serial data, right?
I’ve long ago misplaced the relevant patent number(s), but with a bit of searching you might also find illuminating details in the patent description and drawings.
Update: I found what appears to be the relevant patents, thanks to this page.
The following patent description both contains a schematic (including a parts list!) for an EnviraCOM transceiver and also the voltage levels* (scroll down to “Table 1”):
* (which for the higher of the two signals appears to be about 12-18 VDC … basically whatever the circuit gets by using a half- or full-wave rectifier on 24VAC)
This may be for the EnviroCOM 1.1 or 2.0 protocol versions, as it says it uses the AC signal crossings as a synchronization source to get the data rate up to about 1 kb/s from 120 bps.
One final note, as I haven’t seen this mentioned previously:
I would love to put a scope on the pins. I have a boiler that talks EnviraCOM. It is a serial out. I presume it is not easy to directly connect an ESP8266, but that is the end state I would like to establish. Ideally to create a board that interfaces to EnviroCOM and bridges to Wifi. I need a cheap scope, or better info on the physical layer of the serial connection...
On Mon, Dec 13, 2021 at 1:58 AM Jim Grisham @.***> wrote:
While I haven’t tried this, it may just be easier to connect something like an esp8266 or RPi Zero W directly to debug or IC pins inside a working EnviroCOM thermostat, equipment module, sensor, or zone module… that way, the existing circuitry will handle the (AC differential? voltage) physical layer (possibly including bus arbitration and collision avoidance) and you can access the API directly.
On the board side of the interface, it’s likely just TTL/GPIO/UART, I2C, or SPI serial data, right?
I’ve long ago misplaced the relevant patent number(s), but with a bit of searching you might also find illuminating details in the patent description and drawings.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roy-bentley/enviracom/issues/1#issuecomment-992163503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYRPAS32QVPUGPFQ4H6PTDUQWKRZANCNFSM47KLOB4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Connecting to the external pins of the boiler interface would indeed be more than trivial work, due to the voltage levels and the need to monitor the AC lines for timing synchronization - and that is just for passive monitoring. That could probably be accomplished with an Arduino or Raspberry Pi and only a few external components (mostly for isolation), but may be quite beyond the capabilities of a lone ESP8266.
Transmitting would be even more difficult.
Perhaps someone would be willing to put together (e.g. on a solderless breadboard) the circuit described in the patent I linked to above to see if a simple interface would be possible (that would then go between the boiler interface and the ESP8266).
If you can find a photo or schematic of the inside of a boiler interface of the same model as yours, then it would be easier to determine if bypassing the external interface is feasible. If there is already circuitry there doing all the hard work, it might not be necessary to reverse-engineer and then rebuild that driver circuitry if it is possible to tap in upstream where there is a plain TTL or CMOS signal. There may even be debug pins / pads present… if that were the case then using an ESP8266 would be trivial.
There were (5-10 years ago?) reports of the official Honeywell serial adapter overheating… which makes me even more wary of trying to interface directly with the 3-wire EnviraCOM bus… but then again, I’m old and tired. 😉
@jaypolo FYI, I edited my original post after you likely received your e-mail notification…
… that post now contains a link to a patent, US7769932, that describes the physical layer (among others) of the Honeywell EnviraCOM protocol*, including the voltages (e.g. data 1 is 12-18 VDC, and normally should be limited to <= 17 VDC), bus arbitration methods and timing, and even a reference interface circuit schematic including a detailed parts list.
* (I did not determine if that specific patent was describing version 1.1 or version 2.0, though. If I had to guess, v1.0 is a re-branding of ‘Honeywell LESST’ and 2.0 might be the wireless version used by the 2-wire thermostats… if both of those assumptions were true, then that patent likely describes EnviraCOM v1.1.)
Oh very interesting to explore the patent - thank you for sharing that! This is super helpful and send me down the rabbit hole for a while!!
My MVP use case is a single connection directly from an ESP to my boiler controller. No thermostats, just an ESP connected to a single EnviraCOM device. Hopefully that will simplify both hardware and software. At first, simply by only receiving anything automatically initiated by the boiler. Eventually, I would like to request data and if I do end up initiating transmissions, I might actually be able to tolerate and recover from any collisions that could potentially happen.
Interesting. Should be fun to dig into this... If you have any other suggestions on getting started, I am all ears, thanks.
On Mon, Dec 13, 2021 at 2:32 PM Jim Grisham @.***> wrote:
@JayPolo https://github.com/JayPolo FYI, I edited my original post https://github.com/roy-bentley/enviracom/issues/1#issuecomment-992163503 after you likely received your e-mail notification…
… that post now contains a link to a patent, US7769932 https://patents.google.com/patent/US7769932, that describes the physical layer (among others) of the Honeywell EnviraCOM protocol, including the voltages (e.g. data 1 is 12-18 VDC, and normally should be limited to <= 17 VDC)*, bus arbitration methods and timing, and even a reference interface circuit schematic including a detailed parts list.
- (I did not determine if that specific patent was describing version 1.1 or version 2.0, though. If I had to guess, v1.0 is a re-branding of ‘Honeywell LESST’ and 2.0 might be the wireless version used by the 2-wire thermostats… if both of those assumptions were true, then that patent likely describes EnviraCOM v1.1.)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roy-bentley/enviracom/issues/1#issuecomment-992801780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYRPAW4QG2ZGRUITITIKK3UQZC3JANCNFSM47KLOB4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I found EnviraCOM document that has more details on the serial adapter and the various message types.
I would like to add an outdoor thermostat to my L7224 triple aquastat that supports E-COM. If someone can think of a way to make an interface that connects to the 3-wire bus for a I2C, Dallas one-wire, or even analog sensor, that would be great.
Arduino/ESP based software could use such an interface board and allow all sorts of functions.
A reminder that 24v is AC voltage on HVAC systems.
Sounds interesting. But I cannot seem to navigate to that document on Github. Could you attach it here?
On Thu, Jan 6, 2022 at 1:35 AM DiskDoctor @.***> wrote:
I found EnviraCOM document that has more details on the serial adapter and the various message types.
I would like to add an outdoor thermostat to my L7224 triple aquastat that supports E-COM. If someone can think of a way to make an interface that connects to the 3-wire bus for a I2C, Dallas one-wire, or even analog sensor, that would be great.
Arduino/ESP based software could use such an interface board and allow all sorts of functions EnviroCom Bus 69-2644.pdf https://github.com/roy-bentley/enviracom/files/7819928/EnviroCom.Bus.69-2644.pdf .
— Reply to this email directly, view it on GitHub https://github.com/roy-bentley/enviracom/issues/1#issuecomment-1006320237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYRPATHSH37FLA2CTRVVGTUUUZ27ANCNFSM47KLOB4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Ignore that, I do have it. Thx.
On Thu, Jan 6, 2022 at 9:07 AM Jay Polo @.***> wrote:
Sounds interesting. But I cannot seem to navigate to that document on Github. Could you attach it here?
On Thu, Jan 6, 2022 at 1:35 AM DiskDoctor @.***> wrote:
I found EnviraCOM document that has more details on the serial adapter and the various message types.
I would like to add an outdoor thermostat to my L7224 triple aquastat that supports E-COM. If someone can think of a way to make an interface that connects to the 3-wire bus for a I2C, Dallas one-wire, or even analog sensor, that would be great.
Arduino/ESP based software could use such an interface board and allow all sorts of functions EnviroCom Bus 69-2644.pdf https://github.com/roy-bentley/enviracom/files/7819928/EnviroCom.Bus.69-2644.pdf .
— Reply to this email directly, view it on GitHub https://github.com/roy-bentley/enviracom/issues/1#issuecomment-1006320237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYRPATHSH37FLA2CTRVVGTUUUZ27ANCNFSM47KLOB4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
@jayepolo hello, I was just reading through the project as I have been considering something similar, did you ever make any headway?
@sn3kyJ3di no, unfortunately I have not. Too many irons in the fire. What I did do is find an inexpensive EnviraCom alarm module on eBay. I've got it mounted to the boiler but have not yet wired in. It will monitor the bus and close a relay in the event of an error message being transmitted over the bus.
Instead, I have prioritized capturing various inputs that can otherwise give me some insights into how my system is working. That data all gets transmitted with an ESP32 and recorded in the cloud.
I do still intend to connect the EnviraCom alarm next, which can proactively alert me to issues. And ultimately, I would still like to be able to interact over the EnviraCom bus.
What are you hoping to build?
I would love to be able to connect an ESP32 module directly to the com terminals on my hot water heater gas valve controller so I can track gas usage and "setback" at times of no demand. My gas bill has doubled in 12 months. I'm also a IOT/automation enthusiast and have my water and electric metered to my Home Assistant instance, gas is just one of the missing pieces. It seems like you can spend 150-200$ to get it working but where is the fun in that?
I suspect you could monitor operation pretty easily. Maybe not via the EnviraCom, but simply by detecting the flame with a light sensor. But I am not sure how to control setback. Is the hot water temperature setpoint a digital setting or is it an analog dial? (Mine is the latter). I am happy to point you to my ESP code - it is very very simple. The real task is in interfacing with your system...
Any update on this? Also want to interface my gas water heater into HA.
No activity on my part. Too many irons in the fire...
On Mon, May 13, 2024 at 9:12 PM 5310H @.***> wrote:
Any update on this? Also want to interface my gas water heater into HA.
— Reply to this email directly, view it on GitHub https://github.com/roy-bentley/enviracom/issues/1#issuecomment-2109087435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYRPASDLFKAPPC7ZOTH5UDZCFQIHAVCNFSM47KLOB4KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJQHEYDQNZUGM2Q . You are receiving this because you were mentioned.Message ID: @.***>
Honeywell discontinued the serial interface module to connect RS232 to the EnviraCOM bus. The EnviraCOM specs for the 3 wires are: 2 wires for 24VAC and 1 wire for data. Can you share what voltage the data line uses in order to hack an alternative hardware interface?