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. Controllers
  3. Domoticz
  4. Data integrity

Data integrity

Scheduled Pinned Locked Moved Domoticz
4 Posts 3 Posters 1.1k 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.
  • zboblamontZ Offline
    zboblamontZ Offline
    zboblamont
    wrote on last edited by
    #1

    I have worked my way slowly through MySensors, feeling my way through the various compromises made, but I seem to have hit a brick wall in trying to find a means to preserve data accuracy in terms of time.
    I hate the term data granularity as it seems a fancy way of saying detailed, but essentially that is what I am trying to preserve outside the Gateway/Domoticz loop... As a overview Domoticz works fine, but as a detailed analysis it is useless where utilities come in. If Domoticz can't do it fine, so long as it can be stored then it can be analysed elsewhere...
    I tried understanding how Node-RED could be used on the Pi3 to duplicate data feeds and took an aspirin...
    Can someone point me to a resource which enlightens me on how to save the raw data for separate analysis before Domoticz swallows it and turns it into a one hour chunk a la Gas, I would be greatly obliged..
    The Mysensors Nodes feed a pro-mini 16Mhz, running serial to a Pi3..
    Is it too bizarre to think of passing all utilities to a dedicated gateway which agglomerates and passes on the data to suit Domoticz, yet stashes the time-based data on say a NAT?
    Any guidance would be much appreciated...

    mfalkviddM 1 Reply Last reply
    0
    • zboblamontZ zboblamont

      I have worked my way slowly through MySensors, feeling my way through the various compromises made, but I seem to have hit a brick wall in trying to find a means to preserve data accuracy in terms of time.
      I hate the term data granularity as it seems a fancy way of saying detailed, but essentially that is what I am trying to preserve outside the Gateway/Domoticz loop... As a overview Domoticz works fine, but as a detailed analysis it is useless where utilities come in. If Domoticz can't do it fine, so long as it can be stored then it can be analysed elsewhere...
      I tried understanding how Node-RED could be used on the Pi3 to duplicate data feeds and took an aspirin...
      Can someone point me to a resource which enlightens me on how to save the raw data for separate analysis before Domoticz swallows it and turns it into a one hour chunk a la Gas, I would be greatly obliged..
      The Mysensors Nodes feed a pro-mini 16Mhz, running serial to a Pi3..
      Is it too bizarre to think of passing all utilities to a dedicated gateway which agglomerates and passes on the data to suit Domoticz, yet stashes the time-based data on say a NAT?
      Any guidance would be much appreciated...

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @zboblamont the most popular solution is node-red.
      Some threads that should give you a feeling of what node-red can do:
      https://forum.mysensors.org/topic/1451/mqtt-gateway-node-red-vis
      https://forum.mysensors.org/topic/1965/nodered-injected-between-domoticz-and-mysensors
      https://forum.mysensors.org/topic/4792/node-red
      https://forum.mysensors.org/topic/700/node-red-as-controller
      https://forum.mysensors.org/topic/4538/installing-node-red-and-node-red-contrib-mysensors

      Except that, I don't know. Maybe you can install Grafana and let it use Domoticz' Influxdb?

      zboblamontZ 1 Reply Last reply
      1
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #3

        If you have a rpi3 you could attach the radio directly on the rpi and compile an ethernet/mqtt gateway, then you can use the node-red nodes mentioned above and create a flow to save the data on the database you prefer: there are plenty of tutorials both on web and YouTube on saving to databases. I'd prefer node-red because it is very easy to change the flow to save to a different database (or even save on multiple databases at same time)

        1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @zboblamont the most popular solution is node-red.
          Some threads that should give you a feeling of what node-red can do:
          https://forum.mysensors.org/topic/1451/mqtt-gateway-node-red-vis
          https://forum.mysensors.org/topic/1965/nodered-injected-between-domoticz-and-mysensors
          https://forum.mysensors.org/topic/4792/node-red
          https://forum.mysensors.org/topic/700/node-red-as-controller
          https://forum.mysensors.org/topic/4538/installing-node-red-and-node-red-contrib-mysensors

          Except that, I don't know. Maybe you can install Grafana and let it use Domoticz' Influxdb?

          zboblamontZ Offline
          zboblamontZ Offline
          zboblamont
          wrote on last edited by
          #4

          @mfalkvidd Thank you for that synopsis. I had already looked at most of these threads, but did not focus on them too much as have no experience using node-red, even though familiar with it's history. Node-red is pre-installed on the Pi3, so guess I should try getting to grips with it.

          @gohan I had already considered using a dedicated Pi3/HDD to handle and locally store time based utility consumption (water, power, gas), as this would avoid interfering with the existing arrangement or performance until switching over and reprogramming the utility nodes. That way, an entirely separate control system/methodology could be deployed, again, node-red seems the recommendation.
          I had not thought on direct attaching the radio as have an unused Sensebender Gateway (yet to identify why the RFM69 isn't playing nice), but I guess it makes sense and I have both the W and CW chips sitting idle...

          Cheers, time to do some re-reading...

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


          22

          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