The UPnP gateway now gets to a point that might even justify a pre-release, finally! It can be started from a batch file and configured to run one or more drivers. Capable of publishing dozens of UPnP devices simultaneously (be it as sub-devices)
A driver template is included so new drivers can quickly be setup. A fully functional xplrfx driver is included as well as 3 demo drivers. All c code is now compiled for distribution, no more development/debug libraries required.
Get the download and extract the zip file in a new folder. From there simply run the batch file LuaUPnP.bat to start the gateway. You’ll get instructions on command line parameters and usage.
To start the samples try; LuaUPnP –debug=debug demo1 demo2 demo3
This will start the gateway with verbose logging and the three demo drivers loaded (located in “lua/upnp/drivers“). The demodrivers are identical, but give a good idea of what you get when loading multiple drivers.
[ad name=”468×60 Banner”]
Once started checkout through devicespy the gateway device with;
- its own service with a set of methods for controlling (restarting/stopping) the gateway
- each driver as a separate sub device (demo 1/2/3)
- within each driver more sub devices, being the actual devices published by that
To create your own driver, check out the directory “lua/upnp/drivers“ which contains the fully functional xplrfx driver, the 3 demo drivers and a template for creating your own.
Through the xplrfx driver (and an RFXLAN device with xplrfx firmware) the gateway is now functional for the following homeautomation hardware;
- ELRO AB400
- ELRO AB600
- Harrison curtain
- HomeEasy (including HE105)
- HomeEasy EU
- Ikea Koppla
- X10 lighting
And the fun part is that those devices that support preset-based dimming (homeeasy for example has levels 0 – 15) now also support ramping (load from 0% to 100% over 30 minutes for example) simply because that functionality has been integrated as standard feature in the gateway, indepedent of the underlying hardware.
Here’s the download (downloaded 925 times)