Wemo light switch long press


(Francisco Blanco) #1

Hello, can somebody tell me if there is any way to trigger an action with a Wemo Light Switch Long Press. I.E. I would like to turn one half of my hall with a regular “button press”, but I would like to turn my entire hall with a “long press”. (I don’t want to use IFTTT)
Thanks in advance


(Danny C) #2

I think the long press only works with IFTTT right now.


(Francisco Blanco) #3

Thanks, I hope this feature will be available soon.


(Kevin Tierney) #4

It might be doable with a custom device type that modifies the existing ST WeMo device type.

The first step would be to look at the available commands in the eventservice XML file to see if the long press command is there

Open a browser and go to http://WeMo_IP:PORT#/eventservice.xml

Port number is usually either 49152, 49153, or 49154

Can you post what is between < actionlist > and < /actionlist> . Those are the available UPnP commands


#5

This is something I’d really like to see… I have a wemo wall switch hooked up to a standing lamp and two ge link bulbs in bedside lamps. I really want have all of them controlled off the wemo switch rather than having to use the app or turning them off one by one. Seems like it would be easy to make it work.


(Francisco Blanco) #6

Any advance in this topic?


(Francisco Blanco) #7

this is what is between < actionlist > and < /actionlist>

<actionList>
<action>
<name>SetBinaryState</name>
<argumentList>
<argument>
<retval/>
<name>BinaryState</name>
<relatedStateVariable>BinaryState</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetNightLightStatus</name>
<argumentList>
<argument>
<retval/>
<name>DimValue</name>
<relatedStateVariable>DimValue</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetNightLightStatus</name>
<argumentList>
<argument>
<retval/>
<name>DimValue</name>
<relatedStateVariable>DimValue</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetLogLevelOption</name>
<argumentList>
<argument>
<retval/>
<name>Level</name>
<relatedStateVariable>Level</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>Option</name>
<relatedStateVariable>Option</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetFriendlyName</name>
<argumentList>
<argument>
<retval/>
<name>FriendlyName</name>
<relatedStateVariable>FriendlyName</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>ReSetup</name>
<argumentList>
<argument>
<retval/>
<name>Reset</name>
<relatedStateVariable>Reset</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetHomeId</name>
<argumentList>
<argument>
<retval/>
<name>HomeId</name>
<relatedStateVariable>HomeId</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetHomeId</name>
</action>
<action>
<name>GetHomeInfo</name>
<argumentList>
<retval/>
<name>GetHomeInfo</name>
<relatedStateVariable>HomeInfo</relatedStateVariable>
<direction>out</direction>
</argumentList>
</action>
<action>
<name>SetDeviceId</name>
<argumentList>
<argument>
<retval/>
<name>SetDeviceId</name>
<relatedStateVariable>DeviceId</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetDeviceId</name>
</action>
<action>
<name>GetMacAddr</name>
</action>
<action>
<name>GetSerialNo</name>
</action>
<action>
<name>GetPluginUDN</name>
</action>
<action>
<name>GetSmartDevInfo</name>
</action>
<action>
<name>ShareHWInfo</name>
<argumentList>
<argument>
<retval/>
<name>Mac</name>
<relatedStateVariable>Mac</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>Serial</name>
<relatedStateVariable>Serial</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>Udn</name>
<relatedStateVariable>Udn</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>RestoreState</name>
<relatedStateVariable>RestoreState</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>HomeId</name>
<relatedStateVariable>HomeId</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>PluginKey</name>
<relatedStateVariable>PluginKey</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>ChangeFriendlyName</name>
<argumentList>
<argument>
<retval/>
<name>FriendlyName</name>
<relatedStateVariable>FriendlyName</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetSmartDevInfo</name>
<argumentList>
<argument>
<retval/>
<name>SmartDevURL</name>
<relatedStateVariable>SmartDevURL</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetRuleOverrideStatus</name>
<argumentList>
<argument>
<retval/>
<name>RuleOverrideStatus</name>
<relatedStateVariable>RuleOverrideStatus</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetDeviceIcon</name>
<argumentList>
<argument>
<retval/>
<name>DeviceIcon</name>
<relatedStateVariable>DeviceIcon</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetIconURL</name>
<argumentList>
<argument>
<retval/>
<name>URL</name>
<relatedStateVariable>URL</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetLogFileURL</name>
<argumentList>
<argument>
<retval/>
<name>LOGURL</name>
<relatedStateVariable>LOGURL</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>ChangeDeviceIcon</name>
<argumentList>
<argument>
<retval/>
<name>PictureSize</name>
<relatedStateVariable>PictureSize</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>PictureHeight</name>
<relatedStateVariable>PictureWidth</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>PictureColorDeep</name>
<relatedStateVariable>PictureColorDeep</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetBinaryState</name>
<argumentList>
<argument>
<retval/>
<name>BinaryState</name>
<relatedStateVariable>BinaryState</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetMultiState</name>
<argumentList>
<argument>
<retval/>
<name>state</name>
<relatedStateVariable>StateList</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>state</name>
<relatedStateVariable>StateList</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>state</name>
<relatedStateVariable>StateList</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetCrockpotState</name>
<argumentList>
<argument>
<retval/>
<name>mode</name>
<relatedStateVariable>mode</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>time</name>
<relatedStateVariable>timeVariable</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetCrockpotState</name>
<argumentList>
<argument>
<retval/>
<name>mode</name>
<relatedStateVariable>mode</relatedStateVariable>
<direction>out</direction>
</argument>
<argument>
<retval/>
<name>time</name>
<relatedStateVariable>timeVariable</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetWatchdogFile</name>
<argumentList>
<argument>
<retval/>
<name>WDFile</name>
<relatedStateVariable>WDFile</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetSignalStrength</name>
<argumentList>
<argument>
<retval/>
<name>SignalStrength</name>
<relatedStateVariable>SignalStrength</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>SetServerEnvironment</name>
<argumentList>
<argument>
<retval/>
<name>ServerEnvironment</name>
<relatedStateVariable>ServerEnvironment</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>TurnServerEnvironment</name>
<relatedStateVariable>TurnServerEnvironment</relatedStateVariable>
<direction>in</direction>
</argument>
<argument>
<retval/>
<name>ServerEnvironmentType</name>
<relatedStateVariable>ServerEnvironmentType</relatedStateVariable>
<direction>in</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetServerEnvironment</name>
<argumentList>
<argument>
<retval/>
<name>ServerEnvironment</name>
<relatedStateVariable>ServerEnvironment</relatedStateVariable>
<direction>out</direction>
</argument>
<argument>
<retval/>
<name>TurnServerEnvironment</name>
<relatedStateVariable>TurnServerEnvironment</relatedStateVariable>
<direction>out</direction>
</argument>
<argument>
<retval/>
<name>ServerEnvironmentType</name>
<relatedStateVariable>ServerEnvironmentType</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetIconVersion</name>
<argumentList>
<argument>
<retval/>
<name>IconVersion</name>
<relatedStateVariable>IconVersion</relatedStateVariable>
<direction>out</direction>
</argument>
</argumentList>
</action>
<action>
<name>GetSimulatedRuleData</name>
<argumentList>
<retval/>
<name>GetSimulatedRuleData</name>
<relatedStateVariable>RuleData</relatedStateVariable>
<direction>out</direction>
</argumentList>
</action>
<action>
<name>NotifyManualToggle</name>
<argumentList>
<retval/>
<name>NotifyManualToggle</name>
<relatedStateVariable>ManualToggle</relatedStateVariable>
<direction>out</direction>
</argumentList>
</action>
<action>
<name>ControlCloudUpload</name>
<argumentList>
<argument>
<name>EnableUpload</name>
<direction>in</direction>
<relatedStateVariable>EnableUpload</relatedStateVariable>
</argument>
</argumentList>
</action>
</actionList>

(Francisco Blanco) #8

Any advance in this topic?


(Francisco Blanco) #9

Hello, could you please take a look in this topic and maybe give me a clue about what I need to do?
thanks