url and vera

Hello

I would like to find a solution to control my electric shutters
for now I use a card that serves as an automatic ip and support by a relay on a multichannel remote, these components are somfy Rts
I’d like to find a device that represents the components in the vera with only stop up and down but I could drive by location 192.168.1.10 \ remote.cgi Chanell $ action = $ 1 = up and down to stop such
geee I would need a component by piece so the chanel change but actions are the same

if anyone has ever done that or not help me because I can not find what I want exactemetn apart to make a scene by chanel action and not top
thank you

please help me abour this

There are some somfy plugins on apps.mios.com, did you try those?
MiOS Apps

What " card that serves as an automatic ip" are you using? Brand?

I don’t have any of these devices, so it’s difficult to do any testing.

not a specific card (for my lignts an ipx800 and my somfy an wizz200web with a remote somfy 'picture here

[url=http://www.touteladomotique.com/forum/viewtopic.php?f=21&t=3697&sid=e13bfd6853e5cbec47495bcb6d7fdba3&start=132]http://www.touteladomotique.com/forum/viewtopic.php?f=21&t=3697&sid=e13bfd6853e5cbec47495bcb6d7fdba3&start=132[/url]

i want to call url to button device

for example on a windowscovering up call a url down another url and end another url but a aprt common

[url=http://192.168.1.60/teleco.cgi&channel=1&action=down]http://192.168.1.60/teleco.cgi&channel=1&action=down[/url] channel 1 for the first shutter and actiondown
for up the url is [url=http://192.168.1.60/teleco.cgi&channel=1&action=up]http://192.168.1.60/teleco.cgi&channel=1&action=up[/url] and for another channel is just channel=2 or 3 …

for now I create multiple scene
scenne per share and a group not too waf
I would have preferred a virtual device by component (covering) with the 3 actions (up down stop)
sorry for my poor english

hi Davidd,

thank to your mp, i’m not allowed to answer you (yet) because i haven’t post enough Post :stuck_out_tongue:

to solve your issue, you should modify a “virtual window covering” implement file (you can find one here) to implement your url calls on standard function Up / Down / Stop and SetTarget

		<action>
			<serviceId>urn:upnp-org:serviceId:SwitchPower1</serviceId>
			<name>SetTarget</name>
			<job>
				luup.variable_set ("urn:upnp-org:serviceId:SwitchPower1", "Target", lul_settings.newTargetValue, lul_device)
                                
                                if(lul_settings.newTargetValue == "0" or lul_settings.newTargetValue == 0) then
                                   luup.inet.wget ("http://192.168.1.60/teleco.cgi&channel=2&action=down") 
                                else
                                   luup.inet.wget ("http://192.168.1.60/teleco.cgi&channel=2&action=up") 
                                end

                                luup.variable_set ("urn:upnp-org:serviceId:SwitchPower1", "Status", lul_settings.newTargetValue, lul_device)

				return 4, 5
			</job>
		</action>
                <action>
			<serviceId>urn:upnp-org:serviceId:WindowCovering1</serviceId>
			<name>Up</name>
			<run>
				 luup.inet.wget ("http://192.168.1.60/teleco.cgi&channel=2&action=up") 
			</run>
		</action>
		<action>
			<serviceId>urn:upnp-org:serviceId:WindowCovering1</serviceId>
			<name>Down</name>
			<run>
				 luup.inet.wget ("http://192.168.1.60/teleco.cgi&channel=2&action=down") 
			</run>
		</action>
		<action>
			<serviceId>urn:upnp-org:serviceId:WindowCovering1</serviceId>
			<name>Stop</name>
			<run>
				 luup.inet.wget ("http://192.168.1.60/teleco.cgi&channel=2&action=stop") 
			</run>
		</action>

Like that, you wil :

  • open with “Up” and “Open” button
  • close with “Down” and “Close” button
  • Stop with “Stop” button

But the slider wont work for now (but with more coding you wil able to implement a function close to your needs)

Hi Antor,

I want to use your modified code for commanding my rolling shutters.

I have 3 shutters to command, I must create 3 implement file? (2 URL by action for my shutters via IPX800 by GCE electronics)

*** EDIT *** Issue resolved *** /EDIT ***
See answers here:
[url=http://forum.micasaverde.com/index.php/topic,10556.msg73206.html#new]http://forum.micasaverde.com/index.php/topic,10556.msg73206.html#new[/url]