Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Marjomar 0
Hi all,
I´m usin the HC2 heating panel to control de heating for all rooms using 6 POPP + 1 SSR303 + 1SRT322. It´s working great.
I had a room where I had electric heating and I will like to use the heating panel using as the room thermostat fgwp101(wall plug).
Now I had a script with a LUA code where I introduce the temperature but instead doing that I will like to use the heathing panel for that room.
Any idea how to do it?
Thanks a lot
I attach the Lua Code I had.
local boiler = tonumber(fibaro:getValue(8, "value"))
fibaro:debug('Estado del relé en la caldera: ' ..boiler);
local temp1 = tonumber(fibaro:getValue(58, "value"));
fibaro:sleep(1000); --
fibaro:debug('Temperaturas cargadas');
fibaro:debug('Temperatura Jose ' ..temp1);
fibaro:sleep(1000);
while true do
if (
( tonumber(fibaro:getValue(58, "value")) < 21 )
)
then
fibaro:call(8, "turnOn");
fibaro:debug('Caldera encendida');
end
if (
( tonumber(fibaro:getValue(58, "value")) >= 22 ))
then
fibaro:call(8, "turnOff");
fibaro:debug('Caldera apagada');
end
fibaro:sleep(1000);
boiler = tonumber(fibaro:getValue(8, "value"))
fibaro:debug('Estado del relé en la caldera: ' ..boiler);
fibaro:sleep(300000);
end
Please login or register to see this attachment.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.