SmartThings Community

Newbie needing help with particle photon blinds


(Mechanicinwilson) #1

Hey Guys, I’m trying to add at Photon-Servo and ST to make remote blinds. I have read many post here and tried like they said with no luck. I think part of it is where it says add device handler or smart app, i open github and there are a few different sets of code but none say they are for Blinds. Then to add the device ID and token. But i cant add them…Im lost!
Is there a dumbed down version somewhere…lol? Just trying to open/close the blinds with St and Alexa.

Thanks Terry


(Robin) #2

You may find this a useful read.

I had a quick search and couldn’t find any device handler code for the Photon-Servo (not in Groovy anyway)

If you can get it in your area, I would suggest a dedicated z wave blind controller like the one from Fibaro.


(Mechanicinwilson) #3

Sorry for the misunderstanding. its not the code its which one to use. Same as you, I searched for post. found what i liked. would would click on the code link in the post and then it will show every code the builder had done. None of them were related to Blinds. That’s the problem I’m having.


(Robin) #4

Something like a servo can have 1000 uses… You need to control the servo not the blinds.

There are plenty of threads on here regarding automatic blinds… Pick a device for a use rather than a use for a device.


(Mechanicinwilson) #5

Thanks Rodin, I have done the search. And I agree with what you said. Let me see if I can say it another way. Lets say you need a 3/8 bolt. I point you to a door. You open the door to find a room full of boxes. None of them have a label of “Bolt”. So you start opening boxes looking for the bolt to only find more boxes that are not labeled “Bolt”. Thats what I’m running into,I’m not a coder or engineer so this is just a bit confusing. Like the Device ID and Token. I know where they are in Photon. Im not clear on placing them, Device Handler or Smart App. I have looked into both with no luck. And not just for 15-20 nimutes. I have been trying to get this thing working for a week.I have worked with the Arduino on a few projects with no problem. Its the addition of the web interface along with the title of the code.


(Robin) #6

You shouldn’t need device ID or tokens.

Are you trying to manually ‘add device’ in the IDE? This is only for adding virtual devices or ones that cannot automatically connect with ST.

When you associate your device with the ST hub it automatically assigns a device ID, name etc. It should then appear in the list of devices in the ‘things’ page if the ST app and under ‘devices’ in the IDE.

You will need to find the device handler code and use this to create a new DH in the onlibe IDE. How to do this is clearly explained in the FAQ link I posted above.

With the new DH setup, you then need to go to ‘devices’ in the IDE, click on the device you want to use he new DH, click edit and change the ‘type’ to the new DH

Have a good read through the FAQ above, it’s really not that hard, just follow the steps.


#7

It can definitely get confusing! You’ll get your quickest response by posting your question in the thread where you found the link to the code. That’s where people will be able to help you specifically with that “box.” :sunglasses:


#8

Also, if I understand what you’re asking, try asking the folks in the following thread. I think they’ll be able to help you.

The device options in the US and the UK are very different for this particular use case, so I suggest you stick with the US threads.