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. Vera
  4. Vera3 UI5 MySensors Plugin not working after migration to 1.4

Vera3 UI5 MySensors Plugin not working after migration to 1.4

Scheduled Pinned Locked Moved Vera
31 Posts 4 Posters 8.5k 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.
  • S samppa

    @hek
    The debugging section does not have relevant help.. It used to work fine so I do not get what got broken.

    And the gateway works when flashed on PC, so I suspect somehow the plugin is hung, but not sure how to debug that..
    During the migration I removed the entire plugin device and recreated it with the create device. So I had to start from scratch to include and rename all the sensors, but after the first inclusion I got stuck as the inclusion button is not reactive..

    hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #4

    @samppa

    If you connect serial gateway to your computer and look at the Serial monitor in Arduino IDE. Can you see messages coming in from your sensors?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      samppa
      wrote on last edited by
      #5

      I tried and indeed the serial gateway said only that "0;0;3;0;14;Gateway startup complete"

      1 Reply Last reply
      0
      • S Offline
        S Offline
        samppa
        wrote on last edited by
        #6

        Replacing the gateway with another arduino seems to have fixed the inclusion. At least now it reacts although not able to find any devices.

        Also I noticed that even though most of the sensor sendings fail still some go through ok but very rarely:
        sensor started, id 1
        send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
        send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
        send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=0,st=fail:
        send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.5
        send: 1-1-0-0 s=0,c=0,t=7,pt=0,l=3,st=fail:1.4
        send: 1-1-0-0 s=1,c=0,t=6,pt=0,l=3,st=fail:1.4
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:25.0
        send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:50.8
        send: 1-1-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:25.3

        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:24.9
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:25.0
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:24.9
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:25.0
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:24.9
        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:25.0
        send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=fail:50.7

        Still those ok sends do not update the UI5.

        Has the radio power been lowered between 1.3 and 1.4?

        I even now have a repeated node between the sensor and gateway, but that does not seem to make any difference..

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #7

          @samppa said:

          Has the radio power been lowered between 1.3 and 1.4?

          No.

          Please describe your setup. Radio model?, capacitors mounted?, cable length between radio/arduino?

          S 1 Reply Last reply
          0
          • hekH hek

            @samppa said:

            Has the radio power been lowered between 1.3 and 1.4?

            No.

            Please describe your setup. Radio model?, capacitors mounted?, cable length between radio/arduino?

            S Offline
            S Offline
            samppa
            wrote on last edited by
            #8

            @hek
            Tough questions for newbie.. :-) The radio is from the buying guide, no capacitors and 10cm dupont cables.

            hekH 1 Reply Last reply
            0
            • S samppa

              @hek
              Tough questions for newbie.. :-) The radio is from the buying guide, no capacitors and 10cm dupont cables.

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #9

              @samppa

              Try adding capacitor as suggested. The latest discussions on the forum recommends a larger one than the one we link on buying guide (I will update the links soon).

              Here are some assorted electrolytic with different capacitance.

              S HomerH 2 Replies Last reply
              0
              • hekH hek

                @samppa

                Try adding capacitor as suggested. The latest discussions on the forum recommends a larger one than the one we link on buying guide (I will update the links soon).

                Here are some assorted electrolytic with different capacitance.

                S Offline
                S Offline
                samppa
                wrote on last edited by
                #10

                @hek
                Why it is needed for 1.4 as earlier everything worked well in 1.3 without it?
                I do not have any readily available and I was hoping to get back up again without waiting for the delivery.

                hekH 1 Reply Last reply
                0
                • S samppa

                  @hek
                  Why it is needed for 1.4 as earlier everything worked well in 1.3 without it?
                  I do not have any readily available and I was hoping to get back up again without waiting for the delivery.

                  hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #11

                  @samppa

                  This version transmits bursts of messages which probably requires more power for a short period.
                  Try lowering transmit power in MyConfig.h while waiting for the capacitors.

                  S 1 Reply Last reply
                  0
                  • hekH hek

                    @samppa

                    This version transmits bursts of messages which probably requires more power for a short period.
                    Try lowering transmit power in MyConfig.h while waiting for the capacitors.

                    S Offline
                    S Offline
                    samppa
                    wrote on last edited by
                    #12

                    @hek
                    You mean
                    #define RF24_PA_LEVEL RF24_PA_LOW
                    ?

                    S 1 Reply Last reply
                    0
                    • hekH hek

                      @samppa

                      Try adding capacitor as suggested. The latest discussions on the forum recommends a larger one than the one we link on buying guide (I will update the links soon).

                      Here are some assorted electrolytic with different capacitance.

                      HomerH Offline
                      HomerH Offline
                      Homer
                      wrote on last edited by
                      #13

                      @hek said:

                      @samppa

                      Try adding capacitor as suggested. The latest discussions on the forum recommends a larger one than the one we link on buying guide (I will update the links soon).

                      Which capacitor is suggested now?

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #14

                        @samppa
                        Yes

                        @Homer
                        Read this thread: http://forum.mysensors.org/topic/171/efficiency-of-voltage-boosters

                        1 Reply Last reply
                        0
                        • S samppa

                          @hek
                          You mean
                          #define RF24_PA_LEVEL RF24_PA_LOW
                          ?

                          S Offline
                          S Offline
                          samppa
                          wrote on last edited by
                          #15

                          @samppa said:
                          #define RF24_PA_LEVEL RF24_PA_LOW

                          Did not help.. ;-(
                          Perhaps I have to wait for the capacitors..
                          Somehow the first message (with version) seems to go through more often than the rest..

                          hekH 1 Reply Last reply
                          0
                          • S samppa

                            @samppa said:
                            #define RF24_PA_LEVEL RF24_PA_LOW

                            Did not help.. ;-(
                            Perhaps I have to wait for the capacitors..
                            Somehow the first message (with version) seems to go through more often than the rest..

                            hekH Offline
                            hekH Offline
                            hek
                            Admin
                            wrote on last edited by
                            #16

                            @samppa

                            Don't you have some old electronics you could butcher and desolder a couple of capacitors from? Or a nearby shop? Waiting 2 weeks for the Chinese/Finnish post isn't that fun.

                            S 1 Reply Last reply
                            0
                            • hekH hek

                              @samppa

                              Don't you have some old electronics you could butcher and desolder a couple of capacitors from? Or a nearby shop? Waiting 2 weeks for the Chinese/Finnish post isn't that fun.

                              S Offline
                              S Offline
                              samppa
                              wrote on last edited by
                              #17

                              @hek
                              Yes I could do that. What size? Anything goes, right? Thee discussion in the post you liked was rather long without definitive conclusion.. :-)

                              S 1 Reply Last reply
                              0
                              • S samppa

                                @hek
                                Yes I could do that. What size? Anything goes, right? Thee discussion in the post you liked was rather long without definitive conclusion.. :-)

                                S Offline
                                S Offline
                                samppa
                                wrote on last edited by
                                #18

                                @samppa
                                Just to confirm; the capacitor should be put to sensor node or serial gateway? Or both and all nodes?
                                And in parallel with the radio on the power lines?

                                hekH 1 Reply Last reply
                                0
                                • S samppa

                                  @samppa
                                  Just to confirm; the capacitor should be put to sensor node or serial gateway? Or both and all nodes?
                                  And in parallel with the radio on the power lines?

                                  hekH Offline
                                  hekH Offline
                                  hek
                                  Admin
                                  wrote on last edited by
                                  #19

                                  @samppa

                                  I use it on all nodes. Mount it as close as possible to the radio between VCC/GND.

                                  S 2 Replies Last reply
                                  0
                                  • hekH hek

                                    @samppa

                                    I use it on all nodes. Mount it as close as possible to the radio between VCC/GND.

                                    S Offline
                                    S Offline
                                    samppa
                                    wrote on last edited by
                                    #20

                                    @hek
                                    Ok that made the radio to work.
                                    But still the reported values are not shown in UI5.
                                    Somehow the Humidity sensor has CurrentTemperature variable, so it seems something is mixed up..
                                    I have one DHT22 and one Dallas temperature sensor in one node. The devices are found during inclusion and added, but no data is shown. The only thing shown is the last update time that seems to be correct..

                                    1 Reply Last reply
                                    0
                                    • hekH hek

                                      @samppa

                                      I use it on all nodes. Mount it as close as possible to the radio between VCC/GND.

                                      S Offline
                                      S Offline
                                      samppa
                                      wrote on last edited by
                                      #21

                                      @hek
                                      Here is how it looks on Sensor:
                                      sensor started, id 1
                                      send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
                                      send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
                                      read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
                                      send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=0,st=ok:
                                      send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.4
                                      send: 1-1-0-0 s=0,c=0,t=7,pt=0,l=3,st=ok:1.4
                                      send: 1-1-0-0 s=1,c=0,t=6,pt=0,l=3,st=ok:1.4
                                      send: 1-1-0-0 s=2,c=0,t=6,pt=0,l=3,st=ok:1.4
                                      send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:77.9
                                      send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:43.1
                                      send: 1-1-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:78.1
                                      send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:43.0
                                      send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:42.7

                                      So the transmission seems to be ok..

                                      S 1 Reply Last reply
                                      0
                                      • S samppa

                                        @hek
                                        Here is how it looks on Sensor:
                                        sensor started, id 1
                                        send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
                                        read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
                                        send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=0,st=ok:
                                        send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=0,c=0,t=7,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=1,c=0,t=6,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=2,c=0,t=6,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:77.9
                                        send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:43.1
                                        send: 1-1-0-0 s=2,c=1,t=1,pt=7,l=5,st=ok:78.1
                                        send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:43.0
                                        send: 1-1-0-0 s=1,c=1,t=1,pt=7,l=5,st=ok:42.7

                                        So the transmission seems to be ok..

                                        S Offline
                                        S Offline
                                        samppa
                                        wrote on last edited by
                                        #22

                                        The mixup with temp and humidity was my typo in code. It would be great if the gateway or sensor would warn if a wrong type of value is sent compared to the presented sensor type.

                                        @samppa said:

                                        Here is how it looks on Sensor:
                                        sensor started, id 1
                                        send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
                                        read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
                                        send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=0,st=ok:
                                        send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=0,c=0,t=7,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=1,c=0,t=6,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=2,c=0,t=6,pt=0,l=3,st=ok:1.4
                                        send: 1-1-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:77.9

                                        That temeprature is in Farenheit. Somehow the GW responds false when calling:

                                            metric = gw.getConfig().isMetric;
                                        

                                        Now everything else except the metric works with this node..

                                        1 Reply Last reply
                                        0
                                        • hekH Offline
                                          hekH Offline
                                          hek
                                          Admin
                                          wrote on last edited by
                                          #23

                                          It would be great if the gateway or sensor would warn if a wrong type of value is sent compared to the presented sensor type.

                                          It has no knowledge of this today. We're having discussions about the future elsewhere on this forum.

                                          @samppa said:

                                          Now everything else except the metric works with this node..

                                          Did you see this update?

                                          http://forum.mysensors.org/topic/326/mysensors-1-4-released/34

                                          S 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