V1 ‐ Installation - gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk GitHub Wiki

Installation

Currently you will need

Node Red for home assistant as well as the additional palette : node-red-contrib-hass

Installation :

a. Add the sensors templates (Templates.txt) for your region into your configuration.yaml

b. Import the Node-Red Flows (SunSynk Gather.json) into Node Red

c. Configure the node-red-contrib-hass addon

Documentation : Documentation for that addon is here : https://flows.nodered.org/node/node-red-contrib-hass

Information of getting a long lived token is here : https://community.home-assistant.io/t/how-to-get-long-lived-access-token/162159

Errors Seen When Implementing

401 - Sensors not Updating

In the debug window there are messages with an error code 401.

image

This is an invalid token in the additional palette loaded in node red

Follow the instructions here to get one : https://community.home-assistant.io/t/how-to-get-long-lived-access-token/162159

To apply it open one of these: image

Click on

image

Put in long life token

image

and deploy

image

Checking if Node Red is Connecting to Home Assistant

image

Click on the small arrow. Then click on "context data" option then click on refresh on global context

image

You should see the homeassistant.homeAssistant in the global context If this is not there then then either there is a non default name ( In which case there is a change to be made ) or node red is not successfully connected to Home Assistant and seeing sensor data