Skip to content

magudelo58/wemobinding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

wemobinding

An openhab binding for the Wemo Switch

To use this binding.

  1. add the binding to openhab

  2. add the following to the openhab.cfg file

wemo:office.udn=Socket-1_0-XXXXXXXXXXXXXX

XXXXXXXXXXXXXX should be replaced with your wemo switch ID. If you don't know it, it should appear in the openhab log or in the console window when the binding discovers the switch.

From here it works the same as the Sonos binding.

  1. In your demo.items file add the following

/* Demo items */ Switch ChristmasTree "Christmas Tree" {wemo=">[ON:office:SetState], >[OFF:office:SetState]", autoupdate="true"}

  1. In your demo.sitemap file add the following

     	Frame label="Binary Widgets" {
     		Switch item=ChristmasTree mappings=[ON="ON", OFF="OFF"]
     		Switch item=DemoSwitch label="Toggle Switch"
     		Switch item=DemoSwitch label="Button Switch" mappings=[ON="On"]
     	}
    

You can put the switch where you like. I happened to use the demo site and the demo config. I added my switch to the widgets section of the main menu. http://localhost:8080/openhab.app?sitemap=demo

I recommend reading this file in RAW. Or download it to your text editor.

About

An openhab binding for the Wemo Switch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published