* Update xdrv_44_miel_hvac.ino
* Update xdrv_44_miel_hvac.ino
- added energy sensors POWER, ENERGY TOTAL, FREQUENCY
- other changes and improvements
* Update xdrv_44_miel_hvac.ino
- added all available mode mapping to Home Assistant
* MiELHVAC extend support for Home Assistant
- Description of Changes
Temperature fields as numbers: Updated all temperature outputs (SetTemperature, RoomTemperature, OutdoorTemperature) to be serialized as numeric values (float) in JSON instead of strings. This ensures proper numeric handling in clients and Home Automation platforms.
- Energy, power, and operation time as numbers: Converted PowerUsage, Energy, OperationTime, and timer fields (TimerOn, TimerOff, TimerOnRemaining, TimerOffRemaining) to numeric values in JSON. Previously these were serialized as strings.
- JSON output consistency: All numeric fields now correctly appear as numbers or floats, while mapped fields (modes, fan speed, swing, air direction, prohibit) remain strings.
- Renamed 'Temp' to 'SetTemperture' in 'HVACSettings'
- Renamed 'Power" to 'PowerState' for SENSOR because of use 'Power' for ENERGY
* MiELHVAC extend support for Home Assistant
Changed Commands:
- 'HVACRemoteTemp' to 'HVACSetRemoteTemp'
- 'HVACRemoteTempClearTime' to 'HVACSetRemoteTempClearTime'
Value of ModeStage:
- changed 'manual' to 'direct'
- available values are: 'direct', 'auto_heat', 'auto_dry', 'auto_fan', 'auto_leader'
Other small improvements for Home Assistant Climate Control
* fix check
* fix check
* fix check
* fix
* MiELHVAC Remote Temp Refactor
- fix remote temperature update
- refactor remote temperature code
- added remote temperature to sensor output
* Update xdrv_44_miel_hvac.ino
* Update xdrv_44_miel_hvac.ino
- added energy sensors POWER, ENERGY TOTAL, FREQUENCY
- other changes and improvements
* Update xdrv_44_miel_hvac.ino
- added all available mode mapping to Home Assistant
* MiELHVAC extend support for Home Assistant
- Description of Changes
Temperature fields as numbers: Updated all temperature outputs (SetTemperature, RoomTemperature, OutdoorTemperature) to be serialized as numeric values (float) in JSON instead of strings. This ensures proper numeric handling in clients and Home Automation platforms.
- Energy, power, and operation time as numbers: Converted PowerUsage, Energy, OperationTime, and timer fields (TimerOn, TimerOff, TimerOnRemaining, TimerOffRemaining) to numeric values in JSON. Previously these were serialized as strings.
- JSON output consistency: All numeric fields now correctly appear as numbers or floats, while mapped fields (modes, fan speed, swing, air direction, prohibit) remain strings.
- Renamed 'Temp' to 'SetTemperture' in 'HVACSettings'
- Renamed 'Power" to 'PowerState' for SENSOR because of use 'Power' for ENERGY
* MiELHVAC extend support for Home Assistant
Changed Commands:
- 'HVACRemoteTemp' to 'HVACSetRemoteTemp'
- 'HVACRemoteTempClearTime' to 'HVACSetRemoteTempClearTime'
Value of ModeStage:
- changed 'manual' to 'direct'
- available values are: 'direct', 'auto_heat', 'auto_dry', 'auto_fan', 'auto_leader'
Other small improvements for Home Assistant Climate Control
* fix check
* fix check
* fix check
* fix
* Fix ESP32 reset during WiFi reconnect when mDNS is active
Explicitly call MDNS.end() before WiFi.disconnect() in support_wifi.ino.
This prevents a race condition or crash where the mDNS service attempts
to query or use the network interface while it is being torn down.
* Fix: removed lines added again.
* Update xdrv_44_miel_hvac.ino
* Update xdrv_44_miel_hvac.ino
- added energy sensors POWER, ENERGY TOTAL, FREQUENCY
- other changes and improvements
* Update xdrv_44_miel_hvac.ino
- added all available mode mapping to Home Assistant
* MiELHVAC extend support for Home Assistant
- Description of Changes
Temperature fields as numbers: Updated all temperature outputs (SetTemperature, RoomTemperature, OutdoorTemperature) to be serialized as numeric values (float) in JSON instead of strings. This ensures proper numeric handling in clients and Home Automation platforms.
- Energy, power, and operation time as numbers: Converted PowerUsage, Energy, OperationTime, and timer fields (TimerOn, TimerOff, TimerOnRemaining, TimerOffRemaining) to numeric values in JSON. Previously these were serialized as strings.
- JSON output consistency: All numeric fields now correctly appear as numbers or floats, while mapped fields (modes, fan speed, swing, air direction, prohibit) remain strings.
- Renamed 'Temp' to 'SetTemperture' in 'HVACSettings'
- Renamed 'Power" to 'PowerState' for SENSOR because of use 'Power' for ENERGY
PR https://github.com/arendst/Tasmota/pull/15468 to "simplify drivers" caused a breaking change to this specific one, as it will instantiate the class without arguments. This fails https://github.com/arendst/Tasmota/discussions/24380
Removing the empty argument list allows `import Shift595` (suggested in the code block) to work, and do the class instantiation there. Ok with this minimal fix, @s-hadinger or should more refactoring be done?
* Update xdrv_44_miel_hvac.ino
* Update xdrv_44_miel_hvac.ino
- added energy sensors POWER, ENERGY TOTAL, FREQUENCY
- other changes and improvements
* Update xdrv_44_miel_hvac.ino
- added all available mode mapping to Home Assistant
* Add an independent MQTT client for use by Berry applications and extensions
- Introduce `mqttclient` Berry class (ESP32) for connecting to MQTT brokers with own credentials, TLS, LWT, and auto-reconnect separate from global MQTT client
- Berry `mqttclient` aims to match functionality of global MQTT client including backoff logic using Settings->mqtt_retry, mqtt_keepalive, and mqtt_socket_timeout
- Rename `retry_counter_delay` to `retry_counter_multiplier` in xdrv_02_9_mqtt for clarity and avoid redundant multiplication.
* Added `USE_BERRY_MQTTCLIENT` flag for conditional compilation of the standalone Berry MQTT client