Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spacemanspiff2007/home-assistant-artnet
Artnet integration for home-assistant
https://github.com/spacemanspiff2007/home-assistant-artnet
Last synced: 2 months ago
JSON representation
Artnet integration for home-assistant
- Host: GitHub
- URL: https://github.com/spacemanspiff2007/home-assistant-artnet
- Owner: spacemanspiff2007
- Created: 2018-10-12T16:18:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T06:45:35.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T10:36:28.636Z (2 months ago)
- Language: Python
- Size: 33.2 KB
- Stars: 14
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# home-assistant-artnet
Artnet integration for home-assistant### Usage
Download [artnet.py](https://github.com/spacemanspiff2007/home-assistant-artnet/blob/master/artnet.py) and put it in the *'custom_components/light'* directory.
If there is no *'custom_components'* folder next to your *configuration.yaml* just create it with a subfolder *'light'*.### Configuration
Add the following config to your ``` light: ``` configuration```yaml
- platform: artnet
host: IP # IP of Art-Net Node
max_fps: 25 # Max 25 packages to ArtNet Node per second
refresh_every: 120 # Resend values if no fades are running every x seconds, 0 disables automatic refresh
universes: # Support for multiple universes
0: # Nr of Universe (see configuration of your Art-Net Node)
# output_correction: quadratic # optional: output correction for the whole universe, will be used as default if nothing is set for the channel
devices:
# Dimmer
- channel: 128 # first channel of dmx dimmer
name: my_dimmer # name
type: dimmer # type
transition: 1 # default duration of fades in sec
output_correction: quadratic # optional: quadratic, cubic or quadruple. Applys different dimming curves to the output. Default is None which means linear dimming
# RGB
- channel: 129
name: my_rgb_lamp
type: rgb
transition: 1
# RGBW
- channel: 132
name: my_rgbw_lamp
type: rgbw
transition: 1
```### Output correction
The graph shows different output depending on the output correction.From left to right:
linear (default when nothing is set), quadratic, cubic then quadrupleQuadratic or cubic results in much smoother and more pleasant fades when using LED Strips.