Update README.md

This commit is contained in:
hxcde 2022-08-03 15:26:36 +02:00 committed by GitHub
parent 15efb8d988
commit 5da373dc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ To control your air conditioner and get feedback you need a univeral infrared re
2. Then the IR remote control of your air conditioner must be learned to the remote control. To do this with a broadlink Device, follow the steps from the [Home Assistant Broadlink plugin page](https://www.home-assistant.io/integrations/broadlink/). Create a [remote.send_command script](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L6) to send the command to the AC. 2. Then the IR remote control of your air conditioner must be learned to the remote control. To do this with a broadlink Device, follow the steps from the [Home Assistant Broadlink plugin page](https://www.home-assistant.io/integrations/broadlink/). Create a [remote.send_command script](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L6) to send the command to the AC.
3. Now the smart plug must be integrated into Home Assistant. Follow the instructions of the plugin you need. 3. Now the smart plug must be integrated into Home Assistant. Follow the instructions of the plugin you need.
4. Create a [binary_sensor](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L28) that detects if the device is on or off based on the energy consumption. 4. Create a [binary_sensor](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L28) that detects if the device is on or off based on the energy consumption.
5. Now create a [switch](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L16) consisting of the [binary_sensor](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L28) and the [remote.send_command script](https://github.com/hxcde/myhassconfigs/blob/ad97530c21af6a94b9b02c949569915ce940f58e/makethingssmart/ac/make_dumb_ac_smart#L6). This can switch the air conditioner, and can detect its state. 5. Now create a [switch](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L16) consisting of the [binary_sensor](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L28) and the [remote.send_command script](https://github.com/hxcde/make-dumb-ac-smart/blob/a3aee4818590ab5310621d7640286f65e2a27881/make_dumb_ac_smart#L6). This can switch the air conditioner, and can detect its state.
6. Last, a [generic_thermostat](https://github.com/hxcde/myhassconfigs/blob/ad97530c21af6a94b9b02c949569915ce940f58e/makethingssmart/ac/make_dumb_ac_smart#L39) must be created. To do this, enter the switch entity and the temperature sensor entity in the config. All the settings can be found [here](https://www.home-assistant.io/integrations/generic_thermostat/). 6. Last, a [generic_thermostat](https://github.com/hxcde/myhassconfigs/blob/ad97530c21af6a94b9b02c949569915ce940f58e/makethingssmart/ac/make_dumb_ac_smart#L39) must be created. To do this, enter the switch entity and the temperature sensor entity in the config. All the settings can be found [here](https://www.home-assistant.io/integrations/generic_thermostat/).
7. To add it to Homekit, just add it to the [homekit config](https://github.com/hxcde/myhassconfigs/blob/adef80644e38d652a4d81ddd885fea02e7198bbe/makethingssmart/ac/make_dumb_ac_smart#L54). 7. To add it to Homekit, just add it to the [homekit config](https://github.com/hxcde/myhassconfigs/blob/adef80644e38d652a4d81ddd885fea02e7198bbe/makethingssmart/ac/make_dumb_ac_smart#L54).