Suddenly communication between gw & nodes stopped , rebooting pi sometimes solves it



  • @gohan Small update, still weird things, everything works after a reboot, but after a short time, when toggling a switch in HA, nothing is send through the gateway?
    receives though work fine..

    snippet of the log, where the first sends are working, but then dead the send commands.

    Feb  6 22:01:53 raspberrypi mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    Feb  6 22:01:53 raspberrypi mysgw: TSF:MSG:PINGED,ID=3,HP=1
    Feb  6 22:01:53 raspberrypi mysgw: TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    Feb  6 22:01:55 raspberrypi mysgw: TSF:MSG:READ,5-3-0,s=255,c=3,t=24,pt=1,l=1,sg=0:2
    Feb  6 22:01:55 raspberrypi mysgw: TSF:MSG:PINGED,ID=5,HP=2
    Feb  6 22:01:55 raspberrypi mysgw: TSF:MSG:SEND,0-0-3-5,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    Feb  6 22:02:02 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:02 raspberrypi mysgw: GWT:RFC:C=0,MSG=5;2;1;0;2;0
    Feb  6 22:02:02 raspberrypi mysgw: TSF:MSG:SEND,0-0-3-5,s=2,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
    Feb  6 22:02:02 raspberrypi mysgw: TSF:MSG:READ,5-3-0,s=2,c=1,t=2,pt=1,l=1,sg=0:0
    Feb  6 22:02:10 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:02:12 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:18 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:02:22 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:32 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:35 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:02:42 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:46 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:02:52 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:02:54 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:03:02 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:03 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:03:06 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:03:12 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:21 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:03:22 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:25 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:03:32 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:32 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:03:38 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:03:42 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:45 raspberrypi mysgw: TSF:MSG:READ,5-3-0,s=1,c=1,t=0,pt=7,l=5,sg=0:-3.06
    Feb  6 22:03:45 raspberrypi mysgw: TSF:MSG:READ,5-3-0,s=0,c=1,t=16,pt=1,l=1,sg=0:0
    Feb  6 22:03:52 raspberrypi mysgw: GWT:RFC:C=0,MSG=0;255;3;0;2;
    Feb  6 22:03:53 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    Feb  6 22:03:57 raspberrypi mysgw: TSF:MSG:READ,2-2-0,s=2,c=1,t=16,pt=0,l=1,sg=0:1
    Feb  6 22:03:58 raspberrypi mysgw: TSF:MSG:READ,3-3-0,s=3,c=1,t=0,pt=7,l=5,sg=0:1.0
    

  • Mod

    Are you sure it's not a controller problem? Try using something else like mycontroller or myscontroller and send something to the gateway



  • @gohan is there a light weigth application to test this? or do i have to install a complete suite ?
    wouldt be handy if there's just a way to do a SEND command on the gateway


  • Mod

    With myscontroller it is just a windows app where you can send anything you want to the gateway. Mycontroller it is just a Java program where you just launch the start script and configure a few simple parameters, nothing fancy but it is useful to have for multiple purposes.



  • @gohan said in Suddenly communication between gw & nodes stopped , rebooting pi sometimes solves it:

    myscontroller

    yes Mycontroller works as expected :), the issue lies in HA



  • @gohan what i see is that the mysensors.json isnt updated with values of the different sensors on the node ?
    log shows:

    child_id 3 already exists in children of node 11, cannot add child
    3:26 PM /srv/homeassistant/lib/python3.5/site-packages/mysensors/__init__.py (WARNING)
    child_id 2 already exists in children of node 11, cannot add child
    3:26 PM /srv/homeassistant/lib/python3.5/site-packages/mysensors/__init__.py (WARNING)
    child_id 1 already exists in children of node 11, cannot add child
    3:26 PM /srv/homeassistant/lib/python3.5/site-packages/mysensors/__init__.py (WARNING)
    Node 11 is unknown
    3:25 PM /srv/homeassistant/lib/python3.5/site-packages/mysensors/__init__.py (WARNING)
    

    Small update, using the 2.1 library issues are not there so much


  • Mod

    I moved it to the home assistant section. Let's hope somebody could help you out, I'm not HA expert



  • @gohan ty



  • @gohan said in Suddenly communication between gw & nodes stopped , rebooting pi sometimes solves it:

    I moved it to the home assistant section. Let's hope somebody could help you out, I'm not HA expert

    Don't know if that is caused by the controller, by I'm having the same issue months ago but with domoticz.
    When that happens, I've found that manually restarting the mys GW service makes it work again.



  • The same issue here and solved by changing my NRF24L01


Log in to reply
 

325
Online

7.0k
Users

7.9k
Topics

84.4k
Posts

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