deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
212 stars 58 forks source link

Set temperature in automations #271

Open SgtFlippy opened 7 months ago

SgtFlippy commented 7 months ago

Hi, after a while I succeeded in integrating my 3 Fujitsu (FGlair), so thank you for that!

I thought everything worked, but then my penny dropped, the schedule I set in the app won't run now they are no langer connected to WAN. So I figured I'd make an automation out of it. But I can't set a temperature, I can only set the mode (heat, cool, auto, ...).

So now I'm afraid it's a bit useless if I can't set a temperature. Or am I missing something?

kevtuning commented 7 months ago

you can use CLIMATE.SET_TEMPERATURE to give a target temperature

it's described in the climate doc https://www.home-assistant.io/integrations/climate/

On my side, I use automations only (trough Node-red... but the same services are called) to manage my Fujitsu ...

SgtFlippy commented 7 months ago

Thanks, I managed with a script! I'm rather new to home assistant.

Next issue is my schedules are set to the AC unit itself, those don't seem to run in the cloud. But even when disabling the integration and opening their network again, I can't change the schedule anymore. But I guess fully beginning again should fix that.

kevtuning commented 7 months ago

Sorry, I have never tried to use schedule on the AC...

I simply use input_datetime to configure wake-up, sleep times .. and from there (and other parameters like my location, time to travel home, etc) I do some calculation based on the current temperature to decide when to heat or cool...