mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2024-08-30 18:12:13 +00:00
edit README note on external temperature sensor
This commit is contained in:
parent
f7e3c43a18
commit
cd984667f3
23
README.md
23
README.md
@ -388,9 +388,11 @@ climate:
|
||||
|
||||
It is possible to use an external temperature sensor to tell the heat pump what
|
||||
the room temperature is, rather than relying on its internal temperature
|
||||
sensor. You can do this by calling `set_remote_temperature(float temp)` on the
|
||||
`mitsubishi_heatpump` object in a lambda. Note that you can call
|
||||
`set_remote_temperature(0)` to switch back to the internal temperature sensor.
|
||||
sensor. This is helpful if you want to make sure that a particular room, or part
|
||||
of the room, reaches the desired temperature—rather than just the area near the
|
||||
heat pump or the thermostat. You can do this by calling `set_remote_temperature(float temp)`
|
||||
on the `mitsubishi_heatpump` object in a lambda. (If needed, you can call
|
||||
`set_remote_temperature(0)` to switch back to the internal temperature sensor.)
|
||||
|
||||
There are several ways you could make use of this functionality. One is to use
|
||||
a sensor automation:
|
||||
@ -402,7 +404,7 @@ climate:
|
||||
id: hp
|
||||
|
||||
sensor:
|
||||
# You could use a Bluetooth temperature sensor
|
||||
# You could use a Bluetooth temperature sensor as the source...
|
||||
- platform: atc_mithermometer
|
||||
mac_address: "XX:XX:XX:XX:XX:XX"
|
||||
temperature:
|
||||
@ -411,7 +413,7 @@ sensor:
|
||||
then:
|
||||
- lambda: 'id(hp).set_remote_temperature(x);'
|
||||
|
||||
# Or you could use a HomeAssistant sensor
|
||||
# ...or you could use a Home Assistant sensor as the source
|
||||
- platform: homeassistant
|
||||
name: "Temperature Sensor From Home Assistant"
|
||||
entity_id: sensor.temperature_sensor
|
||||
@ -419,10 +421,17 @@ sensor:
|
||||
then:
|
||||
- lambda: 'id(hp).set_remote_temperature(x);'
|
||||
```
|
||||
One issue that you might have here is that, after some amount of time with no update from the
|
||||
external temperature sensor, the heat pump will revert back to its internal temperature.
|
||||
You can prevent this by [adding a `heartbeat` filter](https://github.com/geoffdavis/esphome-mitsubishiheatpump/issues/31#issuecomment-1207115352)
|
||||
to the sensor, which will keep reminding the heat pump of the external sensor value.
|
||||
|
||||
Alternatively you could define a
|
||||
Also, if your external sensor is in Fahrenheit, you will have to [convert the value to Celsius](https://github.com/geoffdavis/esphome-mitsubishiheatpump/issues/31#issuecomment-1207115352).
|
||||
|
||||
|
||||
Alternatively, you could define a
|
||||
[service](https://www.esphome.io/components/api.html#user-defined-services)
|
||||
that HomeAssistant can call:
|
||||
that Home Assistant can call:
|
||||
|
||||
```yaml
|
||||
api:
|
||||
|
Loading…
Reference in New Issue
Block a user