My First version of curtain control Node is ready, installed and tested. Some work is pending, which I'll complete on my weekend.Edit: Code for the Node:Curtain NodeCurtain Control Node.

Please share your feedback so that I can improvise.

]]>https://forum.mysensors.org/topic/3394/curtain-control-nodeRSS for NodeFri, 22 Feb 2019 16:28:25 GMTMon, 14 Mar 2016 16:14:43 GMT60My First version of curtain control Node is ready, installed and tested. Some work is pending, which I'll complete on my weekend.Edit: Code for the Node:Curtain NodeCurtain Control Node.

Please share your feedback so that I can improvise.

]]>https://forum.mysensors.org/post/34354https://forum.mysensors.org/post/34354Mon, 14 Mar 2016 18:42:33 GMTWhat type of motor are you using?
]]>https://forum.mysensors.org/post/34358https://forum.mysensors.org/post/34358Mon, 14 Mar 2016 17:54:35 GMTIts a Geared DC Motor with Voltage Rating of 6-12V and 100 RPM. I am using a L239 to control the motor.
]]>https://forum.mysensors.org/post/34361https://forum.mysensors.org/post/34361Mon, 14 Mar 2016 18:40:39 GMTLooks good. I am curious to see the details... jealous for the speed your curtain is moving.

I have been working on a similar project last week. The mechanics and ´looks´ are the most difficult part for me.

For now I have used a ´tuned´ cheap & small stepper which makes it slooow but effective The rail and mounting is standard IKEA. The pro-mini has the jModule attached. Works like a charm (/snail)!

For end stops I have not yet decided. I had some Ideas of using Hall effect sensor on both ends and a small piece of magnet in the string to detect ends or Maybe use stop switches. Not sure but will have to try both and see which works the best.

I am yet to clean the code I have some debugging serial prints in code which will remove once finalized.

]]>https://forum.mysensors.org/post/34421https://forum.mysensors.org/post/34421Tue, 15 Mar 2016 12:19:49 GMTSweet!
My girl has put this on my todolist...
But still have to get started, this is some nice reference for my new porject!
]]>https://forum.mysensors.org/post/34423https://forum.mysensors.org/post/34423Tue, 15 Mar 2016 12:36:33 GMT@franzelare Great. Good Luck with the build.

I'll be posting my HW design and Code as part of Contest on openhardware.io

]]>https://forum.mysensors.org/post/34512https://forum.mysensors.org/post/34512Wed, 16 Mar 2016 12:01:33 GMT@barduino Seems like the IDE. Open any example MySensors Sketch. Delete the contents from sketch and copy paste from my sketch. I guess that should work.

Are you able to compile any other sketch in Arduino?

]]>https://forum.mysensors.org/post/34586https://forum.mysensors.org/post/34586Thu, 17 Mar 2016 11:43:16 GMT@AWI Are you able to share the sketch you used with the UL2003 driver board? I have tried to combine the MySensors servo sketch with other arduino only sketches utilizing the UL2003, but without luck. Thanks.
]]>https://forum.mysensors.org/post/34682https://forum.mysensors.org/post/34682Fri, 18 Mar 2016 16:07:48 GMT@patchmaster I used the relay sketch and modified it to my needs. Sorry but I dont have any sketch for ULN2003.
]]>https://forum.mysensors.org/post/34686https://forum.mysensors.org/post/34686Fri, 18 Mar 2016 17:36:49 GMT@patchmaster This is my current curtain control sketch. I work with the development branch, so the syntax can be a little different.

The Accelstepper library gives you all the abilities to slow start/stop with numerous kinds of steppers.
My sketch includes a calibration function (stored in EEPROM) so the you don't need end stop detection (a stepper knows where it is)

]]>https://forum.mysensors.org/post/34729https://forum.mysensors.org/post/34729Sat, 19 Mar 2016 07:55:45 GMT@AWI Thanks. I have been using the Accelstepper library, but this has already given me several other ideas.
I appreciate the help.
]]>https://forum.mysensors.org/post/34756https://forum.mysensors.org/post/34756Sat, 19 Mar 2016 15:01:56 GMT@AWI
I have been searching for something like this for a while, thank you for the code!

]]>https://forum.mysensors.org/post/34825https://forum.mysensors.org/post/34825Sun, 20 Mar 2016 13:39:30 GMT@Tore-André-Rosander are you using the development branch? The errors seem to indicate that is the case.
]]>https://forum.mysensors.org/post/34831https://forum.mysensors.org/post/34831Sun, 20 Mar 2016 15:41:35 GMT@AWI Thank you, that helped
I now have it up and running.

But how do i connect and use this with a controller (like Domoticz)?

I use an ESP gateway (from the dev branch) and the curtain node is connected and showing up in domoticz.
But how do i make domoticz send commands to the curtain node?

All i get when adding the curtain node both as on/off button and blinds in domoticz is "unreconized" in the curtain serial monoitor.

]]>https://forum.mysensors.org/post/34887https://forum.mysensors.org/post/34887Mon, 21 Mar 2016 10:25:40 GMT@Tore-André-Rosander I have defined it as "Blinds Percentage" in Domoticz. This send the V_STATUS and V_PERCENTAGE messages where the node should respond to...
]]>https://forum.mysensors.org/post/34889https://forum.mysensors.org/post/34889Mon, 21 Mar 2016 10:46:37 GMT@AWI THanks again for your fast replys!

This is what i get in serial monitor when i use the "up" "down" buttons for blinds percentage in domoticz.

This is my very first MySensor setup so it might be some error with my setup, i will have a deeper look at it later tonight.

]]>https://forum.mysensors.org/post/34892https://forum.mysensors.org/post/34892Mon, 21 Mar 2016 10:59:21 GMT@Tore-André-Rosander Nothing wrong with you interpretation. I have not written this sketch as a complete S_COVER implementation. Only the V_PERCENTAGE part (not V_UP/V_DOWN). If you define it in Domoticz as "Blinds percentage" (see my previous post) it will work. Sorry for the confusion.
]]>https://forum.mysensors.org/post/34898https://forum.mysensors.org/post/34898Mon, 21 Mar 2016 11:55:30 GMT@AWI Seems like my problem is with Domoticz itselfe.
I have the same problem as described in this post https://www.domoticz.com/forum/viewtopic.php?f=6&t=7748
]]>https://forum.mysensors.org/post/34905https://forum.mysensors.org/post/34905Mon, 21 Mar 2016 14:04:14 GMT@Tore-André-Rosander You can probably solve it by deleting the sensor in Domoticz and let the sketch present itself as S_DIMMER (and use another sensor id)
]]>https://forum.mysensors.org/post/34907https://forum.mysensors.org/post/34907Mon, 21 Mar 2016 14:34:49 GMTMaybe its because i have not calibrated it? I dont have any pushbuttons laying around, so im gonna make one with some wires. But i see that there is two pins defined as buttons. Should i use the buttonPin1 as VCC?

So it would look something like buttonPin1 -> buttonPin2 -> button -> gnd?