Skip to main content

automate-knx-plugin

Build Status codecov Documentation Status

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.

Metadata

Release files for automate-knx-plugin 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for automate-knx-plugin 0.9.1
File Size Uploaded
automate-knx-plugin-0.9.1.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for automate-knx-plugin 0.9.1
File Interpreter ABI Platform
automate_knx_plugin-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 76.8 kB

Release files / automate-knx-plugin-0.9.1.tar.gz

Download URL automate-knx-plugin-0.9.1.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2fe83e1931136f380cf112e4a18ad776dca581188604c2d29667fb2e460843d8
BLAKE2b-256 checksum
How to use checksums
a23c2b1db8c8d2acc1f649cb60d1d5a531694be2dcc3b49436fc3de87f980fb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / automate_knx_plugin-0.9.1-py3-none-any.whl

Download URL automate_knx_plugin-0.9.1-py3-none-any.whl
Size 51.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b1de2cfef57082852b81458746cab6a55ac1ba234816c3e961cd2d0ca3e7cca
BLAKE2b-256 checksum
How to use checksums
b0e172a48f6786ebf2e9fc63fb7676e463096422dccac7fd6aabac4f5b37677e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page