An open source alternative for the Panasonic wi-fi adapter that works locally without the cloud.
This library works with both the CN-CNT port and the CN-WLAN port. CN-WLAN is only available on newer units. Either port can be used on units that have both ports regardless of the usage of the other port (ie. it is possible to leave the DNSK-P11 connected to CN-WLAN and connect the ESP to CN-CNT).
Works on the ESP8266 but ESP32 is preferred for the multiple hardware serial ports.
This software installation guide assumes some familiarity with ESPHome.
ac.yaml.example
from the root folderac.yaml.example
to ac.yaml
type
field depending on which AC protocol you want to useac.yaml
to your needsesphome ac.yaml run
and choose your serial port (or do this via the Home Assistant UI)Since Panasonic ACs support different features you can comment out the lines at the bottom of your ac.yaml
:
# Enable as needed
# eco_switch:
# name: Panasonic AC Eco Switch
# nanoex_switch:
# name: Panasonic AC NanoeX Switch
# mild_dry_switch:
# name: Panasonic AC Mild Dry Switch
# econavi_switch:
# name: Econavi switch
# current_power_consumption:
# name: Panasonic AC Power Consumption
In order to find out which features are supported by your AC, check the remote that came with it. Please note that eco switch and mild dry switch are not supported on DNSK-P11.
Enabling unsupported features can lead to undefined behavior and may damage your AC. Make sure to check your remote or manual first. current_power_consumption is just as ESTIMATED value by the AC