Skip to content

Commit

Permalink
add debugging data
Browse files Browse the repository at this point in the history
  • Loading branch information
paresy committed Nov 25, 2023
1 parent aae9c8d commit dbff877
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Alpha2/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ public function WriteValue($Ident, $Value)
$Command->addChild($KeySplit[1], strval($Value));
}

//IPS_LogMessage("Alpha2", $xml->asXML());
$this->SendDebug("WriteValue", $xml->asXML(), 0);

if ($this->sendChanges($xml)) {
SetValue($this->GetIDForIdent($Ident), $Value);
Expand All @@ -731,6 +731,7 @@ public function RequestAction($Ident, $Value)
public function RequestStatus()
{
$xml = @simplexml_load_file('http://' . $this->ReadPropertyString('IPAddress') . '/data/static.xml');
//$xml = simplexml_load_file(__DIR__ . '/../tests/data/static.xml');
if ($xml === false) {
return;
}
Expand Down
Loading

0 comments on commit dbff877

Please sign in to comment.