rsauget / homebridge-flexom

Homebridge plugin for Flexom smart homes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Homekit interference with manual switches

GrimalDev opened this issue · comments

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:

  • Plugin Version: v3.1.0
  • Homebridge Version: v1.6.0
  • Operating System: Raspbian GNU/Linux 11

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

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:

  • Statement changes without events triggering
  • Statement changes with event triggering
    Both are called upon a "SIRI action" but don't act the same.
    One really changes the state of a device in my home and the other doesn't.

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

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