mak-gitdev / HA_enoceanmqtt

Home Assistant wrapper for enocean-mqtt (https://github.com/embyt/enocean-mqtt)
GNU General Public License v3.0
54 stars 14 forks source link

Log full of Waiting for device base ID #142

Open TeggolT opened 2 months ago

TeggolT commented 2 months ago

The problem

I have recently gotten a USB30 and I'm trying to use it to control my EnOcean lights and blinds. The setup consists of Eltako FSB12-12vdc controllers/recievers which are connected to switches all around the house. Now, I have connected the USB300 to an HAOS Virtualbox VM and followed the install guide for this Plugin along with this post to the step where the virtual switches should be learned in. However, none show up in the "devices" tab. I have also noticed the log getting flooded with "Waiting for device base ID", which itself is only displayed as INFO, but I suspect it has something to do with the issue.

(I have noticed another issue with the same problem which got closed as "Hardware Issue". However, it doesn't contain any solution so I don't know what caused the problem or whether that is even related to my problem)

What type of installation are you running?

Addon

What version of HA_enoceanmqtt has the issue?

0.1.28-2

What was the last working version of HA_enoceanmqtt?

No response

What type of Home Assitant installation are you running?

Home Assistant OS

Anything in the logs that might be useful to solve the issue? (Strongly recommended if applicable)

Full Startup Sequence
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Preparing to start...
Retrieved devices file: /config/enoceanmqtt.devices
Overwrite use_dev_name_in_entity to FALSE
Starting EnOceanMQTT...
/usr/lib/python3.11/html/parser.py:170: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
  k = self.parse_starttag(i)
2024-05-09 14:18:24,399 INFO: Logging to file: /config/enoceanmqtt.log
2024-05-09 14:18:24,399 INFO: Loading config file /data/enoceanmqtt.conf
2024-05-09 14:18:24,414 INFO: Selected overlay : Home Assistant
2024-05-09 14:18:24,609 INFO: Mapping file correctly read: /app/enocean-mqtt/enoceanmqtt/overlays/homeassistant/mapping.yaml
2024-05-09 14:18:24,609 INFO: Device database /data/enoceanmqtt_db.json correctly read/created
2024-05-09 14:18:24,610 INFO: Authenticating: addons
2024-05-09 14:18:24,613 INFO: Succesfully connected to MQTT broker.
2024-05-09 14:18:24,615 INFO: SerialCommunicator started
2024-05-09 14:18:24,615 INFO: Auto Teach-in is disabled
2024-05-09 14:18:24,616 WARNING: Replacing Packet.optional with default value.
2024-05-09 14:18:24,629 INFO: Device enoceanmqtt/oben/timon/zimmer (UID: F60201_FFFFFFFF_FFA6E480 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,634 INFO: Device enoceanmqtt/oben/hannah/zimmer (UID: F60201_FFFFFFFF_FFA6E481 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,638 INFO: Device enoceanmqtt/oben/schlafzimmer/zimmer (UID: F60201_FFFFFFFF_FFA6E482 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,642 INFO: Device enoceanmqtt/oben/bad/zimmer (UID: F60201_FFFFFFFF_FFA6E483 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,646 INFO: Device enoceanmqtt/oben/flur/licht (UID: F60201_FFFFFFFF_FFA6E484 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,650 INFO: Device enoceanmqtt/oben/kammer/licht (UID: F60201_FFFFFFFF_FFA6E485 / EEP: F6-02-01) updated on device database
2024-05-09 14:18:24,717 INFO: Sending packet
2024-05-09 14:18:25,650 INFO: Waiting for device base ID
2024-05-09 14:18:26,651 INFO: Waiting for device base ID
2024-05-09 14:18:27,652 INFO: Waiting for device base ID
2024-05-09 14:18:28,652 INFO: Waiting for device base ID
2024-05-09 14:18:29,653 INFO: Waiting for device base ID´´´

"Waiting for device base ID" repeats every second until the addon is stopped

Additional information

New Information

After trying out some stuff, I found out that when I delete MQTT, Restart and then reinstall MQTT i can press "Send" and have the LED light up. However, after another restart this breaks again.