Im having difficulties getting my values from my Max! wall thermostats to my Loxone Miniserver, via virtual inputs.
The first rule works like a charm
The second rule updates value, when temperature changes, but it doenst change in Loxone, but I can change value from Loxone one-way???
rule "Dagligstue Set Temperatur fra Loxone"
Item Dagligstue_SetTemp_Lox received update
rule "Dagligstue Temperatur fra Max!"
Item Dagligstue_ActualTemp received update
I did something similar for a client between Velbus and Loxone.
But we used a HTTP command in the rules.
I can dig out the rule if you’d like to see it…
These are the rules that we used to prove the concept worked.
rule "Loxone Guest bedroom target change"
Item LoxoneMiniserver_BedroomGuestbedtarget changed
var GBedTarget = LoxoneMiniserver_BedroomGuestbedtarget.state
// say("Guest Bedroom NEW Target Temperature from Locks On "+GBedTarget, "voicerss:enGB", "webaudio")
velbus_Thermostat_CurrentTemperatureSetpoint.sendCommand(GBedTarget as Number)
rule "Loxone Guest bedroom temperature change"
Item Velbus_GP4_Current_Temperature changed
var Temperature = Float::parseFloat(String::format("%s", Velbus_GP4_Current_Temperature.state))
// say("Guest Bedroom current temperature "+Temperature, "voicerss:enGB", "webaudio")
Hi that could be cool, I’m a total noob to OH2 scripts, although I have full control of my things and items in Visual, I’m just and idiot to combine the stuff…
So for me to understand the rule, it needs to be very condensed
I’ve programmed Loxone for years, no problem
Fingers crossed that those DSL rules I’ve posted get you off to a flying start then.