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. Hardware
  3. Mysensors node to poll Modbus device ?

Mysensors node to poll Modbus device ?

Scheduled Pinned Locked Moved Hardware
3 Posts 3 Posters 1.8k Views 2 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.
  • RedguyR Offline
    RedguyR Offline
    Redguy
    wrote on last edited by
    #1

    I have a Schneider power monitoring devices providing me with lots of data through a MODBUS RTU interface.

    Domoticz has no support for Modbus, so my option would be to try to get the data out of the power monitor using some modbus library on the pi and insert that into domoticz through scripts. Which i have not been able to get working yet :-(

    Since i am planning to switch from using 1-wire and i2c devices connected directly to my raspi through OWFS and scripting towards using MySensors, this got me thinking about the Modbus option as well.. The pi is low on serial connections, and the modbus libs are a pain in the <censored>. I have been able to extract all the wanted data using an arduino however !

    Would it be possible to create a mysensors node (or even better : add it to my gateway node since it's 10cm's away from the power monitor thing) that polls the power monitor through modbus, converts it to the desired data format and outputs it onto the mysensors network to be used in domoticz ?

    has anyone ever tried this ? or has any experience with this ?

    sundberg84S 1 Reply Last reply
    0
    • RedguyR Redguy

      I have a Schneider power monitoring devices providing me with lots of data through a MODBUS RTU interface.

      Domoticz has no support for Modbus, so my option would be to try to get the data out of the power monitor using some modbus library on the pi and insert that into domoticz through scripts. Which i have not been able to get working yet :-(

      Since i am planning to switch from using 1-wire and i2c devices connected directly to my raspi through OWFS and scripting towards using MySensors, this got me thinking about the Modbus option as well.. The pi is low on serial connections, and the modbus libs are a pain in the <censored>. I have been able to extract all the wanted data using an arduino however !

      Would it be possible to create a mysensors node (or even better : add it to my gateway node since it's 10cm's away from the power monitor thing) that polls the power monitor through modbus, converts it to the desired data format and outputs it onto the mysensors network to be used in domoticz ?

      has anyone ever tried this ? or has any experience with this ?

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      @Redguy - I dont know if its remotley close to what you are looking for but i have Nibe heatpump which use MODBUS and there is a implementation in openHAB i have been looking at. I have not made anything yet with it but maybe it can get you into the right direction.

      https://github.com/openhab/openhab/blob/db62be70e9cd9561036d8925a177a2e37aaa4bd4/bundles/binding/org.openhab.binding.nibeheatpump/NibeGW/nibegw.c

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • P Offline
        P Offline
        polo
        wrote on last edited by
        #3

        @Redguy Did you succeed talking modbus and sending to mysensors network ? I have a small mysensors over rs485 network and would like to add this device : https://fr.aliexpress.com/item/4000478781091.html?spm=a2g0o.cart.0.0.1d513c00qfPO3K&mp=1 it would be convinient to use the same cables, ideally the gateway could make the translation directly.

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


        23

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 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