Error: Serial Port closed!... Error: End of file..



  • I just updated my NRF24 connected gateway from 1.6 to 2.0. I have a power pulse-meter that works and constantly is sending data with no problem. But as soon as I add another sensor the gateway sops working in domoticz and resets itself every 30 secs.

    I just tried connecting a motion sensor to a pro mini with a nrf24 and uploaded a standard motion sensor sketch, and it crached the gateway directly. What can be causing this?

    this is from the serial monitor:

    Starting sensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=50)
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    !TSM:FPAR:FAIL
    !TSM:FAILURE
    TSM:PDT
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=50)
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    TSP:MSG:SEND 50-50-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSM:FPAR
    


  • I think I solved it by adding a nrf 5 -> 3.3 v adapterboard so I guess it was power related.



  • To which unit did you add the 5->3.3v?
    Gateway or Motion?



  • I tried to reprogram the Arduino Nano but that didn't helped.
    Changed com port on computer and that seems to solve my problem


Log in to reply
 

Suggested Topics

  • 3
  • 1
  • 2
  • 5
  • 6

54
Online

11.4k
Users

11.1k
Topics

112.6k
Posts