Closed Berjastein closed 1 year ago
Your config does look correct. Is it connecting to your wifi network? Can you ping it?
Have you look at the logs from the esp?
Hi thanks for quick reply!
The esp is connected to wifi and i can see the logs from HA esphome addon, and ping works.
When i try to connect the nibe integration from HA it says udp packet recived, but i only see that when i try to add the Integration, otherways the esp starts up messages come like ip and ports and after nothing more is in console.
Can i get more log data?
You should be getting a log entry every time the pump speaks. You can add debug: true to the nibe section to get some more output.
You dont seem to have set up a dir_pin? Are you sure that rs485 board support auto rx/tx switching?
I am not sure, i cant find anything about it, do you know by looking at the diagram if it is or not?
Here is a link to schematic: https://www.olimex.com/Products/Modules/Interface/MOD-RS485/resources/MOD-RS485-schematic.pdf
That chip is not automatic. It needs to have its nRE and DE controlled. In your case they need to be tied together and controlled by the dir_pin setting.
At the moment the code cant drive both pins itself. Maybe some lambda could be used on the dir_pin setting but ive not looked at that.
Thanks! now I know where to look!
I made some changes on the print, and used GPIO 10 for dir_pin, now it is working, thanks for pointing me in the right direction :)
Nice to hear!
Hi, im trying to configure Olimex esp32-poe, everything seems to be running, but i dont think its sending out udp packets, tried to point target after laptop and listen on wireshark, but there is nothing comming.
The pump is never going in alarm state, and modbus is activated on the pump, i i turn off the nibegw the pump goes in error, so i guess rs485 is working?
Im just using the wifi not the ethernet port.
Board: https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware
RS485 addon for board: https://www.olimex.com/Products/Modules/Interface/MOD-RS485/open-source-hardware