rsauget / homebridge-flexom

Homebridge plugin for Flexom smart homes
Apache License 2.0
7 stars 1 forks source link

Homekit interference with manual switches #108

Open GrimalDev opened 1 year ago

GrimalDev commented 1 year ago

Describe The Bug: I have Flexhom ready house with all my light switches that are directly wirelessly connected to an IOT gateway. After some time deploying my homebridge (1 or 2 days), If I manually use the light switches, I will have to send an "Off" request (homekit manualy or siri) to recalibrate and send an "On" request to finally turn on the light.

I tried every configuration I could know of and tried re-installing my homebridge multiple times.

Plugin Config:

{
    "name": "Flexom",
    "email": "XXX",
    "password": "XXX",
    "zones": true,
    "tolerance": 0.05,
    "excludeZones": false,
    "excludedZones": [
        {
            "light": true,
            "window": true
        }
    ],
    "things": false,
    "platform": "Flexom"
}

Environment:

rsauget commented 1 year ago

Hi, thanks for the report 🙏 Can you please share your homebridge logs around the time this happens?

GrimalDev commented 1 year ago

Thank you so much for responding !

I think I am starting to understand the problem better. There are two types of events in my logs:

Here are the logs:

First I try to turn off the lights normally and it doesn't work

Screenshot 2023-02-05 at 22 56 41

Then I have to ask to turn it on (all thought it is already on)

Screenshot 2023-02-05 at 22 57 20

Finally I can turn the light off (and get the event with it)

Screenshot 2023-02-05 at 22 57 44
rsauget commented 1 year ago

Unfortunately I don't have time to look into that at the moment, but I'll sure do ASAP 😄