joe-ng / homebridge-dyson-link

MIT License
207 stars 40 forks source link

Cannot get it oscillate work on HP04 #110

Closed n3ih7 closed 1 year ago

n3ih7 commented 4 years ago

Everything else works fine, the configuration is shown below.

    {
        "platform": "DysonPlatform",
        "name": "DysonPlatform",
        "email": "xxxx@xxxx.fi",
        "password": "xxxx",
        "country": "AU",
        "accessories": [
            {
                "ip": "xx.x.xx.xxx",
                "displayName": "Dyson HP04 Fan",
                "serialNumber": "A1F-AU-xxxxxxxx",
                "nightModeVisible": false,
                "focusModeVisible": false,
                "autoModeVisible": false
            }
        ]
    }

I can see from HomeKit app has fan speed control panel and a button there to turn oscillate on. When click that button, log as below:

[2/13/2020, 12:07:13] [DysonPlatform] Dyson HP04 Fan fan is not on, try to wait for 500ms before setting oson
[2/13/2020, 12:07:13] [DysonPlatform] Dyson HP04 Fan - Set State:{"oson":"ON"}
[2/13/2020, 12:07:13] [DysonPlatform] Request for current state update
[2/13/2020, 12:07:13] [DysonPlatform] Client is connected. Publish request now - publish REQUEST-CURRENT-STATE
[2/13/2020, 12:07:13] [DysonPlatform] {"msg":"CURRENT-STATE","time":"2020-02-13T12:07:12.000Z","mode-reason":"NONE","state-reason":"MODE","rssi":"-42","channel":"48","fqhp":"101096","fghp":"0","product-state":{"fpwr":"ON","auto":"OFF","oscs":"ON","oson":"ON","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"31U2","wacd":"NONE","nmdv":"0004","fnsp":"0005","bril":"0002","corf":"ON","cflr":"0084","hflr":"0084","cflt":"CARF","hflt":"GHEP","sltm":"OFF","osal":"0184","osau":"0184","ancp":"CUST","hmod":"OFF","hmax":"2760","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:07:13] [DysonPlatform] Update fan data from CURRENT-STATE - Dyson HP04 Fan
[2/13/2020, 12:07:13] [DysonPlatform] Dyson HP04 Fan - Fan Rotate: true
[2/13/2020, 12:07:13] [DysonPlatform] {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2020-02-13T12:07:12.000Z","data":{"tact":"2998","hact":"0064","pm25":"0000","pm10":"0000","va10":"0004","noxl":"0000","p25r":"0000","p10r":"0000","sltm":"OFF"}}
[2/13/2020, 12:07:13] [DysonPlatform] Update sensor data from ENVIRONMENTAL-CURRENT-SENSOR-DATA - Dyson HP04 Fan
[2/13/2020, 12:07:13] [DysonPlatform] {"msg":"STATE-CHANGE","time":"2020-02-13T12:07:12.000Z","mode-reason":"NONE","state-reason":"MODE","product-state":{"fpwr":["ON","ON"],"auto":["OFF","OFF"],"oscs":["ON","ON"],"oson":["ON","OFF"],"nmod":["OFF","OFF"],"rhtm":["ON","ON"],"fnst":["FAN","FAN"],"ercd":["31U2","31U2"],"wacd":["NONE","NONE"],"nmdv":["0004","0004"],"fnsp":["0005","0005"],"bril":["0002","0002"],"corf":["ON","ON"],"cflr":["0084","0084"],"hflr":["0084","0084"],"cflt":["CARF","CARF"],"hflt":["GHEP","GHEP"],"sltm":["OFF","OFF"],"osal":["0184","0184"],"osau":["0184","0184"],"ancp":["CUST","CUST"],"hmod":["OFF","OFF"],"hmax":["2760","2760"],"tilt":["OK","OK"],"hsta":["OFF","OFF"],"psta":["OFF","OFF"],"fdir":["ON","ON"]},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:07:13] [DysonPlatform] STATE-CHANGE detected, request update - Dyson HP04 Fan
[2/13/2020, 12:07:13] [DysonPlatform] Request for current state update
[2/13/2020, 12:07:13] [DysonPlatform] Client is connected. Publish request now - publish REQUEST-CURRENT-STATE
[2/13/2020, 12:07:13] [DysonPlatform] {"msg":"CURRENT-STATE","time":"2020-02-13T12:07:12.000Z","mode-reason":"NONE","state-reason":"MODE","rssi":"-42","channel":"48","fqhp":"101096","fghp":"0","product-state":{"fpwr":"ON","auto":"OFF","oscs":"OFF","oson":"OFF","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"31U2","wacd":"NONE","nmdv":"0004","fnsp":"0005","bril":"0002","corf":"ON","cflr":"0084","hflr":"0084","cflt":"CARF","hflt":"GHEP","sltm":"OFF","osal":"0184","osau":"0184","ancp":"CUST","hmod":"OFF","hmax":"2760","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:07:13] [DysonPlatform] Update fan data from CURRENT-STATE - Dyson HP04 Fan
[2/13/2020, 12:07:13] [DysonPlatform] {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2020-02-13T12:07:12.000Z","data":{"tact":"2998","hact":"0064","pm25":"0000","pm10":"0000","va10":"0004","noxl":"0000","p25r":"0000","p10r":"0000","sltm":"OFF"}}
[2/13/2020, 12:07:13] [DysonPlatform] Update sensor data from ENVIRONMENTAL-CURRENT-SENSOR-DATA - Dyson HP04 Fan
[2/13/2020, 12:07:14] [DysonPlatform] {"msg":"STATE-CHANGE","time":"2020-02-13T12:07:12.000Z","mode-reason":"NONE","state-reason":"MODE","product-state":{"fpwr":["ON","ON"],"auto":["OFF","OFF"],"oscs":["OFF","OFF"],"oson":["OFF","OFF"],"nmod":["OFF","OFF"],"rhtm":["ON","ON"],"fnst":["FAN","FAN"],"ercd":["31U2","31U2"],"wacd":["NONE","NONE"],"nmdv":["0004","0004"],"fnsp":["0005","0005"],"bril":["0002","0002"],"corf":["ON","ON"],"cflr":["0084","0084"],"hflr":["0084","0084"],"cflt":["CARF","CARF"],"hflt":["GHEP","GHEP"],"sltm":["OFF","OFF"],"osal":["0184","0184"],"osau":["0184","0184"],"ancp":["CUST","CUST"],"hmod":["OFF","OFF"],"hmax":["2760","2760"],"tilt":["OK","OK"],"hsta":["OFF","OFF"],"psta":["OFF","OFF"],"fdir":["ON","ON"]},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:07:14] [DysonPlatform] STATE-CHANGE detected, request update - Dyson HP04 Fan
[2/13/2020, 12:07:14] [DysonPlatform] Request for current state update
[2/13/2020, 12:07:14] [DysonPlatform] Client is connected. Publish request now - publish REQUEST-CURRENT-STATE
[2/13/2020, 12:07:14] [DysonPlatform] {"msg":"CURRENT-STATE","time":"2020-02-13T12:07:13.000Z","mode-reason":"NONE","state-reason":"MODE","rssi":"-43","channel":"48","fqhp":"101096","fghp":"0","product-state":{"fpwr":"ON","auto":"OFF","oscs":"OFF","oson":"OFF","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"31U2","wacd":"NONE","nmdv":"0004","fnsp":"0005","bril":"0002","corf":"ON","cflr":"0084","hflr":"0084","cflt":"CARF","hflt":"GHEP","sltm":"OFF","osal":"0184","osau":"0184","ancp":"CUST","hmod":"OFF","hmax":"2760","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:07:14] [DysonPlatform] Update fan data from CURRENT-STATE - Dyson HP04 Fan
[2/13/2020, 12:07:14] [DysonPlatform] {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2020-02-13T12:07:13.000Z","data":{"tact":"2998","hact":"0064","pm25":"0000","pm10":"0000","va10":"0004","noxl":"0000","p25r":"0000","p10r":"0000","sltm":"OFF"}}
[2/13/2020, 12:07:14] [DysonPlatform] Update sensor data from ENVIRONMENTAL-CURRENT-SENSOR-DATA - Dyson HP04 Fan

No response from the fan side. The same as when I click that button again.

[2/13/2020, 12:11:28] [DysonPlatform] Dyson HP04 Fan fan is not on, try to wait for 500ms before setting oson
[2/13/2020, 12:11:29] [DysonPlatform] Dyson HP04 Fan - Set State:{"oson":"OFF"}
[2/13/2020, 12:11:29] [DysonPlatform] Request for current state update
[2/13/2020, 12:11:29] [DysonPlatform] Client is connected. Publish request now - publish REQUEST-CURRENT-STATE
[2/13/2020, 12:11:29] [DysonPlatform] {"msg":"CURRENT-STATE","time":"2020-02-13T12:11:28.000Z","mode-reason":"NONE","state-reason":"MODE","rssi":"-43","channel":"48","fqhp":"101096","fghp":"0","product-state":{"fpwr":"ON","auto":"OFF","oscs":"OFF","oson":"OFF","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"31U2","wacd":"NONE","nmdv":"0004","fnsp":"0005","bril":"0002","corf":"ON","cflr":"0084","hflr":"0084","cflt":"CARF","hflt":"GHEP","sltm":"OFF","osal":"0184","osau":"0184","ancp":"CUST","hmod":"OFF","hmax":"2760","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:11:29] [DysonPlatform] Update fan data from CURRENT-STATE - Dyson HP04 Fan
[2/13/2020, 12:11:29] [DysonPlatform] Dyson HP04 Fan - Fan Rotate: false
[2/13/2020, 12:11:29] [DysonPlatform] {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2020-02-13T12:11:28.000Z","data":{"tact":"2998","hact":"0065","pm25":"0000","pm10":"0000","va10":"0005","noxl":"0000","p25r":"0000","p10r":"0000","sltm":"OFF"}}
[2/13/2020, 12:11:29] [DysonPlatform] Update sensor data from ENVIRONMENTAL-CURRENT-SENSOR-DATA - Dyson HP04 Fan
[2/13/2020, 12:11:29] [DysonPlatform] {"msg":"STATE-CHANGE","time":"2020-02-13T12:11:28.000Z","mode-reason":"NONE","state-reason":"MODE","product-state":{"fpwr":["ON","ON"],"auto":["OFF","OFF"],"oscs":["OFF","OFF"],"oson":["OFF","OFF"],"nmod":["OFF","OFF"],"rhtm":["ON","ON"],"fnst":["FAN","FAN"],"ercd":["31U2","31U2"],"wacd":["NONE","NONE"],"nmdv":["0004","0004"],"fnsp":["0005","0005"],"bril":["0002","0002"],"corf":["ON","ON"],"cflr":["0084","0084"],"hflr":["0084","0084"],"cflt":["CARF","CARF"],"hflt":["GHEP","GHEP"],"sltm":["OFF","OFF"],"osal":["0184","0184"],"osau":["0184","0184"],"ancp":["CUST","CUST"],"hmod":["OFF","OFF"],"hmax":["2760","2760"],"tilt":["OK","OK"],"hsta":["OFF","OFF"],"psta":["OFF","OFF"],"fdir":["ON","ON"]},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:11:29] [DysonPlatform] STATE-CHANGE detected, request update - Dyson HP04 Fan
[2/13/2020, 12:11:29] [DysonPlatform] Request for current state update
[2/13/2020, 12:11:29] [DysonPlatform] Client is connected. Publish request now - publish REQUEST-CURRENT-STATE
[2/13/2020, 12:11:29] [DysonPlatform] {"msg":"CURRENT-STATE","time":"2020-02-13T12:11:28.000Z","mode-reason":"NONE","state-reason":"MODE","rssi":"-43","channel":"48","fqhp":"101096","fghp":"0","product-state":{"fpwr":"ON","auto":"OFF","oscs":"OFF","oson":"OFF","nmod":"OFF","rhtm":"ON","fnst":"FAN","ercd":"31U2","wacd":"NONE","nmdv":"0004","fnsp":"0005","bril":"0002","corf":"ON","cflr":"0084","hflr":"0084","cflt":"CARF","hflt":"GHEP","sltm":"OFF","osal":"0184","osau":"0184","ancp":"CUST","hmod":"OFF","hmax":"2760","tilt":"OK","hsta":"OFF","psta":"OFF","fdir":"ON"},"scheduler":{"srsc":"0000000000000000","dstv":"0000","tzid":"0001"}}
[2/13/2020, 12:11:29] [DysonPlatform] Update fan data from CURRENT-STATE - Dyson HP04 Fan
[2/13/2020, 12:11:29] [DysonPlatform] {"msg":"ENVIRONMENTAL-CURRENT-SENSOR-DATA","time":"2020-02-13T12:11:28.000Z","data":{"tact":"2998","hact":"0065","pm25":"0000","pm10":"0000","va10":"0005","noxl":"0000","p25r":"0000","p10r":"0000","sltm":"OFF"}}
[2/13/2020, 12:11:29] [DysonPlatform] Update sensor data from ENVIRONMENTAL-CURRENT-SENSOR-DATA - Dyson HP04 Fan