Event on ihost startup

Good morning,
I have a sonoff ihost and I use node red for home automation. I have Sonoff wifi bulbs and the problem is that I often have micro outages (of a few seconds) from the electricity network. When this happens my bulbs all come back on when the electricity comes back. Is it possible to turn off or remember the state before shutdown?

Yes, it is. You need to set Power-on State to Off (close, or whatever). See device settings in your app, iHost or eWeLink Web.