openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.6k forks source link

[openthermgateway] error setting thermostat clock #14423

Closed ArjenKorevaar closed 1 year ago

ArjenKorevaar commented 1 year ago

Please see this post on openHAB Community forums.

When attempting to set the thermostat clock using the SC command, the following error occurs:

An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.openthermgateway.handler.OpenThermGatewayHandler@16ce045': Unsupported gateway code 'SC'

The error is caused by a bug in the code where the SetClock is wrongly mapped to the ST command instead of the SC command.

I will fix this error and create a PR when ready.

openhab-bot commented 1 year ago

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/opentherm-gateway-binding/39160/332