AllMightySauron / homebride-solaxcloud-api

Solax Cloud API plugin for homebridge
Apache License 2.0
6 stars 1 forks source link

Plugin generating warnings of 0 Ambient light levels #10

Open Tony-usr opened 2 months ago

Tony-usr commented 2 months ago

Describe Your Problem: plugin is receiving zero values for all sensors as shown in log below. This started a few days ago. I have restarted Homebridge and also restarted the OS

Logs:

[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.
[14/08/2024, 09:28:00] [homebridge-solaxcloud-api] This plugin generated a warning from the characteristic 'Current Ambient Light Level': characteristic was supplied illegal value: number 0 exceeded minimum of 0.0001. See https://homebridge.io/w/JtMGR for more info.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

{
    "inverters": [
        {
            "brand": "solax",
            "tokenId": "**********************",
            "name": "My Solax Inverter",
            "sn": "****************",
            "hasBattery": true
        }
    ],
    "pollingFrequency": 300,
    "smoothMeters": false,
    "smoothingMethod": "sma",
    "pureHomeApp": true,
    "platform": "SolaxCloudAPI"
}

Screenshots:

Environment:

Tony-usr commented 2 months ago

And now it seems to "magically" cleared.....