AirCon
AirCon copied to clipboard
Current Temperature FGLair
Hi,
If I understand well , the only way to have the current temperature for FGLair AC (Fujitsu, ...) when running as an add-on is to integrate the Pull requests #222 and #224.
Is it correct ? and if yes, @deiger is it possible to integrate it in the next release ?
Thank you very much,
Same request here #240
I believe it is a key enhancement !
2x thank you very much
Any chance to get it merged with 2023.10 ?
Is there any way to get all integrated ?
Is there any way to get all integrated ?
seems we will never get this new feature on the official release
Could someone explains how to install an addon PR ?
my config: Core 2024.2.3 Supervisor 2024.02.0 Operating System 11.5 Frontend 20240207.1
Through lot of trials and errors, I was able to clone the repo and create a docker image from PR #224. I don't see the temperature on the thermostat card but mqtt sends the correct data as in the FGLair application. Link to paste in HA for installation: https://github.com/xury77/AirCon.git
I don't see the temperature on the thermostat card but mqtt sends the correct data as in the FGLair application. Link to paste in HA for installation: https://github.com/xury77/AirCon.git
Hi @xury77, what's the mqtt topic ?
Is it well 'display_temperature' ?
My topic is:
hisense_ac/047bcb58141e/display_temperature/status
And payload:
25.5
But when I go to HA > developer tools I have:
hvac_modes:
- "off"
- fan_only
- heat
- cool
- dry
- auto min_temp: 16 max_temp: 30 target_temp_step: 1 fan_modes:
- auto
- quiet
- low
- medium
- high swing_modes:
- "on"
- "off" current_temperature: null temperature: 24 fan_mode: low swing_mode: "on" friendly_name: AC000W026243923 MQTT HVAC supported_features: 425
So current_temperature remains null
I don't really see in the sources where it is doing the mapping display_temperature to current_temperature
I think is some env_temp
related with f_temp_in
.
@xury77
I am not an expert but I would try to test to change the line 247 of main.py
config['display_temperature_state_topic'] = mqtt_topics['pub'].format(device.mac_address, topics['display_temperature'])
by
config['current_temperature_topic'] = mqtt_topics['pub'].format(device.mac_address, topics['display_temperature'])
Yes. According https://www.home-assistant.io/integrations/climate.mqtt/
current_temperature_topic string (optional) The MQTT topic on which to listen for the current temperature. A "None" value received will reset the current temperature. Empty values (''') will be ignored.
I will check it.
Yes at least it works:
New release 0.3.20 pushed to dockerhub and available at https://github.com/xury77/AirCon At least current temperature is displayed as above.
works on my side two
Many Thanks for the work !!!
I think I can be able to add some features for FGlair devices such as: vertical positions, eco, boost mode, energy saving, outdoor noise etc: I'm not a python developer but I like doing some hacks :)
this is great! i've switched to your fork. any other features you want to add are welcome for me!