Hi guys, I just upgraded (after 4 long years) from a Vera to a HC2 (4.150 ), and am migrating existing actuators, sensors & logic. I am trying to use existing Horstmann HRT4-ZW thermostat, originally paired with HRT4 ASR-ZW receivers.But as the latter keep breaking and on the Vera were unreliable showing their state I thought of linking them with Fibaro relay switches. Well, I tried several times, also tried the association route, but while I can control the HRT4's fine from the HC2 (set point can be ste and actual temps show up correct ) the relay switch does nada.
Now I read somewhere that 4.150 has an issue in this area, but could not find if it was solved. In another thread I found a potential issue with templates, but the device shows:
Device kind:com.fibaro.thermostatHorstmann
Producer:Horstmann Controls Limited
Version:5.0
Configuration:Device configured
If a link is a problem I can go the LUA route, but I struggle to get more out of the thermostat than setpoint and actual temperature. How do I extract the value (I assume 0 or 1) that is send to the boiler receiver to start/stop the boiler?????
I played with below scene to see if I could find the answer, but I have to admit I am not fluent in LUA, I tend to copy and modify the nice examples I find on forums:)
Anybody any suggestions ?
--[[
%% properties
%% events
%% globals
--]]
fibaro:call(17,"setTargetLevel", "24")
local val=(fibaro:getValue(17, "value")) -- curr temp
local setp=(fibaro:getValue(17, "targetLevel")) -- target temp
local interval=(fibaro:getValue(17, "interval"))
local mode=(fibaro:getValue(17, "operatingMode"))
local log=(fibaro:getValue(17, "log"))
fibaro:debug(val)
fibaro:debug(setp)
fibaro:debug(interval)
fibaro:debug(mode)
fibaro:debug(log)
response:
[DEBUG] 17:51:33: 24
[DEBUG] 17:51:33: 24
[DEBUG] 17:51:33: nil
[DEBUG] 17:51:33: nil
[DEBUG] 17:51:33: WAITING_FOR_WAKEUP_TO_CONFIGURE