17 Commits

Author SHA1 Message Date
Christian Fetzer
1ba17ec62d somfytahoma: Fix actions for roller shutters
The assumption that all IO roller shutters support the
setClosureAndLinearSpeed action was incorrect, only the RS100 IO does.

In order to maximize compatibility, use setClosure instead.

For the moment this means RS100 IO motors don't move in silent mode
anymore until we find a solution to differentiate them from others.
2022-07-06 17:14:42 +02:00
Christian Fetzer
2314335d69 somfytahoma: Add support for smoke detectors 2022-05-29 14:10:00 +02:00
Christian Fetzer
3f526cbf21 somfytahoma: Use single param for identifying the gateway
The single unique identifier of Somfy Gateways is the Gateway PIN that
the device announces via zeroconf (txt + hostname). There's no point in
setting two params to the same value.

Note that due to a previous mistake this fixes also getting the IP
via zeroconf, because the old code was comparing against an incorrect
identifier.
2022-05-29 14:05:41 +02:00
Christian Fetzer
8955a84f26 somfytahoma: Fix removing the token
Fix removing the token from the cloud account when the gateway thing
gets removed.
2022-05-29 13:52:47 +02:00
Christian Fetzer
86442ac742 somfytahoma: Rename Tahoma to TaHoma in log messages 2022-05-29 13:51:15 +02:00
Christian Fetzer
427d9b6b42 somfytahoma: Improve error logging for failed HTTP calls
The Somfy API does contain some valuable information in the reply
data and the headers.
2022-05-28 22:19:18 +02:00
Christian Fetzer
4cf1449524 somfytahoma: Use local connection "Somfy Developer Mode"
Change the plugin from cloud based to local access.
2022-05-23 18:55:00 +02:00
Michael Zanetti
df79173f9d SomfyTahoma: Fix min/max values as per interface 2022-02-02 19:21:07 +01:00
Michael Zanetti
99f62af412 Add garage category to meta.json 2022-01-27 22:57:47 +01:00
Jenkins nymea
2c0ea7f26a Merge PR #413: somfytahoma: Add support for awnings and lights 2021-04-28 13:54:46 +02:00
Christian Fetzer
828598e2da somfytahoma: Ignore irrelevant device types
Ignore ProtocolGateways (Homekit), ignore Hue lights, ignore internal
alarm device.
2021-04-04 23:44:50 +02:00
Christian Fetzer
52435b27fc somfytahoma: Add support for dimmable lights 2021-04-04 23:44:46 +02:00
Christian Fetzer
54299c043e somfytahoma: Add support for awnings 2021-04-04 23:43:56 +02:00
Christian Fetzer
c7a94f4a02 somfytahoma: Fix credential encoding
This fixes the login with passwords that contain HTML special chars.
2021-04-04 16:28:24 +02:00
Christian Fetzer
ff1355e1a5 somfytahoma: Avoid duplication in SomfyTahoma*Request 2021-04-04 16:26:09 +02:00
Christian Fetzer
0d6cc95313 somfytahoma: Add support for garage doors 2020-09-27 14:43:27 +02:00
Christian Fetzer
a59b14dc95 New plugin: somfytahoma
Add support for controlling Somfy smart home devices through their
Tahoma box (and the Somfy API).

The plugin currently contains support for roller shutters as well as
for venetian blinds.
2020-09-27 13:35:09 +02:00