Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tellstick] Adopt new API url #16220

Merged
merged 5 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class TelldusLiveDeviceController implements DeviceChangeListener, Sensor
public static final long DEFAULT_INTERVAL_BETWEEN_SEND = 250;
private static final int REQUEST_TIMEOUT_MS = 15000;
private AsyncHttpClient client;
static final String HTTP_API_TELLDUS_COM_XML = "http://api.telldus.com/xml/";
static final String HTTP_API_TELLDUS_COM_XML = "http://pa-api.telldus.com/xml/"; // http://api.telldus.com/xml/"
andrewfg marked this conversation as resolved.
Show resolved Hide resolved
static final String HTTP_TELLDUS_CLIENTS = HTTP_API_TELLDUS_COM_XML + "clients/list";
static final String HTTP_TELLDUS_DEVICES = HTTP_API_TELLDUS_COM_XML + "devices/list?supportedMethods=19";
static final String HTTP_TELLDUS_SENSORS = HTTP_API_TELLDUS_COM_XML
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,16 @@
<description>This is the binding for Telldus Tellstick Basic, Duo, .Net and Z-Net Lite.</description>
<connection>hybrid</connection>

<discovery-methods>
<discovery-method>
<service-type>usb</service-type>
<match-properties>
<match-property>
<name>chipId</name>
<regex>1781:0C31</regex>
</match-property>
</match-properties>
</discovery-method>
</discovery-methods>

</addon:addon>