News:

VC = Vox = VoxCommando
EG = EventGhost
WMC = Windows Media Center
WSR = Windows Speech Recognition

Main Menu

Belkin Wemo and Phillips Hue Support

Started by jb5349, November 18, 2013, 02:00:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jb5349

Any chance since the APIs and SDKs are available that there could be plugins or support for Belkin Wemo devices (switches, motion sensors, energy usage monitor, etc.) to be used with VC. I know there is an HTTP interface for these and I have seen some python scripts on the Internet, but it would be great to have a nice plugin that 1. detected the devices and added them to a payloadxml and 2. sent commands to the devices

Also, same idea with Phillips Hue Wifi to Zigbee interface to control LED light bulbs.

And by chance, the new LifeX wifi bulbs (which are controlled directly through a nifty mesh network using only 1 IP address) www.lifex.co


I have managed to get VC to work using my Radio Thermostat brand (3M Filtrete model Wifi Thermostat) from Home Depot to read me temperatures and modes, etc. I still need to figure out how to send the JSON formatted commands back to it. Maybe I just need an example of how to send a POST request with text data in it to the interface.

And pretty much being able to control other Internet (wifi) connected devices as they are introduced to the marketplace.

jitterjames

Sure if there are sdks and apis you can create the plugin yourself.

If you want me to do it, and there is a decent api available, just send me the hardware and I'll see what I can do.  Send me a PM if this is something you are interested in.

jb5349

How do you make a plugin for VC? I guess I didn't realize we could do that.


jb5349

Thanks! I will take a look. I do program in VB.net and C# isn't that much different, so maybe I will figure out how to make some plug-ins for some things soon.

xtermin8r

QuoteI still need to figure out how to send the JSON formatted commands back to it. Maybe I just need an example of how to send a POST request with text data in it to the interface.

take a look at this thread it may be of some help.

http://voxcommando.com/forum/index.php?topic=10.0
Neural Net Based Artificial Intelligence.

jb5349

I realized I could use the python curl command or pycurl to interact with these devices. Anyone have an example of how this would look in Vc command builder? Python is new to me but I found some existing scripts for several devices I want to try to modify to work with VC so that anyone with these devices can use them right away.

I actually don't own many of these yet but might purchase some to test it with if I can get the code figured out. They aren't cheap though.

jwosi

I came across VoxCommando the other night and I’m on the fence about buying it. Then I came across this post. I have both these products and they are great. It would be even better to control them from one application. Is there any chance that a plugin will be created for these products? Also, if someone got a custom plugin working, any chance you could help someone with no programing experience?   ;)

Thanks

jitterjames

#8
Take your time deciding.  You can use the trial mode for as long as you want.

In order for me to make a plugin for these I would need access to the hardware.  They both seem overpriced to me and as yet I don't see enough of a demand to justify spending the money or the time.

That said, both of these can probably be controlled with VoxCommando using existing actions and plugins. Between Scrape, RoboBrowser, the UDP actions, TCP plugin, and EventGhost pretty much anything can be done.

If you are asking whether I can help a non-programmer to program a plugin for VC then the answer is no.  I simply don't have that much time.  However if you come up with some python code for the python plugin and need some help with it we will do our best to help out.

If someone has experience with C# and visual studio then I will try to help with plugin development.  It is not too hard if you have programming experience.

If someone wants to send me hardware to play with I will see about making a plugin for just about anything.  If someone wants to send me a Wemo or Hue to play with I'll be happy to give it a go.

SuperKronz

I have a wemo wall outlet (plugs into existing outlet)I can donate to the cause.  I picked up a few before I got into the zwave stuff.  Personally, I find they do some funny IP stuff - IP changes frequently for no reason I can determine and I don't see a way to set a static one.

If James wants to send me a private with the shipping address I will send it off (and hardly ever show up at his place looking for custom code).

Kalle

Hi SuperKonz, habe mir mal die Beschreibung von WeMo angeschaut und habe nur ein api für iOS und Android gefunden http://developers.belkin.com/wemo/sdk.
Um das wechseln der IP zu verhindern, musst Du für die WeMo Geräte im Router (über die MAC-Adresse) die IP für jedes Gerät reservieren.

In Canada werden 110 Volt benötigt und daher denke ich, die Schalter werden bei James nicht funktionieren.

Gruß
Kalle
***********  get excited and make things  **********

nime5ter

#11
Hi Kalle,

Ich glaube, SuperKronz wohnt auch in Kanada. Ha. Es ist aber schwer mit alle diese Benutzernamen!
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Kalle

***********  get excited and make things  **********

jitterjames

#13
Quote from: SuperKronz on March 01, 2014, 01:33:17 AM
If James wants to send me a private with the shipping address I will send it off (and hardly ever show up at his place looking for custom code).
You forgot your winky face...

That's great.  Looks like we've got two "Special K's" on the forum now...  :biglaugh

I sent you an email.

You can show up any time as long as you bring beer.  ;D

SuperKronz

Hi Kalle,

Thanks for the response, I think I even understood a little bit  ;D.

The wemo seems crazy the way it handles allocating their IPs - They don't show up on my routers list of assigned devices so I wasn't able to reserve an IP via MAC address.  Almost like they sniff the network to find the IP range, and then just pick one themselves (without actually asking the router for one or registering!).

I dunno, probably my crazy network - I'm just mailing one to James and let him sort it out :).  Zwave stuff blows Belkin out of the water anyway so I don't imagine I will use them anyway.