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. Troubleshooting
  3. Show Real-time IMU data from four nodes

Show Real-time IMU data from four nodes

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 2.6k Views 4 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.
  • nielsokkerN nielsokker

    Hey guys,

    After successfully using domoticz and MySensors to automate my house, i have a new project.

    I want to show data from four nodes on a controller. All four nodes only have an IMU. I got all of the nodes working and they are sending data (pitch and roll) with 4hz. I want to display this data real-time. Currently i tried domoticz but it doesnt refresh enough and i cant get a right datatype.

    Does anyone know a controller that fits my project, or maybe another approach?

    Looking forward to your answers!

    Thanks in advance, Niels

    TheoLT Offline
    TheoLT Offline
    TheoL
    Contest Winner
    wrote on last edited by
    #2

    Hi @nielsokker,

    I think that there's no controller that can meet your requirements. Simple because they're designed for home automation, for handling IMU data

    However, what you could do, is create an MQTT gateway and create your own application for showing the real-time IMU. That way you can still use the values in your controller (for instance activate an alarm when a certain value reaches a thereshold) and be able to display a real-time IMU data.

    I've forgotten the name of the product, but @Yveaux showed us how he uses MQTT to display all types of different graphs.

    Hopes this helps you

    YveauxY 1 Reply Last reply
    0
    • TheoLT TheoL

      Hi @nielsokker,

      I think that there's no controller that can meet your requirements. Simple because they're designed for home automation, for handling IMU data

      However, what you could do, is create an MQTT gateway and create your own application for showing the real-time IMU. That way you can still use the values in your controller (for instance activate an alarm when a certain value reaches a thereshold) and be able to display a real-time IMU data.

      I've forgotten the name of the product, but @Yveaux showed us how he uses MQTT to display all types of different graphs.

      Hopes this helps you

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

      @TheoL think you mean Grafana, and database engine InfluxDB

      http://yveaux.blogspot.nl

      TheoLT 1 Reply Last reply
      0
      • YveauxY Yveaux

        @TheoL think you mean Grafana, and database engine InfluxDB

        TheoLT Offline
        TheoLT Offline
        TheoL
        Contest Winner
        wrote on last edited by
        #4

        Thank you @Yveaux that was what I meant.

        1 Reply Last reply
        0
        • nielsokkerN Offline
          nielsokkerN Offline
          nielsokker
          wrote on last edited by
          #5

          @Yveaux and @TheoL,

          Thanks for your help,

          I am going to use this. Exactly what i need!

          1 Reply Last reply
          0
          • nielsokkerN Offline
            nielsokkerN Offline
            nielsokker
            wrote on last edited by
            #6

            Hmm, after looking at it. It seems a big "overkill" for my intentions. What do you guys think about pyMYS. Maybe that will do the job?

            TheoLT 1 Reply Last reply
            0
            • nielsokkerN nielsokker

              Hmm, after looking at it. It seems a big "overkill" for my intentions. What do you guys think about pyMYS. Maybe that will do the job?

              TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote on last edited by
              #7

              @nielsokker I haven't tried it. But please post your progress as others might benefit from it.

              1 Reply Last reply
              0
              • nielsokkerN Offline
                nielsokkerN Offline
                nielsokker
                wrote on last edited by
                #8

                I will!

                Restored my RPI today. I am going to use pyMYS. Only need something to display it.

                Will keep you guys informed!

                1 Reply Last reply
                1
                • cimba007C Offline
                  cimba007C Offline
                  cimba007
                  wrote on last edited by cimba007
                  #9

                  if pyMYS doesn't suit you mycontroller might be an option too. (my sensor is not sending enough data for a very fast interval :D)

                  Its not "realtime" but mycontroller supports widgets with refresh rate with .. don't know .. as fast as the hardware can go? :D Fiddler seems to prove that with 0.1s refresh intervall on the widget the request from the webpage to the controller are made every 100ms.

                  0_1472834815636_upload-f884b929-25d4-4cd5-832b-f4230c7a5843

                  I have no sensor to shop up some real usefull data but have a look.

                  1 Reply Last reply
                  0
                  • nielsokkerN Offline
                    nielsokkerN Offline
                    nielsokker
                    wrote on last edited by
                    #10

                    Ah, thank you for your response! I am gonna take a look at it.

                    I made pymys work for version 2.0, just some minor adjustments. I made it work with flask and socket.io, (will post some code and links later, dont have much time now). It display exactly what i want on a webpage and it is pretty real-time.

                    The only problem i am facing is that it will not automatically start at boot. I tried every possible solution as far as i know, but i just cant get it running properly. It will start, but will get the error that the bytes are not right(startbyte not right, continuation byte not right). It is so weird that when i start it by hand, it will do fine.

                    Does someone have a solution? in the meantime i will try the controller mentioned above.

                    1 Reply Last reply
                    0
                    • cimba007C Offline
                      cimba007C Offline
                      cimba007
                      wrote on last edited by
                      #11

                      If you are sending lots of messages you might night to resort to the latgest snapshot.

                      https://github.com/mycontroller-org/mycontroller/issues/253#issuecomment-242132060

                      With the snapshot you might increase the "resoruce-log" level and decrease the retention time. (The resorucelog is a history of the most recent received message).

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


                      18

                      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