Automated Window Blinds - Spark Core

Hello,

So I worked on this pretty extensively over the last week. I took my code back to the original code because I felt it stayed closer to what I wanted. Feel free to modify to your hearts content as axyr did above.

The main bonus of this code is two way communication. I figured out the particle API commands for an httpGet to grab a variable set on particle.

So head on over to github and get the original branch:

@a6pack @keithcroshaw @hawesg @Pete
I know this was something you will be looking for.

The main advantage of this is that now polling and refresh will show status if an outside smart app opens the blinds or if the slider is used… (which is working again)!

Enjoy!
Justin

Oh and on a side note I think this opens the possibility of having a general Spark device type that variables could be setup for the function and particle variable so that they could be entered in the device setup ui and then the particle could work for about any purpose the user wanted and have smart apps call it.

2 Likes