Releases: maxill1/node-ialarm
Releases · maxill1/node-ialarm
0.6.7 debugging GetAlarmStatus and GetArea responses
0.6.6 parse SetArea
SetArea formatter, from:
<Root><Host><SetArea><Pos>S32,0,3|2</Pos><Status>TYP,STAY|2</Status><Err></Err></SetArea></Host></Root>to
{
"area": 2,
"status": "ARMED_HOME"
}0.6.5 list limit
- parse array to get max zone item and determine the ln of GetZone and GetByWay
0.6.4 status trigger (GetArea and GetAlarmStatus)
decoded statuses like this:
GetAlarmStatus (1 single area panel):
{
"status_1": "disarmed",
"status_2": "unknown",
"status_3": "unknown",
"status_4": "unknown"
}while GetArea (multiple area panel):
{
"status_1": "disarmed",
"status_2": "disarmed",
"status_3": "disarmed",
"status_4": "disarmed"
}0.6.3 GetArea status decode
fixed GetArea status decoded string
0.6.1 cleanup logs
- removed console.logs
0.6.0 full rewrite event-driven
Changelog:
- reworked code to handle all messages as events (no more promises, only event-emitters)
- removed custom functions in order to work only with commands (aggregation will be done on client side, if needed)
- push subscribe and push events
- resolving with error message if no command response is received
- payloads with encrypted, xml, raw and formatted data
- removed unused data (lastChecked, index, etc)
- fixed month parsing in DTA
- Eslinted
- ECMAScript modules
- test with responses dump
- CLI
- updated docs
bump versions
merged dependabot fixes