Help with troubleshooting - can't get data in genmon #1239
-
Checklist
VersionV1.19.05 Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.I have not submitted logs What is/are your question(s)?I have connected to my generator (with "Sync" Nexus controller from a Honeywell air-cooled model) the ESP32-WROOM-32U running ESPHome and a yaml file closely matching the one from gregmac project, and the exact wiring you suggested suggested on that github repo (rx/tx) GPIO1/3 I'm a total newb with docker containers, but have setup Genmon with this dockerfile: https://github.com/JMVS/genmon-docker/tree/main, but I had to comment out the 2 pip related commands as they would fail. I ran it using docker run -d -p8080:8000 -p6638:6638 genmon (I'm on windows, so I ran that in the docker desktop terminal) I can access the genmon dashboard, I can get logs from my esp32 in HA. Here's a sample which shows my desktop ip (running docker) connected to the stream server: [20:18:06][D][stream_server:081]: New client connected from 192.168.1.209 I've enabled genmon's Enable Serial over TCP/IP and set my esp32's ip: Genmon has a "System Initializing, not receiving data" icon bottom right. Monitor looks like this: Monitor : Generator Monitor Stats : Communication Stats : Platform Stats : Any help appreciated!!! Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 22 replies
-
@robybrisson have you done a loopback test with it not connected to the generator? That would at least verify everything works through your equipment and would reduce it to a cabling/controller issue. There is a sockettest.py file that takes an IP and a port for testing socket based connections. On the cabling side, make sure you have a ground wire connected and it's easy to get mirrored on pin-numbers depending on your perspective, so you may need to use the 2 other pins on the top row. If you have a multi-meter you can orient yourself with the bottom pins to find which is the 5v line and then use the data pins on the other side of the connector. The 5v pin is under the RS485 pins. It's also easy to flip the RX and TX ones as you have to connect RX to TX and TX to RX (RX on gen to TX on ESP). |
Beta Was this translation helpful? Give feedback.
I remembered that the address is 9d and it works now! I had to "flip over" the rs232 module, I think gregmac just used a picture diagram and didn't orient it correctly in his diagram vs everything else I found online. Thank you for your help!!! :)