October 8, 2021, 10:59am
Everything one-way: whatever happens with the thermostat is reflected in OpenHAB. But if I try to write into a channel into the Thing, it only works from the admin interface. It doesn’t work from a Page, via a Toggle or Rollershutter control.
For ex., if I want to change the Thermostate Mode value, I can do it from the admin interface (I click on the current value and a dropdown appears asking me choose between Off and Heat). But if I tie that channel to a Toggle and put it in a Page, no matter how much I toggle it, nothing actually happens.
What am I doing wrong? I’m on OpenHAB 3.1.0 (openhabian)
October 8, 2021, 12:41pm
You’ll need an Item to work with.
October 8, 2021, 12:46pm
I do have an Item – I don’t think I can create a widget without hooking it to an Item. Here’s my widget:
October 8, 2021, 1:06pm
Okay, what commands does your Item receive when you click on the widget? (Look in your
events.log) What type of Item is this?
October 8, 2021, 1:17pm
Absolutely nothing happens in the logs (
openhab.log) when I click on anything in the widget. The Item’s type is Number::Temperature.
October 8, 2021, 2:07pm
Alright, why would you expect a rollershutter widget to control that? Maybe a setpoint widget?
Might help -
For all those who have the same problem.
There is a default widget for this, but it does not display automatically if you set “setpoint”.
Tap on “Add Metadata” and on “Default List Item Widget”.
Now select “oh-stepper-item” and you get the setpoint widget with +/- !
October 8, 2021, 2:08pm
That’s correct, the functionality is restored if I use a stepper widget instead. I guess there was just a problem with the rollershutter. Thanks!
October 8, 2021, 2:32pm
Well, a rollershutter deals in percentType Item state, for position. Not likely to work well with state 21°C
October 8, 2021, 2:33pm
I didn’t know that. Could you tell me where to find that information in the future?
October 8, 2021, 2:38pm
I’m not sure that it is written anywhere like “dimmer widgets do not work well with DateTime Item types”, but maybe you meant more like -