Open JonSilver opened 6 years ago
there's a custom TimeParameters class defined in ozw which the 7-byte payload is defined: https://github.com/OpenZWave/open-zwave/blob/master/cpp/src/command_classes/TimeParameters.cpp#L196-L208
Judging by this line however: https://github.com/OpenZWave/open-zwave/blob/master/cpp/src/command_classes/TimeParameters.cpp#L217
seems that the valueType for TIME_PARAMETERS_SET is a...ValueType_Button
(I'd expect this to be a ValueType_Raw
).
This feature needs some work...
Apropos of nothing, I found this, but nothing else: https://github.com/OpenZWave/open-zwave/issues/606
Seems nobody else is wanting to send the date & time over to locks, thermostats or anything. Or maybe they've found a way that's eluded me.
So in the meantime is there any way of getting the date & time over to these devices? :(
The TIME_PARAMETERS_SET command requires a 7-octet payload to be sent to the device. Does openzwave-shared support this? Is there any sample code anywhere demonstrating how this might be achieved?