nitaybz / homebridge-sensibo-ac

Homebridge plugin for Sensibo - Smart AC Control
GNU General Public License v3.0
68 stars 15 forks source link

Feature request: Support for Sensibo Elements #103

Open Dave7NL opened 1 year ago

Dave7NL commented 1 year ago

I realize the hardware is pretty new and Sensibo could have really included HK support. Would be great to get that to work through this plugin.

benwebbbenwebb commented 1 year ago

Hi @Dave7NL

I don't personally have a Elements device, if you've got one added to your Sensibo account would you be able to turn on debug mode on this Sensibo AC plugin within Homebridge and then share your API response (the big JSON payload that is exported to the logs pretty soon after restart of Homebridge or periodically while this plugin is running)?

I'll then take a look if it's possible to bring in support, and how easy it would be to do so.

Dave7NL commented 1 year ago

Is this what you need:

[SensiboAC] [{"id":"TUAqdjKR","temperatureUnit":"C","room":{"uid":"Yy2mH7YX","name":"Bedroom","icon":"Bedroom","pureBoostConfig":null},"acState":{"timestamp":{"time":"2023-05-15T07:18:12.794315Z","secondsAgo":0},"on":false,"mode":"fan","fanLevel":"strong","swing":"stopped","horizontalSwing":"fixedCenterLeft","light":"off"},"location":{"occupancy":"me","name":"Home","id":"72oC3Lfvyg"},"productModel":"skyv2","serial":"501805483","motionSensors":[],"filtersCleaning":{"acOnSecondsSinceLastFiltersClean":877008,"filtersCleanSecondsThreshold":1080000,"lastFiltersCleanTime":{"time":"2022-06-06T19:32:47Z","secondsAgo":29591125},"shouldCleanFilters":false},"pureBoostConfig":null,"homekitSupported":false,"remoteCapabilities":{"modes":{"cool":{"temperatures":{"F":{"isNative":false,"values":[61,63,64,66,68,70,72,73,75,77,79,81,82,84,86]},"C":{"isNative":true,"values":[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]}},"fanLevels":["quiet","low","medium_low","medium","medium_high","high","auto","strong"],"swing":["fixedTop","fixedMiddleTop","fixedMiddle","fixedMiddleBottom","fixedBottom","stopped","rangeFull"],"horizontalSwing":["fixedLeft","fixedCenterLeft","fixedCenterRight","fixedRight","fixedCenter","stopped"],"light":["on","off"]},"heat":{"temperatures":{"F":{"isNative":false,"values":[46,48,50,52,54,55,57,59,61,63,64,66,68,70,72,73,75,77,79,81,82,84,86]},"C":{"isNative":true,"values":[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]}},"fanLevels":["quiet","low","medium_low","medium","medium_high","high","auto","strong"],"swing":["fixedTop","fixedMiddleTop","fixedMiddle","fixedMiddleBottom","fixedBottom","stopped","rangeFull"],"horizontalSwing":["fixedLeft","fixedCenterLeft","fixedCenterRight","fixedRight","fixedCenter","stopped"],"light":["on","off"]},"fan":{"temperatures":{},"fanLevels":["quiet","low","medium_low","medium","medium_high","high","auto","strong"],"swing":["fixedTop","fixedMiddleTop","fixedMiddle","fixedMiddleBottom","fixedBottom","stopped","rangeFull"],"horizontalSwing":["fixedLeft","fixedCenterLeft","fixedCenterRight","fixedRight","fixedCenter","stopped"],"light":["on","off"]},"dry":{"temperatures":{"F":{"isNative":false,"values":[61,63,64,66,68,70,72,73,75,77,79,81,82,84,86]},"C":{"isNative":true,"values":[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]}},"fanLevels":["quiet","low","medium_low","medium","medium_high","high","auto","strong"],"swing":["fixedTop","fixedMiddleTop","fixedMiddle","fixedMiddleBottom","fixedBottom","stopped","rangeFull"],"horizontalSwing":["fixedLeft","fixedCenterLeft","fixedCenterRight","fixedRight","fixedCenter","stopped"],"light":["on","off"]},"auto":{"temperatures":{"F":{"isNative":false,"values":[61,63,64,66,68,70,72,73,75,77,79,81,82,84,86]},"C":{"isNative":true,"values":[16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]}},"fanLevels":["quiet","low","medium_low","medium","medium_high","high","auto","strong"],"swing":["fixedTop","fixedMiddleTop","fixedMiddle","fixedMiddleBottom","fixedBottom","stopped","rangeFull"],"horizontalSwing":["fixedLeft","fixedCenterLeft","fixedCenterRight","fixedRight","fixedCenter","stopped"],"light":["on","off"]}}},"smartMode":null,"measurements":{"time":{"time":"2023-05-15T07:17:11.175508Z","secondsAgo":61},"temperature":21.2,"humidity":59.1,"feelsLike":21.2,"rssi":-73}},{"id":"dHR5CtR2","temperatureUnit":"C","room":{"uid":"LCPtjj7W","name":"Living room","icon":"Livingroom","pureBoostConfig":null},"acState":{"timestamp":{"time":"2023-05-15T07:18:12.800711Z","secondsAgo":0},"on":false,"mode":"fan","fanLevel":"high","light":"on"},"location":{"occupancy":"me","name":"Home","id":"72oC3Lfvyg"},"productModel":"elements","serial":"E452200743","motionSensors":[],"filtersCleaning":{"acOnSecondsSinceLastFiltersClean":0,"filtersCleanSecondsThreshold":1080000,"lastFiltersCleanTime":null,"shouldCleanFilters":false},"pureBoostConfig":null,"homekitSupported":false,"remoteCapabilities":{"modes":{"fan":{"temperatures":{},"fanLevels":["low","high"],"light":["on","dim","off"]}}},"smartMode":null,"measurements":{"time":{"time":"2023-05-15T07:17:11.123406Z","secondsAgo":61},"temperature":22.2,"humidity":48.8,"feelsLike":22.2,"rssi":-44,"tvoc":1170,"co2":596,"pm25":0.098003,"etoh":1.2451,"iaq":3.7855}}]

benwebbbenwebb commented 1 year ago

Thanks @Dave7NL, yep that has an example of the values/structure that I was looking for.