martzmakes / SmartDSC

DSC and SmartThings Integration with NodeJS
20 stars 20 forks source link

Integration with SmartThings Home Monitor #10

Open 88fingerslukee opened 8 years ago

88fingerslukee commented 8 years ago

How can I integrate this app with the built-in Home Monitor function on the ST app? I'd like to Arm that and have it arm the panel as well.

Any thoughts on this?

martzmakes commented 8 years ago

I don't know that they have an API available for that yet (or at least I haven't seen one). If you figure out a way to do it, PRs are welcome!

On Mon, Feb 15, 2016 at 11:32 AM, 88fingerslukee notifications@github.com wrote:

How can I integrate this app with the built-in Home Monitor function on the ST app? I'd like to Arm that and have it arm the panel as well.

Any thoughts on this?

— Reply to this email directly or view it on GitHub https://github.com/oehokie/SmartDSC/issues/10.

ashutosh1982 commented 8 years ago

You could use Rule Machine and leverage Advanced options in that to do that. Rule Machine supports trigger and control of the Smart Home Monitor app within ST. https://community.smartthings.com/t/release-rule-machine/28730

88fingerslukee commented 8 years ago

This guy seems to have it working for Kent Holloway's python server

https://github.com/phiz118/smartthings

I tried using this with yours but it doesn't seem to work. Thoughts?

martzmakes commented 8 years ago

It looks like it may be as simple as adding a config option, subscribing to subscribe(location, "alarmSystemStatus", alarmStatusUpdate) and setting the home monitor via sendLocationEvent(name: "alarmSystemStatus", value: status)

Unfortunately I'm working on other projects at the moment... if anyone wants to take a shot, like I said, PRs are welcome :)

On Mon, Feb 15, 2016 at 4:50 PM, 88fingerslukee notifications@github.com wrote:

This guy seems to have it working for Kent Holloway's python server

https://github.com/phiz118/smartthings

I tried using this with yours but it doesn't seem to work. Thoughts?

— Reply to this email directly or view it on GitHub https://github.com/oehokie/SmartDSC/issues/10#issuecomment-184409462.

martzmakes commented 8 years ago

@88fingerslukee @ashutosh1982 just a heads up, I tried integrating it tonight. Couldn't find an alarming state though and haven't tested it (which is why its in a branch)

88fingerslukee commented 8 years ago

I tried this out and I can't get it to work. Do I need to do anything special?

martzmakes commented 8 years ago

@88fingerslukee I reopened this, after some more testing it doesn't seem like it's changing the smart home monitor state, but changes in that branch were necessary because ST went away from having "modes". So, for me, things like auto away - arm and stuff like that weren't working (now they do)

javier-jm commented 8 years ago

Any news on this? How did you guys found alarmSystemStatus? Any docs out there?