Stog / homebridge-fronius-inverter

A homebridge plugin to pull Fronius solar inverter data into HomeKit as a light sensor accessory.
5 stars 1 forks source link

Fronius not showing up as accessories #7

Open giase82 opened 3 years ago

giase82 commented 3 years ago

Hi!

Thanks a lot for this plugin, very helpful! I think I set this up as described, but somehow, the accessories do not show up in my HomeApp. The only thing I can see at startup are the following lines:

Okt 13 14:33:20 homebridge[10217]: [2020-10-13 2:33:20 PM] Loaded plugin: homebridge-fronius-inverter@0.3.6
Okt 13 14:33:20 homebridge[10217]: [2020-10-13 2:33:20 PM] Registering accessory 'homebridge-fronius-inverter.FroniusInverter'

This is the config I am using:

    "accessories": [
        {
            "accessory": "FroniusInverter",
            "name": "Generation",
            "ip": "192.168.178.65",
            "inverter_data": "P_PV"
        },
        {
            "accessory": "FroniusInverter",
            "name": "Consumption",
            "ip": "192.168.178.65",
            "inverter_data": "P_Load"
        }
    ]

The converter is reachable over the IP shown, and I get to its config-page without password.

Can you help me debug this?

Thanks!

giase82 commented 3 years ago

On more thing I noticed:

smarthome@shpi:~ $ sudo npm install -g homebridge-fronius-inverter
npm WARN axios-cache-adapter@2.5.0 requires a peer of axios@0.18.1 but none is installed. You must install peer dependencies yourself.

+ homebridge-fronius-inverter@0.3.6
updated 1 package in 4.128s

Even if I installed axios@0.18.1 with sudo npm install -g axios@0.18.1

Coudl that be an issue?

Stog commented 3 years ago

Hi,

Yeah the axios cache adapter could be an issue here - it requires an older version of axios to be installed like you mentioned.

Just wanted to check if you have any other accessories setup with Homebridge already? Just want to check the issue is here and not with the Homebridge setup.