Closed mat2maa closed 3 years ago
Hi, thank you for your contribution. The way I am trying to do things in this library is to try to follow Home Assistant models for easy mapping. I've started working on FC600 implementation https://github.com/jvitkauskas/pyit600/commit/73a417a5a34698a19295fe8f0bb54e8b8bdd2c76 but haven't finished it.
locked
field.Hi @jvitkauskas, thanks for this. Your WIP has added context to where some of the e.g. constants were coming from. To answer each of your bullet points:
PRESET_FOLLOW_SCHEDULE
, which splits the day into up to 6 (I think from memory) periods of different temperature (e.g. 8am - 10am => 24°, 10am - 2pm => 22° etc), then you can temporarily (until the next period) override that temperature (e.g. it is 9am, and you lower the temp to 23°, it will still become 22° at 10am, hence temporary). See page 10, section 2.5 of the manual. target_temperature
, max_temp
, min_temp
return the value based on the is_heating
conditional. And I believe it is the counterpart to the format of my setter set_fan_coil_device_temperature
which basically uses the same condition? What do you think?I think there are probably some useful bits in this PR, but your WIP has the more solid foundations and so work should continue from that. I can take it as a starting point and continue from there if you like?
A couple of questions:
CURRENT_HVAC_HEAT_IDLE
and CURRENT_HVAC_HEAT_IDLE
this was behaviour that I noticed in testing. E.g. if the fan coil is HVAC_MODE_COOL
, current_temperature = 24°
, and target_temperature = 24°
, then the fan coil turns on with a low fan and "RunningState"
logged as one of 2 or 6 or 34, but not 66 (which it is when it is cooling properly). So, is this useful? How would Home Assistant interpret it (if at all)?Cheers!
This should be closed in favour of https://github.com/jvitkauskas/pyit600/pull/23
Thanks
Following on from https://github.com/jvitkauskas/pyit600/issues/7#issuecomment-880160254 (also me, different GitHub account) decided to have a look at this myself - and opened this PR as a way to start the conversation.
Empirically tested on my home FC600 devices.