récupération après crash
This commit is contained in:
@@ -251,7 +251,7 @@ class rdc_store extends hook
|
||||
{
|
||||
global $indexDevices;
|
||||
$deviceObject = $indexDevices[RDC_STORE];
|
||||
$msg = array("position" => $level);
|
||||
$msg = array("position" => 100 - $level);
|
||||
logger(INFO, sprintf(_("publishing message: %s to %s"), json_encode($msg), $deviceObject->friendlyName), __FILE__ . ":" . __LINE__);
|
||||
$deviceObject->payload = $msg;
|
||||
$deviceObject->set("position", $method);
|
||||
|
Reference in New Issue
Block a user