sockless-coding / panasonic_cc

Panasonic Comfort Cloud - Home Assistant Component
MIT License
137 stars 35 forks source link

Sleep Mode #255

Open muhlba91 opened 1 month ago

muhlba91 commented 1 month ago

Hi,

we recently got our aircon and when integrating it with HA, I realized that the aurcon also supports a sleep mode. Sleep mode is different to quiet/eco mode as it‘s increasing the temperature over a set period of time (adjustable to some point) by a few degrees to adjust for the human body‘s temperature change during sleep.

Is it possible to integrate sleep mode in this integration?

sockless-coding commented 1 month ago

Hi, Depends on how it works, I haven't seen anything that resembles sleep mode in the feature list they provide... but Panasonic isn't always using logical names... I need to know what your device reports as features, and what happens when you activate sleep mode in the app.

muhlba91 commented 1 month ago

this is the interesting part though. the app itself doesn't offer a setting like that; it's only to be set in through the remote. it works in addition to the mode you have set. is there any debug logging i can enable and then set the through the remote which might show some useful information if panasonic sends this preset to their backend?

sockless-coding commented 1 month ago

@muhlba91 you could enable debug logging, that will log the raw api responses. But if it's only on the remote, it's probably some built in curve, you could probably create an automation in HA that does the same thing.

heldchen commented 3 weeks ago

@muhlba91 unfortunately there are quite a few HVAC modes & options that are not controllable through the API, but exist via IR remotes or bluetooth: one of my HVAC has a Wifi/Bluethooth wired remote - eventhough it's using the same wireing to actually controll the HVAC, the Bluetooth mode (and the Panasonic Bluetooth app) features a lot more settings.

it's quite a shame that in 2024 "api first" is not yet the standard way of implementing things for Panasonic.