joe-ng / homebridge-dyson-link

MIT License
206 stars 40 forks source link

Filter life not displaying correctly #57

Open antiabed opened 6 years ago

antiabed commented 6 years ago

My filter life is always displayed as good and 100%, even though in the dyson app it shows as 84%.

joe-ng commented 6 years ago

Can you send me the log starting with before

[DysonPlatform] {"msg":"CURRENT-STATE", ...

And which model are you using? I am not sure if there is a new field for filter life in the new model

Cyborgmatt commented 5 years ago

Piggy backing off of this thread seeing as OP didn't respond with the info you needed, the cflr & hflr fields represent the Carbon filter life and HEPA filter life.

[DysonPlatform] {
    "msg": "CURRENT-STATE",
    "time": "2019-01-02T08:37:08.000Z",
    "mode-reason": "PUI",
    "state-reason": "MODE",
    "dial": "OFF",
    "rssi": "-46",
    "channel": "36",
    "fqhp": "47282",
    "fghp": "66960",
    "product-state": {
        "fpwr": "ON",
        "fdir": "ON",
        "auto": "ON",
        "oscs": "IDLE",
        "oson": "ON",
        "nmod": "OFF",
        "rhtm": "ON",
        "fnst": "OFF",
        "ercd": "11E1",
        "wacd": "NONE",
        "nmdv": "0004",
        "fnsp": "AUTO",
        "bril": "0002",
        "corf": "ON",
        "cflr": "0057",
        "hflr": "0057",
        "sltm": "OFF",
        "osal": "0005",
        "osau": "0355",
        "ancp": "0350"
    },
    "scheduler": {
        "srsc": "0000000000000000",
        "dstv": "0000",
        "tzid": "0001"
    }
}
CooperCGN commented 5 years ago

Here is the output of my Dyson, the Dyson app states my filter at 90% so it has to be the cflr or hflr data.

{ "msg": "CURRENT-STATE", "time": "2019-05-03T11:56:44.000Z", "mode-reason": "PRC", "state-reason": "MODE", "dial": "OFF", "rssi": "-31", "channel": "1", "fqhp": "47118", "fghp": "66936", "product-state": { "fpwr": "OFF", "fdir": "ON", "auto": "OFF", "oscs": "OFF", "oson": "OFF", "nmod": "OFF", "rhtm": "ON", "fnst": "OFF", "ercd": "12I1", "wacd": "NONE", "nmdv": "0004", "fnsp": "0005", "bril": "0002", "corf": "ON", "cflr": "0090", "hflr": "0090", "sltm": "OFF", "osal": "0135", "osau": "0225", "ancp": "0090" }, "scheduler": { "srsc": "0000000000000000", "dstv": "0001", "tzid": "0001" } }

CooperCGN commented 5 years ago

Any chance we can get this working?

epheterson commented 3 years ago

I'm seeing this as well, Air Filter always shows 100% while in Dyson app it's lower. Would love to see this fixed!