Abstract
Esphome Panasonic Ac is an open-source Internet of Things (IoT) project. Open source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud. An open source alternative for the Panasonic wi-fi adapter that works locally without the cloud. It is built using C++, ESP32, ESP8266, MQTT. Key capabilities include: Control your AC locally via Home Assistant, MQTT or directly; Instantly control the AC without any delay like in the Comfort Cloud app; Receive live reports and state from the AC. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building an Internet of Things (IoT) mini project or final-year project.
1. Introduction
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.
2. Objective
Open source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud
This project demonstrates how C++, ESP32, ESP8266 can be applied to a real-world Internet of Things (IoT) problem.
3. Key Features / Modules
- Control your AC locally via Home Assistant, MQTT or directly
- Instantly control the AC without any delay like in the Comfort Cloud app
- Receive live reports and state from the AC
- Uses the UART interface on the AC instead of the IR interface
- Provides a drop-in replacement for the Panasonic DNSK-P11 and the CZ-TACG1 wifi module
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Arduino IDE / PlatformIO or a C++ compiler (g++)
- Target board (e.g. Arduino, ESP32) where applicable
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/DomiStyle/esphome-panasonic-ac.git
cd esphome-panasonic-ac- Pull this repository or copy the ac.yaml.example from the root folder
- Rename the ac.yaml.example to ac.yaml
- Uncomment the type field depending on which AC protocol you want to use
- Adjust the ac.yaml to your needs
- Connect your ESP
- Run esphome ac.yaml run and choose your serial port (or do this via the Home Assistant UI)
- If you see the handshake messages being sent (DNSK-P11) or polling requests being sent (CZ-TACG1) in the log you are good to go
- Disconnect the ESP and continue with hardware installation
Full setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Add a mobile dashboard using Blynk or Firebase
- Store readings in a cloud database for history charts
- Add alerts via SMS / Telegram when thresholds are crossed
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Which microcontroller / board and sensors are used and why?
- How does the device send data (Wi-Fi, MQTT, HTTP, Bluetooth)?
- Where is the sensor data stored and visualised?
- How is power consumption managed?
- How would you secure the device and its communication?
9. Source Code & License
This project is developed by DomiStyle and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on an Internet of Things (IoT) project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Internet of Things (IoT) Internship