-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation? #62
Comments
What about on the MQTT broker ? Do you see the messages being published there ? |
Thanks for the quick response. Terminal:
So far it does work?? |
OK and you have MQTT integration in HA configured properly ? BTW:
and
return what ? |
As far as I can judge, yes. I use Mosquitto broker in Home Assistant to use https://github.com/Chibald/maestrogateway. This one works, but. homeassistant@debianha:/$ mosquitto_sub -v -t "#" -u mqttuser -P ****** $ homeassistant@debianha:/$ mosquitto_sub -h 192.168.0.8 -u mqttuser -P ******* -t dali2mqtt/# -v $ homeassistant@debianha:/$ mosquitto_sub -h 192.168.0.8 -u mqttuser -P ******* -t homeassistant/light/# -v How can I resolve this? |
pretty sure you should not have "not authorised"... but homeassistant looks like it's not connected to MQTT Broker :/ ? |
homeassistant@debianha:~$ sudo systemctl enable homeassistant.service I don't understand what's wrong. |
please follow https://www.home-assistant.io/integrations/mqtt/ |
my settings: Opties
Certificate File Private Key File active: false 1883 |
that's probably your HA Add-on configuration... besides that you need to actually configure HA to use it (follow the documentation) This is getting out of topic :) you better resort to community.home-assistant.io |
I found and solved the problem of this. |
I started from scratch with a clean Linux operating system. Attached you will find the full course of dali2mqtt installation. I still have the problem that when I turn off or dim a lamp I receive no message in my mqtt client. Do you have any sugessties? |
can you execute dali2mqtt with debug messages ?
|
root@debianha:/home/homeassistant/dali2mqtt# LOGLEVEL="DEBUG" venv/bin/python3 -m dali2mqtt.dali2mqtt root@debianha:/home/homeassistant/dali2mqtt# |
Well something did not go as expected because I'm missing the DEBUG messages... Can you activate the vent and run:
|
Do I stop dali2mqtt.service first or leave it started? |
Please stop |
(venv) root@debianha:/home/homeassistant/dali2mqtt# sudo systemctl stop dali2mqtt.service |
Every time I run LOGLEVEL="DEBUG" python3 -m dali2mqtt.dali2mqtt I receive a series (+/- 20) of messages on mqtt from Node Red and Homeassistatant integration. |
^CTraceback (most recent call last): |
something is definitely not right... We still don't get DEBUG messages... open the file "dali2mqtt.py" and change "INFO" to "DEBUG" |
Done that. (venv) root@debianha:/home/homeassistant/dali2mqtt/dali2mqtt# sudo systemctl stop dali2mqtt.service |
Okay, I have discovered something. |
dali2mqtt is crashing... so nothing can happen Again... no debug messages... |
BTW... you could replicate DALI groups in HA (Deleting the DALI Group would probably fix the issue at hand) |
I have made many attempts to install the dali2mqtt.
I want to install it on a Raspberry Pi 4B with Linux Debian 12 (Bookworm) as the operating system.
I am working directly on my Raspberry Pi. (screen, keyboard) under the username "homeassistant". The Hasseb USB DALI Master in a USB port.
I do the installation in the folder home/homeassistant/.
When I run the instruction "venv/bin/python3 -m dali2mqtt.dali2mqtt", I get as a result the configuration of my DALI devices. I complete the rest of the installation.
The problem is that when I control or turn on or off my lights, I do not receive any messages in homeassistant.
Can you possibly list step by step how I should do the installation? Or can you explain the problem?
The text was updated successfully, but these errors were encountered: