Author Topic: Modules drop off network  (Read 196 times)


  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Modules drop off network
« on: September 09, 2016, 10:46:25 pm »
Just publishing a "boot" message via mqtt in the Shared Event Boot()

Like this:

Code: [Select]
Class Main
    Shared Event Boot()
         //mqtt.publish("topic","booted").  // put your message here (I have an mqtt class for publishing)
     End Event

     //other things here

End Class

The boot event is the first thing run after the module resets, so you initialize variables, instansiate objects, etc. here.

Hope this explains.