Replies: 6 comments
-
|
Hhmm good point. You can with IP to RS485 that allows multiple connections. But with current implementation not yet indeed with USB to RS485. I maybe can build something in configuration options to allow for this. I will put it on the backlog! |
Beta Was this translation helpful? Give feedback.
-
|
I made a pre-release version for you with a first implementation. I can hardly test as i dont have multiple slaves on one bus. |
Beta Was this translation helpful? Give feedback.
-
|
I can at least confirm that it's not working for me with several slaves on one hub. I tested prerelease. A few remarks:
....I can not promise I can do more debugging but would at least give some feedback. I have spent some time on a very similar project (modbus_devices) and have also written a modbus_debugger for ha. I like the idea of keeping all configuration in json files. But I'm a bit curious if/how this could work for more complex modbus devices; like I have for example written an implementation for a device that has a "number of zones" in one register and I then use this number to create dynamic mapping/support for that number of zones (zone1 values are stored in register 100, 101,102 etc and zone2 in 200,201,202, etc). Could you see that such support could be done with .json files? |
Beta Was this translation helpful? Give feedback.
-
|
Oh, BTW I there is a mockup server for testing several slaves in my ha_modbus_debugger repo. It's only used for testing and mainly focus on slow/faulty slaves, but maybe you can use it if you want to test yourself or just let an AI do a similar implementation. |
Beta Was this translation helpful? Give feedback.
-
|
I recently started using this project and as already mentioned this is no problem when using IP to RS485. I did however find it confusing that adding a hub is actually adding a device on a specific slave id and not just the actual hub device. Changing the implementation to first add a hub (be it ip or usb) and then have multiple devices under it would also solve this confusion and repetition of hub details (eg ip, port, and protocol) when adding new slave devices. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Thanks for the feedback. I have ordered some components on Aliexpress. I need to be able to do some real live testing with this |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
thanks a lot for this tool. Adding the first device was very easy!
Now I'm struggling adding a second device (different Slave ID) on the same Hub. Is that possible?
My setup: I'm using Modbus serial (USB Device) and I have connected several Eastron SDM72 devices (each different slave ID).
My problem: I can add a Hub with information about interface (USB device) and Slave ID. But since I can only add 1 Hub per USB Device I can't add further entities with different Slace ID.
Thanks
Robert
Beta Was this translation helpful? Give feedback.
All reactions