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
971jmd3 0
Hello
Bonjour
The following code passes: localProtectionState from 0 to 2
le code suivant passe : localProtectionState de 0 à 2
local deviceID=547
local json = api.get("/devices/" ..deviceID)
json.properties.localProtectionState = 2
api.put("/devices/" ..deviceID, json)
To fully validate the update, I am obliged to go into the parameters of the FGRM and click on the floppy disk
mai il y un problème, pour valider le changement il faut aller dans les paramètres du module et cliqué sur la disquette
That miss has my code ?
Thanks for help
9 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.