naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
321 stars 64 forks source link

Conditions categories set to 4 but Eve shows 9 options #236

Open rsuaver opened 2 years ago

rsuaver commented 2 years ago

I set up conditions categories to 4 via the GUI but in the Eve app, it shows 9 possible options. I tested on a cloudy day and it would trigger only if >=3 instead of >=1.

Config is set to "simple"

{
    "units": "us",
    "interval": 5,
    "stations": [
        {
            "nameNow": "Home",
            "service": "openweathermap",
            "language": "en",
            "compatibility": "both",
            "conditionCategory": "simple",
            "now": true,
            "extraHumidity": false,
            "hidden": [
                "Air Pressure",
                "Dew Point",
                "Ozone",
                "UV Index",
                "Visibility"
            ]
        }
    ],
    "platform": "WeatherPlus"
}
dacarson commented 8 months ago

The Eve app will always show 9 possible options (0 - 9). I believe very old versions of Eve were limited to 4. That said, it should still work as the Eve app just looks at the number.

Can you send me a screenshot of your automation? I am not an expert in it, but can take a look.

My test below works. I read it as: "When Condition Category changes to '1' (aka simple === 'overcast'), and it is after Sunrise then turn on the Office Light".

IMG_60037FE47F3B-1