Ok here is my 2.0 of DSC <-> HC 2 integration
(creating a new thread here and will terminate the other old thread at https://forum.fibaro.com/index.php?/topic/24622-commentstesters-to-hc2-to-dsc-integration-code-wanted/ )
scene trigger for:
All zones
AC power
What user armed or disarmed the partition
ARM/DISARM/STAY and the rest of the options
Panel battery status
Tell if a partition is in alarm
Presentation device with:
Presentation device auto created
Buttons for arming AWAY or STAY independantly for partition1 or 2
Buttons for DISARMING partition 1 or 2
Info of AC power status
Info of Panel power battery status
Panic buttons for Fire/Ambulance/Police
Info with time, arm state and the user who did it for partition 1 and 2
The whole config is mostly automatic.
For those not interested in the DSC itself, my code solves and show solutions for a few issues where Fibaro has no docs.. Included in the code is..
Auto creation of global variables
Auto creation of VD
Auto creation of VD labels and buttons
Upload of Icons to HC2
Raw Sockets handling against Envisalink plus against syslog
And more...
http://www.incedo.eu/~sjoholmp/Fibaro_Homecenter/LUA/VDs/HC2_DSCengine/HC2_DSCengine-QuickGuide.pdf http://www.incedo.eu/~sjoholmp/Fibaro_Homecenter/LUA/VDs/HC2_DSCengine/HC2_DSCengine-2.0.lua
Attaches a little screenshot of the presenter device
Peo