lockpicker / homebridge-honeywell-tuxedo-touch

Homebridge plugin for the Honeywell Tuxedo Touch Wifi security system
4 stars 2 forks source link

[getAPIKeys] Error retrieving keys from the tuxedo unit. #7

Open carinconc opened 3 years ago

carinconc commented 3 years ago

I am getting the following error when starting Homebridge.

10/22/2020, 8:48:32 AM] [Home Security] [getAPIKeys] Error retrieving keys from the tuxedo unit. Will retry in 3 mins. [10/22/2020, 8:48:32 AM] [Home Security] TypeError: Cannot read property 'structuredText' of null at HoneywellTuxedoAccessory.getAPIKeys (/usr/local/lib/node_modules/homebridge-honeywell-tuxedo-touch/index.js:548:33) at process._tickCallback (internal/process/next_tick.js:68:7)

Here is my config file:

{ "name": "Home Security", "accessory": "Honeywell Tuxedo Touch", "host": "...", "port": "443", "alarmCode": "****", "polling": true, "pollInterval": 10000, "fetchKeysBeforeEverySetCall": true, "debug": true }

lockpicker commented 3 years ago

Do you have "Authentication for web server local access" turned on, on the accounts screen under settings on the tuxedo unit? If so, please disable that. Let me know if this solves the issue.

carinconc commented 3 years ago

Now is working. Sorry, I completely misread your instructions. Thank you for your help.

carinconc commented 3 years ago

I have a new problem. This is also happening with home-assistant integration that I created using python.

When setting the alarm to AWAY, after the 1 minute period, the TUXEDO will set the alarm to STAY instead of AWAY. Here is the log information from Homebride (I deleted sensitive information).

[10/22/2020, 10:11:08 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:1 [10/22/2020, 10:11:08 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/22/2020, 10:11:08 AM] [Home Security] [armAlarm] About to call API with, url:https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode dataCnt: header: MACID:Browser,Path:API_REV01/AdvancedSecurity/ArmWithCode api_key_enc: API_KEY_ENC [10/22/2020, 10:11:08 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode headers - authtoken: AUTHTOKEN AUTH_TOKENbody: param=PARAM&tstamp=0.5263775166081412 [10/22/2020, 10:11:08 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:08 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Response":"Command sent sucessfully"}} [10/22/2020, 10:11:17 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:11:17 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.716761065613339 [10/22/2020, 10:11:17 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:11:17 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.138122555988913 [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:17 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:17 AM] [Home Security] [returnCurrentState] Retrieved status string: 56 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:11:17 AM] [Home Security] [returnCurrentState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:17 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:17 AM] [Home Security] [returnTargetState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:11:17 AM] [Home Security] Polling noticed target state change to 1, notifying devices [10/22/2020, 10:11:17 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:1 [10/22/2020, 10:11:17 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/22/2020, 10:11:17 AM] [Home Security] [armAlarm] About to call API with, url:https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode dataCnt: DATA_CNT header: MACID:Browser,Path:API_REV01/AdvancedSecurity/ArmWithCode api_key_enc: API_KEY_ENC [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode headers - authtoken: AUTHTOKEN AUTH_TOKENbody: param=PARAM&tstamp=0.6536602048524707 [10/22/2020, 10:11:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:17 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Response":"Command sent sucessfully"}} [10/22/2020, 10:11:27 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:11:27 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:27 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.45792757610310564 [10/22/2020, 10:11:27 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:11:27 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:27 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.9520811668167408 [10/22/2020, 10:11:27 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:27 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:27 AM] [Home Security] [returnTargetState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:11:27 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:27 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:27 AM] [Home Security] [returnCurrentState] Retrieved status string: 56 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:11:27 AM] [Home Security] [returnCurrentState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:11:37 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:11:37 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:37 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.3325029767872605 [10/22/2020, 10:11:37 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:11:37 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:37 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.8399786409768963 [10/22/2020, 10:11:37 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:37 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:37 AM] [Home Security] [returnCurrentState] Retrieved status string: 56 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:11:37 AM] [Home Security] [returnCurrentState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:11:37 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:37 AM] [Home Security] [decryptData] Returning: {"Status":"56 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:37 AM] [Home Security] [returnTargetState] Received value: {"Status":"56 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:11:47 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:11:47 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:47 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.15477726190395114 [10/22/2020, 10:11:47 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:11:47 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:47 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.7585559442540004 [10/22/2020, 10:11:47 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:47 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:47 AM] [Home Security] [returnCurrentState] Retrieved status string: 23 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:11:47 AM] [Home Security] [returnCurrentState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:11:47 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:47 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:47 AM] [Home Security] [returnTargetState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:11:57 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:11:57 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:57 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.047322922121137534 [10/22/2020, 10:11:57 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:11:57 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:11:57 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.36407270163384675 [10/22/2020, 10:11:57 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:57 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:57 AM] [Home Security] [returnCurrentState] Retrieved status string: 23 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:11:57 AM] [Home Security] [returnCurrentState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:11:57 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:11:57 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:11:57 AM] [Home Security] [returnTargetState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:12:07 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:12:07 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:07 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.710271070961805 [10/22/2020, 10:12:07 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:12:07 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:07 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.3822398203119004 [10/22/2020, 10:12:07 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:07 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:12:07 AM] [Home Security] [returnTargetState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/22/2020, 10:12:07 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:07 AM] [Home Security] [decryptData] Returning: {"Status":"23 Secs Remaining","Color":"Red"} [10/22/2020, 10:12:07 AM] [Home Security] [returnCurrentState] Retrieved status string: 23 Secs Remaining, alarmStatus is: undefined [10/22/2020, 10:12:07 AM] [Home Security] [returnCurrentState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/22/2020, 10:12:15 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:3 [10/22/2020, 10:12:15 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/22/2020, 10:12:15 AM] [Home Security] [disarmAlarm] About to call API with, url:https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode dataCnt: DATA_CNT header: MACID:Browser,Path:API_REV01/AdvancedSecurity/DisarmWithCode api_key_enc: API_KEY_ENC [10/22/2020, 10:12:15 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode headers - authtoken: AUTH_TOKEN AUTH_TOKENbody: param=DATA_CNT&len=46&tstamp=0.2628892229504989 [10/22/2020, 10:12:15 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:15 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Result":"Command sent sucessfully"}} [10/22/2020, 10:12:17 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:12:17 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.8316760118135653 [10/22/2020, 10:12:17 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:12:17 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.9576728195015989 [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:17 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/22/2020, 10:12:17 AM] [Home Security] [returnCurrentState] Retrieved status string: Ready To Arm, alarmStatus is: 3 [10/22/2020, 10:12:17 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding current state: 3 [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:17 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/22/2020, 10:12:17 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 3 returning lastTargetState: 1 [10/22/2020, 10:12:17 AM] [Home Security] [returnTargetState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding target state: 3 [10/22/2020, 10:12:17 AM] [Home Security] Polling noticed target state change to 3, notifying devices [10/22/2020, 10:12:17 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:3 [10/22/2020, 10:12:17 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/22/2020, 10:12:17 AM] [Home Security] [disarmAlarm] About to call API with, url:https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode dataCnt: DATA_CNT header: MACID:Browser,Path:API_REV01/AdvancedSecurity/DisarmWithCode api_key_enc: API_KEY_ENC [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode headers - authtoken: AUTH_TOKEN AUTH_TOKENbody: param=DATA_CNT&len=46&tstamp=0.47602971381252 [10/22/2020, 10:12:17 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:17 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Result":"Command sent sucessfully"}} [10/22/2020, 10:12:27 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/22/2020, 10:12:27 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:27 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.9277886942505811 [10/22/2020, 10:12:27 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/22/2020, 10:12:27 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: API_KEY_ENC [10/22/2020, 10:12:27 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP_ADDRESS:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken:AUTH_TOKEN AUTH_TOKENbody: param=&len=0&tstamp=0.21775475243894027 [10/22/2020, 10:12:27 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/22/2020, 10:12:27 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/22/2020, 10:12:27 AM] [Home Security] [returnCurrentState] Retrieved status string: Ready To Arm, alarmStatus is: 3

lockpicker commented 3 years ago

Hi, Unfortunately the logs you've provided don't tell me much as it appears that the system was disarmed before it returned the armed state. The last status call was the following: �[37m[10/22/2020, 10:12:07 AM] �[39m�[36m[Home Security] �[39m[returnCurrentState] Received value: {"Status":"23 Secs Remaining","Color":"Red"}, corresponding current state: 3

Which was immediately followed by a disarming call:

�[37m[10/22/2020, 10:12:15 AM] �[39m�[36m[Home Security] �[39m[handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState: 3

which was successful and all subsequent state calls seem to be returning a "ready to arm" which is the correct response.

Perhaps if you can try arming in away, leave the system armed for a few mins and send me the logs of that, it may give me a little more to go with.

Also, to be clear, did you mean that your python module also results in an incorrect state being set on tuxedo? If so, it would point towards an issue with the unit. Could you please check and confirm which firmware version you're on, on the tuxedo unit?

carinconc commented 3 years ago

I do think it is an issue with my Tuxedo API (even though it will work fine using the panel). The firmware version is 5.3.21.0. Is there a way to reinstall or downgrade the firmware? My Python code has the same behavior as your solution. When setting the alarm to AWAY, it will count 1 minute, and then it will set the alarm to STAY.

Here is the new log:

[37m[10/23/2020, 8:55:49 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:1 [10/23/2020, 8:55:49 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/23/2020, 8:55:49 AM] [Home Security] [armAlarm] About to call API with, url:https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode dataCnt: PARAM%2F%2Bovm%2BFH header: MACID:Browser,Path:API_REV01/AdvancedSecurity/ArmWithCode api_key_enc: APIKEY [10/23/2020, 8:55:49 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=PARAM [10/23/2020, 8:55:49 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:55:49 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Response":"Command sent sucessfully"}} [10/23/2020, 8:55:53 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:55:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6435803116099768 [10/23/2020, 8:55:53 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:55:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.0669987756181174 [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:55:53 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:55:53 AM] [Home Security] [returnCurrentState] Retrieved status string: 59 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:55:53 AM] [Home Security] [returnCurrentState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:55:53 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:55:53 AM] [Home Security] [returnTargetState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:55:53 AM] [Home Security] Polling noticed target state change to 1, notifying devices [10/23/2020, 8:55:53 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:1 [10/23/2020, 8:55:53 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/23/2020, 8:55:53 AM] [Home Security] [armAlarm] About to call API with, url:https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode dataCnt: PARAM%2F%2Bovm%2BFH header: MACID:Browser,Path:API_REV01/AdvancedSecurity/ArmWithCode api_key_enc: APIKEY [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=PARAM&tstamp=0.11541237542655969 [10/23/2020, 8:55:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:55:53 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Response":"Command sent sucessfully"}} [10/23/2020, 8:56:03 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.9730099184805934 [10/23/2020, 8:56:03 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6313956058656371 [10/23/2020, 8:56:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:03 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:03 AM] [Home Security] [returnCurrentState] Retrieved status string: 59 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:56:03 AM] [Home Security] [returnCurrentState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:56:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:03 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:03 AM] [Home Security] [returnTargetState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:56:13 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.013847754830897507 [10/23/2020, 8:56:13 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.897793822415121 [10/23/2020, 8:56:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:13 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:13 AM] [Home Security] [returnCurrentState] Retrieved status string: 59 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:56:13 AM] [Home Security] [returnCurrentState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:56:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:13 AM] [Home Security] [decryptData] Returning: {"Status":"59 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:13 AM] [Home Security] [returnTargetState] Received value: {"Status":"59 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:56:23 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:23 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:23 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.7815632645528667 [10/23/2020, 8:56:23 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:23 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:23 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5145574063350915 [10/23/2020, 8:56:23 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:23 AM] [Home Security] [decryptData] Returning: {"Status":"28 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:23 AM] [Home Security] [returnCurrentState] Retrieved status string: 28 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:56:23 AM] [Home Security] [returnCurrentState] Received value: {"Status":"28 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:56:23 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:23 AM] [Home Security] [decryptData] Returning: {"Status":"28 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:23 AM] [Home Security] [returnTargetState] Received value: {"Status":"28 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:56:33 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:33 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:33 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.09935088585798124 [10/23/2020, 8:56:33 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:33 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:33 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.4705164279034133 [10/23/2020, 8:56:33 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:33 AM] [Home Security] [decryptData] Returning: {"Status":"28 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:33 AM] [Home Security] [returnCurrentState] Retrieved status string: 28 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:56:33 AM] [Home Security] [returnCurrentState] Received value: {"Status":"28 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:56:33 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:33 AM] [Home Security] [decryptData] Returning: {"Status":"28 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:33 AM] [Home Security] [returnTargetState] Received value: {"Status":"28 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:56:33 AM] [Ring] Garage Detected Motion. Loading snapshot before sending event to HomeKit [10/23/2020, 8:56:43 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:43 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:43 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5267115700650886 [10/23/2020, 8:56:43 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:43 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:43 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.06758236848136479 [10/23/2020, 8:56:43 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:43 AM] [Home Security] [decryptData] Returning: {"Status":"9 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:43 AM] [Home Security] [returnCurrentState] Retrieved status string: 9 Secs Remaining, alarmStatus is: undefined [10/23/2020, 8:56:43 AM] [Home Security] [returnCurrentState] Received value: {"Status":"9 Secs Remaining","Color":"Red"}, corresponding current state: 3 [10/23/2020, 8:56:43 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:43 AM] [Home Security] [decryptData] Returning: {"Status":"9 Secs Remaining","Color":"Red"} [10/23/2020, 8:56:43 AM] [Home Security] [returnTargetState] Received value: {"Status":"9 Secs Remaining","Color":"Red"}, corresponding target state: 1 [10/23/2020, 8:56:53 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:56:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.8364756962818762 [10/23/2020, 8:56:53 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:56:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.32069272620292666 [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:53 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:56:53 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:56:53 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:56:53 AM] [Home Security] Polling noticed current state change to 0, notifying devices [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:53 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:56:53 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 1 [10/23/2020, 8:56:53 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:56:53 AM] [Home Security] Polling noticed target state change to 0, notifying devices [10/23/2020, 8:56:53 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:0 [10/23/2020, 8:56:53 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/23/2020, 8:56:53 AM] [Home Security] [armAlarm] About to call API with, url:https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode dataCnt: PARAMi header: MACID:Browser,Path:API_REV01/AdvancedSecurity/ArmWithCode api_key_enc: APIKEY [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/AdvancedSecurity/ArmWithCode headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=PARAMi&len=66&tstamp=0.6619581548451805 [10/23/2020, 8:56:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:56:53 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Response":"Command sent sucessfully"}} [10/23/2020, 8:57:03 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.9693604245414948 [10/23/2020, 8:57:03 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5728650882323796 [10/23/2020, 8:57:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:03 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:03 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:03 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:03 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:03 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:03 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:13 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.3816336582036939 [10/23/2020, 8:57:13 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.12034884880853003 [10/23/2020, 8:57:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:13 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:13 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:13 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:13 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:13 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:13 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:23 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:23 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:23 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.9593376849000856 [10/23/2020, 8:57:23 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:23 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:23 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5272946868013679 [10/23/2020, 8:57:23 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:23 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:23 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:23 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:23 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:23 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:23 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:23 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:33 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:33 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:33 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.3200340585545556 [10/23/2020, 8:57:33 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:33 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:33 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.9729364193371839 [10/23/2020, 8:57:33 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:33 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:33 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:33 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:33 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:33 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:33 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:33 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:43 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:43 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:43 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6853247925928996 [10/23/2020, 8:57:43 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:43 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:43 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5379266928535993 [10/23/2020, 8:57:43 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:43 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:43 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:43 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:43 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:43 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:43 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:43 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:52 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:52 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:52 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.9061681137158666 [10/23/2020, 8:57:52 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:52 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:52 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.5173339731189988 [10/23/2020, 8:57:52 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:52 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:52 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:52 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:52 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:52 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:52 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:52 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:53 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:57:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6156460008107312 [10/23/2020, 8:57:53 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:57:53 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:57:53 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6403435108454814 [10/23/2020, 8:57:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:53 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:53 AM] [Home Security] [returnCurrentState] Retrieved status string: Armed Stay, alarmStatus is: 0 [10/23/2020, 8:57:53 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding current state: 0 [10/23/2020, 8:57:53 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:53 AM] [Home Security] [decryptData] Returning: {"Status":"Armed Stay","Color":"Red"} [10/23/2020, 8:57:53 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 0 returning lastTargetState: 0 [10/23/2020, 8:57:53 AM] [Home Security] [returnTargetState] Received value: {"Status":"Armed Stay","Color":"Red"}, corresponding target state: 0 [10/23/2020, 8:57:56 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:3 [10/23/2020, 8:57:56 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/23/2020, 8:57:56 AM] [Home Security] [disarmAlarm] About to call API with, url:https://IP:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode dataCnt: PARAM header: MACID:Browser,Path:API_REV01/AdvancedSecurity/DisarmWithCode api_key_enc: APIKEY [10/23/2020, 8:57:56 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode headers - authtoken: 4ca46b939468dfc7f815aec42cfca2dcd0c6e7f7 headers-identityHIDbody: param=PARAM&len=46&tstamp=0.9968513499984302 [10/23/2020, 8:57:56 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:57:56 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Result":"Command sent sucessfully"}} [10/23/2020, 8:58:03 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:58:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.18555488216170657 [10/23/2020, 8:58:03 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:58:03 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.2358896816410061 [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:58:03 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/23/2020, 8:58:03 AM] [Home Security] [returnCurrentState] Retrieved status string: Ready To Arm, alarmStatus is: 3 [10/23/2020, 8:58:03 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding current state: 3 [10/23/2020, 8:58:03 AM] [Home Security] Polling noticed current state change to 3, notifying devices [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:58:03 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/23/2020, 8:58:03 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 3 returning lastTargetState: 0 [10/23/2020, 8:58:03 AM] [Home Security] [returnTargetState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding target state: 3 [10/23/2020, 8:58:03 AM] [Home Security] Polling noticed target state change to 3, notifying devices [10/23/2020, 8:58:03 AM] [Home Security] [handleSecuritySystemTargetStateGet] Triggered SET SecuritySystemTargetState:3 [10/23/2020, 8:58:03 AM] [Home Security] [handleSecuritySystemCurrentStateGet] fetchKeysBeforeEverySetCall config is true, fetching API keys again [10/23/2020, 8:58:03 AM] [Home Security] [disarmAlarm] About to call API with, url:https://IP:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode dataCnt: PARAM header: MACID:Browser,Path:API_REV01/AdvancedSecurity/DisarmWithCode api_key_enc: APIKEY [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/AdvancedSecurity/DisarmWithCode headers - authtoken: headers-identityHIDbody: param=PARAM&len=46&tstamp=0.8021863068487949 [10/23/2020, 8:58:03 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:58:03 AM] [Home Security] [decryptData] Returning: {"Status":"Sucess","Result":{"Result":"Command sent sucessfully"}} [10/23/2020, 8:58:13 AM] [Home Security] [handleSecuritySystemCurrentStateGet] Triggered GET SecuritySystemCurrentState [10/23/2020, 8:58:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:58:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.3334223833659329 [10/23/2020, 8:58:13 AM] [Home Security] Triggered GET SecuritySystemTargetState [10/23/2020, 8:58:13 AM] [Home Security] [getAlarmMode] About to call with, url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus header: MACID:Browser,Path:API_REV01/GetSecurityStatus api_key_enc: APIKEY [10/23/2020, 8:58:13 AM] [Home Security] [callAPI_POST]: Calling alarm API with url: https://IP:443/system_http_api/API_REV01/GetSecurityStatus headers - authtoken: AUTHTOKEN headers-identityHIDbody: param=&len=0&tstamp=0.6814972348696375 [10/23/2020, 8:58:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:58:13 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/23/2020, 8:58:13 AM] [Home Security] [returnCurrentState] Retrieved status string: Ready To Arm, alarmStatus is: 3 [10/23/2020, 8:58:13 AM] [Home Security] [returnCurrentState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding current state: 3 [10/23/2020, 8:58:13 AM] [Home Security] [callAPI_POST] Trying to decrypt response: [10/23/2020, 8:58:13 AM] [Home Security] [decryptData] Returning: {"Status":"Ready To Arm","Color":"Green"} [10/23/2020, 8:58:13 AM] [Home Security] [handleSecuritySystemTargetStateGet] Target state was: 3 returning lastTargetState: 3 [10/23/2020, 8:58:13 AM] [Home Security] [returnTargetState] Received value: {"Status":"Ready To Arm","Color":"Green"}, corresponding target state: 3

lockpicker commented 3 years ago

Yep, same as before this definitely is an issue with the unit. Try and see if a new /old firmware helps. Usually is a download from the Honeywell website, copied onto a memory card and installed onto the unit through there.

Let me know if you're comfortable for me to close this issue as it doesn't appear to be a problem with the plugin.