{"action":"closed","issue":{"url":"https://api.github.com/repos/csdozier/device-concord4/issues/4","repository_url":"https://api.github.com/repos/csdozier/device-concord4","labels_url":"https://api.github.com/repos/csdozier/device-concord4/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/csdozier/device-concord4/issues/4/comments","events_url":"https://api.github.com/repos/csdozier/device-concord4/issues/4/events","html_url":"https://github.com/csdozier/device-concord4/issues/4","id":256128740,"number":4,"title":"Silent Disarm?","user":{"login":"lehighkid","id":11636662,"avatar_url":"https://avatars1.githubusercontent.com/u/11636662?v=4","gravatar_id":"","url":"https://api.github.com/users/lehighkid","html_url":"https://github.com/lehighkid","followers_url":"https://api.github.com/users/lehighkid/followers","following_url":"https://api.github.com/users/lehighkid/following{/other_user}","gists_url":"https://api.github.com/users/lehighkid/gists{/gist_id}","starred_url":"https://api.github.com/users/lehighkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehighkid/subscriptions","organizations_url":"https://api.github.com/users/lehighkid/orgs","repos_url":"https://api.github.com/users/lehighkid/repos","events_url":"https://api.github.com/users/lehighkid/events{/privacy}","received_events_url":"https://api.github.com/users/lehighkid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-08T03:11:45Z","updated_at":"2017-09-10T02:31:52Z","closed_at":"2017-09-10T02:31:52Z","author_association":"NONE","body":"The silent flag is being explicitly ignored for disarm requests even though the http server looks for it in order to set the silent action to false and it is a specified optional parameter in the readme.md\r\n\r\n`/concord/disarm/[loud]`\r\n\r\nhttps://github.com/csdozier/device-concord4/blob/ed7be3754bd16bae8b6a77bb95485f7a000af978/concordsvr/concordsvr.py#L424\r\n\r\nhttps://github.com/csdozier/device-concord4/blob/ed7be3754bd16bae8b6a77bb95485f7a000af978/concordsvr/concordsvr.py#L936-L942\r\n\r\nChanging line 424 to `if arm_silent:` \r\n\r\n`wget http://10.0.1.10:8066/concord/disarm --password=password --user=admin --auth-no-challenge`\r\n\r\nresults in the following error messages\r\n\r\n`2017-09-08 02:57:22,659 [concordsvr.py:logger()] - INFO - Incoming web connection from ('10.0.1.10', 52604)\r\n2017-09-08 02:57:22,661 [concordsvr.py:logger()] - INFO - Web request: GET /concord/disarm\r\n2017-09-08 02:57:22,662 [concordsvr.py:logger()] - INFO - admin:password\r\n2017-09-08 02:57:22,663 [concordsvr.py:ArmDisarm()] - INFO - Concord4 Arm/Disarm to disarm, bypass=, silent=True\r\n2017-09-08 02:57:23,364 [concord.py:send_message()] - WARNING - Resending message, attempt 2: '0640010005206c'\r\n2017-09-08 02:57:23,866 [concord.py:send_message()] - WARNING - Resending message, attempt 3: '0640010005206c'\r\n2017-09-08 02:57:24,368 [concord.py:maybe_resend_message()] - ERROR - Unable to send message (timeout), too many attempts (3): '0640010005206c'`\r\n\r\nbut specifying loud is successful\r\n\r\n`wget http://10.0.1.10:8066/concord/disarm/loud --password=smartthings --user=admin --auth-no-challenge`\r\n\r\n`2017-09-08 03:02:31,109 [concordsvr.py:logger()] - INFO - Incoming web connection from ('10.0.1.10', 52608)\r\n2017-09-08 03:02:31,111 [concordsvr.py:logger()] - INFO - Web request: GET /concord/disarm/loud\r\n2017-09-08 03:02:31,112 [concordsvr.py:logger()] - INFO - admin:password\r\n2017-09-08 03:02:31,113 [concordsvr.py:ArmDisarm()] - INFO - Concord4 Arm/Disarm to disarm, bypass=, silent=False\r\n2017-09-08 03:02:31,674 [concordsvr.py:panelMessageHandler()] - INFO - System is DISARMED`"}}
{"actor":{"display_login":"lehighkid"}}