Support broadlink s3 hub in AppDaemon
Installation
Use HACS or download the broadlink
directory from inside the apps
directory here to your
local apps
directory, then add the configuration to enable the broadlink_s3_hub
module.
App configuration
config/appdaemon/apps/apps.yaml
one_gang_switch:
module: broadlink_s3_hub
class: BroadlinkS3Hub
hub_ip: "192.168.1.209"
did: "00000000000000000000a043b0d059ac"
scan_interval: 0.5
friendly_names:
- Gang 1 name
entity_ids:
- light.gang_1
two_gang_switch:
module: broadlink_s3_hub
class: BroadlinkS3Hub
hub_ip: "192.168.1.209"
did: "00000000000000000000a043b0d059ac"
scan_interval: 0.5
friendly_names:
- Gang 1 name
- Gang 2 name
entity_ids:
- light.gang_1
- light.gang_2
three_gang_switch:
module: broadlink_s3_hub
class: BroadlinkS3Hub
hub_ip: "192.168.1.209"
did: "00000000000000000000a043b0d059ac"
scan_interval: 0.5
friendly_names:
- Gang 1 name
- Gang 2 name
- Gang 3 name
entity_ids:
- light.gang_1
- light.gang_2
- light.gang_3
Note: You can add multiple switches by duplicate the same config with different name
key | optional | type | description |
---|---|---|---|
module |
False | string | The module name of the app. |
class |
False | string | The name of the Class. |
hub_ip |
False | string | The broadlink hub ip address |
did |
False | string | The device id that you want to control, check this page to know how to get it |
scan_interval |
False | int | Platforms that require polling will be polled in an interval specified by the main component. For example a light will check every 30 seconds for a changed state. It is possible to overwrite this scan interval for any platform that is being polled by specifying a scan_interval configuration key. In the example below we set up the your_lights platform but tell Home Assistant to poll the devices every 10 seconds instead of the default 30 seconds. |
friendly_names |
False | list of string | The entity names that will be displayed in the frontend |
entity_ids |
False | list of string | The entity ids that you will use to controll the entity in automations, the items in this array should same as the count of gangs in your switch if it's a switch |
Compatibility
This app should work with any sub device that you can add to s3 hub. That said, it has been tested and is working with the following devices: