A KNX plugin for automate-home
Project description
automate-knx-plugin
The KNX plugin for the automate-home project.
Yaml examples of usage
Trigger and command for a simple presence light model.
- !Performer
name: "trigger forced on/off"
for appliance: "an indoor presence light"
commands: [ ]
triggers:
- !knx_plugin.trigger.dpt_switch.On
addresses: [ 0x0DE1, 0x0F41 ]
events:
- !home.appliance.light.event.forced.Event.On
- !knx_plugin.trigger.dpt_switch.Off
addresses: [ 0x0DE1, 0x0F41 ]
events:
- !home.appliance.light.event.forced.Event.Off
- !Performer
name: "command on/off"
for appliance: "an indoor presence light"
commands:
- !knx_plugin.command.dpt_switch.OnOff { addresses: [ 0x0DE1, 0x0F41 ] }
triggers: [ ]
Trigger and command for a more complex indoor dimmerable light model.
- !Performer
name: "trigger forced on/circadian rhythm/lux balancing/off"
for appliance: "an indoor dimmerable light"
commands: []
triggers:
- !knx_plugin.trigger.dpt_switch.On # forced on from on/off button 1 & 2
addresses: [ 0x0F41, 0xF45, ]
events:
- !home.appliance.light.indoor.dimmerable.event.forced.Event.CircadianRhythm
- !knx_plugin.trigger.dpt_switch.On # forced on from on/off button 3
addresses: [ 0x0DD1, ]
events:
- !home.appliance.light.indoor.dimmerable.event.forced.Event.LuxBalance
- !knx_plugin.trigger.dpt_scene_control.Activate # forced on from a scene button
addresses: [ 0x0B07 ]
number: 7
events:
- !home.appliance.light.indoor.dimmerable.event.forced.Event.On
- !knx_plugin.trigger.dpt_switch.Off # forced off from button 1 or 2
addresses: [ 0x0F41, 0x0F45, 0x0DD1, ]
events:
- !home.appliance.light.indoor.dimmerable.event.forced.Event.Off
- !Performer
name: "command on/off and brightness"
for appliance: "an indoor dimmerable light"
commands:
- !knx_plugin.command.dpt_switch.OnOff { addresses: [ 0x0DD1, ] }
- !knx_plugin.command.dpt_brightness.Brightness { addresses: [ 0x0DD2, ] }
triggers: [ ]
Documentation
Contributing
Pull requests are welcome!
License
The automate-knx-plugin is licensed under MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
automate-knx-plugin-0.9.0.tar.gz
(25.1 kB
view hashes)
Close
Hashes for automate-knx-plugin-0.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9beb35c4a55b47f7a2f5baf2f2579b2a61e6de00953e33c888532fb5b648492 |
|
MD5 | 938c05d9cb0f6d5b5dd010b5d2f078eb |
|
BLAKE2b-256 | 663c1a1b3bbb92e30d39010b9eb6a9080c347a6c4ae2d4bff1be81360cc7ea21 |