Hello,
environment is Raspi3+, Fritz!Box 7590, OS 7.01, OpenHAB 2.4, AVM FRITZ! Binding
I want to rise or reduce temperature settings of fritz!dect 301 and/or comet!dect regulator.
Here is my item:
Number fritzDect_Bad1OG_comfort_temp { channel="avmfritz:FRITZ_DECT_301:x_x_x_x:ain:comfort_temp" }
It works. I can read temperature and log it.
I made a pushbutton switch to trigger an event.
The button works too. The event is triggered and the rule runs.
The rule shall rise temperatur for 1°C
Rule:
rule "Testschalter"
when Item Testschalter received update
then
var Number nSoll = fritzDect_Bad1OG_comfort_temp.state
//fritzDect_Bad1OG_comfort_temp.postUpdate(nSoll + 1)
fritzDect_Bad1OG_comfort_temp.sendCommand(nSoll + 1)
end
I tried sendCommand and postUpdate. Both the same result.
The log shows what happens:
2019-03-16 16:49:44.019 [ome.event.ItemCommandEvent] - Item 'fritzDect_Bad1OG_comfort_temp' received command 24.5
2019-03-16 16:49:44.029 [nt.ItemStatePredictedEvent] - fritzDect_Bad1OG_comfort_temp predicted to become 24.5
2019-03-16 16:49:44.037 [vent.ItemStateChangedEvent] - fritzDect_Bad1OG_comfort_temp changed from 23.5 to 24.5
2019-03-16 16:49:57.148 [vent.ItemStateChangedEvent] - fritzDect_Bad1OG_comfort_temp changed from 24.5 to 23.5
Temperature rises for a short time and is reset to the previous value then. I think the reset happens exactly when the 15sec. polltime of the dect components are over and the value is fetched back from the Fritz!Box.
So something works wrong. I have no idea. The Fritz!Box and all other things are included via inbox. I can log any changes on the regulators/valves. But no writing possible. Must I manually create instances or variables of the things which hold the value after change? I did not code any thing manually. All things discovered by inbox and listed in PaperUI.