Skip to content
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

Configuration guidance for Sharewave Ethernet-to-RS485 converter #7

Closed
MKBU2 opened this issue Dec 6, 2022 · 9 comments
Closed

Configuration guidance for Sharewave Ethernet-to-RS485 converter #7

MKBU2 opened this issue Dec 6, 2022 · 9 comments
Labels
question Further information is requested

Comments

@MKBU2
Copy link

MKBU2 commented Dec 6, 2022

Hi,

My setup:

image

image

I get "Invalid Response from Device" when trying to add the integration. Any ideas where the problem would be?

The modbus integration used to work in Openhab and previous USB-converter but I changed to ethernet-based for this specific integration in HA.

@veista
Copy link
Owner

veista commented Dec 6, 2022

Hi,

It propably is that your bridge is not ModBus TCP, but instead ModBus RTU over TCP. I havnt enabled official support for that yet, but you can try it by editing the device.py and replacing "tcp" with "rtuovertcp".

Nilan EC9 is not supperted yet, but I think you will help me with that.

@veista
Copy link
Owner

veista commented Dec 6, 2022

If that does not help, then you will have to try modifying the settings on your bridge. Please share the settings if you get it to work, it may help in future issues.

@MKBU2
Copy link
Author

MKBU2 commented Dec 6, 2022

If that does not help, then you will have to try modifying the settings on your bridge. Please share the settings if you get it to work, it may help in future issues.

This was on my mind because Sharewave seems to be quite popular and your integration very easy to install.

The manual doesn't clearly state that the converter could act in Modbus TCP state (if it isn't the NONE mode)

image

Kiitos jo näistä vinkeistä.

@veista
Copy link
Owner

veista commented Dec 6, 2022

Also I could add support for usb adapters, but I cannot debug this my self, so you would have to help me with that also and it might be difficult to do.

@veista
Copy link
Owner

veista commented Dec 6, 2022

If that does not help, then you will have to try modifying the settings on your bridge. Please share the settings if you get it to work, it may help in future issues.

This was on my mind because Sharewave seems to be quite popular and your integration very easy to install.

The manual doesn't clearly state that the converter could act in Modbus TCP state (if it isn't the NONE mode)

image

Kiitos jo näistä vinkeistä.

I would guess transparent is "rtuovertcp" and Modbus TCP is "tcp" so it should work. There might be some other setting that is wrong.

@veista
Copy link
Owner

veista commented Dec 6, 2022

Baudrate should be 19200 i think. And also destination and source ports should be both 502.

@veista
Copy link
Owner

veista commented Dec 6, 2022

Also make sure that your device id is 30. You can find this setting in the HMI menu.

@MKBU2
Copy link
Author

MKBU2 commented Dec 6, 2022

Changed the ports to 502.

With all custom components/nilan files as defaul I get:

Waveshare / Multi-host settings / Protocol = none
-> Invalid response From the device

Waveshare / Multi-host settings / Protocol = Modbus TCP to RTU
-> Unsupported Device

Something is changing..

The device id is 30

@veista
Copy link
Owner

veista commented Dec 6, 2022

Hi, unsupported device is correct. Open a new issue with the information from the read-me instructions.

@veista veista added the question Further information is requested label Dec 6, 2022
@veista veista closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants