Closed asetGem closed 2 years ago
Unfortunately not, I have no idea what causes this and I have not seen such behavior before.
From my perspective, it cannot be related to issues with the config file or the MQTT connection. It seems to be related to communication problems with your Enocean USB interface.
The exception is raised by the underlying enocean library. You might want to raise the issue there.
Closing this as it seems to be related to the underlying enocean library. Feel free to reopen if appropriate.
Hi there,
I am trying to use enocean-mqtt. I installed the package on Raspi OS on a RPi 4, and plugged in an USB300 key. On this RPi, I also installed HA supervized, which runs in a docker. There, I installed and configured Mosquitto broker, and started it. I adapted my configuration file for the enoceanmqtt library, and added the .rules file to get a persistant device name (called enocean). Here is my configuration file:
Of course, I put the real username and password for MQTT (and it successfully connects to it so it is not the problem), and I put the correct IDs for the devices.
When I first ran the
enoceanmqtt
command, everything worked well. Here is some output:as sensor with this ID was not in my configuration file, it is ok that it returns "unknown sensor". It did not raise any exception, and then received other telegrams like this.
But a few minutes later, an exception was raised:
Serial port exception! (device disconnected or multiple access on port?)
, and thus the serial communicator just stopped. I tried to run it again, but I immediately have the error.I also tried to put the conf file in another place, but still the same error. It is connected to the mqtt server, and receives the test packet, but then it crashes. Here is the output:
Any idea of what could happen and how I could solve this?
Thanks!