haruny / adt-pulse-mqtt

ADT Pulse Bridge for Home Assistant
MIT License
10 stars 5 forks source link

Away is not setting the alarm on 0.2 #10

Closed viperbe closed 6 years ago

viperbe commented 6 years ago

Tested and Away doesnt set from alarm settings

haruny commented 6 years ago

Hey viperbe thanks. I tested my end this morning and everything seems fine on my end. There may be some other issue going such as with your config or ADT's portal is showing you something different than mine due to zones/devices/hardware config you have.

could you submit the:

viperbe commented 6 years ago

how do you get the summary.jsp?

On Thu, Jul 26, 2018 at 11:52 AM, haruny notifications@github.com wrote:

Hey viperbe thanks. I tested my end this morning and everything seems fine on my end. There may be some other issue going such as with your config or ADT's portal is showing you something different than mine due to zones/devices/hardware config you have.

could you submit the:

  • related section of the configuration.yaml (alarm panel and at least one zone)
  • the config in the add on (do not submit your ADT username/password)
  • copy of your summary.jsp (you can submit it in gist. https://gist.github.com)
  • logs after you hit Arm Away
  • dump of the mqtt for the related topics (before hitting arm away, and a few minutes after when the logs show "Syncing" again)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haruny/adt-pulse-mqtt/issues/10#issuecomment-408162888, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac3P8BpCEEMc35zxkfaOBy-pzvS2itKLks5uKfPNgaJpZM4VhyI- .

-- Ben Ellis

haruny commented 6 years ago

I think you've already sent me the summary page in your feature ask: https://gist.github.com/viperbe/d145bfcf0c864bd12a297bcb812a3f6f

I need the rest of the items in my list:

viperbe commented 6 years ago

Alarm Control panel.yaml

alarm_control_panel:

platform: mqtt name: “ADT Pulse” state_topic: “home/alarm/state” command_topic: “home/alarm/cmd” payload_arm_home: “arm_home” payload_arm_away: “arm_away” payload_disarm: “disarm”

I dont have zone but binary sensors:

Config in the addon:

{ "ssl": false, "certfile": "fullchain.pem", "keyfile": "privkey.pem", "pulse_login": { "username": "", "password": "" }, "mqtt_host": "core-mosquitto", "mqtt_connect_options": { "username": "", "password": "" }, "alarm_state_topic": "home/alarm/state", "alarm_command_topic": "home/alarm/cmd", "zone_state_topic": "adt/zone", "smartthings_topic": "smartthings", "smartthings": false }

MQTT dump before: adt/zone/Master Bedroom Window/state {"id":"sensor-17","devIndex":"E3VER1","name":"Master Bedroom Window","tags":"sensor,doorWindow","status":"devStatOK","statusTxt":"Master Bedroom Window - Closed\nLast Activity: 3/12 2:01 PM","activityTs":1394650877919} adt/zone/Office Dining Kitchen/state {"id":"sensor-19","devIndex":"E5VER1","name":"Office Dining Kitchen","tags":"sensor,doorWindow","status":"devStatOK","statusTxt":"Office Dining Kitchen - Closed\nLast Activity: 4/27 12:29 PM","activityTs":1524850184624} adt/zone/Side Bedroom Window/state {"id":"sensor-18","devIndex":"E4VER1","name":"Side Bedroom Window","tags":"sensor,doorWindow","status":"devStatOK","statusTxt":"Side Bedroom Window - Closed\nLast Activity: 4/1 11:50 AM","activityTs":1427907044580} adt/zone/Indoor Camera/state {"id":"camera-23","devIndex":"C7BA73","name":"Indoor Camera","tags":"camera,ip","status":"devStatOKcamera","statusTxt":"Indoor Camera\nLast Activity: Today 10:43 AM","activityTs":1532619789459} adt/zone/Front Door Camera/state {"id":"camera-24","devIndex":"CD849C","name":"Front Door Camera","tags":"camera,ip","status":"devStatOKcamera","statusTxt":"Front Door Camera","activityTs":0} adt/zone/Lamp/state {"id":"lighting-22","devIndex":"2","name":"Lamp","tags":"lighting,switch,zw","status":"devStatLightOn","statusTxt":"Lamp - On\nLast Activity: 12/9 11:41 AM","activityTs":1449682868135}

Logs.

2018-7-26 12:28:52 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:28:53 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:28:56 Pulse.Sync: Syncing 87832-87818-0 2018-7-26 12:28:56 Pulse: updateAll 2018-7-26 12:28:56 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:28:57 Received Message:home/alarm/cmd:arm_away 2018-7-26 12:28:57 Pulse.setAlarmState Setting Alarm Status 2018-7-26 12:28:57 Pulse.setAlarmState calling the urls 2018-7-26 12:28:58 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:28:58 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:01 Pulse.Sync: Syncing 87832-87818-0 2018-7-26 12:29:01 Pulse setAlarmState Success. Forced?:undefined 2018-7-26 12:29:06 Pulse.Sync: Syncing 1-0-0 2018-7-26 12:29:06 Pulse: updateAll 2018-7-26 12:29:06 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:07: Pushing alarm state: armed_away to home/alarm/state 2018-7-26 12:29:07 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:07 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:11 Pulse.Sync: Syncing 87834-87818-0 2018-7-26 12:29:11 Pulse: updateAll 2018-7-26 12:29:11 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:11 Received Message:home/alarm/cmd:disarm 2018-7-26 12:29:12 Pulse.setAlarmState Setting Alarm Status 2018-7-26 12:29:12 Pulse.setAlarmState calling the urls 2018-7-26 12:29:12 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:12 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:16 Pulse setAlarmState Success. Forced?:undefined 2018-7-26 12:29:16 Pulse.Sync: Syncing 87834-87818-0 2018-7-26 12:29:21 Pulse.Sync: Syncing 1-0-0 2018-7-26 12:29:21 Pulse: updateAll 2018-7-26 12:29:21 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:22: Pushing alarm state: disarmed to home/alarm/state 2018-7-26 12:29:22 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:22 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:24 Received Message:home/alarm/cmd:arm_home 2018-7-26 12:29:24 Pulse.setAlarmState Setting Alarm Status 2018-7-26 12:29:24 Pulse.setAlarmState calling the urls 2018-7-26 12:29:26 Pulse.Sync: Syncing 87836-87818-0 2018-7-26 12:29:26 Pulse: updateAll 2018-7-26 12:29:26 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:27 Pulse setAlarmState Success. Forced?:undefined 2018-7-26 12:29:28 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:28 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:31 Pulse.Sync: Syncing 1-0-0 2018-7-26 12:29:31 Pulse: updateAll 2018-7-26 12:29:31 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:32: Pushing alarm state: armed_home to home/alarm/state 2018-7-26 12:29:32 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:32 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:33 Received Message:home/alarm/cmd:disarm 2018-7-26 12:29:33 Pulse.setAlarmState Setting Alarm Status 2018-7-26 12:29:33 Pulse.setAlarmState calling the urls 2018-7-26 12:29:36 Pulse.Sync: Syncing 87838-87818-0 2018-7-26 12:29:36 Pulse: updateAll 2018-7-26 12:29:36 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:37 Pulse setAlarmState Success. Forced?:undefined 2018-7-26 12:29:38 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:38 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:41 Pulse.Sync: Syncing 1-0-0 2018-7-26 12:29:41 Pulse: updateAll 2018-7-26 12:29:41 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:43: Pushing alarm state: disarmed to home/alarm/state 2018-7-26 12:29:43 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:43 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:44 Received Message:home/alarm/cmd:arm_away 2018-7-26 12:29:44 Pulse.setAlarmState Setting Alarm Status 2018-7-26 12:29:44 Pulse.setAlarmState calling the urls 2018-7-26 12:29:46 Pulse.Sync: Syncing 87839-87818-0 2018-7-26 12:29:46 Pulse: updateAll 2018-7-26 12:29:46 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:47 Pulse setAlarmState Success. Forced?:undefined 2018-7-26 12:29:48 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:48 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:51 Pulse.Sync: Syncing 1-0-0 2018-7-26 12:29:51 Pulse: updateAll 2018-7-26 12:29:51 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:52: Pushing alarm state: armed_away to home/alarm/state 2018-7-26 12:29:52 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:52 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:29:56 Pulse.Sync: Syncing 87841-87818-0 2018-7-26 12:29:56 Pulse: updateAll 2018-7-26 12:29:56 Pulse.getAlarmStatus: Getting Alarm Statuses 2018-7-26 12:29:57 Pulse.getDeviceStatus: Getting Device Statuses 2018-7-26 12:29:57 Pulse.getZoneStatus: Getting Zone Statuses Device callback{"name":"Lamp","serialnumber":"TGFtcA==","state":1} 2018-7-26 12:30:01 Pulse.Sync: Syncing 87841-87818-0 2018-7-26 12:30:06 Pulse.Sync: Syncing 87841-87818-0 2018-7-26 12:30:11 Pulse.Sync: Syncing 87841-87818-0 2018-7-26 12:30:16 Pulse.Sync: Syncing 87841-87818-0

but looks like after the update to home assistant this morning. It works again.

haruny commented 6 years ago

Thank you! What you've posted is incredibly helpful. I'll also look into adding Device support.