Work with DSS via 2 modes:
- HomeKit mode: add DSS to homekit as button, motion. Event from DSS can control outlet, IR, or SOS.
- Stand-alone mode:
+ app connects with sensor, and read the events just happen, save to app, and sync to server.
+ sensor will save event in flash. App will connect and read these events later.