Hey everyone! I’m diving into a new project and wanted to share my journey and seek some advice. I’ve been using ESP8266 devices to read data from Modbus electricity meters and send the data to InfluxDB. Up until now, I’ve been programming these ESPs using the Arduino IDE, but I’m now exploring ESPHome for its convenience and integration with Home Assistant.
I’ve successfully set up Home Assistant using Docker and have ESPHome running as a container alongside InfluxDB and Grafana. Currently, I’m pulling the meter data into Home Assistant via Node-RED. However, I’d love to streamline this process by having the ESPs send data directly to InfluxDB while still benefiting from ESPHome’s user-friendly flashing interface.
Here’s what I’ve tried so far: I created a test project with ESPHome, and the data is now in Home Assistant. My goal is to have the ESPs write the data directly to my existing InfluxDB instance without relying on Home Assistant to push it there. I’ve come across some modules on GitHub that suggest this is possible via HTTP/HTTPS, but I haven’t had luck implementing them yet.
Has anyone tackled a similar project or requirement? Any code examples or tips would be incredibly helpful! I’m really excited about this and eager to see it through. Thanks in advance for your insights and support! ![]()