-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add flow control pin support #18
Comments
Could you provide some details about your setup? A photo of your wiring (incl. the RS485 module) and the important parts ( Another interpretation of the log message is: "The device doesn't respond". Therefore we must make sure your device is connected properly. If this is the case it's possible your device version uses another protocol. Let's start with the wiring! |
I won´t be at home till friday - so I decided to do a small scheme of the cabling. And the code too:
thanks! |
I assume your RS485 module isn't handled properly: https://electronics.stackexchange.com/questions/153500/correctly-using-re-and-de-with-rs485 I will add a flow control pin to the component to support your rs485 module. At the moment DE/RE isn't used correctly. |
I've introduced a flow control pin here: Please use this new feature branch for your tests:
The next step is to update your configuration to use flow control pin: This should fit for you
I just found another issue. Your configuration doesn't align with your schema. Your schema shows:
The yaml configuration uses:
Please update your wiring. |
Do i have to change my wiring physically? Or may I can use the: Or shell I change GPIO5 to the original Because I changed the my code to your provided one and nothing different happened than the issue above. |
The
|
Ah ok got you. So my config:
Won´t work properly. |
How did you check this? You are from Germany aren't you? My inverter is offline already because it's dark out there. Without solar energy the device doesn't respond /shuts down. |
1.: Wow - tell me "the stupid guy". So I have to give it another try tomorrow! Thank you!!!! |
I´m just trying to receive the data stream. But like yesterday in the evening, no changes ..... Do i have to change any setting in the invertermenu ? Maybe the ModbusRTU to enable? |
Please check your wiring this weekend. It's super important Inverter settings: I don't have any menu items to enable/disable modbus. There is also no menu item to change the modbus address / device id for example. At my firmware version modbus is always enabled. Are you able to control something in this regard? |
Yes - I will check, if I have the enabling option and also a menu to change the address of modbus. But like you said, I´m only able to check that on friday. What if I change the address to |
The different menu sounds like real modbus rtu (polling selected registers). There are multiple things we should try as soon you have access to your device. ;-) |
Could you provide your exact model name of the type label (something like |
Could you look for some firmware versions at the menu? |
Perfect! Next wish: Could you provide a photo of the type label (on the right side of the device)? |
Please provide some photos of your new wiring as next step. Enable the debug output of the UART component: https://github.com/syssi/esphome-modbus-solax-x1#debugging and provide some logs. It would like to know there is some serial traffic (outgoing & incoming) or not. |
Alright! Next step is to collect some serial traffic. Could you provide some logs (debug output of the |
Could you provide your configuration yaml? I would like to check you are using |
Looks good! :-) Issue solved. |
Thank you very much for supporting me! |
Please make sure to set the |
I will merge the flow control support into main now. Please update the feature branch at the external components section to |
Perfect! Last question about your device: You've enabled the ModbusRTU setting and the |
Hey guys,
thank for this modules. In my case I try to use it with a Solax X1 mini 1.5 V2.
And I only receive the text which is mentioned in the title.
May anyone has the same issue and can help me to fix it.
regards
frank
The text was updated successfully, but these errors were encountered: