HomeSmartMesh / IoT_Frameworks

Sensor Node STM8, Server C++ Raspberry pi, Webclient with d3js and websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Node v1 with Id:4 hangs after few weeks

wassfila opened this issue · comments

Right before failing, many errors are noticed with 0xFF as Id or with correct id for alive message : 0x75 then CRC fails

2016.10.09 Node 4 locked-restarted
2016.11.07 Node 4 locked-restarted (few Unknown Protocol Id: 0xFF)

2016-11-07 03:41:43 NodeId:4,is:Alive
2016-11-07 03:41:46 NodeId:6,is:Alive
2016-11-07 03:42:10 Unknown Protocol Id: 0xFF
2016-11-07 03:42:13 NodeId:6,is:Alive
2016-11-07 03:42:17 NodeId:7;Temperature:16.94 °C
2016-11-07 03:42:17 NodeId:7;Humidity:43.940 %RH
2016-11-07 03:42:17 NodeId:7;Pressure:968.280 hPa
2016-11-07 03:42:37 NodeId:4,is:Alive
2016-11-07 03:42:41 NodeId:6,is:Alive
2016-11-07 03:43:04 Protocol Id: 0x75, CRC Fail
2016-11-07 03:47:16 NodeId:6,is:Alive
2016-11-07 03:47:44 NodeId:6,is:Alive
2016-11-07 03:48:02 Unknown Protocol Id: 0xFF

  • No watchdog is used, and if it is the nRF then might need regular restarts to avoid this.
  • Battery level is fine at 2.88V, so should not be a low battery issue

Fix is the complete lower power improvements, nRF power down every cycle, smooth the startup,...