MyS nodes behavior when no radio or radio init fails



  • Hi everyone.

    I have built a dimmer node for my home which has its own buttons and can also be controlled over mysensors net. I am using Mysensors 2.00 development branch.

    BUT...what happens if, for some reason, the radio module is not present, or its initialization fails, or something else happens, causing mysensors boot to fail. What happens now, is that the program get freeze at startup.

    Wouldn't be a good idea, is spite of mysensors failing, to continue with the program? I would like to have the dimmer working with its buttons, despite of the mysensors net state. Maybe the gateway is down, or the node can't find a parent.

    There are several example of nodes that should, or would be nice to work as standalone, despite the radio network condition?
    Don't you agree?

    Maybe this could be optional with some definitions in config files.
    Regards!


Log in to reply
 

Suggested Topics

  • 1
  • 2
  • 2
  • 2
  • 198
  • 5

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts