Hi @sathya,
ich bekomme folgende Exception, wenn ich ein putParamset() in homegear absetze:
PHP Fatal error: Uncaught Homegear\HomegearException: Could not write config to device's eeprom. in /var/lib/homegear/scripts/inline.php:7
homegear (version 0.8.0-2346).
Was ich versucht habe ist die Konfiguration eines Rollladenaktor (HMW-LC-Bl1-DR) zu ändern.
$hg->putParamset(11, 3, array("REFERENCE_RUNNING_TIME_BOTTOM_TOP" => 20));
Das merkwürdig ist, der Wert als solches ist im Aktor gespeichert (getParamset() zeigt die Änderung). Ich bin mir nicht sicher ob dies wirklich persistiert ist oder nicht. Daher hab ich jetzt mal diesen Thread auf gemacht und die ganze Geschichte im Log Level 6 mit geschnitten.
Debug - Mitschnitt
10/09/18 12:16:02.592 IPC Server: Info: Client number 16 is calling RPC method: cliGeneralCommand
(String) rc "$hg->putParamset(11, 3, array("REFERENCE_RUNNING_TIME_BOTTOM_TOP" => 20));"
10/09/18 12:16:02.592 IPC Server: Debug: CLI client 16 is executing command: rc "$hg->putParamset(11, 3, array("REFERENCE_RUNNING_TIME_BOTTOM_TOP" => 20));"
10/09/18 12:16:02.593 Script Engine Server: Info: Starting script "/var/lib/homegear/scripts/inline.php" with id 2853.
10/09/18 12:16:02.603 Script Engine Server: Info: Client number 0 is calling RPC method: putParamset
(Integer) 11
(Integer) 3
(Struct length=1)
{
[REFERENCE_RUNNING_TIME_BOTTOM_TOP]
{
(Integer) 20
}
}
10/09/18 12:16:02.604 Module HomeMatic Wired: Info: Parameter REFERENCE_RUNNING_TIME_BOTTOM_TOP of peer 11 was set to 0xC800.
10/09/18 12:16:02.604 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Info: Sending (SH-HMW-LGW): 0001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:02.604 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Sending (Port 1000): FD207553C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:03.235 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received on port 1000. Raw data:
A29554CA18
10/09/18 12:16:03.235 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received from HMW-LGW on port 1000: FD03756101
10/09/18 12:16:03.236 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: ACK response received on port 1000.
10/09/18 12:16:03.236 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Sending (Port 1000): FD02764B
10/09/18 12:16:03.236 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received on port 1000. Raw data:
7EABFFF4AA
10/09/18 12:16:03.236 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received from HMW-LGW on port 1000: FD03766100
10/09/18 12:16:03.236 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Keep alive response received on port 1000.
10/09/18 12:16:03.305 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Error: No response received to packet: FD207553C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:03.305 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Sending (Port 1000): FD207753C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:03.935 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received on port 1000. Raw data:
083D92665D
10/09/18 12:16:03.936 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received from HMW-LGW on port 1000: FD03776101
10/09/18 12:16:03.936 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: ACK response received on port 1000.
10/09/18 12:16:04.005 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Error: No response received to packet: FD207753C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:04.005 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Sending (Port 1000): FD207853C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:04.636 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received on port 1000. Raw data:
10025A516D
10/09/18 12:16:04.637 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: Packet received from HMW-LGW on port 1000: FD03786101
10/09/18 12:16:04.637 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Debug: ACK response received on port 1000.
10/09/18 12:16:04.706 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Error: No response received to packet: FD207853C80001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:04.706 Module HomeMatic Wired: HMW-LGW "SH-HMW-LGW": Info: No response from HMW-LGW to packet 0001605B1E0000000157000010FF1400000001FFFFFFFFFFFF0500C800
10/09/18 12:16:04.907 Module HomeMatic Wired: Error: Could not write config to device's eeprom.
10/09/18 12:16:04.907 Script Engine Server: Response:
(Struct length=2)
{
[faultCode]
{
(Integer) -32500
}
[faultString]
{
(String) Could not write config to device's eeprom.
}
}
10/09/18 12:16:04.908 Script Engine Server: Info: Client number 0 is calling RPC method: scriptOutput
(String) PHP Fatal error: Uncaught Homegear\HomegearException: Could not write config to device's eeprom. in /var/lib/homegear/scripts/inline.php:7
Stack trace:
#0 /var/lib/homegear/scripts/inline.php(7): Homegear\Homegear->__call('putParamset', Array)
#1 {main}
thrown in /var/lib/homegear/scripts/inline.php on line 7
(Boolean) 1
10/09/18 12:16:04.909 Script Engine Server: Response:
(void)
10/09/18 12:16:04.914 Info: Script with id 2853 finished with exit code 255
10/09/18 12:16:04.915 IPC Server: Response:
(Struct length=1)
{
[exitCode]
{
(Integer) 255
}
}
Auch finde ich es komisch das ein anderer Rollladenaktor reibungslos mit dem putParamset() ohne Exception durch lief. Ist das jetzt ein Bug im Homegear oder hab ich irgendwas falsch gemacht?
VG Sven