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.