Hi,
It seems something went wrong by using setValue method over MQTT.
I am using that to set temperature of MAX! basic thermostat.
When it is OK the given value should be detected as ‘Integer’ or ‘Float’ depend on the passed value is eg. 21 or 21.5
like this way:
11/10/23 15:46:55.930 MQTT Client: Info: MQTT RPC call received. Method: setValue
11/10/23 15:46:55.931 RPC Server (Port 2001): Info: RPC Method called: setValue Parameters:
(Integer) 4
(Integer) 1
(String) SET_TEMPERATURE
(Integer) 21
11/10/23 15:46:55.931 Module MAX: Debug: SET_TEMPERATURE of peer 4 with serial number OEQ0943767:1 was set to 2A.
...
10/04/23 20:17:59.576 MQTT Client: Info: MQTT RPC call received. Method: setValue
10/04/23 20:17:59.576 RPC Server (Port 2001): Info: RPC Method called: setValue Parameters:
(Integer) 3
(Integer) 1
(String) SET_TEMPERATURE
(Float) 21.5
10/04/23 20:17:59.678 Module MAX: CUL "nanoCUL": Info: Sending (nanoCUL, WOR: yes): 0B820540FD29421BE3E4016B
10/04/23 20:18:00.769 MAX packet received (nanoCUL, RSSI: 0x4D): 0E8202021BE3E4FD2942000119642B
10/04/23 20:18:00.769 Module MAX: Info: Queue 7776 is empty and there are no pending queues.
10/04/23 20:18:00.770 Module MAX: Info: CONTROL_MODE on channel 1 of peer 3 with serial number PEQ1012669 was set to 0x01.
10/04/23 20:18:00.770 Module MAX: Info: LOCKED on channel 1 of peer 3 with serial number PEQ1012669 was set to 0x00.
10/04/23 20:18:00.770 Module MAX: Info: SET_TEMPERATURE on channel 1 of peer 3 with serial number PEQ1012669 was set to 0x2B.
The problem visible as the value is detected as String instead of Float and the temperature is set to 5 all the time instead of xx.5 as expected.
11/10/23 15:45:31.217 MQTT Client: Info: MQTT RPC call received. Method: setValue
11/10/23 15:45:31.218 RPC Server (Port 2001): Info: RPC Method called: setValue Parameters:
(Integer) 4
(Integer) 1
(String) SET_TEMPERATURE
(String) 21.5
11/10/23 15:45:31.218 Module MAX: Debug: SET_TEMPERATURE of peer 4 with serial number OEQ0943767:1 was set to 0A.
RPC PHP script is still fine:
11/10/23 13:57:08.620 Script Engine Server: Info: Starting script "/var/lib/homegear/scripts/inline.php" with id 1.
11/10/23 13:57:08.627 Script Engine Server: Info: Client number 0 is calling RPC method: setValue
(Integer) 4
(Integer) 1
(String) SET_TEMPERATURE
(Float) 21.5
11/10/23 13:57:08.627 Module MAX: Debug: SET_TEMPERATURE of peer 4 with serial number OEQ0943767:1 was set to 2B.
The homegear version last known was good is “0.8.220105-3478”. Unfortunately that docker image version is lost due to SSD failure, I could not double check easily.
All recent Stable(0.7.51-3497)/Testing(0.8.1-3519)/Nightly(0.9.23101322-3671) docker image having that issue.
The Mosquitto (2.0.10) and OpenHab(3.2.0) version are the same as before only Homegear version is changed recently.
Do you have any idea what could be wrong?
If you need more detailed Debug I can provide for you.
Thanks in advance
Tamás