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
szakos2094 2
Hello,
I use Heat Controller in my Bathroom and I want to get the adjusted value in my scene in HC3.
In HC2 I use the following line for it :
local thermostat = tonumber(fibaro:getValue(28, 'value'));
In HC2 work perfect. I get the value and I can compare with the thermometer value.
In HC3 I try with the similar method like:
local thermostat = fibaro.getValue(28, 'value');
or
local thermostat = tonumber(fibaro.getValue(28, 'value'));
In both case in HC3 I recevied the error message:
(load):17: attempt to concatenate a nil value (local 'thermostat')
Can you help me what is wrong and how can I get the adjusted value from the heat controller ?
Best Regards
Edited by szakos2094modify
6 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.