Working on a DIY blinds/servo project with an arduino. Instead of using a Zwave switch to tie it to Vera, can I create device with an up/down HTTP command to send to the arduino via wifi?
You can create a scene and use luup.wget() to call the url.
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_wget
Hope that helps!
You can defiantly send http commands in a scene via lua code.
Your lua code would be:
luup.inet.wget(“IP:PORT/Blahblah”)
Enter your http command between the “” to have vera send that.
that’s a good start. So I’ll have to do 2 separate scenes. one for cmd to move up and one for down rather than a single device with an up and a down button?
No one said anything about a “Device” are you planning on making a “Device” by creating a plugin? Or what kind of device are you planning on using? And what App are you using that this Device will work in?
I mean a multiswitch has 8 buttons in one device and works in several apps already. You can tie two or more of the buttons to a scene and label them accordingly.
Here is a project I made last year using MySensors and Vera. It may or may not help you.
[url=http://forum.mysensors.org/topic/833/contest-yet-another-servo-blind-control-project]http://forum.mysensors.org/topic/833/contest-yet-another-servo-blind-control-project[/url]
[quote=“slarti, post:6, topic:191398”]Here is a project I made last year using MySensors and Vera. It may or may not help you.
[url=http://forum.mysensors.org/topic/833/contest-yet-another-servo-blind-control-project]http://forum.mysensors.org/topic/833/contest-yet-another-servo-blind-control-project[/url][/quote]Very nice.
Thanks!