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

    No position or time from MySensors GPS Sensor

    Troubleshooting
    4
    11
    1570
    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.
    • jkandasa
      jkandasa @Daydreamer0008 last edited by

      @Daydreamer0008 Data should be in the form of GPS position and altitude. Payload: latitude;longitude;altitude(m). E.g. "55.722526;13.017972;18"

      1 Reply Last reply Reply Quote 0
      • D
        Daydreamer0008 last edited by

        The data is in that form. In MyController the sensor shows up as GPS but don't receive any data.

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

          @Daydreamer0008 Let me check this locally and update you.

          1 Reply Last reply Reply Quote 0
          • D
            Daydreamer0008 last edited by

            Thanks that's great!

            1 Reply Last reply Reply Quote 0
            • F
              fsgrazzutti last edited by

              Hello @jkandasa ,

              I ran into the same issue.

              the format is correct and the serial gateway receives and acknowledge correctly:

              130199 TSF:MSG:SEND,12-12-0-0,s=1,c=1,t=49,pt=0,l=23,sg=1,ft=0,st=OK:xx.229702;xx.345557;502
              130223 TSF:MSG:READ,0-0-12,s=1,c=1,t=49,pt=0,l=23,sg=0:xx.229702;xx.345557;502

              I have edited the real location on purpose, but I guarantee that they are correct.

              1 Reply Last reply Reply Quote 0
              • F
                fsgrazzutti last edited by

                I have some additional information.

                I added a S_INFO child to the GPS sensor and sent the position as text. MyController gets confused again.
                I suspected that the semicolon ; can generate confusion in the parser, so in the text information I changed the semicolon ; with a pipe | separator and the text is reported correctly.
                2020-06-23.png 2020-06-23 (1).png

                skywatch 1 Reply Last reply Reply Quote 1
                • skywatch
                  skywatch @fsgrazzutti last edited by

                  @fsgrazzutti Great work! - Thanks for sharing so others won't have the same problem! 🙂

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

                    @skywatch thanks !
                    hope il helps @jkandasa to fix it.

                    For my purpose I will send lat, lon, alt as separate floats, since I need them for computation, but it would be great if they coud be fixed one day

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

                      @fsgrazzutti Thanks for reporting this issue, I will fix it when I get time. Thanks!

                      I have created a GitHub issue: https://github.com/mycontroller-org/mycontroller/issues/509

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        fsgrazzutti @jkandasa last edited by

                        @jkandasa thanks a lot !

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

                        1
                        Online

                        631
                        Users

                        493
                        Topics

                        3.1k
                        Posts

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