-
Notifications
You must be signed in to change notification settings - Fork 10
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
Object discovery #322
Comments
Can you please be more detailed? MQTT is a completely unstructured protocol by definition, so each device can use whwever it lokes, so how we should be able to "identify devices" that exist in the MQTT data? |
zigbee2mqtt and zwave js ui both offer discovery type topics to make it
easier to load in the devices that are attached to them.
…On Tue, Mar 26, 2024 at 11:08 AM Ingo Fischer ***@***.***> wrote:
Can you please be more detailed? MQTT is a completely unstructured
protocol by definition, so each device can use whwever it lokes, so how we
should be able to "identify devices" that exist in the MQTT data?
—
Reply to this email directly, view it on GitHub
<#322 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPDLAUXEC6KRFUM7WNIWSLY2F6NHAVCNFSM6AAAAABFJCFWE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGY4TCNBUGY>
.
You are receiving this because you authored the thread.Message ID:
<iobroker-community-adapters/ioBroker.mqtt-client/issues/322/2020691446@
github.com>
--
-You can't stop the signal, Mal. Everything goes somewhere, and I go
everywhere.-
|
Follow up... My biggest issue at the moment is that when I am subscribing to a sensor zigbee2MQTT), it creates a state object with a string value of |
This is definitly not a question to discuss at the MQTT CLIENT. The mqtt topics and messages are sent by zigbee2MQTT. If seperated mqtt topics are desired, the originator of the mqtt messages must create / send them. This adapter will not and cannot interpret the contens of mqtt messages. Evaluate to use the zigbee adapter which should create seperated states. |
I am not sure why the client can't have configuration that would allow it to interpret the contents of mqtt messages as the whole point of the adapter is to help translate mqtt messages for iobroker. If I wanted to integrate zigbee directly into iobroker, I would have done that instead of setting up my own MQTT broker and zigbee client. The whole point is to be able to keep things flexible and not have to have things tied to a specific backend like iobroker/HA/whatever. I suppose if this is something that you wouldn't ever consider as part of this project, a new adapter would need to be created. I am surprised that this hasn't ever come up before. |
... because noone else so far requested that ... It's so simple. And yes in some regard the adapter is the pure mqtt communication protocol adapter and because of this and the protocol definition there is no defined structure. In fact if you just need parts then just subscribe to parts of the messages. it shouöd be that easy. Adding a "device layer" here (and yes Home Assistant created a discovery definition how to detect devices that are on MQTT and some libs implemented that so far, but thats an "inofficial thing" tho add convenience for some places) is an effort that wants to be well planned because it can have several layers. So in fact the feature request itself is valid in general ... But formally an extension of MQTT, so would need to be discussed what and how to do it, |
Is your feature request related to a problem? Please describe.
I shouldn't have to enumerate every new device that sends messages to my MQTT broker.
Describe the solution you'd like
Some sort of admin page that can enumerate a list of devices that a user can select to determine what they want created into objects.
The text was updated successfully, but these errors were encountered: