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

fire material status change to listeners - feedback propagation #24

Open infrafast opened 7 years ago

infrafast commented 7 years ago
           //fire the state change to all listeners
            //appendlog("FIRE",$state,$url);
            //listeners loop issue #23
            //here we put "status" which is the keyword we ecpect to get from the json reply 
            //we however don't exploit the result of the call function because this should be 
            // 1) pass as a parameter to the weburl extracted from the listeners table
            // 2) then it cause the question about the return to the function itself where a NOK from weburl
            // should not return false if th setPin command was successful...
            weburl($url,"status");