March 24, 20224 yr 40 minutes ago, Sc00bs said: There are two main ways that Ethernet cables are wired. T-568-A & T-568-B B is the most common way and the way that was used for the diagrams that were provided. best is to wire it using one of the pairs Orange/White & Orange or Brown/White & Brown It will work using both pairs but only necessary to have one. thanks, I've tried all combinations mentioned and no luck. I wonder if it has something to do with home assistant and the USB port. does anyone have it working running home-assistant with the node-red add-on installed? I have a 30m network cable connected directly to the RS485 port of the inverter, then that cable connects directly to the USB/RS485 converter and the converter is then plugged directly into the USB port of the raspberry PI where I'm running HA, Node-red, InfluxDB, MQTT all on one RPI.
March 24, 20224 yr 11 minutes ago, McAllstar said: thanks, I've tried all combinations mentioned and no luck. I wonder if it has something to do with home assistant and the USB port. does anyone have it working running home-assistant with the node-red add-on installed? I have a 30m network cable connected directly to the RS485 port of the inverter, then that cable connects directly to the USB/RS485 converter and the converter is then plugged directly into the USB port of the raspberry PI where I'm running HA, Node-red, InfluxDB, MQTT all on one RPI. If you have Home Assistant OS, why not try using the sunsynk addon? install here Only one addon can have access to the RS-485 USB port at a time (except maybe through the mbusd TCP-RTU gateway)
March 24, 20224 yr I tried the normal one and the BETA on and i battled to get it working. So i gave up on that
March 24, 20224 yr Author 4 hours ago, McAllstar said: this is how I have cabled my connection. Maybe someone can take a look and see if it is correct. image1920×1215 239 KB image1408×1168 155 KB image1414×1256 99.4 KB image1414×1778 150 KB image1414×1778 124 KB On a different note. Your CT Coil appears to be in the incorrect place. It should be in your Main DB on the incoming supply line. Secondly I see that you are not using the ATS ports in which case I would assume you don't have a relay for N-E bonding. Please check it out, a floating neutral during islanding mode can be dangerous.
March 24, 20224 yr 1 hour ago, McAllstar said: thanks, I've tried all combinations mentioned and no luck. I wonder if it has something to do with home assistant and the USB port. does anyone have it working running home-assistant with the node-red add-on installed? I have a 30m network cable connected directly to the RS485 port of the inverter, then that cable connects directly to the USB/RS485 converter and the converter is then plugged directly into the USB port of the raspberry PI where I'm running HA, Node-red, InfluxDB, MQTT all on one RPI. You just need the orange, brown and green wire. If this doesn't work, it is not the cable.
March 24, 20224 yr Author 42 minutes ago, McAllstar said: I tried the normal one and the BETA on and i battled to get it working. So i gave up on that I'm assuming that you are running HA OS. Can you see your device when it is plugged in? Check under configuration - Addons/ backups/ supervisor - Host - Hardware
March 24, 20224 yr I don't know if this is welcome here but if someone does not use HA and/or has problems get things running with node-red you might wanna try a PI with iobroker and the software modbus adapter. I am running a 8 kW Sunsynk with a Waveshare RS485 to ETH Adapter to extract the relevant data from the inverter into my smarthome based (PI400 with Debian + iobroker - a very good system, with many software adapters!). As I prefer Blockly over node-red (easier to use imho) it is the perfect setup to work with. At the same time I installed an MQTT Software Adapter and receive the data from my solarmd battery logger as well.
March 24, 20224 yr 9 minutes ago, Joerg said: You just need the orange, brown and green wire. If this doesn't work, it is not the cable. Safer to use the twisted pairs, especially over a 30mtr cable.
March 24, 20224 yr 1 hour ago, McAllstar said: thanks, I've tried all combinations mentioned and no luck. I wonder if it has something to do with home assistant and the USB port. does anyone have it working running home-assistant with the node-red add-on installed? I have a 30m network cable connected directly to the RS485 port of the inverter, then that cable connects directly to the USB/RS485 converter and the converter is then plugged directly into the USB port of the raspberry PI where I'm running HA, Node-red, InfluxDB, MQTT all on one RPI. Are the lights flashing on the RS485 adapter? Also, a 30mtr cable, I would start of with a shorter one and make sure it works with that one first if possible.
March 24, 20224 yr 2 minutes ago, Sc00bs said: Safer to use the twisted pairs, especially over a 30mtr cable. You are right. If I want to check a cabling problem I wouldn't start with a 30 m cable to be honest. I would use a 2 m cable and check if it runs (even without twisted pairs as it could mean another source of error). Once that works move on to twisted pairs and longer cables.
March 24, 20224 yr 32 minutes ago, Sc00bs said: Are the lights flashing on the RS485 adapter? Also, a 30mtr cable, I would start of with a shorter one and make sure it works with that one first if possible. We had the same idea 😉
March 25, 20224 yr 14 hours ago, Bloubul7 said: On a different note. Your CT Coil appears to be in the incorrect place. It should be in your Main DB on the incoming supply line. Secondly I see that you are not using the ATS ports in which case I would assume you don't have a relay for N-E bonding. Please check it out, a floating neutral during islanding mode can be dangerous. Thanks a lot for the feedback. I'll move the CT coil ASAP. I was actually trying to get someone in the JHB Edenvale area to come out and give my system a once over to confirm that everything is setup correctly. Unfortunately no-one on the forum responded. I'll see if I can find someone to come and assist who is local. I'll also look into the ATS ports and N-E bonding you mentioned. I really appreciate the feedback and assistance.
March 25, 20224 yr thanks to all above for the ideas and comments too. I tested the cable before I connected it and it was working fine. I did also try a shorter cable closer to the inverter and still had issues. I'm busty loading a second RPI with RPI-OS and will setup NR etc and see if i get a different result. Will let you know.
March 25, 20224 yr Author 18 minutes ago, McAllstar said: thanks to all above for the ideas and comments too. I tested the cable before I connected it and it was working fine. I did also try a shorter cable closer to the inverter and still had issues. I'm busty loading a second RPI with RPI-OS and will setup NR etc and see if i get a different result. Will let you know. Have you checked that the OS is seeing your RS485 converter as per the below post? Then cross check the port on which it is assigned against your Node Red assignment? 14 hours ago, Bloubul7 said: I'm assuming that you are running HA OS. Can you see your device when it is plugged in? Check under configuration - Addons/ backups/ supervisor - Host - Hardware
March 25, 20224 yr 17 minutes ago, Bloubul7 said: Have you checked that the OS is seeing your RS485 converter as per the below post? Then cross check the port on which it is assigned against your Node Red assignment? I did check it and i can see the RS485 converter is there. I also set it in Node Red.
March 25, 20224 yr 40 minutes ago, McAllstar said: thanks to all above for the ideas and comments too. I tested the cable before I connected it and it was working fine. I did also try a shorter cable closer to the inverter and still had issues. I'm busty loading a second RPI with RPI-OS and will setup NR etc and see if i get a different result. Will let you know. I doubt very much is it a hardware problem with the raspberry pi. If you want you can bring your Pi and your cable through to me in Midrand next week and we can have a look at it together to get it working.
March 25, 20224 yr Ok so i setup a separate RPI with Raspberry PI OS and just installed Node Red and used the same RS485 adapter. I pointed the MQTT and Influx to my HA installation and on the ModbusRead flow is is rapidly switching between active and then queuing. So I'm not getting the same issue as I was on the before which is good news and also no errors in the debug log. One thing I did notice though is that on the working PI when i click on the inverter settings and the search magnifying glass next to serial port I have the ability to select either /dev/ttyAMA0, /dev/ttyS0 or /dev/tty/USB0 as per below. However when i do it on the Node-Red instance on the HA PI nothing happens. Maybe something wrong with HA or Node-Red on the HA installation.
March 25, 20224 yr Author 1 hour ago, McAllstar said: Ok so i setup a separate RPI with Raspberry PI OS and just installed Node Red and used the same RS485 adapter. I pointed the MQTT and Influx to my HA installation and on the ModbusRead flow is is rapidly switching between active and then queuing. So I'm not getting the same issue as I was on the before which is good news and also no errors in the debug log. One thing I did notice though is that on the working PI when i click on the inverter settings and the search magnifying glass next to serial port I have the ability to select either /dev/ttyAMA0, /dev/ttyS0 or /dev/tty/USB0 as per below. However when i do it on the Node-Red instance on the HA PI nothing happens. Maybe something wrong with HA or Node-Red on the HA installation. Based on the above the flow is definitely communicating with the inverter. Check your MQTT settings on HA.
March 25, 20224 yr so i managed to get it to work. I completely uninstalled Node-red and deleted the node red folder under the config directory and then rebooted. I then re-installed NR and then re-configured each component 1 by 1 and the inverter now shows as connected. now i just need to figure out how to add the dashboards to influx and energy section etc etc. thanks again for all the patience and assistance i really really appreciate it.
April 1, 20224 yr @kellerza Thanks for putting addon together. I've got this strange issue with the essential/non-essential load calcs. Let's say I have 28 W on my non-essential (stove light), I then switch my kettle on, which is on my essential circuit. The essential calc comes to 2712 W, and then non-essential falls through the floor, to like -42 W etc. This only seems to happen when I put a higher load on the essentials side, when the kettle goes off the calc add up again. If I take a look at the inverter screen at the same time, I've got 2712 W on essentials, and 28W on non-essentials. It seems something breaks or is missing from the calc. Edited April 1, 20224 yr by _terminal
April 1, 20224 yr 4 hours ago, _terminal said: @kellerza Thanks for putting addon together. I've got this strange issue with the essential/non-essential load calcs. Let's say I have 28 W on my non-essential (stove light), I then switch my kettle on, which is on my essential circuit. The essential calc comes to 2712 W, and then non-essential falls through the floor, to like -42 W etc. This only seems to happen when I put a higher load on the essentials side, when the kettle goes off the calc add up again. If I take a look at the inverter screen at the same time, I've got 2712 W on essentials, and 28W on non-essentials. It seems something breaks or is missing from the calc. Hi @_terminal I assume you are using the sensors essential_power and non_essential_power. They at least try to read all the relevant registers at the same time, before applying any filters to individual registers. You can try adding :now to sensors to see if this is not a side-effect of the filters, so you end up with the following sensors Quote SENSORS: - essential_power:now - non_essential_power:now (these 2 are calculated from the ones below) - grid_ct_power:now - grid_ld_power:now - inverter_power:now - aux_power:now
April 1, 20224 yr @kellerza Thanks. I gave that a try, with 0 W non-essential load, and this is what the result was: The actual non-essential load in this case was supposed to be 0 W. Here is another, in this case non-essential should be 28 W.
April 1, 20224 yr I'm not sure what can be done. Your result seems correct according to the current formula: non-essentials=CT-LD It's based on the image below (source powerforum): Taking a comparison, between the sunsynk values and a SMA energy meter, see the attached graphs (both are filtered, using different filters, but despite that there is a delta You can clearly see I have a light that switch on on the non-essential circuit below on the SMA, but the sunynk values are all over the place. Potentially the sunsynk does some other calculation (dependent on voltage?) for the values it displays on the inverter If you have any idea we can talk about it, but I'm not actively trying to reverse engineer this...
April 1, 20224 yr The voltage is quite accurate, but no direct correlation that I cnan see with the the non-essential graph
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.