2019-09-04 15:04:57.940582500 ERROR 2019-09-04T15:04:57.940 Unkown modbus address: 843
2019-09-04 15:04:57.943542500 ERROR 2019-09-04T15:04:57.942 "Error processing function code 3, unit id 100, src 192.168.93.158, start address 843, quantity 1 :" "Unit id is available, but start address does not exist"
2019-09-04 15:05:10.690460500 ERROR 2019-09-04T15:05:10.689 Unkown modbus address: 843
2019-09-04 15:05:10.693359500 ERROR 2019-09-04T15:05:10.692 "Error processing function code 3, unit id 100, src 192.168.93.158, start address 843, quantity 1 :" "Unit id is available, but start address does not exist"
I figured out why I personally can’t get SOC to pull into HA. I don’t have a BMV therefore don’t even get SOC on the battery icon of the main UI screen. This further supports my suggestion above. If one could pull SOC from the 100/800 range, my GX would show it. It doesn’t. SOC must be pulled directly from the BMV.
@emence So it appears to me that the communications from HA is working fine but there is an issue within your device…maybe as @butter_fry has said you need to be reading from a different slave address?
But I really can’t help much more with this as I don’t have access to your devices.
Keep checking your logs to get this problem sorted as they seem to give good feedback.
@emence There are tabs on the excel document (CCGX-Modbus-TCP-register-list.xlsx) that you have. On the Unit ID mapping tab you can find the map from the DeviceInstance (the question I asked you above where you posted the screenshot with the Apparaatnummer of BMV and Quattro.
258 = UnitID 245
257 = UnitID 246
Each device type has its own Address/Register range. See column A in Field List. Notie the service name. The top register set is ‘system’. The one you’re interested in is labeled battery, or BMV range from address 259 - 326.
Think of the UnitID/slave number as the way a device communicates. Since there are multiple ways that Victron devices can hook into (wireless/LAN/VE.Can/VE.Direct) a CCGX sometimes the slave/Unitid will be different depending on the way it’s connected. That’s why I asked you, and that is also why it isn’t just hard coded into the device. The UnitID can change depending on the communication method AND how many other devices share that connection method and what gets plugged in first. All quite confusing I know. Also, you might hook two totally different device types up to a CCGX in two different systems. On one system a UnitID for the solar charger might be swapped with the BMV.
At least that is how I understand it all after a few days of trial and error.
Now i’m looking for someone who’s built a good interface. Here’s what I’ve got so far:
Could really use some help here.
I have an Eastron modbus kwh-meter for my Tesla-charger.
Connected an Elfin EW11 rs485 to tcpip adapter to it.
Figured it would just be a matter of setting a hub to the right ip, port and protocol, add a sensor and be done with it. After 3 hours still nothing.
Even with logging enabled I have no idea if the hub is receiving data, nor can I check it on the Elfin itself.
Does anyone have an Elfin EW11 running in hassio and care to share both the config in hassio as well as on the device itself?