Gateway crashes on presentation from other nodes.



  • Hi,

    I'm using 2.1.1 on GW and on a new node I am trying to add (RFM69 network). There are also 2 x 2.0.0 nodes too.
    The controller is domoticz. When ever I reset the new node (has 12 or so child ids) or any other node the GW resets.

    From domo logs :
    2017-01-21 08:18:42.194 MySensors: GW <== Heating System(255) [Presentation -- S_ARDUINO_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:42.405 MySensors: Gateway Ready...
    2017-01-21 08:18:42.482 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:42.484 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:42.612 MySensors: Gateway Ready...
    2017-01-21 08:18:42.689 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:42.690 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:43.130 MySensors: Gateway Ready...
    2017-01-21 08:18:43.208 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:43.208 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:43.645 MySensors: Gateway Ready...
    2017-01-21 08:18:43.722 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:43.723 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:44.164 MySensors: Gateway Ready...
    2017-01-21 08:18:44.241 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:44.241 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:44.682 MySensors: Gateway Ready...
    2017-01-21 08:18:44.759 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:44.760 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:45.241 MySensors: Gateway Ready...
    2017-01-21 08:18:45.318 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:45.319 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:45.758 MySensors: Gateway Ready...
    2017-01-21 08:18:45.835 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:45.837 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:46.289 MySensors: Gateway Ready...
    2017-01-21 08:18:46.293 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:46.371 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:46.836 MySensors: Gateway Ready...
    2017-01-21 08:18:46.913 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:46.914 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:47.346 MySensors: Gateway Ready...
    2017-01-21 08:18:47.422 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:47.423 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:47.860 MySensors: Gateway Ready...
    2017-01-21 08:18:47.937 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:47.939 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:18:48.379 MySensors: Gateway Ready...
    2017-01-21 08:18:48.455 MySensors: GW <== MySensors Gateway(255) [Presentation -- S_ARDUINO_REPEATER_NODE [ACK:0] Payload:2.1.1]
    2017-01-21 08:18:48.457 MySensors: Gateway Version: 2.1.1
    2017-01-21 08:19:11.451 MySensors: GW <== Walk In Wardrobe(1) [Set -- V_STATUS [ACK:0] Payload:0]

    As you can see from the last message messages are still swapped and other than the new node I can still interact with the older ones.
    I am going to recompile domoticz now with more debug but maybe someone has seen something similar?

    Thanks.



  • Just in case anyone comes across this it is related to ACKs. Not sure whether a mysensors issue or domoticz gets confused and resets the GW. Will probably swing back to it next weekend to test further but the exact same sketch fails when presenting with ACK and works when not.


Log in to reply
 

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