Comments (1)
Hi! Better late than never! I came across this issue. I kinda patched it by using "Special arming" since it only happens with armed_away. I added event 30 and subevent 3 in updateArmStatus and added event 30 as conditional to send the message in processMessage. I would be down to do a pull request for this if needed. Hope it helps some late adopters :)
void updateArmStatus(byte event, byte sub_event){
bool datachanged = false;
if (event == 2)
{
switch (sub_event)
{
case 4:
hassioStatus.stringArmStatus = "triggered";
homekitStatus.stringArmStatus = "ALARM_TRIGGERED";
homekitStatus.intArmStatus=4;
datachanged=true;
break;
case 11:
hassioStatus.stringArmStatus = "disarmed";
homekitStatus.stringArmStatus = "DISARMED";
homekitStatus.intArmStatus = 3;
datachanged=true;
break;
case 12:
hassioStatus.stringArmStatus = "armed_away";
homekitStatus.stringArmStatus = "AWAY_ARM";
homekitStatus.intArmStatus = 1;
datachanged=true;
break;
case 14:
hassioStatus.stringArmStatus = "pending";
//homekitStatus.stringArmStatus = "PENDING";
homekitStatus.intArmStatus = 1;
datachanged=true;
break;
default : break;
}
}
else if (event == 6)
{
if (sub_event == 3)
{
datachanged=true;
hassioStatus.stringArmStatus = "armed_home";
homekitStatus.stringArmStatus = "STAY_ARM";
homekitStatus.intArmStatus = 0;
}
else if ( sub_event == 4)
{
datachanged=true;
hassioStatus.stringArmStatus = "armed_home";
homekitStatus.stringArmStatus = "NIGHT_ARM";
homekitStatus.intArmStatus = 2;
}
}
else if (event == 30)
{
if(sub_event == 3)
{
datachanged=true;
hassioStatus.stringArmStatus = "armed_away";
homekitStatus.stringArmStatus = "AWAY_ARM";
homekitStatus.intArmStatus = 1;
}
}
}
if ((Hassio || HomeKit) && (event == 29 || event == 30))
{
sendArmStatus();
homekitStatus.sent = homekitStatus.intArmStatus;
}
from paradoxrs232tomqtt.
Related Issues (20)
- Wemos D1 Mini Pro - frequent reconnects HOT 35
- Δεν αποκρίνεται το wemos HOT 1
- Suggestions HOT 8
- Commands always result in "Problem connecting to panel" HOT 2
- few little things HOT 2
- panel id
- What Panel ID and PC Password is used HOT 1
- Socket error on client HOT 1
- Problem Connecting to Panel HOT 2
- BabyWare or set Zone dara name HOT 2
- Two Panels - How can I see what panel is arm HOT 4
- Compatibility with sp5500 and esp32 nodemcu HOT 1
- Showing Disarm when is arm HOT 15
- Possible to use this FW with ESP-01S? HOT 2
- How to set this params. with pre-compiled binary? HOT 4
- Paradox MG6250 series - how to connect it?
- trigger
- Paradox Evo192 status to ESP8266
- Reconnect problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paradoxrs232tomqtt.