Changes between Version 17 and Version 18 of WikiStart


Ignore:
Timestamp:
2014-03-19 03:25:21 (10 years ago)
Author:
pmnb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v17 v18  
    16164. Once the upload and Luup restart are completed, use the ''Apps / Develop Apps /  Create Device'' page to create a new device for the gateway. 
    1717 a. Enter '''D_TCPLightingGateway1.xml''' in the ''Upnp Device Filename'' field. 
    18  b. To try out the experimental gateway auto-discovery feature, leave the ''IP'' field blank. 
    19  c. You can also enter the IP of your gateway in the ''IP'' field. You may need to check the DHCP client table of your home router to find the IP address of the gateway.  Another way of getting the IP address is to open a command window on a PC that is on the same network as the lighting gateway, enter the command '''ping lighting''' and note the IP address that the lighting host name resolves to. 
     18 b. To try out the experimental gateway auto-discovery feature, leave the ''IP'' field blank.  See the notes on Auto-Discovery below. 
     19 c. If you know it, you can also enter the IP of your gateway in the ''IP'' field.  
    2020 
    21215. Wait for the Luup restart to complete. 
     
    2424 
    25257. When the gateway device is initialized, it will poll the gateway and create child devices for each bulb.  If a bulb's room name matches that of a Vera room, it will be automatically added to the room.  Note that the device UI for the bulbs is often partially rendered when first created.  A browser refresh normally fixes this. 
     26 
     27__Auto-Discovery__ 
     28 
     29The ''Connected By TCP'' LED gateway supports a subset of the [http://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol Simple Service Discovery Protocol (SSDP)] which is part of the [http://en.wikipedia.org/wiki/Universal_Plug_and_Play Universal Plug and Play (UPnP)] architecture.  In theory, this should allow this plugin to automatically determine the IP address of the gateway without user intervention.  However, there are several reasons why this may not work in practice: 
     30 
     311. SSDP uses IP multicasts to search for devices providing UPnP services. Depending on how your Vera and local network are configured, the multicast requests may not reach the gateway.  For example, your router may not be configured to forward multicasts from the wired to the wireless segments of your network.  This is also discussed in the documentation for [http://forum.micasaverde.com/index.php?action=profile;u=5055 futzle]'s [http://code.mios.com/trac/mios_belkin-wemo Wemo Plugin]. 
     32 
     332. VeraLite controllers have a slightly odd network interface configuration which results in situations where the multicast responses may not come back on the expected interface.   This is described [http://forum.micasaverde.com/index.php/topic,13890.msg104717.html#msg104717 here].  A workaround is described [http://forum.micasaverde.com/index.php/topic,16905.msg132502.html#msg132502 here], but this pretty well defeats the benefits of auto-disovery, given the steps involved.  
     34 
     35If auto-discovery doesn't work for you, then you can manually specify an IP address by updating the advanced properties of main TCP Lighting gateway device (click the wrench icon, go to the ''Advanced tab'', and enter the gateway's IP address in the ''IP'' field).  You may need to check the DHCP client table of your home router to find the IP address of the gateway.  Another way of getting the IP address is to open a command window on a PC that is on the same network as the lighting gateway, enter the command '''ping lighting''' and note the IP address that the lighting host name resolves to. 
    2636 
    2737__v0.3 Release Notes:__ 
     
    3646 
    3747__v0.1 Release Notes:__ 
    38 * Many thanks to [http://forum.micasaverde.com/index.php?action=profile;u=93494 ctguess] for his post regarding how to control these bulbs. 
    3948* This is my first attempt at a Vera plugin, so please do not hesitate to provide constructive criticism. 
    4049* This is an unsupported hobbyist project.  I am in no way connected with [http://www.tcpi.com/ TCPi] (the makers of the Connected By TCP gateway and bulbs) or [http://getvera.com/ Vera Control, Ltd].  Please do not ask them for support with this plugin. 
     
    5059* Testing with multiple gateways. 
    5160* Energy metering (maybe). 
     61 
     62__Acknowledgements__ 
     63 
     64Many thanks to: 
     65* [http://forum.micasaverde.com/index.php?action=profile;u=93494 ctguess] for [http://forum.micasaverde.com/index.php/topic,22555.0.html the forum posting that describes how to control these bulbs]. 
     66* [http://forum.micasaverde.com/index.php?action=profile;u=5055 futzle] for the clear and concise description of the [http://code.mios.com/trac/mios_belkin-wemo multicast forwarding issue]. 
     67* [http://forum.micasaverde.com/index.php?action=profile;u=36261 migi] and [http://forum.micasaverde.com/index.php?action=profile;u=5055 futzle] for their comments on the [http://forum.micasaverde.com/index.php/topic,13890.msg104717.html#msg104717 multiple IPs assigned to the VeraLite Ethernet port]. 
     68* [http://forum.micasaverde.com/index.php?action=profile;u=105841 macfly92] for figuring out [http://forum.micasaverde.com/index.php/topic,16905.msg132502.html#msg132502 how modify the firewall rules for a VeraLite] to fix the multicast problem.