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
Ultimattum 0
Hello all!
Yesterday my girlfriend was talking to me about a coercion situation.
What she was proposing me is to have a pin code to notify me by fibaro app or viceversa to his phone to know if someone is being coerced. When this pin code is introduced, the fibaro intercom activates the relay 1 or 2 but sending me a push message.
I was searching for this in the homecenter 2 but with not good results, anyone know how to make that simple "if"? like...
if (codeX == X) then
fibaro:call(xxx, "sendPush", "Coercing in progress, opening relay1, call the police!");
fibaro:startScene(154) -- Scene to trigger intercom relay1
end
I think the code cant be so simple, as i can understand, fibaro should encrypt that codes, but may can we "cheat" fibaro by assigning a unique order to a special account and this account can only trigger the relay 2, when relay 2 (as right now, has no use in my sistem) is triggered then trigger the relay 1 but sending me a push message. Example:
Dummyaccount1 with pincode = 1111 - access to intercom relay1
Dummyaccount2 with pincode = 2222 - access to intercom relay2
If pin code 1111 is verified, open relay 1 and door opens.
If pin code 222 is verified, open relay 1, door opens and sendpush message.
Greetings!
0 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.