Of course i use a valid IP address, instead of XXX.XXX.XXX.255 i use something like 192.168.1.255.
But it doesn’t matter if i use an ip ending on .225 (broadcast) or 192.168.1.10 for example.
[Version]
Operating System
Home Assistant OS 5.8
Supervisor version
2020.12.6
I only see this error in my log:
Logger: homeassistant
Source: custom_components/dmx/light.py:493
First occurred: (1 occurrences)
Last logged:
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 302, in async_add_entities
tasks = [
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 302, in <listcomp>
tasks = [
File "/config/custom_components/dmx/light.py", line 177, in <genexpr>
lights = (DMXLight(light, dmx_gateway, send_levels_on_startup, default_light_type) for light in
File "/config/custom_components/dmx/light.py", line 227, in __init__
self._dmx_gateway.set_channels(self._channels, self.dmx_values,
File "/config/custom_components/dmx/light.py", line 508, in set_channels
self.send()
File "/config/custom_components/dmx/light.py", line 493, in send
packet.extend(self._channels)
TypeError: 'float' object cannot be interpreted as an integer
I still can’t see my fixture come alive, and is greyed out.
Hi Matt,
I’ll try to set it to universe 0, the first 5 channels of my fixture are drgbw so i guess that’s ok.
Yes, i use a ESP8266 based ArtNet to DMX conversion. GitRepo
First of all @jnimmo thank you so much for making this ArtNet to DMX repository on GitHub.
I’ve got a question, being busy to get this up and running with a ENTTEC DMXUSB PRO. Does anybody know if I can replace the host in the configuration.yaml file from a IP- to a USB address?
You mean the range displayed in Home Assistant? Don’t think that’s possible (noting this integration is just a type of light, and lights in Home Assistant use 0-100%)
Looks like there are some improvements I need to make to the code to make it more responsive which might help with this issue, my development is just with a DMX simulator so haven’t got experience on what works well
You could create an automation to blackout all fixtures from the HA UI
I’m a coder/tinkerer, though limited linux experience
have got a limited home control system hand-crafted with Arduino code, running on ESP32. Hand built DMX using an RS485 chip connected to ESP32. Working well, including controlling lights, relays, heating valves, buzzers all with DMX addresses.
complete HA noob, have just done my first hass install on an rpi4 per ‘getting started’, want to migrate over existing DMX setup.
have got @jnimmo DMX add-in installed (had to manually install because cannot access via HACS - because of the hass sandbox that I’m using?), with the example (‘dance floor’) working, and using Artnetominator on another PC to verify: validated!
Ultimately, I am looking for something as off-the-shelf as possible. This is starting to look like a pretty remote possibility so far…
the above udxmartnet app is not bridging artnet-dmx - I’ll keep banging away at it, but frustrated that I have confirmed a PC receiving artnet packets, and same PC with udmx dongle can output DMX.
I’d like to try @peterdey 's uDMX bridge, but the HA install is such a sandbox that I can’t apt-get or gcc
I’d love to get confirmation that using a stock HA on hass means that udmx/ftdi bridging solutions running on the same rpi are no-go (or some guidance on how to achieve)
The next set of questions will come about controlling non-light DMX devices, including all my heating valves (and master relay). Right now, just trying to walk before running.
@jnimmo Thanks for this integration.
I have a feature request, state retention. So that the lights show in the same positions after a server restart etc. maybe with mqtt?
EDIT:
In the mean time i’ve written an appdaemon app that sends brightness to mqtt and restores state after a restart/reload etc… dmx_mqtt_restore
I’m using with an Ethernet to DMX adapter to replace a custom ancient automation component that suffered an unfortunate accident due to a PG&E over voltage situation. The combination of that adapter and this integration works great.
One concern that I have is with this integration is the following log entries that have started showing up:
No 'version' key in the manifest file for custom integration 'dmx'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'dmx'
The current version of core is 2021-5.1, which should I guess should be safe. But it would be great to get an update that addresses this problem before 2021.6 is released.
Is it possible to trigger scenes with artnet as input? That would be great! We use HASS in a large office with a wide range of DMX and IP fixtures. Sometimes when there will be an event in the building we connect a professional lighting console to do shows with. It would be great if we then can trigger scenes in hass so all the ip lights can run in time with the showlighting or to dim the house lights when show starts for instance.
I’ve started using your integration a few days ago, but your suggestion here leads me to believe I should switch to spaceman_diff’s implementation?
BTW: I added a PR to your repository. If you still want to get your code in the core, I’d be willing to help. Not that I’m familiar with HA development but I want to learn if necessary. Restoring state is an important item to fix before I can make the switch from LoxOne to Home Assistant.
Edit: Had a look at the arnet implementation by @spaceman_spiff but it doesn’t seem to load in Home Assistant 2021.6.5 It starts with a missing version key (easy to change) but than, there are all sorts of python errors. I guess dmx by @jnimmo is the way to go then?