Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Use sensors with serial output

Use sensors with serial output

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 45 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hyla
    wrote on last edited by hyla
    #1

    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...

    YveauxY 1 Reply Last reply
    0
    • H hyla

      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...

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @hyla these meters produce a lot of serial data (at least for P1 protocol) which might be too much for mysensors if you just want to stream that data.
      I'm using tasmota instead (wifi) and extract the data in node - red.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • electrikE Offline
        electrikE Offline
        electrik
        wrote on last edited by
        #3

        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/

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        7

        Online

        11.7k

        Users

        11.2k

        Topics

        113.0k

        Posts


        Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular