Continuing the discussion from eQ-3 thermostat with OpenHAB Smart Home:
Okay, helps me a lot to fix the problem.
We moved the discussion privately cause my OH skills are very basics to that moment
What had we done to fix the Problem?
first we set up the exec.things which needs to be named like this.
exec:command:zimmername_heizung [command=“/eQ-3-radiator-thermostat/eq3.exp 00:1A:22:0A:91:28 %2$s”, interval=0, autorun=true]
also fixed some issues with my default.items
String Zimmername_Heizung_Arguments “Thermostat” {channel=“exec:command:zimmername_heizung:input”}
Switch Zimmername_Heizung_Switch “Heizung An”
added a switch to trigger the command
and created the default.rules
rule “Switch Test”
when
Item Zimmername_Heizung_Switch received command
then
if(Zimmername_Heizung_Switch.state == ON) {
Zimmername_Heizung_Arguments.sendCommand(“temp 25”)
}
end
after this setup works for me, we added a “little” update to the .rules
rule “Switch Test”
when
Item Zimmername_Heizung_Switch received command
then
if (receivedCommand == ON) {
Zimmername_Heizung_Arguments.sendCommand(“temp 25”)
} else if (receivedCommand == OFF) {
Zimmername_Heizung_Arguments.sendCommand(“temp 5”)
}
end
.sitemap
sitemap default label=“Thermostat”
{
Switch item=Zimmername_Heizung_Switch
Setpoint item=Zimmername_Heizung_SetTemp minValue=5 maxValue=30.0 step=0.5
}
with this rule, we say the thermostat to get 2 states ON = 25C OFF= 5C
After i “understand” this setup, I will try to add some more thermostats and more functions like Boost ON / OFF
Also i want to say thanks for all that help !