Error to Add New Node

8 years 10 months ago #2821 by bru.gomes
I try to add a new node and occurs the error below.
Always i clean EEPROM before a load the program:

2016-01-27T00:44:48.0181400-02:00 INFO System System started
Jan 27 00:44:52 Web service started
Jan 27 00:44:53 Listening on port(s):80, 1301
2016-01-27T00:44:53.4595190-02:00 DEBUG MySensors MySensors Connect
================ SPI Configuration ================
CSN Pin = CE0 (PI Hardware Driven)
CE Pin = Custom GPIO25
Clock Speed = 8 Mhz
================ NRF Configuration ================
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xa8a8e1fc00 0xa8a8e1fc00
RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
TX_ADDR = 0xa8a8e1fc07
RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
EN_AA = 0x3b
EN_RXADDR = 0x06
RF_CH = 0x5f
RF_SETUP = 0x27
CONFIG = 0x0e
DYNPD/FEATURE = 0x3f 0x06
Data Rate = 250KBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
2016-01-27T00:44:53.6082120-02:00 DEBUG MySensors Mysensors Start driver.
2016-01-27T00:44:54.0840730-02:00 DEBUG Esp8266 ESP8266 Disconnect
Jan 27 00:44:58 [192.168.0.119] user:[admin] authentication success: authentication success
2016-01-27T00:45:03.1699850-02:00 INFO EasyIoTWebinterface EasyIoTConfig Module List /Api/EasyIoT/Config/Module/List//?_=1453862702744
2016-01-27T00:45:03.3448260-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetIsEnabled//?_=1453862702745
2016-01-27T00:45:03.3748560-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetChannel//?_=1453862702746
2016-01-27T00:45:03.8650610-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetBaseRadioId//?_=1453862702747
2016-01-27T00:45:03.8949990-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetDataRate//?_=1453862702748
2016-01-27T00:45:03.9562420-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetPowerAmplifierLevel//?_=1453862702749
2016-01-27T00:45:03.9949430-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetDebugMode//?_=1453862702750
2016-01-27T00:45:04.0850040-02:00 INFO EasyIoTWebinterface EasyIoTConfig Group List /Api/EasyIoT/Config/Group/List/?_=1453862702751
2016-01-27T00:45:06.4124780-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/AddNode//
2016-01-27T00:45:15.3208670-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=0,t=17,pt=0,l=3:1.4
2016-01-27T00:45:15.3652420-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=6,pt=1,l=1:0
2016-01-27T00:45:17.4182460-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=11,pt=0,l=8:Humidity
2016-01-27T00:45:17.4752420-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=12,pt=0,l=3:1.0
2016-01-27T00:45:17.5302660-02:00 DEBUG MySensors Read: 15-15-0 s=0,c=0,t=7,pt=0,l=3:1.4

Unhandled Exception:
System.IndexOutOfRangeException: Array index is out of range.
at MySensorsDriver.MySensors.addChildRoute (Byte childId, Byte route) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
at MySensorsDriver.MySensors.addChildRoute (Byte childId, Byte route) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

Could help me to solve this error?
Thanks

Please Log in or Create an account to join the conversation.

8 years 10 months ago #2826 by EasyIoT
Replied by EasyIoT on topic Error to Add New Node

bru.gomes wrote: I try to add a new node and occurs the error below.
Always i clean EEPROM before a load the program:

2016-01-27T00:44:48.0181400-02:00 INFO System System started
Jan 27 00:44:52 Web service started
Jan 27 00:44:53 Listening on port(s):80, 1301
2016-01-27T00:44:53.4595190-02:00 DEBUG MySensors MySensors Connect
================ SPI Configuration ================
CSN Pin = CE0 (PI Hardware Driven)
CE Pin = Custom GPIO25
Clock Speed = 8 Mhz
================ NRF Configuration ================
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xa8a8e1fc00 0xa8a8e1fc00
RX_ADDR_P2-5 = 0xff 0xc4 0xc5 0xc6
TX_ADDR = 0xa8a8e1fc07
RX_PW_P0-6 = 0x20 0x20 0x20 0x00 0x00 0x00
EN_AA = 0x3b
EN_RXADDR = 0x06
RF_CH = 0x5f
RF_SETUP = 0x27
CONFIG = 0x0e
DYNPD/FEATURE = 0x3f 0x06
Data Rate = 250KBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_MAX
2016-01-27T00:44:53.6082120-02:00 DEBUG MySensors Mysensors Start driver.
2016-01-27T00:44:54.0840730-02:00 DEBUG Esp8266 ESP8266 Disconnect
Jan 27 00:44:58 [192.168.0.119] user:[admin] authentication success: authentication success
2016-01-27T00:45:03.1699850-02:00 INFO EasyIoTWebinterface EasyIoTConfig Module List /Api/EasyIoT/Config/Module/List//?_=1453862702744
2016-01-27T00:45:03.3448260-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetIsEnabled//?_=1453862702745
2016-01-27T00:45:03.3748560-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetChannel//?_=1453862702746
2016-01-27T00:45:03.8650610-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetBaseRadioId//?_=1453862702747
2016-01-27T00:45:03.8949990-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetDataRate//?_=1453862702748
2016-01-27T00:45:03.9562420-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetPowerAmplifierLevel//?_=1453862702749
2016-01-27T00:45:03.9949430-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/GetDebugMode//?_=1453862702750
2016-01-27T00:45:04.0850040-02:00 INFO EasyIoTWebinterface EasyIoTConfig Group List /Api/EasyIoT/Config/Group/List/?_=1453862702751
2016-01-27T00:45:06.4124780-02:00 INFO EasyIoTWebinterface EasyIoTConfig Driver MySensors /Api/EasyIoT/Config/Driver/MySensors/AddNode//
2016-01-27T00:45:15.3208670-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=0,t=17,pt=0,l=3:1.4
2016-01-27T00:45:15.3652420-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=6,pt=1,l=1:0
2016-01-27T00:45:17.4182460-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=11,pt=0,l=8:Humidity
2016-01-27T00:45:17.4752420-02:00 DEBUG MySensors Read: 15-15-0 s=255,c=3,t=12,pt=0,l=3:1.0
2016-01-27T00:45:17.5302660-02:00 DEBUG MySensors Read: 15-15-0 s=0,c=0,t=7,pt=0,l=3:1.4

Unhandled Exception:
System.IndexOutOfRangeException: Array index is out of range.
at MySensorsDriver.MySensors.addChildRoute (Byte childId, Byte route) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
at MySensorsDriver.MySensors.addChildRoute (Byte childId, Byte route) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

Could help me to solve this error?
Thanks


Maybe problem is in configuration file MysensorsConfig.xml. There's field named ChildNodeTable consisting routing table. If this table is shortened it can lead to problems like this...
Try to use original MysensorsConfig.xml file.

Please Log in or Create an account to join the conversation.

8 years 10 months ago #2828 by bru.gomes
Replied by bru.gomes on topic Error to Add New Node

EasyIoT wrote: Maybe problem is in configuration file MysensorsConfig.xml. There's field named ChildNodeTable consisting routing table. If this table is shortened it can lead to problems like this...
Try to use original MysensorsConfig.xml file.


Thanks, I replaced this File and Now Works!!
Thank you o much! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.307 seconds

Forum latest

  • No posts to display.