I’m building a device which controls some reasonably high-powered devices (maximum total dissipation around 100 W). I’m controlling these devices with a few PWM channels.
What I’d like to do is have some way to detect when my device is going down for a firmware upgrade, and shut off the control channels. The controlled devices are off when the MCU undergoes a hardware reset, but for state changes which don’t cause such a reset the channels remain in the configuration the application put them in.
So I’d have to subscribe to the special event stream on an external server, and then have that server send my firmware a notification when the device goes down for an upgrade?