• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Pressure Sensor (Barometer)

    Troubleshooting
    3
    10
    1815
    Loading More Posts
    • 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.
    • skywatch
      skywatch last edited by

      Hi,

      Today I have been testing the air pressure sensor with the code from the mysensors site. It works well, but there are 2 problems with the display in MYC.

      Firstly, on the left of the graph there is missing digit (e.g. 1018 Hpa is shown as 018 Hpa).
      Secondly, I cannot get the forecast to display. I know it is being sent as I have seen the data in serial window.....

      Temperature = 24.00 *C
      Pressure = 1018.99 hPa
      Forecast = stable
      6597 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:24.0
      6610 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=4,pt=7,l=5,sg=0,ft=0,st=OK:1018.99
      6620 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=5,pt=0,l=6,sg=0,ft=0,st=OK:stable
      6626 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255
      6631 MCO:SLP:TPD
      

      But despite adding a sensor to the dashboard and assigning the forecast to it, it always displays N/A. Weird!

      1 Reply Last reply Reply Quote 0
      • skywatch
        skywatch last edited by

        OK, after 2 hours the forecast has suddenly started working, so maybe it needs a lot of time.

        Still have the issue with the readings on the left hand margin of the graph though.....

        jkandasa 1 Reply Last reply Reply Quote 0
        • jkandasa
          jkandasa @skywatch last edited by

          @skywatch Do you use recent SNAPSHOT build?

          fixed on https://github.com/mycontroller-org/mycontroller/issues/387

          1 Reply Last reply Reply Quote 0
          • skywatch
            skywatch last edited by

            Sorry, I am using 0.0.3-FINAL. I will try the latest snapshot now as I have an hour free and want to move the MYC pi anyway due to range issues with the radio modules.

            Thankyou.

            As an idea, whtn things like this get fixed and new releases come out, would it be possible to have a page on the site with athis info on for a quick reference?

            jkandasa 1 Reply Last reply Reply Quote 0
            • jkandasa
              jkandasa @skywatch last edited by

              @skywatch said:

              As an idea, whtn things like this get fixed and new releases come out, would it be possible to have a page on the site with athis info on for a quick reference?

              Sure, this is not released for public yet. I will update. thank you!

              1 Reply Last reply Reply Quote 0
              • skywatch
                skywatch last edited by

                I just checked and I have 0.0.3-FINAL-SNAPSHOT installed. Sometimes I get forecast, sometimes not. I can't yet tell why. I have moved the pi and hopefully in its new location I will get better reception and not need repeater nod any more.

                P.S. - I instinctively went to the downloads page to get the snapshot. Maybe put a link to it there as well? - I looks from the downloads page as if nothing has happened for a year! - Again, maybe update it?

                jkandasa 1 Reply Last reply Reply Quote 0
                • jkandasa
                  jkandasa @skywatch last edited by

                  @skywatch

                  I instinctively went to the downloads page to get the snapshot. Maybe put a link to it there as well? - I looks from the downloads page as if nothing has happened for a year! - Again, maybe update it?

                  Yes, I need to release SNAPSHOT version as final. I have to write a document for this. I will release soon. Thank you!

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tag MOD last edited by

                    Hi!

                    I see the same, with my air pressure node. what details are send to mycontroller from the node?
                    It is some time ago but i remember that there is an algorythm in the source for the node that predicts the forcast... so this issue might also be caused by the software in the mysensors node...

                    my forcast is most of the time N/A (stable)

                    Just my 2 cents..

                    Tag

                    jkandasa 1 Reply Last reply Reply Quote 0
                    • jkandasa
                      jkandasa @Tag last edited by

                      @Tag in the latest SNAPSHOT version I have changed to show icon for stable as day-sunny

                      https://github.com/mycontroller-org/mycontroller/blob/development/dist/src/main/package/www/services/common_services.js#L307

                      https://erikflowers.github.io/weather-icons/

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Tag MOD @jkandasa last edited by

                        @jkandasa

                        Ah!, okay, missed that one, thanks!!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        0
                        Online

                        638
                        Users

                        495
                        Topics

                        3.2k
                        Posts

                        Copyright © 2015-2022 MyController.org | Contributors | Localization