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
gurpal2000 1
Working on my first QA design and would like to see what approach has been taken for a scenario.
I already have an existing framework where an IP camera will happily publish a http event when motion detected. At that point I can create scenes etc.
I am in control of the framework code so can make that payload look like whatever I want. What can't change is the push style event.
Approaches:
1. create a http server inside a QA myself and take it from there (push)
2. re-use something that HC3 already provides out of the box (eg. API)? (push)
3. get the QA to listen (subscribe) to a broker (say mqtt) and simply get my framework to put events there (pub/sub)
4. get QA to poll the framework. bad. (pull)
I'm leaning towards (3) but (1) would have less moving parts. Option (2) would be even better - is there a way to push events from outside the box...?
(On other automation system, there was a concept of virtual devices that did just this, but I guess in our world that's what QAs are for)
thanks
Edited by gurpal20003 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.