node-alarm-dot-com / homebridge-node-alarm-dot-com

Alarm.com plugin for Homebridge using Node.js
MIT License
58 stars 23 forks source link

Shades #95

Open ghost opened 2 years ago

ghost commented 2 years ago

Alarmdotcom has now added the ability to utilize Somfy Shades on their platform. The Somfy shades are still connected through zwave but show in a different area as shade rather than lights.

Can we get this added as an accessory as well. I added a few photos of the item in the app.

image

image

image

ngori commented 2 years ago

@Mikelawry214 This enhancement shouldn't be too difficult to add. We would just need to capture the API calls for the different commands specific for shades to be able to add it. My guess is it's similar to a dimmer (i.e., Up/Down/% vs On/Off/%). A lot of the dimmer code might be reusable here. When I added the garage door support I used the Chrome Developer Tools to capture the network activity of the URL Request on the alarm.com website. Garage doors even more basic though. Once you can capture the URL Request, Request Headers, Payload, etc. it's pretty straight forward.

ghost commented 2 years ago

@Mikelawry214 This enhancement shouldn't be too difficult to add. We would just need to capture the API calls for the different commands specific for shades to be able to add it. My guess is it's similar to a dimmer (i.e., Up/Down/% vs On/Off/%). A lot of the dimmer code might be reusable here. When I added the garage door support I used the Chrome Developer Tools to capture the network activity of the URL Request on the alarm.com website. Garage doors even more basic though. Once you can capture the URL Request, Request Headers, Payload, etc. it's pretty straight forward.

Yes it is similar to a dimmer switch. If the ability to add is available, what would I do on my end to update it to see if within my accessories. Thanks for your help

ghost commented 2 years ago

@Mikelawry214 This enhancement shouldn't be too difficult to add. We would just need to capture the API calls for the different commands specific for shades to be able to add it. My guess is it's similar to a dimmer (i.e., Up/Down/% vs On/Off/%). A lot of the dimmer code might be reusable here. When I added the garage door support I used the Chrome Developer Tools to capture the network activity of the URL Request on the alarm.com website. Garage doors even more basic though. Once you can capture the URL Request, Request Headers, Payload, etc. it's pretty straight forward.

I found the settings to be very similar obviously with a different identifier

Not sure what I would do next.

ngori commented 2 years ago

@Mikelawry214 I can't take it on right now due to other family/work commitments but in general the process would be capture the api calls. Write the new methods for up, down, status, in this package and the node-dot-alarm-com package, create a pull request merge that into a beta and then test.

ghost commented 2 years ago

Thank you. I totally understand.

Honestly I have no idea about coding.

ghost commented 2 years ago

Anyone willing to take on this. Willing to donate money for your work

robertavram-md commented 2 years ago

Happy to donate as well

ngori commented 2 years ago

I may have a bit of time coming up. There is a discord channel on the homebridge server dedicated to this plugin

https://discord.com/channels/432663330281226270/742182845056942210

I can describe the steps I'd need to implement shades over there.

ghost commented 2 years ago

Sure just let me know

ngori commented 2 years ago

The channel on the discord is #node-alarm-dot-com

ghost commented 2 years ago

Unfortunately that link isn't working for me on discord

ngori commented 2 years ago

Sorry. Try this https://discord.gg/Z8jmyvb

ngori commented 2 years ago

I'm working on this one over the next 2-3 weeks with @Mikelowry1 to get shades implemented.

Stugatza commented 9 months ago

hi all, any updates on shade integration? would be great to have.

chase9 commented 9 months ago

Since I don’t have shades I would need someone to contribute a PR based on the API calls they see in the web portal.ChaseOn Oct 6, 2023, at 4:12 PM, Stugatza @.***> wrote: hi all, any updates on shade integration? would be great to have.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>