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
Flash226 3
Heating works with scenes and variables. Sometimes you need to turn off the heating in some rooms. For convenience, I created a virtual device in which you can change the value of variables. Below is the LUA code for one of the buttons that turns off the heating in the basement (Changes the variable Heat_basement from auto to manual).
Please login or register to see this code.
Please login or register to see this attachment.
Please login or register to see this image.
/monthly_2017_05/888.png.2f936854d39e95cb52cd012cb71abe8b.png" />Variables change successfully. But I need to turn off the devices with ID 74 to 75 when changing the variable to "manual". As I understand, i need to insert the code
Please login or register to see this code.
I tried to insert it in different places but it does not work.
Prompt please where exactly it is necessary to insert the code of deenergizing of devices. Maybe I need to add something to the LUA code?
Edited by Flash2263 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.