-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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
Create Modbus Devices for each listed connection point in Modbus configuration #128554
Comments
I'm missing that too. Implementation shouldn't be to hard though, here's some example code:
|
This is a huge problem! |
A connection point is not a device. You could have multiple devices into the same connection point when you use a serial link instead of TCP. So the connection point is not the matter, but instead it could be grouping into a device the entities belonging to same slave. |
Either way, if that wouldn't be possible, it would be ideal to follow the method of being able to join entities to a self defined device, like it's done in MQTT integration. |
Afaik devices only work for config flow based integrations |
In MQTT you have the device: entry for "collecting" entities into a device. a similar config in mqtt would look like this:
|
Yes, but you still have a config entry set up for the connection config |
It really is necessary. I have over 200 entities and it is very inconvenient without grouping them into devices. |
Same here. We need this or another useful solution. |
Is there any update, when this could eventually be picked up? |
pushing this as I'm struggling with the same problem.. |
I'd greatly appreceate this, too. |
I currently have 459 entities and it is very inconvenient without grouping them into devices. I have approximately 30 devices. I have created separate configuration files for each device to make it at least a little clearer. |
The solution for today is to use device tools from hacs to grouping entities into devices. |
This is true, but this is the only working method until there is native support for grouping modbus entities into devices. |
The problem
I've recently switched my Keba integration from the internal integration (based on unreliable UDP protocol) to Modbus TCP. So far this is far more stable and controllable, as TCP is stateful protocol. One thing that bothers me (and others: https://community.home-assistant.io/t/modbus-sensors-unique-id-and-device-support/373428) is, that we create a "device" in yaml, under which we place binary_sensors, sensors, switches, ...
If you then look in Settings - Devices, it only lists the sensors as entities, but does not list the "main" device. It would be cumbersome to have some correction of this.
My config looks like this:
I would expect to see
I cannot fix this myself, but hope that you'll help the community and me.
Many thanks.
What version of Home Assistant Core has the issue?
core-2024.10.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Modbus
Link to integration documentation on our website
https://www.home-assistant.io/integrations/modbus
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: