Losing connection



  • Hi,

    So i have this weird issue.
    Sometimes my controller just loses connection or something and keeps rebooting.
    This will go on for a bit and then it starts working again and i receive my sensor readings again.
    How can this happen? And more important, does anybody know how can i fix this?

    2017-08-28 19:45:57.742 MySensors: Gateway Ready...
    2017-08-28 19:45:57.818 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:46:00.043 MySensors: Gateway Ready...
    2017-08-28 19:46:00.118 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:46:01.824 MySensors: Gateway Ready...
    2017-08-28 19:46:01.900 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:46:04.142 MySensors: Gateway Ready...
    2017-08-28 19:46:04.218 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:48:03.044 MySensors: Gateway Ready...
    2017-08-28 19:48:03.119 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:48:04.837 MySensors: Gateway Ready...
    2017-08-28 19:48:04.912 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:48:07.133 MySensors: Gateway Ready...
    2017-08-28 19:48:07.209 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:48:08.926 MySensors: Gateway Ready...
    2017-08-28 19:48:09.002 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:54:31.786 MySensors: Gateway Ready...
    2017-08-28 19:54:31.861 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:54:33.546 MySensors: Gateway Ready...
    2017-08-28 19:54:33.621 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:54:35.871 MySensors: Gateway Ready...
    2017-08-28 19:54:35.947 MySensors: Gateway Version: 2.1.1
    2017-08-28 19:54:37.646 MySensors: Gateway Ready...
    2017-08-28 19:54:37.721 MySensors: Gateway Version: 2.1.1```

  • Mod

    @CptSlow serial or ethernet gateway? Which hardware?



  • Sorry, it is a serial gateway with a NRF24L01+ radio (with the cap).
    It works for a couple of days and then it starts acting up.

    It seems to happen when the temp drops on one of the themperature nodes. Could this be something that causes this?


  • Hardware Contributor

    @CptSlow - How do you power the serial gateway? That could be an answer to why the gateway restarts.



  • It is an Arduino Nano directly plugged into the USB port of my Raspberry Pi.
    I never had this problem before.



  • Could it have somthing to do with a faulty radio or bad signal?
    I get this message aswell when I connect a node that isnt connecties properly.


  • Hardware Contributor

    @CptSlow - hard to say, I guess you have to make some sort of changes and see what happens.
    It could be the USB delivers to small amount of juice to the Nano... could depend on which raspberry and how you power it from your raspberry. I would make sure I had a 2A power adapter to the rasp and also change if you have that.

    I have seen different errors on gateways depending on which Arduino IDE you run... dont know much about it but some errors seems to be removed if you downgrade the Arudino... it could be it was mostly about Ethernet GW though... not sure.


  • Mod

    @sundberg84 said in Losing connection:

    mostly about Ethernet GW

    That's correct


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.