infrafast / piwebpool

The first full open source Raspberry PI PHP web-based application that automates the control of swimming pool
https://infrafast.github.io/piwebpool/
3 stars 1 forks source link

implement push for material state change #29

Open infrafast opened 8 years ago

infrafast commented 8 years ago

the command button in the materialTab should reflect in real time the material state ex. if filtration is set to on on a remote device (via domoticz, smartphone, etc...) the funtion "setPin(filtration,state)" should push the state to the webbrowser page which should call for updateCommandButton()

infrafast commented 8 years ago

for the moment this is faked using var intervalButton = setInterval(updateCommandsButton, 1000);