CLIENT.publish('pump/data', {state:{pump: params['action']}}.to_json)
every(2.day, :at => '08:00') do CLIENT.publish('pump/data', {state:{pump: params['action']}}.to_json) 200 end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)