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. General Discussion
  3. Get something that´s working

Get something that´s working

Scheduled Pinned Locked Moved General Discussion
11 Posts 5 Posters 2.5k 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.
  • P Offline
    P Offline
    pettib
    wrote on last edited by
    #1

    I have been playing with MySensors for almost a year now but still I haven´t got something that is stable.
    At the moment i have a Vera Edge as Controller but i can´t get any gateway that is working for more than a couple of days. I have been building several versions both for Vera and other controllers bit never got something that works well.
    I will soon give up on this but will give it a last try.

    I have been starting from the beginning several times with different versions of the API and different versions of Arduino IDE but the is always some problem.

    Can please somebody tell me wish versions i need that is working today of
    Arduino IDE
    MySensors API
    Other Librarys

    I have been trying to get a Ethernet Gateway to work for a long time but i still only work for 1h to 2 days.
    I´m using following materials:
    Arduino Nano (China version)
    ENC28J60 Ethernet module
    NRF24L01+ and NRF24L01+PA+LNA
    4,7 uF to the NF module.
    External power supply +5V 2A
    Step down from +5v to 3,3v different versions.( Last is LD33V)

    I have a ESP8266 Node MCU that i can use as well but that one not working ether.

    I have several of each part so there is no problem with the parts from the beginning.

    Other parts that i have built is:
    Temp sensors (Both battery and cable)
    Irrigation Controller
    Repeaters
    Motions sensors
    Moister sensors

    So please help me so I can be a part of this nice system.

    Kind regards

    sundberg84S 1 Reply Last reply
    0
    • P pettib

      I have been playing with MySensors for almost a year now but still I haven´t got something that is stable.
      At the moment i have a Vera Edge as Controller but i can´t get any gateway that is working for more than a couple of days. I have been building several versions both for Vera and other controllers bit never got something that works well.
      I will soon give up on this but will give it a last try.

      I have been starting from the beginning several times with different versions of the API and different versions of Arduino IDE but the is always some problem.

      Can please somebody tell me wish versions i need that is working today of
      Arduino IDE
      MySensors API
      Other Librarys

      I have been trying to get a Ethernet Gateway to work for a long time but i still only work for 1h to 2 days.
      I´m using following materials:
      Arduino Nano (China version)
      ENC28J60 Ethernet module
      NRF24L01+ and NRF24L01+PA+LNA
      4,7 uF to the NF module.
      External power supply +5V 2A
      Step down from +5v to 3,3v different versions.( Last is LD33V)

      I have a ESP8266 Node MCU that i can use as well but that one not working ether.

      I have several of each part so there is no problem with the parts from the beginning.

      Other parts that i have built is:
      Temp sensors (Both battery and cable)
      Irrigation Controller
      Repeaters
      Motions sensors
      Moister sensors

      So please help me so I can be a part of this nice system.

      Kind regards

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #2

      @pettib - it should be possible to get it stable - I find it very reliable with my ethernet gateway (W5100). Are you sure it isnt any of your hardware thats unstable/not working correctly?

      This is what im using since i build my: 2.0 Ethernet GW.
      I have not had to reboot it once and my forum thread says 2 months.

      Arduino IDE: 1.6.6 (Boards version 1.6.10)
      MySensors API: 2.0.1 development
      Other Librarys: None for the GW, and for the sensors i always use whats found on MySenors github.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      2
      • P Offline
        P Offline
        pettib
        wrote on last edited by
        #3

        Thanks for your reply.
        I have tried with several hardware's.
        The only thing i haven´t tried is W5100 because i only have some ENC28J60 modules.
        The problem with API 2.0 is that not all of the projects that i have build are rebuild for 2.0. Example the Irrigation Controller that is found here in the forum from "hek".
        I will give it a try as you describe and hope it will work.
        PS. I have ordered a W5100 to try with but i will take some weeks before delivery.

        Thanks again.

        TheoLT 1 Reply Last reply
        1
        • P pettib

          Thanks for your reply.
          I have tried with several hardware's.
          The only thing i haven´t tried is W5100 because i only have some ENC28J60 modules.
          The problem with API 2.0 is that not all of the projects that i have build are rebuild for 2.0. Example the Irrigation Controller that is found here in the forum from "hek".
          I will give it a try as you describe and hope it will work.
          PS. I have ordered a W5100 to try with but i will take some weeks before delivery.

          Thanks again.

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

          @pettib It's always hard to try to help somebody with problems like these, when you can't get a physical look of the situation. So I just throw in some things that might be the cause, which you probably already have tried yourself. But just trying to help.

          1. What type of radio's are you using? Might be that you live in a crowded Wifi area. And that can interfere with the NRF radio's. In that case the RFM might be an option to use.
          2. Did you try an Genuino Arduino Uno as a gateway? Could be that your vera just can't deal with the cheap USB chip of the china clones?
          3. Instead of a LDV33 you could try a buck converter. They're really cheap 80 cents a piece on aliexpress.
          4. How do you connect the radio externally? You say that you power them externally, so I'm guessing that you know what you do.
          5. I don't know any thing about Vera. But if it has log files it would be interesting to examine them.
          6. If you have a spare raspberry Pi. You could try Domoticz.
          7. Which part is not working? Is the gateway still working and are the nodes down, the opposite or both.
          8. Just could happen to be that the communication some them fails and in that case, not all nodes come back up in an instance. Would be worth to let the situation for what it is for a couple of days. Just to see if it automatically heals.
          9. Just start with one node which regularly reports values to the gateway.

          Just some thoughts, where I think I would try to search for the root cause. Because rather then trying new things I'm actually always interested in what causes my problems. That way I can see if I can fix that. So far I've only had issues with badly powered nodes (meaning powering everything from the arduino). And some DHT sensors that randomly stop and start reporting their values.

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

            To simplify things,

            Use a serial gateway with your Vera (make sure to use an arduino with FTDI branded usb-serial module). The ENC-module is pretty crappy. If you want to run ethernet, use w5100.
            Skip the amplified radio, it requires you to know what you're doing when powering it.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              pettib
              wrote on last edited by
              #6

              Some good tip that you guys have give me.
              Most of them i already tried before. I have worked a lot with electronics so I know how to connect the parts i give them the correct power.
              The sensors is working and i can see the transmissions from the nodes to the gateway thru serial monitor. The problem is that both Vera and Domotics are losing connection with gateway. Tried both Serial and Ethernet.
              I read somewhere that Vera dosen´t work so well with serial gateway so they recommend Ethernet. The last hope is that the W5100 will solve my problem.

              Thanks guys.

              P BartEB 2 Replies Last reply
              3
              • P pettib

                Some good tip that you guys have give me.
                Most of them i already tried before. I have worked a lot with electronics so I know how to connect the parts i give them the correct power.
                The sensors is working and i can see the transmissions from the nodes to the gateway thru serial monitor. The problem is that both Vera and Domotics are losing connection with gateway. Tried both Serial and Ethernet.
                I read somewhere that Vera dosen´t work so well with serial gateway so they recommend Ethernet. The last hope is that the W5100 will solve my problem.

                Thanks guys.

                P Offline
                P Offline
                pettib
                wrote on last edited by pettib
                #7

                I will also try the software versions that was recommended.

                1 Reply Last reply
                0
                • P pettib

                  Some good tip that you guys have give me.
                  Most of them i already tried before. I have worked a lot with electronics so I know how to connect the parts i give them the correct power.
                  The sensors is working and i can see the transmissions from the nodes to the gateway thru serial monitor. The problem is that both Vera and Domotics are losing connection with gateway. Tried both Serial and Ethernet.
                  I read somewhere that Vera dosen´t work so well with serial gateway so they recommend Ethernet. The last hope is that the W5100 will solve my problem.

                  Thanks guys.

                  BartEB Offline
                  BartEB Offline
                  BartE
                  Contest Winner
                  wrote on last edited by
                  #8

                  @pettib not sure about the Vera Edge but my Vera3 with MySensors gateway is running for months without the need for a reset.

                  For what it is worth, i'm using :

                  • NRF24L01+PA+LNA
                  • this Arduino http://www.ebay.com/itm/130977189883?rmvSB=true
                  • running the example MySensors gateway with some adaptation for receiving 433mHz signals
                  • http://www.ebay.com/itm/380717845396?rmvSB=true
                  • No external power and the PA_LEVEL on standard (LOW)
                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pettib
                    wrote on last edited by
                    #9

                    I have now built a new gateway with W5100, Arduino Nano,.
                    I got following error, At the first it seams to be ok, but the ip address is showing wrong. I have put in 192.168.1.154 in the sketch:

                    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;TSM:RADIO:OK
                    0;255;3;0;9;TSM:GW MODE
                    0;255;3;0;9;TSM:READY
                    IP: 0.255.0.0
                    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;TSM:RADIO:OK
                    0;255;3;0;9;TSM:GW MODE
                    0;255;3;0;9;TSM:READY
                    IP: 0.255.0.0
                    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;TSM:RADIO:OK
                    0;255;3;0;9;TSM:GW MODE
                    0;255;3;0;9;TSM:READY
                    IP: 0.0.0.0
                    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;!TSM:RADIO:FAIL
                    0;255;3;0;9;!TSM:FAILURE
                    0;255;3;0;9;TSM:PDT
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;!TSM:RADIO:FAIL
                    0;255;3;0;9;!TSM:FAILURE
                    0;255;3;0;9;TSM:PDT
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;!TSM:RADIO:FAIL
                    0;255;3;0;9;!TSM:FAILURE
                    0;255;3;0;9;TSM:PDT
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;!TSM:RADIO:FAIL
                    0;255;3;0;9;!TSM:FAILURE
                    0;255;3;0;9;TSM:PDT

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pettib
                      wrote on last edited by
                      #10

                      I found the problem with ip address.
                      But the serial monitor keeps repeating this message:

                      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                      0;255;3;0;9;TSM:INIT
                      0;255;3;0;9;TSM:RADIO:OK
                      0;255;3;0;9;TSM:GW MODE
                      0;255;3;0;9;TSM:READY
                      IP: 192.168.1.254
                      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                      0;255;3;0;9;TSM:INIT
                      0;255;3;0;9;TSM:RADIO:OK
                      0;255;3;0;9;TSM:GW MODE
                      0;255;3;0;9;TSM:READY
                      IP: 192.168.1.254
                      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                      0;255;3;0;9;TSM:INIT
                      0;255;3;0;9;TSM:RADIO:OK
                      0;255;3;0;9;TSM:GW MODE
                      0;255;3;0;9;TSM:READY
                      IP: 192.168.1.254

                      P 1 Reply Last reply
                      0
                      • P pettib

                        I found the problem with ip address.
                        But the serial monitor keeps repeating this message:

                        0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                        0;255;3;0;9;TSM:INIT
                        0;255;3;0;9;TSM:RADIO:OK
                        0;255;3;0;9;TSM:GW MODE
                        0;255;3;0;9;TSM:READY
                        IP: 192.168.1.254
                        0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                        0;255;3;0;9;TSM:INIT
                        0;255;3;0;9;TSM:RADIO:OK
                        0;255;3;0;9;TSM:GW MODE
                        0;255;3;0;9;TSM:READY
                        IP: 192.168.1.254
                        0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
                        0;255;3;0;9;TSM:INIT
                        0;255;3;0;9;TSM:RADIO:OK
                        0;255;3;0;9;TSM:GW MODE
                        0;255;3;0;9;TSM:READY
                        IP: 192.168.1.254

                        P Offline
                        P Offline
                        pettib
                        wrote on last edited by
                        #11

                        @pettib It´s working now.
                        I got wrong version of Mysensors API
                        Now i use 2.01
                        The time will tell if it get stable.

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


                        23

                        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