Use sensors with serial output
-
Hi,
I'd like to connect my Smart Meter to Domoticz. I thought about using an ESP32 as a gateway/sensor combination.
So. The ESP32 would have to run a serial port somehow which would receive the serial data from the smart meter
(just 9600 Baud) and at the same time act as a gateway in the Mysensors environment.
Is anyone aware of an example for that? I don't think I have to reinvent any wheels here. Life's short ;)Christoph
Edit: A MySensors node, connected to a nearby gateway would probably work just as well...
-
Hi,
I'd like to connect my Smart Meter to Domoticz. I thought about using an ESP32 as a gateway/sensor combination.
So. The ESP32 would have to run a serial port somehow which would receive the serial data from the smart meter
(just 9600 Baud) and at the same time act as a gateway in the Mysensors environment.
Is anyone aware of an example for that? I don't think I have to reinvent any wheels here. Life's short ;)Christoph
Edit: A MySensors node, connected to a nearby gateway would probably work just as well...
-
This is possible yes. In fact I used this setup before, but in the end I stopped using it and separated the gateway from the P1 handling. I noticed very high rates of CRC failures, since the mysensors stuff takes time to handle also, and during this time characters from the P1 port got lost. I should say though that after I separated these, I did some improvements on the P1 decoding which may give better results when it is being used together with the gateway. I didn't send it to mysensors but directly to mqtt.
Tasmota is also able to handle the P1 stream by the way, with a template. https://tasmota.github.io/docs/Smart-Meter-Interface/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login