OpenADR working with HA

Hello. Thanks to this community, I was able to get an OpenADR virtual end node written in Python to communicate with HA using MQTT. I am running HA on a Raspberry Pi 4 using HA supervised installation. The VEN is running as a separate job under Debian on the Pi. I am using the VEN to receive hourly prices from my utility. I have HA automations set up to respond to the price and control Zigbee devices connected to HA.

When the VEN receives a price event, it transmits it to HA using MQTT. I have MQTT sensors set up to make the price available to the HA automations. There are other HA automations that read energy values from devices and transmit that data back to the utility on OpenADR. The data from the devices is sent to the VEN also using MQTT.

If anyone is interested in more details I can provide a pointer to the VEN repo or answer questions about the automations, etc. It’s all pretty straightforward, and I am not an HA expert so there are probably better ways to do this than what I have done. Also this is a pilot program my utility is doing with OpenADR so it might be of limited usefulness for most people. I think it’s a good example though of how you can make HA respond to events coming from OpenADR.
Dave Erickson



Kind of a late post but I’m interested in the repo. My utility will be doing a pilot program soon and I want to be ready for it :slight_smile: I’m using the OpenLEADR implementation that you mentioned a few posts back.


1 Like

Hi sorry just saw this. Why don’t you get ahold of me via email [email protected]

1 Like