We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you want to integrate schedule method. (I did integrate it on my jeedom plugin)
Get schedules:
POST https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2 { "acceptLanguage": "en", "accountID": "0000000", "appVersion": "VeSync 4.1.40 build7", "cid": "00000000000000000000000000000000", "configModule": "WiFiBTOnboardingNotify_AirPurifier_Core300S_EU", "method": "bypassV2", "payload": { "data": { "maxId": 0 }, "method": "getSchedule", "source": "APP" }, "phoneBrand": "iPad Air", "phoneOS": "iOS 12.5.4", "timeZone": "Europe/Paris", "token": "00000000000000000000000000000000000000000000000000==", "traceId": "1670687984794", "userCountryCode": "FR" } JSON { "code": 0, "module": null, "msg": "request success", "result": { "code": 0, "result": { "schedules": [ { "enabled": false, "id": 101, "offsetInSec": 0, "repeat": 0, "startAct": [ { "act": "sleep", "num": 0, "type": "purifier_mode" }, { "act": "on", "num": 0, "type": "switch" }, { "act": "on", "num": 0, "type": "display" } ], "startTs": 1670641225, "sunrise": 0 }, { "enabled": true, "id": 102, "offsetInSec": 0, "repeat": 62, "startAct": [ { "act": "auto", "num": 0, "type": "purifier_mode" }, { "act": "off", "num": 0, "type": "switch" }, { "act": "on", "num": 0, "type": "display" } ], "startTs": 1670625826, "sunrise": 0 } ], "timeZone": "Europe/Paris", "total": 2 }, "traceId": "1670687984794" }, "stacktrace": null, "traceId": "1670687984794" }
Create schedule:
POST https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2 { "acceptLanguage": "en", "accountID": "0000000", "appVersion": "VeSync 4.1.40 build7", "cid": "00000000000000000000000000000000", "configModule": "WiFiBTOnboardingNotify_AirPurifier_Core300S_EU", "method": "bypassV2", "payload": { "data": { "enabled": true, "latitude": "0", "longitude": "0", "repeat": 0, "startAct": [ { "act": "on", "num": 0, "type": "switch" }, { "act": "auto", "num": 0, "type": "purifier_mode" }, { "act": "on", "num": 0, "type": "display" } ], "startTs": 1670688474, "sunrise": 0, "timeZone": "Europe/Paris" }, "method": "addSchedule", "source": "APP" }, "phoneBrand": "iPad Air", "phoneOS": "iOS 12.5.4", "timeZone": "Europe/Paris", "token": "00000000000000000000000000000000000000000000000000==", "traceId": "1670688304677", "userCountryCode": "FR" } JSON { "code": 0, "module": null, "msg": "request success", "result": { "code": 0, "result": { "id": 104 }, "traceId": "1670688430942" }, "stacktrace": null, "traceId": "1670688430942" }
Delete schedule:
POST https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2 { "acceptLanguage": "en", "accountID": "0000000", "appVersion": "VeSync 4.1.40 build7", "cid": "00000000000000000000000000000000", "configModule": "WiFiBTOnboardingNotify_AirPurifier_Core300S_EU", "method": "bypassV2", "payload": { "data": { "id": 104 }, "method": "delSchedule", "source": "APP" }, "phoneBrand": "iPad Air", "phoneOS": "iOS 12.5.4", "timeZone": "Europe/Paris", "token": "00000000000000000000000000000000000000000000000000==", "traceId": "1670688468408", "userCountryCode": "FR" } JSON { "code": 0, "module": null, "msg": "request success", "result": { "code": 0, "traceId": "1670688468408" }, "stacktrace": null, "traceId": "1670688468408" }
Update existing schedule (changing to enabled):
POST https://smartapi.vesync.com/cloud/v2/deviceManaged/bypassV2 HTTP/2.0 { "acceptLanguage": "fr", "accountID": "0000000", "appVersion": "VeSync 4.1.40 build7", "cid": "00000000000000000000000000000000", "configModule": "WiFiBTOnboardingNotify_AirPurifier_Core300S_EU", "method": "bypassV2", "payload": { "data": { "enabled": false, "id": 102, "repeat": 150, "startAct": [ { "act": "auto", "num": 0, "type": "purifier_mode" }, { "act": "off", "num": 0, "type": "switch" }, { "act": "on", "num": 0, "type": "display" } ], "startTs": 1670971409, "sunrise": 0 }, "method": "upSchedule", "source": "APP" }, "phoneBrand": "iPad Air", "phoneOS": "iOS 12.5.4", "timeZone": "Europe/Paris", "token": "00000000000000000000000000000000000000000000000000==", "traceId": "1671037708733", "userCountryCode": "FR" } JSON { "code": 0, "module": null, "msg": "request success", "result": { "code": 0, "result": { "id": 102 }, "traceId": "1671037708733" }, "stacktrace": null, "traceId": "1671037708733" }
Update existing schedule (changing "enabled to true, repeat to all days, fan to level 3 and no light display):
JSON { "acceptLanguage": "fr", "accountID": "0000000", "appVersion": "VeSync 4.1.40 build7", "cid": "00000000000000000000000000000000", "configModule": "WiFiBTOnboardingNotify_AirPurifier_Core300S_EU", "method": "bypassV2", "payload": { "data": { "enabled": true, "id": 102, "latitude": "0", "longitude": "0", "repeat": 254, "startAct": [ { "act": "manual", "num": 0, "params": { "level": 3 }, "type": "purifier_mode" }, { "act": "on", "num": 0, "type": "switch" }, { "act": "off", "num": 0, "type": "display" } ], "startTs": 1671057809, "sunrise": 0, "timeZone": "Europe/Paris" }, "method": "upSchedule", "source": "APP" }, "phoneBrand": "iPad Air", "phoneOS": "iOS 12.5.4", "timeZone": "Europe/Paris", "token": "00000000000000000000000000000000000000000000000000==", "traceId": "1671038057482", "userCountryCode": "FR" }
The text was updated successfully, but these errors were encountered:
webdjoe
No branches or pull requests
If you want to integrate schedule method.
(I did integrate it on my jeedom plugin)
Get schedules:
Create schedule:
Delete schedule:
Update existing schedule (changing to enabled):
Update existing schedule (changing "enabled to true, repeat to all days, fan to level 3 and no light display):
The text was updated successfully, but these errors were encountered: