Comments (16)
Night mode is now supported as of v1.3.0
! Closing this issue nowπ
from homebridge-adt-pulse.
Those two work perfectly - the system gets armed and disarmed as it should and the change is reflected both in ADT portal and on the panel!
from homebridge-adt-pulse.
Perfect! I'm working on the functions now. Will update you when the next version is released, thanks for letting me know!
from homebridge-adt-pulse.
Yes, I remapped the Night mode to stay mode, because my system doesn't support it (afaik).
I will make this a priority in my next update, so to support night mode in the system. Will comment on it later on the instructions to retrieve the night mode information!
from homebridge-adt-pulse.
Before you start, place your system into TEST MODE. You can do that at the MyADT website.
Here are the instructions to grab the Night Mode URLs from ADT Pulse's website:
- Launch Google Chrome.
- Go to this site:
https://portal.adtpulse.com/myhome/summary/summary.jsp
. - Disarm your system.
- Right-click (or β+Click) and then select Inspect.
- Click the
Console
tab. - Copy each line of code shown below, and paste the response:
jQuery("#divOrbSecurityButtons").html();
- Arm your system to night mode.
- Copy each line of code shown below, and paste the response:
jQuery("#divOrbSecurityButtons").html();
jQuery("#divOrbTextSummary .p_boldNormalTextLarge").html();
- Disarm your system.
- Open a window or door (do not close it).
- Arm your system to night mode BUT DO NOT ATTEMPT TO FORCE ARM.
- Copy each line of code shown below, and paste the response:
jQuery("#arm_button_1").html();
- Disarm your system and close the window/door.
- Logout (important)!
P.S. Remember to let me know which mode you are in when following 6
, 8
, and 12
!
from homebridge-adt-pulse.
A couple of questions:
- AFAIR if I open a door/window and then try to arm via the panel, it won't let me do it; if I try to arm via the ADT Pulse app, it will ask for a sensor override - what do you mean by "force arm"?
- By "which mode your are in following 6, 8 and 12" do you mean what I see on Home app or in ADT Pulse?
from homebridge-adt-pulse.
- Yes, force arm is essentially sensor override. Force arm basically does a sensor override then arms your system for you.
- In your own words. So if you just
armed night
oropened window/door
, just state the current status.
from homebridge-adt-pulse.
Here are the details:
- After step 6., I'm in Disarmed state in ADT Portal. The output of your jQuery code:
<div><input type="button" id="security_button_0" name="security_button_0" value="Arm Away" alt="Arm Away" class="p_btn p_btnMnormal" onclick="setArmState('quickcontrol/armDisarm.jsp','Arming Away','0','2','false','href=rest/adt/ui/client/security/setArmState&armstate=off&arm=away')" onmouseover="javascript:btnHover(this,'M')" onmouseout="javascript:btnNormal(this,'M')" onmousedown="javascript:btnDown(this,'M')" onmouseup="javascript:btnNormal(this,'M')" data-fitlabel="ellips"><style type="text/css">#testSizesecurity_button_0 {position: absolute; visibility: hidden; height: auto; width: auto; white-space: nowrap; min-width: 0}</style><div id="testSizesecurity_button_0" class="p_btn p_btnMnormal">Arm Away</div></div><div style="margin-top: 6px;"><input type="button" id="security_button_1" name="security_button_1" value="Arm Stay" alt="Arm Stay" class="p_btn p_btnMnormal" onclick="setArmState('quickcontrol/armDisarm.jsp','Arming Stay','1','2','false','href=rest/adt/ui/client/security/setArmState&armstate=off&arm=stay')" onmouseover="javascript:btnHover(this,'M')" onmouseout="javascript:btnNormal(this,'M')" onmousedown="javascript:btnDown(this,'M')" onmouseup="javascript:btnNormal(this,'M')" data-fitlabel="ellips"><style type="text/css">#testSizesecurity_button_1 {position: absolute; visibility: hidden; height: auto; width: auto; white-space: nowrap; min-width: 0}</style><div id="testSizesecurity_button_1" class="p_btn p_btnMnormal">Arm Stay</div></div>
- After step 8., I'm in Armed Night mode in ADT Portal. The output of your jQuery commands:
<div><input type="button" id="security_button_0" name="security_button_0" value="Arm Away" alt="Arm Away" class="p_btn p_btnMnormal" onclick="setArmState('quickcontrol/armDisarm.jsp','Arming Away','0','2','false','href=rest/adt/ui/client/security/setArmState&armstate=off&arm=away')" onmouseover="javascript:btnHover(this,'M')" onmouseout="javascript:btnNormal(this,'M')" onmousedown="javascript:btnDown(this,'M')" onmouseup="javascript:btnNormal(this,'M')" data-fitlabel="ellips"><style type="text/css">#testSizesecurity_button_0 {position: absolute; visibility: hidden; height: auto; width: auto; white-space: nowrap; min-width: 0}</style><div id="testSizesecurity_button_0" class="p_btn p_btnMnormal">Arm Away</div></div><div style="margin-top: 6px;"><input type="button" id="security_button_1" name="security_button_1" value="Arm Stay" alt="Arm Stay" class="p_btn p_btnMnormal" onclick="setArmState('quickcontrol/armDisarm.jsp','Arming Stay','1','2','false','href=rest/adt/ui/client/security/setArmState&armstate=off&arm=stay')" onmouseover="javascript:btnHover(this,'M')" onmouseout="javascript:btnNormal(this,'M')" onmousedown="javascript:btnDown(this,'M')" onmouseup="javascript:btnNormal(this,'M')" data-fitlabel="ellips"><style type="text/css">#testSizesecurity_button_1 {position: absolute; visibility: hidden; height: auto; width: auto; white-space: nowrap; min-width: 0}</style><div id="testSizesecurity_button_1" class="p_btn p_btnMnormal">Arm Stay</div></div>
"Armed Night. All Quiet."
- I can't perform steps 10.-13. - the panel won't let me arm the system if a door/window is open (it just does a single beep and doesn't change the state).
from homebridge-adt-pulse.
Hmm... this is unexpected. I don't see the Arm Night buttons in the code you pasted. Can you confirm that there is an Arm Night
button in the web portal?
And, during Steps 10 to 13, are you also Arming Night
in the web portal? It should pop out a dialog where it asks to Arm Anyway
.
Possibly a screenshot might work out.
from homebridge-adt-pulse.
Oh, sorry - no, there is no Arm Night button in the portal, I'm arming in night mode only through the panel. The state does get correctly reflected in the portal, though. I wonder if they just don't expose through the portal since it's not enabled in their systems by default? And if it's not exposed, I wonder if their REST APIs support it? Is there some experimenting I can do to help find the right parameters?
from homebridge-adt-pulse.
Ah, no wonder. In order for me to enable full functionality for Arm Night on the plugin, it must be exposed in the Web Portal.
Icontrol One (a white labeled panel that ADT Pulse uses) doesn't have an actual REST API I can use, so I'm forced to reverse engineer the code so I can implement it into HomeKit.
But on the other hand, I can definitely update the plugin to show that the system is in Armed Night
mode.
from homebridge-adt-pulse.
What I mean is that the portal is just a UI on top of ADT's REST APIs as far as I can tell - maybe we can test if those underlying APIs support night mode, even if there's no button for it in the portal.
from homebridge-adt-pulse.
I can try to come up with some URLs that might be able to Arm Night the system remotely (not that optimistic that it will work), will update you on that later.
Just a curious question. How do you Arm Night using your Security Panel? If you have that function, I might also be able to debug it from my side.
from homebridge-adt-pulse.
I have it mapped to a function key but the official way is:
security code + [3] + [3]
Not sure if it will work for you, though - I had the night mode enabled by the system installer before I was able to start using it.
from homebridge-adt-pulse.
Gotcha. I'll also call ADT and see what answers I can get from them in addition to testing this on my system if it works.
from homebridge-adt-pulse.
Good news! I called ADT customer support, and they told me there isn't an official way to Arm Night
in ADT Pulse, but with some common sense hack I found the URLs required to Arm Night
the system.
Set the system from Disarmed
to Arm Night
:
https://portal.adtpulse.com/myhome/quickcontrol/armDisarm.jsp?href=rest/adt/ui/client/security/setArmState&armstate=disarmed&arm=night
Set the system from Arm Night
to Disarmed
:
https://portal.adtpulse.com/myhome/quickcontrol/armDisarm.jsp?href=rest/adt/ui/client/security/setArmState&armstate=night&arm=off
Go ahead and try these two URLs while you are logged into the Web Portal. And let me know if it works for you!
from homebridge-adt-pulse.
Related Issues (20)
- Make available modes configurable? HOT 6
- Web portal version HOT 18
- ADT Control Plugin is required HOT 1
- Web Portal version message HOT 1
- ADT Pulse July 25 changes appear to have broken the plugin HOT 5
- Bridge has stopped working due to change in ADT Auth HOT 2
- Plug in not working. re did the Token also. HOT 2
- unhandled rejection: TypeError: Cannot read properties of null (reading 'matchβ) HOT 1
- ADT Pulse path undefined HOT 1
- Latest Bug / Issue HOT 9
- Unable to log into ADT Pulse - possible that ADT is blocking IPs after detection. HOT 1
- pyadtpulse has a simple page for grabbing the browser fingerprint HOT 4
- auto pause and notification when fingerprint expires HOT 3
- Sensors Being Reset Due to Incorrect ADT Pulse 2FA Key HOT 29
- ADT Control HOT 3
- Accessories not responding after token refresh/upgrade HOT 3
- Automation for Arming Away and Arming Stay HOT 2
- Chrome just displays "Blocked" when I try to access https://portal.adtpulse.com HOT 1
- Calling All TypeScript Developers HOT 14
- Question regarding ADT warnings 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 homebridge-adt-pulse.