Comments (7)
Log entry that I believe is caused by this:
00:56:18.977 [WARN ] [assistant.internal.DiscoverComponents] - HomeAssistant discover error: Label for a ChannelType must not be empty.
00:56:21.024 [WARN ] [ommon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.IllegalArgumentException: Label for a ChannelGroupType must not be empty.
at org.openhab.core.thing.type.ChannelGroupTypeBuilder.instance(ChannelGroupTypeBuilder.java:45) ~[?:?]
at org.openhab.binding.mqtt.homeassistant.internal.component.AbstractComponent.getType(AbstractComponent.java:253) ~[?:?]
at org.openhab.binding.mqtt.homeassistant.internal.component.AbstractComponent.addChannelTypes(AbstractComponent.java:161) ~[?:?]
at org.openhab.binding.mqtt.homeassistant.internal.handler.HomeAssistantThingHandler.accept(HomeAssistantThingHandler.java:292) ~[?:?]
at org.openhab.binding.mqtt.homeassistant.internal.handler.HomeAssistantThingHandler.accept(HomeAssistantThingHandler.java:1) ~[?:?]
at org.openhab.binding.mqtt.generic.tools.DelayedBatchProcessing.run(DelayedBatchProcessing.java:110) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
from ring-mqtt.
I manually published the topic and added the missing name for alarm
and the channel was immediately discovered and works. So the missing name indeed seems to be the cause of this error.
from ring-mqtt.
You'll need to open an issue with OpenHAB and have them update their HA discovery functions to follow the Home Assistant entity naming rules that went into effect in Aug 2023. Under these new rules entities with no name are allowed and are used to identify the default entity for a given device. From the Home Assistant MQTT Entity Naming documentation:
Unnamed binary_sensor, button, number and sensor entities will now be named by their device class instead of being named “MQTT binary sensor” etc. It’s allowed to set an MQTT entity’s name to None (use null in YAML) to mark it as the main feature of a device.
You can also reference the Home Assistant MQTT developer blog from August:
from ring-mqtt.
OK, I went back and found that you changed this in 5.6.0, installing 5.5.1 has fixed the issue for me. I'll open a bug report with openHAB.
from ring-mqtt.
Looks like they're already on it. openhab/openhab-addons#15427
from ring-mqtt.
For reference: openhab/openhab-addons#15918
from ring-mqtt.
Interesting, I had tried to use null when I initially coded this but I couldn't get it to work, maybe I should change this on my side.
from ring-mqtt.
Related Issues (20)
- Stopped working after adding new Eufy Cams with go2rtc. Will not stream. HOT 2
- Disarm fire alarm event does not change alarm panel to disarmed status HOT 29
- Support: My devices are not showing up HA HOT 3
- ERROR - Uncaught Exception ring-mqtt Cannot read properties of undefined (reading 'toString') HOT 6
- Choppy audio in Homekit HOT 1
- How do I get mosquitto self-signed data into the docker container? HOT 2
- Support: keeps rebooting HOT 3
- Support: Getting debug logging even though debug logging not enabled HOT 4
- Attempting to reconnect to MQTT Broker Loop HOT 1
- Ring Motion Sensors have gone Offline HOT 1
- Bug: V 5.6.3 No config items for ring_topic and hass_topic any more (opposite to documentation). Manual JSON edit for theses entries without effect. HOT 1
- Bug: <Panic alarm failure> HOT 4
- ***IMPORTANT*** Do not upgrade the Home Assistant go2rtc addon to v1.9.0!!! HOT 3
- REPOSITORY LINK NOT WORKING HOT 2
- Bug: Error is logged in Home Assistant "Could not fetch changelog" HOT 5
- HA 2024.6 - Can't change Ring mode - requires code HOT 22
- Websocket ticket requests fail with 500 server error HOT 10
- Ring intercom does not update ding binary sensor HOT 12
- Multiple Live Videos empty the Ring battery HOT 2
- Bug: Restarting the ring-mqtt container disarms the ring alarm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ring-mqtt.