Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sat value #34

Open
digitalcraig opened this issue Mar 22, 2020 · 1 comment
Open

sat value #34

digitalcraig opened this issue Mar 22, 2020 · 1 comment

Comments

@digitalcraig
Copy link
Collaborator

Can you explain what the sat value and how it's used? I saw you removed some code in a recent commit and stated in the now closed issue #30 that the sat code wasn't available on the front page anymore.

I am seeing this in my pulse /ajax/orb.jsp which looks like it passes a GUID to summary/changeMode.jsp, but it doesn't seem to do anything when I push the button. Is that GUID the sat value you are looking for?

        <div id="divOrbTopL" >
            <div id="divShiftOrbButton" style="width: 100px;">
                <input type="button" id="shift_security_button" name="shift_security_button" value="Asleep" alt="Asleep" class="p_btn p_btnMnormal" onclick="setShiftState('summary/changeMode.jsp','','',*redacted guid*');" onmouseover="javascript:btnHover(this,'M')" onmouseout="javascript:btnNormal(this,'M')" onmousedown="javascript:btnDown(this,'M')" onmouseup="javascript:btnNormal(this,'M')"  data-fitLabel="shrink"/><style type="text/css">#testSizeshift_security_button {position: absolute; visibility: hidden; height: auto; width: auto; white-space: nowrap; min-width: 0}</style><div id="testSizeshift_security_button" class="p_btn p_btnMnormal" >Asleep</div>
            </div>
        </div>
@haruny
Copy link
Owner

haruny commented Mar 22, 2020

To my understanding SAT value is kind of a session id that is used when you need to force the alarm to change states.
e.g.: When alarm is in disarm state but there is still a window/door open if you call disarmURI (line 432) ADT pulse will ask you if you're sure to set the alarm (code will fork into line 457) . In the response you'll get a "SAT" value, which you will to use to force the alarm to change state into stay/away (line 428)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants