@technik wrote:
Hi,
I’m new here, any help would be appreciated.
Looks like a wrong SETPOINT_SET message is sent to the device (thermostat) for some reason.
Here is the log:2020-01-12 21:16:04.153 Info, Node021, Value::Set - COMMAND_CLASS_THERMOSTAT_SETPOINT - Heating 1 - 1 - 1 - 22 2020-01-12 21:16:04.153 Detail, Node021, Queuing (Send) MultiChannel Encapsulated (instance=1): ThermostatSetpointCmd_Set (Node=21): 0x01, 0x10, 0x00, 0x13, 0x15, 0x09, 0x60, 0x0d, 0x01, 0x01, 0x43, 0x01, 0x01, 0x01, 0x16, 0x25, 0x2e, 0xd2 2020-01-12 21:16:04.154 Detail, Node021, Queuing (Send) MultiChannel Encapsulated (instance=1): ThermostatSetpointCmd_Get (Node=21): 0x01, 0x0e, 0x00, 0x13, 0x15, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x43, 0x02, 0x01, 0x25, 0x2f, 0xd7 2020-01-12 21:16:04.154 Detail, 2020-01-12 21:16:04.154 Info, Node021, Sending (Send) message (Callback ID=0x2e, Expected Reply=0x13) - MultiChannel Encapsulated (instance=1): ThermostatSetpointCmd_Set (Node=21): 0x01, 0x10, 0x00, 0x13, 0x15, 0x09, 0x60, 0x0d, 0x01, 0x01, 0x43, 0x01, 0x01, 0x01, 0x16, 0x25, 0x2e, 0xd2 2020-01-12 21:16:04.162 Detail, Node021, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2020-01-12 21:16:04.162 Detail, Node021, ZW_SEND_DATA delivered to Z-Wave stack 2020-01-12 21:16:04.182 Detail, Node021, Received: 0x01, 0x18, 0x00, 0x13, 0x2e, 0x00, 0x00, 0x02, 0x00, 0xde, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x07 2020-01-12 21:16:04.182 Detail, Node021, ZW_SEND_DATA Request with callback ID 0x2e received (expected 0x2e) 2020-01-12 21:16:04.182 Info, Node021, Request RTT 28 Average Request RTT 27 2020-01-12 21:16:04.183 Detail, Expected callbackId was received 2020-01-12 21:16:04.183 Detail, Expected reply was received 2020-01-12 21:16:04.183 Detail, Message transaction complete 2020-01-12 21:16:04.183 Detail, 2020-01-12 21:16:04.183 Detail, Node021, Removing current message 2020-01-12 21:16:04.183 Detail, 2020-01-12 21:16:04.183 Info, Node021, Sending (Send) message (Callback ID=0x2f, Expected Reply=0x04) - MultiChannel Encapsulated (instance=1): ThermostatSetpointCmd_Get (Node=21): 0x01, 0x0e, 0x00, 0x13, 0x15, 0x07, 0x60, 0x0d, 0x01, 0x01, 0x43, 0x02, 0x01, 0x25, 0x2f, 0xd7 2020-01-12 21:16:04.191 Detail, Node021, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2020-01-12 21:16:04.191 Detail, Node021, ZW_SEND_DATA delivered to Z-Wave stack 2020-01-12 21:16:04.211 Detail, Node021, Received: 0x01, 0x18, 0x00, 0x13, 0x2f, 0x00, 0x00, 0x03, 0x00, 0xde, 0x7f, 0x7f, 0x7f, 0x7f, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x07 2020-01-12 21:16:04.211 Detail, Node021, ZW_SEND_DATA Request with callback ID 0x2f received (expected 0x2f) 2020-01-12 21:16:04.211 Info, Node021, Request RTT 27 Average Request RTT 27 2020-01-12 21:16:04.211 Detail, Expected callbackId was received 2020-01-12 21:16:04.228 Detail, Node021, Received: 0x01, 0x12, 0x00, 0x04, 0x00, 0x15, 0x0a, 0x60, 0x0d, 0x01, 0x01, 0x43, 0x03, 0x01, 0x22, 0x00, 0xa0, 0xdd, 0x00, 0x85 2020-01-12 21:16:04.228 Detail, 2020-01-12 21:16:04.228 Info, Node021, Response RTT 44 Average Response RTT 44 2020-01-12 21:16:04.228 Info, Node021, Received a MultiChannelEncap from node 21, endpoint 1 for Command Class COMMAND_CLASS_THERMOSTAT_SETPOINT 2020-01-12 21:16:04.228 Detail, Node021, Refreshed Value: old value=16.0, new value=16.0, type=decimal 2020-01-12 21:16:04.228 Detail, Node021, Changes to this value are not verified 2020-01-12 21:16:04.228 Info, Node021, Received thermostat setpoint report: Setpoint Heating 1 = 16.0C 2020-01-12 21:16:04.228 Detail, Node021, Expected reply and command class was received 2020-01-12 21:16:04.228 Detail, Node021, Message transaction complete 2020-01-12 21:16:04.228 Detail, 2020-01-12 21:16:04.228 Detail, Node021, Removing current message 2020-01-12 21:16:04.228 Detail, Node021, Notification: ValueChanged
The command data in the first line 0x43, 0x01, 0x01, 0x01 is not correctly constructed. Size, Scale and Precision bit fields (the last byte of those 4 in bold) are incorrectly set.
Here is my XML entry:
<CommandClass id="67" name="COMMAND_CLASS_THERMOSTAT_SETPOINT" version="1" request_flags="2" innif="true" base="0" typeInterpretation="B"> <Instance index="1" endpoint="1" /> <Value type="decimal" genre="user" instance="1" index="1" label="Heating 1" units="C" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="16.0" /> </CommandClass>
Am I missing something in the XML entry?
Posts: 1
Participants: 1