Hello I made simple project to control my greenhouse and I thought of using enventor to maintain the temperature inside
For example if temp less than 70c Heater on and when the temp above 75 heater off
Every things is working excellent unless when the temperature let’s say less than 70 and the heater is on during that if I unplug the wemos and plug it again mean ( disconnected and reconnected )
It dosnt update the relay for the Heater, is should be on coz it’s below 70 but it dosnt update after disconnecting it and reconnecting it.
Am using wemos d1 mini
The blynk is updated
Is that abug ?
Thanks
This is video to explain
@dananmo Are you using physical pins or virtual pins from the app to the device. Blynk does not maintain status GPIO pins but only virtual pins. The way to do it is to attach your button or widgets to a virtual pin and process data coming from the widgets in your sketch. Blynk server maintains state of virtuals pins. On a reconnect, you can reinstate the virtual pin state using the Blynk.syncAll() call.
Please publish your sketch properly formatted and enclosed within “``` cpp {paste code} ```”… Please read up the examples on blynk virtual pin usage and sync.
Thanks I’ll try it