mabartos / iot-virtual-home

IoT Virtual Home
0 stars 0 forks source link

Set initial values for state switch for each appliance #5

Open mabartos opened 1 year ago

mabartos commented 1 year ago

We store the last state of the appliance in InfluxDB. In the User dashboard, in the beginning, we should fetch the data and set the state of the switch to the stored value.