Replies: 1 comment 8 replies
-
Ooh very nice! I'll get that added as a supported device. Odd that the charge period service isn't showing up. Do you have the time period sensors? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've just migrated from a direct LAN connection to using RS485. I grabbed a Waveshare USB to RS485 (B) device, connected it to a Raspberry Pi and installed mbusd to act as a TCP to RTU gateway. This is a much cheaper option for those have a spare Pi (or other device) lying around and are comfortable compiling and installing a service on a Linux system, compared to buying a ready-made TCP-RTU gateway.
The Waveshare device appears as
/dev/ttyACM0
in Linux.mbusd
is configured with:/etc/mbusd/mbusd-ttyACM0.conf
You enable it in systemd by running
sudo systemctl enable --now mbusd@ttyACM0
.Everything is working great. I selected adapter type of "Other" in the integration and bumped it up to max read set at 50 with the default poll rate of 10s.
I don't seem to have the ability to set the charge periods though - there's no service available. My inverter is on a pretty old firmware (1.37) so I've opened a ticket with Fox asking them to upgrade it now that I'm no longer using the LAN connection. I didn't want to risk the upgrade before switching to RS485 so I didn't lose the LAN port. :-)Edit: charge periods are available and do work, they're found under Developer Tools.
From reading #40 I tried to get some timings with modpoll, the results look promising.
50 registers read in around 166ms
The full 96 in around 264ms
One thing to note: after setting the Pi up, I deleted the old LAN integration from HA, re-added the integration, and once it started reading data again the energy usage readings went a bit wacky. I'm not sure if that will sort itself out after a while or not.
Beta Was this translation helpful? Give feedback.
All reactions