supported_hardware:tplink
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
supported_hardware:tplink [2019/11/17 13:47] – added requirements and note about not supporting the rate parameter and link to the slow fade example James Sentman | supported_hardware:tplink [2023/02/13 14:52] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====TP-Link / Kasa===== | =====TP-Link / Kasa===== | ||
- | Currently at version | + | Currently at version |
The TP-Link/ | The TP-Link/ | ||
Line 18: | Line 18: | ||
{{: | {{: | ||
- | **Automatically Create Units In XTension:** defaults to On. If checked then any devices | + | **Device Discovery: |
+ | < | ||
+ | tell xInterface “this interface name” to discover() | ||
+ | </ | ||
+ | |||
+ | That will return immediately as the discovery is an async process. If the “Create New Units” checkbox above is selected then any new units discovered will be created in XTension. | ||
**Default Polling Interval:** TP-Link/ | **Default Polling Interval:** TP-Link/ | ||
Line 24: | Line 29: | ||
Each Unit has a configuration option to override the default polling interval for that specific device. | Each Unit has a configuration option to override the default polling interval for that specific device. | ||
- | |||
- | **Discovery Interval:** The number of seconds between automatic discovery intervals. Set to 0 to disable automatic discovery. This will do a discovery looking for new devices at this interval. If this is running then if you add new devices they will create a new Unit in XTension as soon as they are found. This also creates only a small amount of network traffic and should not cause a problem unless you have very many devices. You can use the “Discover Devices Now” button to run a discovery manually at any time. There is also a scripting command to run a discovery. In AppleScript you would do something like: | ||
- | |||
- | < | ||
- | tell xInterface “this interface name” to discover() | ||
- | </ | ||
- | |||
- | That will return immediately as the discovery is an async process. If the “Create New Units” checkbox above is selected then any new units discovered will be created in XTension. | ||
====XTension Unit Types:==== | ====XTension Unit Types:==== | ||
Line 86: | Line 83: | ||
===History=== | ===History=== | ||
* The TP-Link/ | * The TP-Link/ | ||
+ | * The automatic discovery interval was removed in version 1.1 of the plugin which was included in XTension build 9.4.28. The discovery would cause units to be lost if it intersected with an actual control or poll of a device. If you need to discover a new device click the Discover New Devices Now button at any time or use the scripting command documented above. |
supported_hardware/tplink.txt · Last modified: 2023/03/04 16:33 by James Sentman