domistyle / esphome-panasonic-ac Goto Github PK
View Code? Open in Web Editor NEWOpen source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud
License: MIT License
Open source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud
License: MIT License
I got 6 of these units and although they are Panasonic I don’t see a sing of CN-WLAN or CN-CNT or even CN-Data. I have two 4 pin CN-Modul and CN-Manual connectors and an unlabeled CN14 connector. Any idea if this works with ESP in any shape of form? I see these connectors are 12V, so this worries me.
thanks
No testers available for a unit with eco mode and the DNSK-P11 module.
A few times now i experienced that when the module gets 2 commands in a short time not all commands are executed. could there be a delay added to the code in which when more then one command is pushed the next one will be delayed. I had a few times now that when Home assistant pushed a temperature change and in the same second a turn off command the AC wouldnt turn off. this also happens when swingmode is changed and the temperature. in some cases the AC even turns from cool mode to heat.
I see the code hasnt been updated for over 4 months now. I hope this project is still active...
Hello all,
First of all let me congratulate you about this project! I came across this repo because I'm experiencing some issues with Home Assistant and its Panasonic CC integration, and since I'm not a fan of cloud connected stuff I believe that this should be something worth trying out.
Now I have a question about my AC Units. I've got 5 interior (3x CS-Z25VKEW, 1x CS-Z35VKEW, 1x CS-Z50VKEW) units at my home and all of them have onboard wi-fi. They don't have a controller that is connected to the AC, however, I've already check and there's a port for connecting a controller. Do you guys think that it might be possible that anything connected to that port would override the onboard wifi?
Regardless of what some might say I'm willing to give a try and leave feedback to the group about my experience, however it would be nice to know beforehand if I should expect that this will or not work :)
Thanks!
Regards,
Rafael Couto
I suspect the answer is no, because this unit wires in parallel with a wired remote wall controller, which does not appear to be serial UART related.
Anyone know ?
An example of the model using that interface.
https://www.panasonic.com/au/hvac/air-conditioning/residential/whole-house-air-conditioning/high-static-ducted.html
Is it possible to provide a config entry to remove the 'Heating' mode? Although its not a major drama it would be great to disable this so it doesnt appear in the UI.
Also with cooling only models the HA HVAC_MODE_HEAT_COOL mode is redundant and HVAC_MODE_AUTO would be more relevant
Just installed the mod like in your tutorial. I can start and stop the AC and set the fan speed. But the angle of the fan cant be set. The lid is almost closed when on full speed. making the AC blow to the ceiling. Is this a software problem?
And it should be like the cloudcomfort integration like this:
Sorry if this should be obvious. I'm assuming the X might be a placeholder for a number of different options, but the possibility of causing damage to the unit has me hesitant to enable it.
Hi, I'm getting these connection based errors and cannot get any readings nor control the AC.
I have lates versions of HAOS and esphome (and latest versions of all the other components also, if that matters) installed on Raspberry Pi 4 4GB version. I have used until now the CZ-TACG1 to connect to the internet, but as we all now, it cannot be held very reliable..
ESP is regularly disconnecting/ connecting itself. Log from esphome compoinent says:
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- 1.2.2
|-- 1.0
|-- 1.0
|-- 1.0
|-- 2.1.0
| |-- 1.2.2
|-- 1.1.0
|-- 1.0
Compiling /data/ac-mek-garage/.pioenvs/ac-mek-garage/src/main.cpp.o
Linking /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.elf
RAM: [= ] 12.7% (used 41764 bytes from 327680 bytes)
Flash: [===== ] 51.2% (used 939806 bytes from 1835008 bytes)
Building /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin
esp32_create_combined_bin(["/data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin"], ["/data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.elf"])
Wrote 0xf5790 bytes to file /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware-factory.bin, ready to flash to offset 0x0
========================= [SUCCESS] Took 37.22 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of ac-mek-garage.local
INFO -> 192.168.1.11
INFO Uploading /data/ac-mek-garage/.pioenvs/ac-mek-garage/firmware.bin (939920 bytes)
Uploading: [============================================================] 100% Done...
INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from ac-mek-garage.local using esphome API
WARNING Can't connect to ESPHome API for ac-mek-garage.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to ac-mek-garage.local in the background
INFO Successfully connected to ac-mek-garage.local
[18:13:55][I][app:102]: ESPHome version 2022.4.0 compiled on May 1 2022, 18:12:57
[18:13:55][C][wifi:491]: WiFi:
[18:13:55][C][wifi:353]: Local MAC: 7C:9E:BD:62:5C:F4
[18:13:55][C][wifi:354]: SSID: [redacted]
[18:13:55][C][wifi:355]: IP Address: 192.168.1.11
[18:13:55][C][wifi:357]: BSSID: [redacted]
[18:13:55][C][wifi:358]: Hostname: 'ac-mek-garage'
[18:13:55][C][wifi:360]: Signal strength: -49 dB ▂▄▆█
[18:13:55][C][wifi:364]: Channel: 8
[18:13:55][C][wifi:365]: Subnet: 255.255.255.0
[18:13:55][C][wifi:366]: Gateway: 192.168.1.1
[18:13:55][C][wifi:367]: DNS1: 192.168.1.1
[18:13:55][C][wifi:368]: DNS2: 0.0.0.0
[18:13:55][C][logger:233]: Logger:
[18:13:55][C][logger:234]: Level: DEBUG
[18:13:55][C][logger:235]: Log Baud Rate: 115200
[18:13:56][C][logger:236]: Hardware UART: UART0
[18:13:56][D][api:102]: Accepted ::FFFF:C0A8:105
[18:13:56][C][uart.arduino_esp32:107]: UART Bus:
[18:13:56][C][uart.arduino_esp32:108]: TX Pin: GPIO17
[18:13:56][C][uart.arduino_esp32:109]: RX Pin: GPIO16
[18:13:56][C][uart.arduino_esp32:111]: RX Buffer Size: 256
[18:13:56][C][uart.arduino_esp32:113]: Baud Rate: 9600 baud
[18:13:56][C][uart.arduino_esp32:114]: Data Bits: 8
[18:13:56][C][uart.arduino_esp32:115]: Parity: EVEN
[18:13:56][C][uart.arduino_esp32:116]: Stop bits: 1
[18:13:56][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
[18:13:56][C][captive_portal:088]: Captive Portal:
[18:13:56][C][mdns:084]: mDNS:
[18:13:56][C][mdns:085]: Hostname: ac-mek-garage
[18:13:56][C][ota:085]: Over-The-Air Updates:
[18:13:56][C][ota:086]: Address: ac-mek-garage.local:3232
[18:13:56][C][ota:089]: Using Password.
[18:13:56][C][api:138]: API Server:
[18:13:56][C][api:139]: Address: ac-mek-garage.local:6053
[18:13:56][C][api:143]: Using noise encryption: NO
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:16:17][D][climate:010]: 'Panasonic AC ESP MEK' - Setting
[18:16:17][D][climate:039]: Target Temperature: 17.00
[18:16:23][D][climate:010]: 'Panasonic AC ESP MEK' - Setting
[18:16:23][D][climate:014]: Mode: HEAT
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:16:32][D][api:102]: Accepted ::FFFF:C0A8:105
[18:16:32][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:20:26][D][api:102]: Accepted ::FFFF:C0A8:105
[18:20:26][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
INFO Successfully connected to ac-mek-garage.local
[18:25:38][D][api:102]: Accepted ::FFFF:C0A8:105
[18:25:38][D][api.connection:827]: Home Assistant 2022.4.7 (::FFFF:C0A8:105): Connected successfully
INFO ac-mek-garage.local: Error while reading incoming messages: Error while reading data: [Errno 104] Connection reset by peer
INFO Disconnected from ESPHome API for ac-mek-garage.local
WARNING Disconnected from API
INFO ac-mek-garage.local: Ping Failed: Error while reading data: [Errno 104] Connection reset by peer
WARNING Can't connect to ESPHome API for ac-mek-garage.local: Error resolving IP address: [Errno -2] Name or service not known
INFO Trying to reconnect to ac-mek-garage.local in the background`
The last message of the above seems to be saying it cannot resolve the IP, but e.g. my router sees it with full signal and has given it a static IP.
My configuration is as follows:
P.S. I used the "code" option when inserting the samples, but not of much avail, I see...
What might be the problem?
P.S. I inserted the the config as an image, trying to insert as a "code", it mixed up the display?
Just downloaded the master branch (zip), unpacked and uploaded to esphome. When compiling I get this error:
ESPHome
Current version: 1.20.3
Download ac.yaml
INFO Reading configuration /config/esphome/ac.yaml...
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
INFO Running: platformio run -d /config/esphome/ac01
Processing ac01 (board: nodemcu-32s; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif32 3.10006.210326 (1.0.6)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- toolchain-xtensa32 2.50200.97 (5.2.0)
Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
Library Manager: AsyncTCP-esphome @ 1.2.2 has been installed!
Library Manager: Installing Hash
Library Manager: Already installed, built-in library
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <Update> 1.0
|-- <WiFi> 1.0
Compiling /data/ac01/.pioenvs/ac01/src/esphome-panasonic-ac/esppac.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome-panasonic-ac/esppac_cnt.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome-panasonic-ac/esppac_wlan.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/api_connection.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/api_pb2.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/api_pb2_service.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/api_server.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/list_entities.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/proto.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/subscribe_state.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/user_services.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/api/util.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/climate/climate.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/climate/climate_mode.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/climate/climate_traits.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/homeassistant/text_sensor/homeassistant_text_sensor.cpp.o
src/esphome/components/climate/climate.cpp: In constructor 'esphome::climate::Climate::Climate(const string&)':
src/esphome/components/climate/climate.cpp:431:58: warning: 'esphome::climate::Climate::away' is deprecated: away is deprecated, use preset instead [-Wdeprecated-declarations]
Climate::Climate(const std::string &name) : Nameable(name) {}
^
In file included from src/esphome/components/climate/climate.cpp:1:0:
src/esphome/components/climate/climate.h:196:18: note: declared here
bool away{false};
^
src/esphome/components/climate/climate.cpp:431:58: warning: 'esphome::climate::Climate::away' is deprecated: away is deprecated, use preset instead [-Wdeprecated-declarations]
Climate::Climate(const std::string &name) : Nameable(name) {}
^
In file included from src/esphome/components/climate/climate.cpp:1:0:
src/esphome/components/climate/climate.h:196:18: note: declared here
bool away{false};
^
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/logger/logger.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/ota/ota_component.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/sensor/automation.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/sensor/filter.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/sensor/sensor.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/switch/automation.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/switch/switch.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/template/sensor/template_sensor.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/template/switch/template_switch.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/text_sensor/text_sensor.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/uart/uart.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/uart/uart_esp32.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/uart/uart_esp8266.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/wifi/wifi_component.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/wifi/wifi_component_esp32.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/application.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/component.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/controller.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/esphal.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/helpers.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/log.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/preferences.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/scheduler.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/esphome/core/util.cpp.o
Compiling /data/ac01/.pioenvs/ac01/src/main.cpp.o
Generating partitions /data/ac01/.pioenvs/ac01/partitions.bin
Compiling /data/ac01/.pioenvs/ac01/lib874/AsyncTCP-esphome/AsyncTCP.cpp.o
Compiling /data/ac01/.pioenvs/ac01/lib789/WiFi/ETH.cpp.o
/config/esphome/ac.yaml: In lambda function:
/config/esphome/ac.yaml:96:7: error: 'ac' was not declared in this scope
ac->set_outside_temperature_sensor(id(ac01_outside_temperature));
^
/config/esphome/ac.yaml:106:17: error: could not convert '{ac}' from '<brace-enclosed initializer list>' to 'std::vector<esphome::climate::Climate*>'
return {ac};
^
Compiling /data/ac01/.pioenvs/ac01/lib789/WiFi/WiFi.cpp.o
*** [/data/ac01/.pioenvs/ac01/src/main.cpp.o] Error 1
========================= [FAILED] Took 14.44 seconds =========================
Hi,
I have 2 Panasonic units working in HA and have never had any issues previously.
I added a total daily energy meter and tried to install to the ESP, but it failed to compile.
I’ve tried reinstalling on my other ESP with the original unchanged configuration and I get the same errors.
I am running the latest version of Home assistant with all current updates.
Any guidance would be much appreciated
Thanks
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- 1.2.2
|-- 1.0
|-- 1.0
|-- 1.0
|-- 2.1.0
| |-- 1.2.2
|-- 1.1.0
|-- 1.0
Compiling /data/master-bed-ac/.pioenvs/master-bed-ac/src/esphome/components/panasonic_ac/esppac.cpp.o
Compiling /data/master-bed-ac/.pioenvs/master-bed-ac/src/main.cpp.o
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:60:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string)>&&)
void add_on_state_callback(std::function<void(std::string)> &&callback);
^
src/esphome/components/select/select.h:60:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>' to 'std::function<void(std::__cxx11::basic_string)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:60:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string)>&&)
void add_on_state_callback(std::function<void(std::string)> &&callback);
^
src/esphome/components/select/select.h:60:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>' to 'std::function<void(std::__cxx11::basic_string)>&&'
*** [/data/master-bed-ac/.pioenvs/master-bed-ac/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
========================== [FAILED] Took 2.67 seconds ==========================
This has happened maybe 4-5 times now in the last few days. The ESP32 will show as unavailable in Home Assistant and offline in MQTT Explorer until I reset it. It's never happened while I've been watching and I'm unsure how to debug the issue. Do I just need to leave the log going in case it happens?
Aside from enabling MQTT and a small interval that checks the current temperature and sets cooling mode if it goes over 30C, my YAML file is pretty standard. I'm happy to cut my modifications for testing purposes, though I am pretty sure this started happening before I made them.
This is great and I hope someday that you decide to get this merged into ESPHome directly. Until then it would be great if you could structure the code as a standard component so that people can use it with external_components
This would allow people to update a lot easier as that is handled by ESPHome itself.
HI, I noticed the Panasonic (cloud based) integration and this one differ quit substantially.
It would be great if the integration could be more in line with the "official" integration.
Some functions are missing, some are substantially different:
Cloud based integration -- VS -- esphome integration:
Practically the same and all good:
No ECO mode, or just a different name?
Positioning the fan is not possible? / my unit only has a vertical swing.
Separate switches and sensors, for stuff that might be able to live in the climate component? (I really don't know it that is possible.....
AC is stuck in Powerful/Quiet mode until a manual fan speed is selected first. Auto works again after that.
I believe I'm on the latest HAOS, latest ESPHome, etc. And I cannot get it to build.
YAML:
esphome:
name: panasonic-ac-lounge
platform: ESP32
board: esp32dev
wifi:
ssid: "StelTechCor"
password: "****"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Panasonic-Ac Fallback Hotspot"
password: "****"
captive_portal:
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
# Enable MQTT
#mqtt:
# broker: "homeassistant.lan"
# username: "mqtt"
# password: "****"
ota:
password: "****"
# Requires ESPHome 1.15.0+ for the even parity option
uart:
tx_pin: GPIO17
rx_pin: GPIO16
baud_rate: 9600
parity: EVEN
external_components:
source: github://DomiStyle/esphome-panasonic-ac
components: [panasonic_ac]
climate:
- platform: panasonic_ac
id: panasonic_ac_id
# For CZ-TACG1
type: cnt
# For DNSK-P11
# type: wlan
name: Panasonic AC
horizontal_swing_select:
name: Panasonic AC Horizontal Swing Mode
vertical_swing_select:
# id: vertical_swing_select_id
name: Panasonic AC Vertical Swing Mode
outside_temperature:
name: Panasonic AC Outside Temperature
Error log:
Processing panasonic-ac-lounge (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <WiFi> 1.0
|-- <FS> 1.0
|-- <Update> 1.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
| |-- <AsyncTCP-esphome> 1.2.2
|-- <DNSServer> 1.1.0
|-- <ESPmDNS> 1.0
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/panasonic_ac/esppac.cpp.o
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/select/select.cpp.o
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/sensor/automation.cpp.o
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/sensor/filter.cpp.o
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:60:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>)>&&)
void add_on_state_callback(std::function<void(std::string)> &&callback);
^
src/esphome/components/select/select.h:60:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>' to 'std::function<void(std::__cxx11::basic_string<char>)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:60:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>)>&&)
void add_on_state_callback(std::function<void(std::string)> &&callback);
^
src/esphome/components/select/select.h:60:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&, size_t)>' to 'std::function<void(std::__cxx11::basic_string<char>)>&&'
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/sensor/sensor.cpp.o
Compiling /data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/socket/bsd_sockets_impl.cpp.o
*** [/data/panasonic-ac-lounge/.pioenvs/panasonic-ac-lounge/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
========================= [FAILED] Took 10.01 seconds =========================
Dear all
Got some newer Panasonic AC's all which came with a CN-NET connector (to connect a CF-TA9 adapter). It's a 4 pin connector so I assume it is an UART connector (will measure shortly), however just wonder if anyone came across this connector and know if it is compatible with CN-CNT or CN-WLAN?
Thanks!
Hi,
Firstly thank you so much for taking the time to document and write this library - i had wanted to control my Panasonic AC units via Home Assistant but was about to give up and buy the (overpriced) panasonic modules instead.
This is not really an issue but short of a discussion board here was the best place I could find to post. I enjoy electronics design as a hobby and this seemed like a fun project to build a custom board for. It's all open source hardware created in KiCAD and the files are available here on GitHub:
https://github.com/jnicolson/panasonic_ac_wifi
Right now i have the module just sitting in the spot where the CZ-TACG1 unit would sit. When i get a chance i'll design a 3d printable case for it but it's hidden under the AC cover so out of sight out of mind.
Happy for anyone to do what they want with it and thanks again!
Im planning on making a few pre-installed wifi controllers. I designed a circuitboard with the size of the ESP in which the esp32 is placed on the board and the logic converter underneath. Im currently in contact with my Panasonic AC mechanic and asked him if he can sell me the cable from the AC motherboard to the wifi module. If he can provide those for me i can make a preinstalled circuitboard with a 3d printed case and a cable that can be pressed into the motherboard of the AC. Without soldering. The design of the circuitboard is so compact that it can be housed in a case that is as big as the standard wifi module. So it can be mounted the same way.
If people are interested in such a plug and play module please let me know. Ill build 2 for my self as a test and if its a success i could make more.
Hello there Dominik,
I was pointed here by Michel as a possibility to help figure out if we can get the Panasonic Climate Interface to work with the CZ-CAPWFC1 WLAN adaptor supplied by Panasonic for my Ducted Heat Pump.
Michel was nice enough to allow me to order 1 of the Panasonic Climate Interface with the hope it may work with the above adaptor. So I have one now and it's installed in the adaptor, replacing it's original Panasonic Climate Interface. It seems to work well enough, it powers on, has the web server and connects to home assistant through ESPHome.
Only issue is the Panasonic Climate Interface doesn't seem to understand the packets from the adaptor and I was
hoping you could cast your eye over the readings/logs and figure out if anything can be done to get it working.
Here is the config I have installed on the Panasonic Climate Interface at the moment. I've slightly adjusted the recommended to exclude the fin adjustment (ducted heat pumps don't have these) and add a restart button and verbose logging.
bedroom-theatre-aircon-config.yaml.txt
Here is a log file from the Panasonic Climate Interface, taken from the ESPHome web interface in HA.
logs_bedrooms-theatre-aircon_logs.txt
Here is a picture of the install in the adaptor (I'm aware the cable connection is backwards in image, I have corrected that)
Any help or suggestions you could give regarding this would be appreciated.
I have just replaced a CZ-TACG1 with a ESP32 mini and am loving getting away from the cloud. Everything is working well apart from the eco mode selection. Each time I try and turn eco mode on the switch toggles on then straight back off again with no change in mode on the aircon unit itself.
Extract from log:
[12:57:19][D][switch:013]: 'Panasonic AC Eco Switch' Turning ON.
[12:57:19][D][switch:037]: 'Panasonic AC Eco Switch': Sending state ON
[12:57:20][D][switch:037]: 'Panasonic AC Eco Switch': Sending state OFF
Hey @DomiStyle , I'm faceing lots of crashes with my ESP32 NodeMCU wroom board. I've gatherd logs and config below, and was hopeing you could give me a helping hand!
The AC unit is an Panasonic HZ35UKE with DNSK-P11 from factory.
Esphome version 2021.11.4
Running config:
esphome:
name: panasonic-ac
platform: esp32
board: nodemcu-32s
logger:
level: VERBOSE #DEBUG #INFO
api:
ota:
wifi:
power_save_mode: none
fast_connect: true
reboot_timeout: 60s
ssid: "NGV6-IoT"
password: "<redacted>"
output_power: 17
manual_ip:
static_ip: 10.0.40.9
gateway: 10.0.40.1
subnet: 255.255.255.0
dns1: 10.0.40.1
mdns:
disabled: true
uart:
tx_pin: GPIO17
rx_pin: GPIO16
baud_rate: 9600
parity: EVEN
external_components:
source: github://DomiStyle/esphome-panasonic-ac
components: [panasonic_ac]
climate:
- platform: panasonic_ac
type: wlan
name: Panasonic AC
horizontal_swing_select:
name: Panasonic AC Horizontal Swing Mode
vertical_swing_select:
name: Panasonic AC Vertical Swing Mode
outside_temperature:
name: Panasonic AC Outside Temperature
# Enable as needed
# eco_switch:
# name: Panasonic AC Eco Switch
# econavi_switch:
# name: Panasonic AC Econavi Switch
nanoex_switch:
name: Panasonic AC NanoeX Switch
# mild_dry_switch:
# name: Panasonic AC Mild Dry Switch
# current_power_consumption:
# name: Panasonic AC Power Consumption
# Useful when the ac does not report a current temperature (CZ-TACG1 only)
# current_temperature_sensor: temperature_sensor_id
Crash logs:
[D][panasonic_ac.dnskp11:224]: Finishing handshake [16/16]
[V][panasonic_ac:245]: TX: 5A^0E.01.00.00.01.11.85 (p)
Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC 0x40086f2 PS 0x00060634 A0 0x80116ff A1 0x3fa440
A2 0x3fc5c A3 0x3fc624 A4 0x3fc624 A5 0x400f1e
A6 0x000000f A7 0x3fbe0 A8 0x80115317 A9 0x3fa420
A10 0x3fc5c A11 0x0000001f A12 0x00000000 A13 0x3fc640
A14 0x00000000 A15 0x00000000 SAR 0x00000020 EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
ELF file SHA256: 000000000000000
Backtrace:0x40086f2:0x3fa4400x40116fc0x3fa480 0x40089da0x3fa4 b
ore 1 register dump:
PC 0x4000be PS 0x00060034 A0 0x8008a40 A1 0x3fbe0
A2 0x00000003 A3 0x00060023 A4 0xffff A5 0x3fb4e
A6 0x00000068 A7 0x00000000 A8 0xc000000 A9 0x00000000
A10 0x0000002a A11 0x00000003 A12 0x3fc4f A13 0x00000001
A14 0x3fc7d A15 0x00000010 SAR 0x00000018 EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000c8c LEND 0x4000c96 LCOUNT 0x00000000
ELF file SHA256: 000000000000000
Backtrace:0x4000be:0x3fbe00x4008a3d0x3fbe0 0x40089a8:0x3fbf0 0x400815e:0x3fbf00x40087249:0x3fbf00x40157883:0x3fb6c 0x40142df0x3fb6e 0x4008b79:0x3fb700 0x4 0089da0x3fb720
Rebooting...
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:452]: There have been 3 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:075]: Setting up UART...
[I][panasonic_ac:039]: Panasonic AC component v2.2.1 starting...
[D][panasonic_ac.dnskp11:013]: Using DNSK-P11 protocol via CN-WLAN
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('-1446447864'): ESP_ERR_NVS_NOT_FOUND - the key migh t not be set yet
[V][wifi_esp32:039]: Enabling STA.
[V][esp-idf:000]: I (87) wifi:
[V][esp-idf:000]: wifi driver task: 3ffb5bfc, prio:23, stack:3584, core=0
[V][esp-idf:000]:
[V][esp-idf:000]: I (368) wifi:
[V][esp-idf:000]: wifi firmware version: dc30037
[V][esp-idf:000]:
[V][esp-idf:000]: I (369) wifi:
[V][esp-idf:000]: config NVS flash: enabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (380) wifi:
[V][esp-idf:000]: config nano formating: disabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (393) wifi:
[V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (405) wifi:
[V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (419) wifi:
[V][esp-idf:000]: Init management short buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (431) wifi:
[V][esp-idf:000]: Init dynamic tx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (443) wifi:
[V][esp-idf:000]: Init static rx buffer size: 1600
[V][esp-idf:000]:
[V][esp-idf:000]: I (455) wifi:
[V][esp-idf:000]: Init static rx buffer num: 16
[V][esp-idf:000]:
[V][esp-idf:000]: I (467) wifi:
[V][esp-idf:000]: Init dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (576) wifi:
[V][esp-idf:000]: mode : sta (94:b9:7e:e9:a9:28)
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[V][wifi_esp32:445]: Event: WiFi ready
[V][esp-idf:000]: I (609) wifi:
[V][esp-idf:000]: Set ps type: 0
[V][esp-idf:000]:
[I][wifi:245]: WiFi Connecting to 'NGV6-IoT'...
[V][wifi:247]: Connection Params:
[V][wifi:248]: SSID: 'NGV6-IoT'
[V][wifi:253]: BSSID: Not Set
[V][wifi:271]: Password: '<redacted>'
[V][wifi:278]: Channel: Not Set
[V][wifi:283]: Manual IP: Static IP=10.0.40.9 Gateway=10.0.40.1 Subnet=255.255.255.0 DNS1=1 0.0.40.1 DNS2=0.0.0.0
[V][wifi:287]: Hidden: NO
[V][esp-idf:000]: I (2709) wifi:
[V][esp-idf:000]: new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3455) wifi:
[V][esp-idf:000]: state: init -> auth (b0)
[V][e▒▒idf:000]:
[V][esp-idf:000]: I (3468) wifi:
[V][esp-idf:000]: state: auth -> assoc (0)
[V][esp-idf:000]:
[V][esp-idf:000]: I (3471) wifi:
[V][esp-idf:000]: state: assoc -> init (2c0)
[V][esp-idf:000]:
[V][esp-idf:000]: I (3481) wifi:
[V][esp-idf:000]: new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3495) wifi:
[V][esp-idf:000]: new:<1,0>, old:<6,0>, ap:<255,255>, sta:<1,0>, prof:1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3510)▒wifi:
[V][esp-idf:000]: state: init -> auth (b0)
[V][esp-idf:000]:
[V][esp-idf:000]: I (3524) wifi:
[V][esp-id▒:000]: state: auth -> assoc (0)
Yuͪ▒▒▒▒▒000]:
[▒tm▒▒▒idf:0▒▒▒ L▒(?▒▒▒▒▒▒9▒▒5
[V][esp-idf:000]: state: assoc -> run (10)
[V][esp-idf:000]:
Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC 0x40086f2 PS 0x00060a4 A0 0x800fb4 A1 0x3fa240
A2 0x00000000 A3 0x3fca6 A4 0x3fce4 A5 0x3fca9
A6 0x00000008 A7 0x00000000 A8 0x8011f61 A9 0x0000008a
A10 0x00000000 A11 0x3f0e04 A12 0x3fca9 A13 0x00000063
A14 0x00060021 A15 0x00000000 SAR 0x00000010 EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000c49 LEND 0x4000c6b LCOUNT 0xffff
ELF file SHA256: 000000000000000
Backtrace:0x40086f2:0x3fa2400x400fb1:0x3fa2c 0x400f3a:0x3fa2e 0x400f1f:0x3fa420 0x401153d:0x3fa440 0x40116fc0x3fa480 0x40089da0x3fa4b
ore 1 register dump:
PC 0x4000c71 PS 0x00060034 A0 0x8008ad A1 0x3fba0
A2 0x3fb058 A3 0x3f183a A4 0x00000014 A5 0x3fbf0
A6 0x3fbf8 A7 0x00000001 A8 0x00000001 A9 0x3f183a
A10 0x000000a A11 0x3fbc0 A12 0x8008b8b A13 0x3fbe0
A14 0x00000008 A15 0x00000001 SAR 0x0000001a EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
ELF file SHA256: 000000000000000
Backtrace:0x4000c71:0x3fba00x4008ad:0x3fba00x4008c7c0x3fba00x 4008c32:0x4000bf
Rebooting...
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:452]: There have been 4 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:075]: Setting up UART...
[I][panasonic_ac:039]: Panasonic AC component v2.2.1 starting...
[D][panasonic_ac.dnskp11:013]: Using DNSK-P11 protocol via CN-WLAN
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('-1446447864'): ESP_ERR_NVS_NOT_FOUND - the key migh t not be set yet
[V][wifi_esp32:039]: Enabling STA.
[V][esp-idf:000]: I (87) wifi:
[V][esp-idf:000]: wifi driver task: 3ffb5bfc, prio:23, stack:3584, core=0
[V][esp-idf:000]:
[V][esp-idf:000]: I (369) wifi:
[V][esp-idf:000]: wifi firmware version: dc30037
[V][esp-idf:000]:
[V][esp-idf:000]: I (370) wifi:
[V][esp-idf:000]: config NVS flash: enabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (382) wifi:
[V][esp-idf:000]: config nano formating: disabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (394) wifi:
[V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (406) wifi:
[V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (420) wifi:
[V][esp-idf:000]: Init management short buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (432) wifi:
[V][esp-idf:000]: Init dynamic tx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (444) wifi:
[V][esp-idf:000]: Init static rx buffer size: 1600
[V][esp-idf:000]:
[V][esp-idf:000]: I (457) wifi:
[V][esp-idf:000]: Init static rx buffer num: 16
[V][esp-idf:000]:
[V][esp-idf:000]: I (468) wifi:
[V][esp-idf:000]: Init dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (574) wifi:
[V][esp-idf:000]: mode : sta (94:b9:7e:e9:a9:28)
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[V][wifi_esp32:445]: Event: WiFi ready
[V][esp-idf:000]: I (607) wifi:
[V][esp-idf:000]: Set ps type: 0
[V][esp-idf:000]:
[I][wifi:245]: WiFi Connecting to 'NGV6-IoT'...
[V][wifi:247]: Connection Params:
[V][wifi:248]: SSID: 'NGV6-IoT'
[V][wifi:253]: BSSID: Not Set
[V][wifi:271]: Password: '<redacted>'
[V][wifi:278]: Channel: Not Set
[V][wifi:283]: Manual IP: Static IP=10.0.40.9 Gateway=10.0.40.1 Subnet=255.255.255.0 DNS1=1 0.0.40.1 DNS2=0.0.0.0
[V][wifi:287]: Hidden: NO
[V][esp-idf:000]: I (2707) wifi:
[V][esp-idf:000]: new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3453) wifi:
[V][esp-idf:000]: state: init -> auth (b0)
[V][esp-idf:000]:
[V][esp-idf:000]: I (3464) wifi:
[V][esp-idf:000]: state: auth -> assoc (0)
▒Yum▒▒▒i▒▒▒▒▒▒▒
[V][esp-idf:000]: I (3472) wifi:
[▒յU▒▒idf▒▒▒▒▒▒ state: a▒soc▒-> rҹ▒(1▒)m
▒jmY▒▒U▒▒idf:000]:
Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU0)
Core 0 register dump:
PC 0x40086f2 PS 0x00060434 A0 0x80089dd A1 0x3fa480
A2 0x3fbd0 A3 0x3fb2e A4 0x00000000 A5 0x0000001a
A6 0x40116ff A7 0x3fc64c A8 0x3f0d64 A9 0x3fa460
A10 0x00000019 A11 0x00000000 A12 0x3fb02c A13 0x400f1e
A14 0x000000f A15 0x00000000 SAR 0x00000019 EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
ELF file SHA256: 000000000000000
Backtrace:0x40086f2:0x3fa4800x40089da0x3fa4b
ore 1 register dump:
PC 0x4000c71 PS 0x00060034 A0 0x8008ad A1 0x3fba0
A2 0x3fb058 A3 0x3f183a A4 0x00000014 A5 0x3fbf0
A6 0x3fbf8 A7 0x00000001 A8 0x00000001 A9 0x3f183a
A10 0x000000a A11 0x3fbc0 A12 0x8008b8b A13 0x3fbe0
A14 0x00000008 A15 0x00000001 SAR 0x00000016 EXCCAUSE 0x00000005
EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
ELF file SHA256: 000000000000000
Backtrace:0x4000c71:0x3fba00x4008ad:0x3fba00x4008c7c0x3fba00x 4008c32:0x3fc50c
Rebooting...
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:452]: There have been 5 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:075]: Setting up UART...
[I][panasonic_ac:039]: Panasonic AC component v2.2.1 starting...
[D][panasonic_ac.dnskp11:013]: Using DNSK-P11 protocol via CN-WLAN
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('-1446447864'): ESP_ERR_NVS_NOT_FOUND - the key migh t not be set yet
[V][wifi_esp32:039]: Enabling STA.
[V][esp-idf:000]: I (87) wifi:
[V][esp-idf:000]: wifi driver task: 3ffb5bfc, prio:23, stack:3584, core=0
[V][esp-idf:000]:
[V][esp-idf:000]: I (368) wifi:
[V][esp-idf:000]: wifi firmware version: dc30037
[V][esp-idf:000]:
[V][esp-idf:000]: I (369) wifi:
[V][esp-idf:000]: config NVS flash: enabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (380) wifi:
[V][esp-idf:000]: config nano formating: disabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (393) wifi:
[V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (405) wifi:
[V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (419) wifi:
[V][esp-idf:000]: Init management short buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (431) wifi:
[V][esp-idf:000]: Init dynamic tx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (443) wifi:
[V][esp-idf:000]: Init static rx buffer size: 1600
[V][esp-idf:000]:
[V][esp-idf:000]: I (455) wifi:
[V][esp-idf:000]: Init static rx buffer num: 16
[V][esp-idf:000]:
[V][esp-idf:000]: I (467) wifi:
[V][esp-idf:000]: Init dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (571) wifi:
[V][esp-idf:000]: mode : sta (94:b9:7e:e9:a9:28)
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[V][wifi_esp32:445]: Event: WiFi ready
[V][esp-idf:000]: I (604) wifi:
[V][esp-idf:000]: Set ps type: 0
[V][esp-idf:000]:
[I][wifi:245]: WiFi Connecting to 'NGV6-IoT'...
[V][wifi:247]: Connection Params:
[V][wifi:248]: SSID: 'NGV6-IoT'
[V][wifi:253]: BSSID: Not Set
[V][wifi:271]: Password: '<redacted>'
[V][wifi:278]: Channel: Not Set
[V][wifi:283]: Manual IP: Static IP=10.0.40.9 Gateway=10.0.40.1 Subnet=255.255.255.0 DNS1=1 0.0.40.1 DNS2=0.0.0.0
[V][wifi:287]: Hidden: NO
▒▒uru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x40016cbc: 0006e007 4b24c192 4b068861
Core 1 register dump:
PC : 0x40016cc2 PS : 0x00060c33 A0 : 0x8008a9d4 A1 : 0x3ffb1bf0
A2 : 0x3ffb0058 A3 : 0x3f4183a0 A4 : 0x00000014 A5 : 0x3ffb1be0
A6 : 0x3ffb8ab4 A7 : 0x401565d4 A8 : 0x00000007 A9 : 0x003a60e0
A10 : 0x000000a5 A11 : 0x3ffb0060 A12 : 0x00000000 A13 : 0x3ffb1bb0
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x00000012 EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
ELF file SHA256: 0000000000000000
Backtrace: 0x40016cc2:0x3ffb1bf0 0x4008a9d1:0x3ffb1c10 0x4008c57c:0x3ffb1c30 0x4008c60d:0x3ff b1c50 0x400e18f1:0x3ffb1c70 0x400e37c6:0x3ffb1cc0 0x400e6606:0x3ffb1fb0 0x40089dca:0x3ffb1fd0
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:452]: There have been 6 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:075]: Setting up UART...
[I][panasonic_ac:039]: Panasonic AC component v2.2.1 starting...
[D][panasonic_ac.dnskp11:013]: Using DNSK-P11 protocol via CN-WLAN
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('-1446447864'): ESP_ERR_NVS_NOT_FOUND - the key migh t not be set yet
[V][wifi_esp32:039]: Enabling STA.
[V][esp-idf:000]: I (87) wifi:
[V][esp-idf:000]: wifi driver task: 3ffb5bfc, prio:23, stack:3584, core=0
[V][esp-idf:000]:
[V][esp-idf:000]: I (369) wifi:
[V][esp-idf:000]: wifi firmware version: dc30037
[V][esp-idf:000]:
[V][esp-idf:000]: I (370) wifi:
[V][esp-idf:000]: config NVS flash: enabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (381) wifi:
[V][esp-idf:000]: config nano formating: disabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (394) wifi:
[V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (406) wifi:
[V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (420) wifi:
[V][esp-idf:000]: Init management short buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (432) wifi:
[V][esp-idf:000]: Init dynamic tx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (444) wifi:
[V][esp-idf:000]: Init static rx buffer size: 1600
[V][esp-idf:000]:
[V][esp-idf:000]: I (456) wifi:
[V][esp-idf:000]: Init static rx buffer num: 16
[V][esp-idf:000]:
[V][esp-idf:000]: I (468) wifi:
[V][esp-idf:000]: Init dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (571) wifi:
[V][esp-idf:000]: mode : sta (94:b9:7e:e9:a9:28)
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[V][wifi_esp32:445]: Event: WiFi ready
[V][esp-idf:000]: I (604) wifi:
[V][esp-idf:000]: Set ps type: 0
[V][esp-idf:000]:
[I][wifi:245]: WiFi Connecting to 'NGV6-IoT'...
[V][wifi:247]: Connection Params:
[V][wifi:248]: SSID: 'NGV6-IoT'
[V][wifi:253]: BSSID: Not Set
[V][wifi:271]: Password: '<redacted>'
[V][wifi:278]: Channel: Not Set
[V][wifi:283]: Manual IP: Static IP=10.0.40.9 Gateway=10.0.40.1 Subnet=255.255.255.0 DNS1=1 0.0.40.1 DNS2=0.0.0.0
[V][wifi:287]: Hidden▒0▒Դj5
[V][esp-idf:000]: I (2704) wifi:
[V][esp-idf:000]: new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3450) wifi:
[V][esp-idf:000]: state: init -> au▒
B▒)
[▒][esp-idf:000]:
n[0m
[V][esp-idf▒▒▒▒J▒(3496) wifi:
[V][esp-idf:000ݦ▒хѕ▒ a▒th -> assoc (0)
▒▒jmYum▒▒▒idf:000]:
[V][esp-idf:000]: I (3510) wifi:
[V][esp-idf:000]: state: assoc -> run (10)▒▒▒+ښ▒jm▒U▒U▒▒idf:000]:
▒[V][esp-idf:000]: I (3537) wifi:
[V][esp-idf:000]: connected with NGV6-IoT, aid = 3, channel 6, BW20, bssid = e2:63:da:25:b6:1 1
[V][esp-idf:000]:
[V][esp-idf:000]: I (3542) wifi:
[V][esp-idf:000]: security type: 3, phy: bgn, rssi: -61
[V][esp-idf:000]:
[V][esp-idf:000]: I (3555) wifi:
[V][esp-idf:000]: pm start, type: 0
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 7 - STA_GOT_IP
[D][WiFiGeneric.cpp:419] _eventCallback(): STA IP: 10.0.40.9, MASK: 255.255.255.0, GW: 10.0.4 0.1
[V][wifi_esp32:537]: Event: Got IP static_ip=10.0.40.9 gateway=10.0.40.1
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 7 - STA_GOT_IP
[D][WiFiGeneric.cpp:419] _eventCallback(): STA IP: 10.0.40.9, MASK: 255.255.255.0, GW: 10.0.4 0.1
[V][wifi_esp32:537]: Event: Got IP static_ip=10.0.40.9 gateway=10.0.40.1
[I][wifi:502]: WiFi Connected!
[C][wifi:350]: Local MAC: 94:B9:7E:E9:A9:28
[C][wifi:351]: SSID: 'NGV6-IoT'
[C][wifi:352]: IP Address: 10.0.40.9
[C][wifi:354]: BSSID: E2:63:DA:25:B6:11
[C][wifi:355]: Hostname: 'panasonic-ac'
[C][wifi:357]: Signal strength: -61 dB ▂▄▆█
[C][wifi:361]: Channel: 6
[C][wifi:362]: Subnet: 255.255.255.0
[C][wifi:363]: Gateway: 10.0.40.1
[C][wifi:364]: DNS1: 10.0.40.1
[C][wifi:365]: DNS2: 0.0.0.0
[C][ota:082]: Over-The-Air Updates:
[C][ota:083]: Address: 10.0.40.9:3232
[W][ota:092]: Last Boot was an unhandled reset, will proceed to safe mode in 4 restarts
[C][api:025]: Setting up Home Assistant API server...
[I][app:060]: setup() finished successfully!
[I][app:099]: ESPHome version 2021.11.4 compiled on Nov 30 2021, 17:37:31
[C][wifi:488]: WiFi:
[C][wifi:350]: Local MAC: 94:B9:7E:E9:A9:28
[C][wifi:351]: SSID: 'NGV6-IoT'
[C][wifi:352]: IP Address: 10.0.40.9
[C][wifi:354]: BSSID: E2:63:DA:25:B6:11
[C][wifi:355]: Hostname: 'panasonic-ac'
[C][wifi:357]: Signal strength: -60 dB ▂▄▆█
[C][wifi:361]: Channel: 6
[C][wifi:362]: Subnet: 255.255.255.0
[C][wifi:363]: Gateway: 10.0.40.1
[C][wifi:364]: DNS1: 10.0.40.1
[C][wifi:365]: DNS2: 0.0.0.0
[C][logger:233]: Logger:
[C][logger:234]: Level: VERBOSE
[C][logger:235]: Log Baud Rate: 115200
[C][logger:236]: Hardware UART: UART0
[C][uart.arduino_esp32:105]: UART Bus:
[C][uart.arduino_esp32:106]: TX Pin: GPIO17
[C][uart.arduino_esp32:107]: RX Pin: GPIO16
[C][uart.arduino_esp32:109]: RX Buffer Size: 256
[C][uart.arduino_esp32:111]: Baud Rate: 9600 baud
[C][uart.arduino_esp32:112]: Data Bits: 8
[C][uart.arduino_esp32:113]: Parity: EVEN
[C][uart.arduino_esp32:114]: Stop bits: 1
[C][ota:082]: Over-The-Air Updates:
[C][ota:083]: Address: 10.0.40.9:3232
[W][ota:092]: Last Boot was an unhandled reset, will proceed to safe mode in 4 restarts
[C][api:134]: API Server:
[C][api:135]: Address: 10.0.40.9:6053
[C][api:139]: Using noise encryption: NO
[D][panasonic_ac.dnskp11:204]: Starting handshake [1/16]
[V][panasonic_ac:245]: TX: 5A.00.00.06.00.00.A0 (7)
[V][panasonic_ac:245]: TX: 5A.01.00.09.00.00.9C (7)
[D][panasonic_ac.dnskp11:721]: Resending previous packet
[V][panasonic_ac:245]: TX: 5A.01.00.09.00.00.9C (7)
[V][panasonic_ac:247]: RX: 5A.01.00.89.00.02.00.02.18 (9)
[D][panasonic_ac.dnskp11:555]: Answering handshake [2/16]
[V][panasonic_ac:245]: TX: 5A.02.00.0C.00.00.98 (7)
[V][panasonic_ac:247]: RX: 5A.02.00.8C.00.01.00.17 (8)
[D][panasonic_ac.dnskp11:559]: Answering handshake [3/16]
[V][panasonic_ac:245]: TX: 5A.03.00.10.00.01.20.72 (8)
[V][panasonic_ac:247]: RX: 5A.03.00.90.00.02.00.20.F1 (9)
[D][panasonic_ac.dnskp11:563]: Answering handshake [4/16]
[V][panasonic_ac:245]: TX: 5A.04.00.11.00.02.00.01.8E (9)
[V][panasonic_ac:247]: RX: 5A.04.00.91.00.36.00.00.01.00.01.0A.15.43.53.2D.48.5A.33.35.55.4B. 45.2B.34.39.33.39.38.30.33.39.32.32.0B.02.01.2C.0C.14.43.53.2D.31.38.31.00.00.00.00.00.00.00. 00.00.00.00.00.00.00.15 (61)
[D][panasonic_ac.dnskp11:567]: Answering handshake [5/16]
[V][panasonic_ac:245]: TX: 5A.05.00.12.00.04.01.10.11.12.57 (11)
[V][panasonic_ac:247]: RX: 5A.05.00.92.00.05.00.01.10.11.12.D6 (12)
[D][panasonic_ac.dnskp11:571]: Answering handshake [6/16]
[V][panasonic_ac:245]: TX: 5A.06.00.41.00.00.5F (7)
[V][panasonic_ac:247]: RX: 5A.06.00.C1.00.02.00.01.DC (9)
[D][panasonic_ac.dnskp11:575]: Answering handshake [7/16]
[V][panasonic_ac:245]: TX: 5A.07.01.4C.00.00.52 (7)
[V][panasonic_ac:247]: RX: 5A.07.01.CC.00.02.00.01.CF (9)
[D][panasonic_ac.dnskp11:579]: Answering handshake [8/16]
[V][panasonic_ac:245]: TX: 5A.08.10.00.00.00.8E (7)
[V][panasonic_ac:247]: RX: 5A.08.10.80.00.05.00.01.01.30.01.D6 (12)
[D][panasonic_ac.dnskp11:583]: Answering handshake [9/16]
[V][panasonic_ac:245]: TX: 5A.09.10.01.00.05.01.30.01.00.01.54 (12)
[V][panasonic_ac:247]: RX: 5A.09.10.81.00.5A.00.01.30.01.00.01.00.01.00.14.00.80.E2.01.00.85. 42.04.00.86.62.2E.00.88.62.01.00.A0.E2.01.00.A1.E2.01.00.A4.E2.01.00.A5.E2.01.00.B0.E2.01.00. B2.E2.01.00.BB.42.01.00.BE.42.01.02.20.62.01.02.21.62.01.02.31.E2.01.02.32.62.01.02.33.E2.01. 02.34.E2.01.02.35.E2.01.02.42.82.01.34 (97)
[D][panasonic_ac.dnskp11:587]: Answering handshake [10/16]
[V][panasonic_ac:245]: TX: 5A.0A.00.18.00.00.84 (7)
[V][panasonic_ac:247]: RX: 5A.0A.00.98.00.01.00.03 (8)
[D][panasonic_ac.dnskp11:591]: Answering handshake [11/16]
[V][panasonic_ac:245]: TX: 5A.0B.01.00.00.01.10.89 (8)
[V][panasonic_ac:247]: RX: 5A.0B.01.80.00.01.00.19 (8)
[D][panasonic_ac.dnskp11:595]: Answering handshake [12/16]
[V][panasonic_ac:245]: TX: 5A.0C.10.08.00.09.01.01.30.01.01.02.42.01.42.BE (16)
[V][panasonic_ac:247]: RX: 5A.0C.10.88.00.08.00.01.30.01.01.02.42.00.83 (15)
[D][panasonic_ac.dnskp11:600]: Ignoring handshake [13/16]
[V][panasonic_ac:247]: RX: 5A.19.01.09.00.00.83 (7)
[D][panasonic_ac.dnskp11:604]: Received rx counter [14/16]
[V][panasonic_ac:245]: TX: 5A.19.01.89.00.07.00.B8.B7.F1.9B.4F.A6.0C (14)
[V][panasonic_ac:247]: RX: 5A.1A.00.20.00.00.6C (7)
[D][panasonic_ac.dnskp11:609]: Answering handshake [15/16]
[V][panasonic_ac:245]: TX: 5A.1A.00.A0.00.13.00.08.30.32.2E.30.33.2E.30.30.08.30.31.30.31.30. 31.30.33.C2 (26)
[D][panasonic_ac.dnskp11:217]: Polling for the first time
[V][panasonic_ac:245]: TX: 5A.0D.10.09.00.38.01.01.30.01.11.00.80.00.00.B0.00.02.31.00.00.A0. 00.00.A1.00.00.A5.00.00.A4.00.00.B2.00.02.35.00.02.33.00.02.34.00.02.32.00.00.BB.00.00.BE.00. 02.20.00.02.21.00.00.86.00.4B (63)
[V][panasonic_ac:247]: RX: 5A.0D.10.89.00.76.00.01.30.01.11.00.80.01.31.00.B0.01.43.02.31.01. 2A.00.A0.01.41.00.A1.01.42.00.A5.01.42.00.A4.01.44.00.B2.01.41.02.35.01.41.02.33.01.43.02.34. 01.41.02.32.01.41.00.BB.01.17.00.BE.01.FD.02.20.01.42.02.21.01.41.00.86.2E.2A.00.00.0B.01.01. 48.30.30.30.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00. 00.00.00.00.00.00.00.00.00.BC (125)
[D][panasonic_ac.dnskp11:418]: Received query response
[V][sensor:062]: 'Panasonic AC Outside Temperature': Received new state -3.000000
[D][sensor:113]: 'Panasonic AC Outside Temperature': Sending state -3.00000 °C with 0 decimal s of accuracy
[D][select:032]: 'Panasonic AC Horizontal Swing Mode': Sending state left
[D][select:032]: 'Panasonic AC Vertical Swing Mode': Sending state up_center
[D][switch:037]: 'Panasonic AC NanoeX Switch': Sending state ON
[D][climate:381]: 'Panasonic AC' - Sending state:
[D][climate:384]: Mode: OFF
[D][climate:392]: Custom Fan Mode: Automatic
[D][climate:398]: Custom Preset: Normal
[D][climate:401]: Swing Mode: OFF
[D][climate:404]: Current Temperature: 23.00°C
[D][climate:410]: Target Temperature: 21.00°C
[V][component:186]: Component panasonic_ac.climate took a long time for an operation (0.11 s) .
[V][component:187]: Components should block for at most 20-30ms.
[D][api:098]: ▒▒▒▒▒]▒▒192.168n1.11
[V][api.connection:731]: Hello from client: 'Home Assistant 2021.11.5 (192.16▒r▒r▒▒J:▒▒j5
[D][api.connection:747]: Home Assistant 2021.11.5 (192.168.1.11 ): Connect▒"▒succ▒ssfully
[D][panasonic_ac.dnskp11:224]: Finishing handshake [16/16]
[V][panasonic_ac:245]: TX: 5A.0E.01.00.00.01.11.85 (8)
[V][panasonic_ac:247]: RX: 5A.0E.01.80.00.01.00.16 (8)
[I][panasonic_ac.dnskp11:545]: Panasonic AC component v2.2.1 initialized
[V][panasonic_ac.dnskp11:195]: Polling AC
[V][panasonic_ac:245]: TX: 5A.0F.10.09.00.38.01.01.30.01.11.00.80.00.00.B0.00.02.31.00.00.A0. 00.00.A1.00.00.A5.00.00.A4.00.00.B2.00.02.35.00.02.33.00.02.34.00.02.32.00.00.BB.00.00.BE.00. 02.20.00.02.21.00.00.86.00.49 (63)
[V][panasonic_ac:247]: RX: 5A.0F.10.89.00.76.00.01.30.01.11.00.80.01.31.00.B0.01.43.02.31.01. 2A.00.A0.01.41.00.A1.01.42.00.A5.01.42.00.A4.01.44.00.B2.01.41.02.35.01.41.02.33.01.43.02.34. 01.41.02.32.01.41.00.BB.01.17.00.BE.01.FD.02.20.01.42.02.21.01.41.00.86.2E.2A.00.00.0B.01.01. 48.30.30.30.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00. 00.00.00.00.00.00.00.00.00.BA (125)
[D][panasonic_ac.dnskp11:418]: Received query response
[D][climate:381]: 'Panasonic AC' - Sending state:
[D][climate:384]: Mode: OFF
[D][climate:392]: Custom Fan Mode: Automatic
[D][climate:398]: Custom Preset: Normal
[D][climate:401]: Swing Mode: OFF
[D][climate:404]: Current Temperature: 23.00°C
[D][climate:410}▒ Targ▒t Temp▒rature: 21.0▒°C;[0m
▒V][component:1p6]t Component panasonic_ac.climate took a long tim▒▒for an operѥ▒▒▒(0.07 s).=
[ V][c▒mponent:187]: Components should block@for at most 20-30ms.
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:452]: There have been 7 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[V][app:030]: Sorting components by setup priority...
[C][uart.arduino_esp32:075]: Setting up UART...
[I][panasonic_ac:039]: Panasonic AC component v2.2.1 starting...
[D][panasonic_ac.dnskp11:013]: Using DNSK-P11 protocol via CN-WLAN
[C][wifi:037]: Setting up WiFi...
[V][esp32.preferences:057]: nvs_get_blob('-1446447864'): ESP_ERR_NVS_NOT_FOUND - the key migh t not be set yet
[V][wifi_esp32:039]: Enabling STA.
[V][esp-idf:000]: I (87) wifi:
[V][esp-idf:000]: wifi driver task: 3ffb5bfc, prio:23, stack:3584, core=0
[V][esp-idf:000]:
[V][esp-idf:000]: I (368) wifi:
[V][esp-idf:000]: wifi firmware version: dc30037
[V][esp-idf:000]:
[V][esp-idf:000]: I (369) wifi:
[V][esp-idf:000]: config NVS flash: enabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (380) wifi:
[V][esp-idf:000]: config nano formating: disabled
[V][esp-idf:000]:
[V][esp-idf:000]: I (393) wifi:
[V][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (405) wifi:
[V][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (419) wifi:
[V][esp-idf:000]: Init management short buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (431) wifi:
[V][esp-idf:000]: Init dynamic tx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (443) wifi:
[V][esp-idf:000]: Init static rx buffer size: 1600
[V][esp-idf:000]:
[V][esp-idf:000]: I (455) wifi:
[V][esp-idf:000]: Init static rx buffer num: 16
[V][esp-idf:000]:
[V][esp-idf:000]: I (467) wifi:
[V][esp-idf:000]: Init dynamic rx buffer num: 32
[V][esp-idf:000]:
[V][esp-idf:000]: I (574) wifi:
[V][esp-idf:000]: mode : sta (94:b9:7e:e9:a9:28)
[V][esp-idf:000]:
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 0 - WIFI_READY
[D][WiFiGeneric.cpp:374] _eventCallback(): Event: 2 - STA_START
[V][wifi_esp32:460]: Event: WiFi STA start
[V][wifi_esp32:445]: Event: WiFi ready
[V][esp-idf:000]: I (607) wifi:
[V][esp-idf:000]: Set ps type: 0
[V][esp-idf:000]:
[I][wifi:245]: WiFi Connecting to 'NGV6-IoT'...
[V][wifi:247]: Connection Params:
[V][wifi:248]: SSID: 'NGV6-IoT'
[V][wifi:253]: BSSID: Not Set
[V][wifi:271]: Password: '<redacted>'
[V][wifi:278]: Channel: Not Set
[V][wifi:283]: Manual IP: Static IP=10.0.40.9 Gateway=10.0.40.1 Subnet=255.255.255.0 DNS1=1 0.0.40.1 DNS2=0.0.0.0
[V][wifi:287]: Hidden: NO
[V][panasonic_ac:247]: RX: 66.08.00.01.01.F6 (6)
[I][panasonic_ac.dnskp11:241]: Received sync packet, triggering initialization
[D][panasonic_ac.dnskp11:204]: Starting handshake [1/16]
[V][panasonic_ac:245]: TX: 5A.00.00.06.00.00.A0 (7)
[V][panasonic_ac:245]: TX: 5A.01.00.09.00.00.9C (7)
[D][panasonic_ac.dnskp11:721]: Resending previous packet
[V][panasonic_ac:245]: TX: 5A.01.00.09.00.00.9C (7)
[V][panasonic_ac:247]: RX: 5A.01.00.89.00.02.00.02.18 (9)
[D][panasonic_ac.dnskp11:555]: Answering handshake [2/16]
[V][panasonic_ac:245]: TX: 5A.02.00.0C.00.00.98 (7)
[V][panasonic_ac:247]: RX: 5A.02.00.8C.00.01.00.17 (8)
[D][panasonic_ac.dnskp11:559]: Answering handshake [3/16]
[V][panasonic_ac:245]: TX: 5A.03.00.10.00.01.20.72 (8)
[V][panasonic_ac:247]: RX: 5A.03.00.90.00.02.00.20.F1 (9)
[D][panasonic_ac.dnskp11:563]: Answering handshake [4/16]
[V][panasonic_ac:245]: TX: 5A.04.00.11.00.02.00.01.8E (9)
[V][panasonic_ac:247]: RX: 5A.04.00.91.00.36.00.00.01.00.01.0A.15.43.53.2D.48.5A.33.35.55.4B. 45.2B.34.39.33.39.38.30.33.39.32.32.0B.02.01.2C.0C.14.43.53.2D.31.38.31.00.00.00.00.00.00.00. 00.00.00.00.00.00.00.15 (61)
[D][panasonic_ac.dnskp11:567]: Answering handshake [5/16]
[V][panasonic_ac:245]: TX: 5A.05.00.12.00.04.01.10.11.12.57 (11)
[V][panasonic_ac:247]: RX: 5A.05.00.92.00.05.00.01.10.11.12.D6 (12)
[D][panasonic_ac.dnskp11:571]: Answering handshake [6/16]
[V][panasonic_ac:245]: TX: 5A.06.00.41.00.00.5F (7)
[V][panasonic_ac:247]: RX: 5A.06.00.C1.00.02.00.01.DC (9)
[D][panasonic_ac.dnskp11:575]: Answering handshake [7/16]
[V][panasonic_ac:245]: TX: 5A.07.01.4C.00.00.52 (7)
[V][panasonic_ac:247]: RX: 5A.07.01.CC.00.02.00.01.CF (9)
[D][panasonic_ac.dnskp11:579]: Answering handshake [8/16]
[V][panasonic_ac:245]: TX: 5A.08.10.00.00.00.8E (7)
[V][panasonic_ac:247]: RX: 5A.08.10.80.00.05.00.01.01.30.01.D6 (12)
[D][panasonic_ac.dnskp11:583]: Answering handshake [9/16]
[V][panasonic_ac:245]: TX: 5A.09.10.01.00.05.01.30.01.00.01.54 (12)
[V][panasonic_ac:247]: RX: 5A.09.10.81.00.5A.00.01.30.01.00.01.00.01.00.14.00.80.E2.01.00.85. 42.04.00.86.62.2E.00.88.62.01.00.A0.E2.01.00.A1.E2.01.00.A4.E2.01.00.A5.E2.01.00.B0.E2.01.00. B2.E2.01.00.BB.42.01.00.BE.42.01.02.20.62.01.02.21.62.01.02.31.E2.01.02.32.62.01.02.33.E2.01. 02.34.E2.01.02.35.E2.01.02.42.82.01.34 (97)
[D][panasonic_ac.dnskp11:587]: Answering handshake [10/16]
[V][panasonic_ac:245]: TX: 5A.0A.00.18.00.00.84 (7)
[V][panasonic_ac:247]: RX: 5A.0A.00.98.00.01.00.03 (8)
[D][panasonic_ac.dnskp11:591]: Answering handshake [11/16]
[V][panasonic_ac:245]: TX: 5A.0B.01.00.00.01.10.89 (8)
[V][panasonic_ac:247]: RX: 5A.0B.01.80.00.01.00.19 (8)
[D][panasonic_ac.dnskp11:595]: Answering handshake [12/16]
[V][panasonic_ac:245]: TX: 5A.0C.10.08.00.09.01.01.30.01.01.02.42.01.42.BE (16)
[V][panasonic_ac:247]: RX: 5A.0C.10.88.00.08.00.01.30.01.01.02.42.00.83 (15)
[D][panasonic_ac.dnskp11:600]: Ignoring handshake [13/16]
[V][panasonic_ac:247]: RX: 5A.00.01.09.00.00.9C (7)
[D][panasonic_ac.dnskp11:604]: Received rx counter [14/16]
[V][panasonic_ac:245]: TX: 5A.00.01.89.00.07.00.B8.B7.F1.9B.4F.A6.25 (14)
[V][panasonic_ac:247]: RX: 5A.01.00.20.00.00.85 (7)
[D][panasonic_ac.dnskp11:609]: Answering handshake [15/16]
[V][panasonic_ac:245]: TX: 5A.01.00.A0.00.13.00.08.30.32.2E.30.33.2E.30.30.08.30.31.30.31.30. 31.30.33.DB (26)
[V][esp-idf:000]: I (3449) wifi:
[V][esp-idf:000]: state: init -> auth (b0)
[V][esp-idf:000]:
[V][esp-idf:000]: I (3466) wifi:
[V][esp-idf:000]: state: auth -> assoc (0)
[V][esp-i▒▒:000]:
ښ▒ke▒▒Y.▒idf▒▒▒▒▒J▒(3471J▒▒▒▒▒▒[0m
[V][esp-idf:000]: state: assoc -> run )▒J▒[0▒j
▒▒j▒eյU▒▒idf:000]:
Guu edtaio Ero: or 1paiced(Iterut dttieot n PU
A2 : x3ff0058 3 : x3f4183a0 4 0x00000014 5 : x3ffff0
A 0x3fbf58 7 : x0000001 8 : x0000001 9 : xf131
A1 : 00000a5 11 0x3ff1ae A12 0x8008b58b A3 0x3fbee
14 : 0000008 15 : x0000001 AR : x000001a ECCUSE 0x00000006
ECVADR: x000000 LEG 0x Baktrace0x4000c2710xfb1590 0x40ad:x3fb50 0x008c57c:x3fb5d0 0x40c3:0xfb1584
Coe 0 rgisterdump
P : x0086ff S 0x00060c3 0 0x800fc0 A : xfafe0
A : x000000 3 : x3f fca4 4 0x00000007 5 : xfcc16
A : xfccb4 7 0x0000001a A 0x800fbac A 0x3ff2cc
A0 : x000001 11 : x3ffca4 12 : x0000001 13 : x3ffcb0
A4 0x3fc29 15 : xfc2b9 SAR 0x00000018 XCCASE: x0000006
ECVADR: x000000 BEG : x400c4 LEND 0x4000c36b LCOUN : x0000000
LF fil SHA56: 000000000000
Bcktrce:0x08f20xffa2e0 x40c1fd:0x3fa40 x4153d90xffa440 04164:03fa480 0x408da:x3fa40
Reboting..
Hi!
Thanks a lot for your great job!
I've took WEMOS D1 mini and done all the instructions, then connected it to CN-CNT port, but it doesn't work. HA integration is OK, but it doesn't control my AC and doesn't receive any info from it when I use its RC. My ac.yaml, photos of soldered parts and logs are attached. Will you help me please to find out what's wrong with it? I'm newbie in such things. I would really appreciate it if you would help me. Thank you.
ac.yaml
esphome:
name: bedroom-ac
platform: esp8266
board: d1_mini
wifi:
ssid: '*****'
password: '*****'
manual_ip:
static_ip: 192.168.1.154
gateway: 192.168.1.1
subnet: 255.255.255.0
logger:
level: DEBUG
baud_rate: 0 # ESP8266 only
api:
password: 'api_password'
ota:
password: 'api_password'
# Requires ESPHome 1.15.0+ for the even parity option
uart:
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
parity: EVEN
external_components:
source: github://DomiStyle/esphome-panasonic-ac
components: [panasonic_ac]
climate:
- platform: panasonic_ac
# For CZ-TACG1
type: cnt
# For DNSK-P11
# type: wlan
name: Panasonic AC
# horizontal_swing_select:
# name: Panasonic AC Horizontal Swing Mode
vertical_swing_select:
name: Panasonic AC Vertical Swing Mode
outside_temperature:
name: Panasonic AC Outside Temperature
# Enable as needed
# eco_switch:
# name: Panasonic AC Eco Switch
# econavi_switch:
# name: Panasonic AC Econavi Switch
# nanoex_switch:
# name: Panasonic AC NanoeX Switch
# mild_dry_switch:
# name: Panasonic AC Mild Dry Switch
# current_power_consumption:
# name: Panasonic AC Power Consumption
# Useful when the ac does not report a current temperature (CZ-TACG1 only)
# current_temperature_sensor: temperature_sensor_id
logs
INFO Reading configuration /config/esphome/bedroom-ac.yaml...
INFO Updating https://github.com/DomiStyle/esphome-panasonic-ac.git@None
INFO Starting log output from 192.168.1.154 using esphome API
INFO Successfully connected to 192.168.1.154
[19:34:02][I][app:102]: ESPHome version 2022.2.6 compiled on Mar 12 2022, 11:31:42
[19:34:02][C][wifi:491]: WiFi:
[19:34:02][C][wifi:353]: Local MAC: **:**:**:**:**:**
[19:34:02][C][wifi:354]: SSID: '*******'[redacted]
[19:34:02][C][wifi:355]: IP Address: 192.168.1.154
[19:34:02][C][wifi:356]: BSSID: **:**:**:**:**:**[redacted]
[19:34:02][C][wifi:358]: Hostname: 'bedroom-ac'
[19:34:02][C][wifi:360]: Signal strength: -69 dB ▂▄▆█
[19:34:02][C][wifi:364]: Channel: 1
[19:34:02][C][wifi:365]: Subnet: 255.255.255.0
[19:34:02][C][wifi:366]: Gateway: 192.168.1.1
[19:34:02][C][wifi:367]: DNS1: 192.168.1.1
[19:34:02][C][wifi:368]: DNS2: 0.0.0.0
[19:34:02][C][logger:233]: Logger:
[19:34:02][C][logger:234]: Level: DEBUG
[19:34:02][C][logger:235]: Log Baud Rate: 0
[19:34:02][C][logger:236]: Hardware UART: UART0
[19:34:02][C][uart.arduino_esp8266:102]: UART Bus:
[19:34:02][C][uart.arduino_esp8266:103]: TX Pin: GPIO1
[19:34:02][C][uart.arduino_esp8266:104]: RX Pin: GPIO3
[19:34:02][C][uart.arduino_esp8266:106]: RX Buffer Size: 256
[19:34:02][C][uart.arduino_esp8266:108]: Baud Rate: 9600 baud
[19:34:02][C][uart.arduino_esp8266:109]: Data Bits: 8
[19:34:02][C][uart.arduino_esp8266:110]: Parity: EVEN
[19:34:02][C][uart.arduino_esp8266:111]: Stop bits: 1
[19:34:02][C][uart.arduino_esp8266:113]: Using hardware serial interface.
[19:34:02][C][mdns:084]: mDNS:
[19:34:02][C][mdns:085]: Hostname: bedroom-ac
[19:34:02][C][ota:085]: Over-The-Air Updates:
[19:34:02][C][ota:086]: Address: 192.168.1.154:8266
[19:34:02][C][ota:089]: Using Password.
[19:34:02][C][api:138]: API Server:
[19:34:02][C][api:139]: Address: 192.168.1.154:6053
[19:34:02][C][api:143]: Using noise encryption: NO
[19:34:31][D][climate:010]: 'Panasonic AC' - Setting
[19:34:31][D][climate:014]: Mode: COOL
[19:34:53][D][climate:010]: 'Panasonic AC' - Setting
[19:34:53][D][climate:014]: Mode: HEAT
[19:35:11][D][climate:010]: 'Panasonic AC' - Setting
[19:35:11][D][climate:014]: Mode: HEAT_COOL
[19:35:39][D][climate:010]: 'Panasonic AC' - Setting
[19:35:39][D][climate:039]: Target Temperature: 23.00
[19:35:44][D][climate:010]: 'Panasonic AC' - Setting
[19:35:44][D][climate:039]: Target Temperature: 22.00
[19:36:52][D][climate:010]: 'Panasonic AC' - Setting
[19:36:52][D][climate:014]: Mode: COOL
[19:37:01][D][climate:010]: 'Panasonic AC' - Setting
[19:37:01][D][climate:014]: Mode: COOL
[19:37:19][I][ota:105]: Boot seems successful, resetting boot loop counter.
[19:37:47][D][climate:010]: 'Panasonic AC' - Setting
[19:37:47][D][climate:014]: Mode: COOL
I looked at the code of the example.yaml and came across a new line:
external_components:
source: github://DomiStyle/esphome-panasonic-ac@dev-cztacg1
components: [panasonic_ac]
Does this mean it will automatically download the latest files from github instead of needing to download the files and put them in the esphome directory?
If this is true then updating the module in the future is as easy as pressing the install button when things get updated?
Awesome!
I believe it is more a norm than exception to have problems with Panasonic servers, and e.g. I tend to have some networking issues with my Asus routers also. So this would be a perfect way to get rid of Panasonic's proprietary cloud and perhaps improve overall reliability.
However, there are probably quite many of other that are not so familiar with variety of commonly available ESP32 boards. Are there any recommendations which to use? Or are they all compatible? I was looking at Espressif ESP32 WLAN Dev Kit Board v1 WROOM32 NodeMCU with Wifi & Bluetooth, but I'm not really sure, is that appropriate.
I'm sorry if this is not a correct place for this kinfd of issues, but this side of things was not so well covered in the instructions.
Compiling fails with latest ESPHOME version.
Three compiling logs below
hp@hpix:~$ pip install esphome==2022.04.0
Defaulting to user installation because normal site-packages is not writeable
Collecting esphome==2022.04.0
Using cached esphome-2022.4.0-py2.py3-none-any.whl (2.2 MB)
Requirement already satisfied: esptool==3.3 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (3.3)
Requirement already satisfied: pyserial==3.5 in /usr/lib/python3/dist-packages (from esphome==2022.04.0) (3.5)
Collecting click==8.1.2
Using cached click-8.1.2-py3-none-any.whl (96 kB)
Requirement already satisfied: tzlocal==4.2 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (4.2)
Requirement already satisfied: paho-mqtt==1.6.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (1.6.1)
Requirement already satisfied: aioesphomeapi==10.8.2 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (10.8.2)
Requirement already satisfied: zeroconf==0.38.4 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (0.38.4)
Requirement already satisfied: kconfiglib==13.7.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (13.7.1)
Requirement already satisfied: colorama==0.4.4 in /usr/lib/python3/dist-packages (from esphome==2022.04.0) (0.4.4)
Requirement already satisfied: voluptuous==0.13.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (0.13.1)
Requirement already satisfied: tzdata>=2021.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (2022.1)
Requirement already satisfied: tornado==6.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (6.1)
Requirement already satisfied: platformio==5.2.5 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (5.2.5)
Collecting esphome-dashboard==20220309.0
Using cached esphome_dashboard-20220309.0-py3-none-any.whl (593 kB)
Requirement already satisfied: PyYAML==6.0 in ./.local/lib/python3.10/site-packages (from esphome==2022.04.0) (6.0)
Requirement already satisfied: protobuf<4.0,>=3.12.2 in ./.local/lib/python3.10/site-packages (from aioesphomeapi==10.8.2->esphome==2022.04.0) (3.20.1)
Requirement already satisfied: noiseprotocol<1.0,>=0.3.1 in ./.local/lib/python3.10/site-packages (from aioesphomeapi==10.8.2->esphome==2022.04.0) (0.3.1)
Requirement already satisfied: cryptography>=2.1.4 in /usr/lib/python3/dist-packages (from esptool==3.3->esphome==2022.04.0) (3.4.8)
Requirement already satisfied: bitstring>=3.1.6 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.04.0) (3.1.9)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.04.0) (1.5.4)
Requirement already satisfied: ecdsa>=0.16.0 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.04.0) (0.17.0)
Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==5.2.5->esphome==2022.04.0) (2.25.1)
Requirement already satisfied: semantic-version==2.9.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (2.9.0)
Requirement already satisfied: pyelftools<1,>=0.27 in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.28)
Requirement already satisfied: uvicorn==0.17.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.17.6)
Requirement already satisfied: ajsonrpc==1.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (1.2.0)
Requirement already satisfied: marshmallow<4,>=2 in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (3.15.0)
Requirement already satisfied: tabulate==0.8.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.8.9)
Requirement already satisfied: wsproto==1.0.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (1.0.0)
Requirement already satisfied: starlette==0.18.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.18.0)
Requirement already satisfied: bottle==0.12.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.12.19)
Requirement already satisfied: aiofiles==0.8.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.04.0) (0.8.0)
Requirement already satisfied: pytz-deprecation-shim in ./.local/lib/python3.10/site-packages (from tzlocal==4.2->esphome==2022.04.0) (0.1.0.post0)
Requirement already satisfied: ifaddr>=0.1.7 in ./.local/lib/python3.10/site-packages (from zeroconf==0.38.4->esphome==2022.04.0) (0.1.7)
Requirement already satisfied: anyio<4,>=3.0.0 in ./.local/lib/python3.10/site-packages (from starlette==0.18.*->platformio==5.2.5->esphome==2022.04.0) (3.6.1)
Requirement already satisfied: h11>=0.8 in ./.local/lib/python3.10/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome==2022.04.0) (0.13.0)
Requirement already satisfied: asgiref>=3.4.0 in ./.local/lib/python3.10/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome==2022.04.0) (3.5.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==3.3->esphome==2022.04.0) (1.16.0)
Requirement already satisfied: packaging in ./.local/lib/python3.10/site-packages (from marshmallow<4,>=2->platformio==5.2.5->esphome==2022.04.0) (21.3)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome==2022.04.0) (3.3)
Requirement already satisfied: sniffio>=1.1 in ./.local/lib/python3.10/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome==2022.04.0) (1.2.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3/dist-packages (from packaging->marshmallow<4,>=2->platformio==5.2.5->esphome==2022.04.0) (2.4.7)
Installing collected packages: esphome-dashboard, click, esphome
Attempting uninstall: esphome-dashboard
Found existing installation: esphome-dashboard 20220508.0
Uninstalling esphome-dashboard-20220508.0:
Successfully uninstalled esphome-dashboard-20220508.0
Attempting uninstall: click
Found existing installation: click 8.1.3
Uninstalling click-8.1.3:
Successfully uninstalled click-8.1.3
Attempting uninstall: esphome
Found existing installation: esphome 2022.5.0
Uninstalling esphome-2022.5.0:
Successfully uninstalled esphome-2022.5.0
Successfully installed click-8.1.2 esphome-2022.4.0 esphome-dashboard-20220309.0
hp@hpix:~$ esphome compile livingroom-ac.yaml
INFO Reading configuration livingroom-ac.yaml...
INFO Detected timezone 'Etc/UTC'
INFO Generating C++ source...
INFO Compiling app...
Processing living-room-ac (board: esp32cam; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
|-- <Update> 1.0
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/automation.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/binary_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/filter.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/climate/climate.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/integration/integration_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp32_arduino.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/panasonic_ac/esppac.cpp.o
RAM: [== ] 16.7% (used 54708 bytes from 327680 bytes)
Flash: [========= ] 88.0% (used 1614774 bytes from 1835008 bytes)
===================================================================== [SUCCESS] Took 8.76 seconds =====================================================================
INFO Successfully compiled program.
hp@hpix:~$ pip install esphome==2022.05.0
Defaulting to user installation because normal site-packages is not writeable
Collecting esphome==2022.05.0
Using cached esphome-2022.5.0-py2.py3-none-any.whl (2.3 MB)
Requirement already satisfied: tzlocal==4.2 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (4.2)
Requirement already satisfied: platformio==5.2.5 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (5.2.5)
Requirement already satisfied: pyserial==3.5 in /usr/lib/python3/dist-packages (from esphome==2022.05.0) (3.5)
Collecting esphome-dashboard==20220508.0
Using cached esphome_dashboard-20220508.0-py3-none-any.whl (601 kB)
Requirement already satisfied: colorama==0.4.4 in /usr/lib/python3/dist-packages (from esphome==2022.05.0) (0.4.4)
Requirement already satisfied: paho-mqtt==1.6.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (1.6.1)
Requirement already satisfied: tornado==6.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (6.1)
Requirement already satisfied: aioesphomeapi==10.8.2 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (10.8.2)
Requirement already satisfied: esptool==3.3 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (3.3)
Collecting click==8.1.3
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Requirement already satisfied: kconfiglib==13.7.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (13.7.1)
Requirement already satisfied: tzdata>=2021.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (2022.1)
Requirement already satisfied: voluptuous==0.13.1 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (0.13.1)
Requirement already satisfied: zeroconf==0.38.4 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (0.38.4)
Requirement already satisfied: PyYAML==6.0 in ./.local/lib/python3.10/site-packages (from esphome==2022.05.0) (6.0)
Requirement already satisfied: protobuf<4.0,>=3.12.2 in ./.local/lib/python3.10/site-packages (from aioesphomeapi==10.8.2->esphome==2022.05.0) (3.20.1)
Requirement already satisfied: noiseprotocol<1.0,>=0.3.1 in ./.local/lib/python3.10/site-packages (from aioesphomeapi==10.8.2->esphome==2022.05.0) (0.3.1)
Requirement already satisfied: cryptography>=2.1.4 in /usr/lib/python3/dist-packages (from esptool==3.3->esphome==2022.05.0) (3.4.8)
Requirement already satisfied: ecdsa>=0.16.0 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.05.0) (0.17.0)
Requirement already satisfied: bitstring>=3.1.6 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.05.0) (3.1.9)
Requirement already satisfied: reedsolo<=1.5.4,>=1.5.3 in ./.local/lib/python3.10/site-packages (from esptool==3.3->esphome==2022.05.0) (1.5.4)
Requirement already satisfied: bottle==0.12.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.12.19)
Requirement already satisfied: starlette==0.18.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.18.0)
Requirement already satisfied: requests==2.* in /usr/lib/python3/dist-packages (from platformio==5.2.5->esphome==2022.05.0) (2.25.1)
Requirement already satisfied: marshmallow<4,>=2 in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (3.15.0)
Requirement already satisfied: pyelftools<1,>=0.27 in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.28)
Requirement already satisfied: tabulate==0.8.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.8.9)
Requirement already satisfied: wsproto==1.0.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (1.0.0)
Requirement already satisfied: uvicorn==0.17.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.17.6)
Requirement already satisfied: aiofiles==0.8.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (0.8.0)
Requirement already satisfied: ajsonrpc==1.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (1.2.0)
Requirement already satisfied: semantic-version==2.9.* in ./.local/lib/python3.10/site-packages (from platformio==5.2.5->esphome==2022.05.0) (2.9.0)
Requirement already satisfied: pytz-deprecation-shim in ./.local/lib/python3.10/site-packages (from tzlocal==4.2->esphome==2022.05.0) (0.1.0.post0)
Requirement already satisfied: ifaddr>=0.1.7 in ./.local/lib/python3.10/site-packages (from zeroconf==0.38.4->esphome==2022.05.0) (0.1.7)
Requirement already satisfied: anyio<4,>=3.0.0 in ./.local/lib/python3.10/site-packages (from starlette==0.18.*->platformio==5.2.5->esphome==2022.05.0) (3.6.1)
Requirement already satisfied: h11>=0.8 in ./.local/lib/python3.10/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome==2022.05.0) (0.13.0)
Requirement already satisfied: asgiref>=3.4.0 in ./.local/lib/python3.10/site-packages (from uvicorn==0.17.*->platformio==5.2.5->esphome==2022.05.0) (3.5.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from ecdsa>=0.16.0->esptool==3.3->esphome==2022.05.0) (1.16.0)
Requirement already satisfied: packaging in ./.local/lib/python3.10/site-packages (from marshmallow<4,>=2->platformio==5.2.5->esphome==2022.05.0) (21.3)
Requirement already satisfied: idna>=2.8 in /usr/lib/python3/dist-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome==2022.05.0) (3.3)
Requirement already satisfied: sniffio>=1.1 in ./.local/lib/python3.10/site-packages (from anyio<4,>=3.0.0->starlette==0.18.*->platformio==5.2.5->esphome==2022.05.0) (1.2.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3/dist-packages (from packaging->marshmallow<4,>=2->platformio==5.2.5->esphome==2022.05.0) (2.4.7)
Installing collected packages: esphome-dashboard, click, esphome
Attempting uninstall: esphome-dashboard
Found existing installation: esphome-dashboard 20220309.0
Uninstalling esphome-dashboard-20220309.0:
Successfully uninstalled esphome-dashboard-20220309.0
Attempting uninstall: click
Found existing installation: click 8.1.2
Uninstalling click-8.1.2:
Successfully uninstalled click-8.1.2
Attempting uninstall: esphome
Found existing installation: esphome 2022.4.0
Uninstalling esphome-2022.4.0:
Successfully uninstalled esphome-2022.4.0
Successfully installed click-8.1.3 esphome-2022.5.0 esphome-dashboard-20220508.0
hp@hpix:~$ esphome compile livingroom-ac.yaml
INFO Reading configuration livingroom-ac.yaml...
INFO Detected timezone 'Etc/UTC'
INFO Generating C++ source...
INFO Compiling app...
Processing living-room-ac (board: esp32cam; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
|-- <Update> 1.0
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/automation.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/binary_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/filter.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/climate/climate.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/integration/integration_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp32_arduino.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/panasonic_ac/esppac.cpp.o
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:55:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&)
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^
src/esphome/components/select/select.h:55:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:55:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&)
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^
src/esphome/components/select/select.h:55:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&'
*** [.pioenvs/living-room-ac/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
====================================================================== [FAILED] Took 8.15 seconds ======================================================================
hp@hpix:~$
hp@hpix:~$ esphome clean livingroom-ac.yaml
INFO Reading configuration livingroom-ac.yaml...
INFO Detected timezone 'Etc/UTC'
INFO Deleting .esphome/build/living-room-ac/.pioenvs
INFO Done!
hp@hpix:~$ esphome compile livingroom-ac.yaml
INFO Reading configuration livingroom-ac.yaml...
INFO Detected timezone 'Etc/UTC'
INFO Generating C++ source...
INFO Compiling app...
Processing living-room-ac (board: esp32cam; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
|-- <Update> 1.0
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/automation.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/binary_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/binary_sensor/filter.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/climate/climate.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/climate/climate_mode.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/climate/climate_traits.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/gpio_arduino.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/gpio_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/integration/integration_sensor.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp32_arduino.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/mdns/mdns_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/living-room-ac/src/esphome/components/panasonic_ac/esppac.cpp.o
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:55:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&)
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^
src/esphome/components/select/select.h:55:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4:0,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:55:8: note: candidate: void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&)
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^
src/esphome/components/select/select.h:55:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string<char>, unsigned int)>&&'
*** [.pioenvs/living-room-ac/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
====================================================================== [FAILED] Took 8.71 seconds ======================================================================
hp@hpix:~$
Hi @DomiStyle!
To start with: Thank you big time for this one! It works like a charm!
I wanted to do this myself for over a year or so, but never found enough time to really pull it off! Thanks again!
Currently, the biggest differences between the HA integration using Comfort Cloud, and this ESPHome solution is the way presets are handled:
This is the HA Comfort Cloud integration:
And this is the ESPHome Version:
Biggest differences are in the Preset modes, and Swing Modes.
Now, something tells me this is related to the following pull requests:
ESPHome Rework Climate Traits: esphome/esphome#1941
ESPHome Climate: esphome/aioesphomeapi#24 (review)
ESPHome Add preset, custom_preset and custom_fan_mode support to climate: esphome/esphome#1471
Home Assistant Add esphome preset, custom preset and custom fan mode support: home-assistant/core#48116
Sorry but it's not really clear in the instructions if i should connect RX cable to RX ESP32 or RX cable to TX on ESP32.
From the color code it seems that the correct RX to RX but i think should be more clear, maybe make it more clear by putting the right connections in the table.
On a side note on the first boot it always reboot and give gibberish values, it's normal?
External temperature when off is 126° (it should be off or unavailable)
Francesco
Hi,
Someone came to me to ask if your project can work on my ready-made PCB which is used for Panasonic heatpumps (Aquaread H and J types): https://www.tindie.com/products/thehognl/heishamon-communication-pcb/
I think it can work on the board. It has the right level shifters and I notice you even link to our github page for the CZ-TACG1 cable connectors so the cables should fit also.
But I am not an ESPhome expert (yet). And our software uses the hardware uart of the esp8266. ESPhome uses software serial I guess? We swap the serial port to gpio13 and gpio15 but that can also be done on software serial. But the only thing we do extra is using gpio5 to enable the level shifting after booting of the ESP (high = enable). This helps us to prevent noise data from the ESP during boot to the heatpump. So, if we use your panasonic AC ESPhome plugin on the heishamon board, the plugin should enable GPIO5 also on boot. Can you tell me how that can be inserted?
Is it possibile to use an ethernet esp board instead of wifi, like WT32-ETH01?
Thank
Marco
Hi,
I've got this indoor unit: https://www.youtube.com/watch?v=pGmcqq4a7xs&t=144s
It came with a manual for the DNSK-P11 wifi module and it works with the comfort cloud.
I've managed to connect to the CN-CNT connector and that works great and is easily accessible.
However I'm looking at how easy it would be to replace the DNSK-P11 however watching the video there doesn't look to be a module as pictured on the instructions. Does anyone know where the module would be in this unit?
Thanks.
studying the manual of my remote and indoor unit I discovered the SLEEP button/function. This is what I have been looking for to activate in combination with certain scenes, like "OK Google - Goodnight" ;-)
Hi,
I get the warning that the outside temperature is outside of range. When looking at the hex code receiving from the poll and comparing your data table provided in the docs i get the hex value of 7E. which when converted means the outside temperature is 126 degrees.
Im not really sure if this is a problem with my unit or with the integration. But both of my AC's have the exact same value of 7E
here is the code:
[13:25:08][V][panasonic_ac:208]: TX: 5A.A8.10.09.00.38.01.01.30.01.11.00.80.00.00.B0.00.02.31.00.00.A0.00.00.A1.00.00.A5.00.00.A4.00.00.B2.00.02.35.00.02.33.00.02.34.00.02.32.00.00.BB.00.00.BE.00.02.20.00.02.21.00.00.86.00.B0 (63)
[13:25:08][V][panasonic_ac:210]: RX: 5A.A8.10.89.00.76.00.01.30.01.11.00.80.01.31.00.B0.01.42.02.31.01.22.00.A0.01.36.00.A1.01.42.00.A5.01.43.00.A4.01.44.00.B2.01.41.02.35.01.41.02.33.01.41.02.34.01.41.02.32.01.42.00.BB.01.13.00.BE.01.7E.02.20.01.41.02.21.01.41.00.86.2E.2A.00.00.0B.01.01.48.30.30.30.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.B9 (125)
Update
So maybe i was thinking that the outside value 126 needs to be multiplied by 0.5 which gives 63 which is still too high but when i convert that number from farenheit to celsius i get 17.22 degrees, Which is acurate at the moment.
I guess the calculation in the integrations isnt right?
The strange thing is that the inside temperature which has a hex of 13 converts to 19 without doing a *0.5 and convert from farenheit to celsius. So if we receive this value from the AC im a little confused about the inconsistencies
Would like to add my units as individual devices in HA. The help article refers:
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Can this change be made to the energy measuring sensor?
Requesting this functionality which is available in the cloud based comfort cloud integration. Monitoring and having automations etc will assist in better managing energy usage.
This is my first ESP32 board so please bear with me. Using Windows command line with python, I get this compile error:
c:\users\bryan\Desktop\esphome-panasonic-ac-master\ac.yaml: In lambda function: c:\users\bryan\Desktop\esphome-panasonic-ac-master\ac.yaml:80:21: error: expected type-specifier before 'PanasonicAC' auto ac = new PanasonicAC(id(ac_uart)); ^ c:\users\bryan\Desktop\esphome-panasonic-ac-master\ac.yaml:88:17: error: could not convert '{ac}' from '<brace-enclosed initializer list>' to 'std::vector<esphome::climate::Climate*>' return {ac}; ^ Compiling .pioenvs\ac01\lib11d\WiFi\WiFiMulti.cpp.o Compiling .pioenvs\ac01\lib11d\WiFi\WiFiSTA.cpp.o *** [.pioenvs\ac01\src\main.cpp.o] Error 1 ============================================= [FAILED] Took 16.43 seconds =============================================
ESPHome version 1.20.0
Python 3.8
Any ideas?
Winter is coming and the outside temperature has fallen below zero.
I am getting the following message in the logs: Received out of range outside temperature: 254
As the current outside temperature is about -2, it looks like something is an uint8 when it should be a int8.
Looking at the source of the error the function update_outside_temperature takes the temperature as an uint8. I have not yet had time to investigate if the value is passed as an uint8 elsewhere in the code.
Hello,
Im looking into buying a split-unit aircon and like the Etherea looks.
Is it possible to use your code with Domoticz too?
Is the ESP configured to be a Standalone unit which can connect to a MQTT broker for example and can be controlled by any other software sending and pulling data to the MQTT broker?
Hi there. Is there any chance that the Panasonic CZ-TACG1 wifi adaptor could be supported with this? It'd be great to be able to get it out of the cloud!
Everything works except for the eco/Navi button.
If I enable it on the remote i get the following error in the log
Received unknown nanoex value
I then thought mine wasn't a eco/navi, but just a Eco, if i attemp that i get no function from the button.
If I enable the button in HASS the indicator on the unit changes state, so data are send correctly. But some times i disables straight away again (on next data from unit).
Looking at the code, it looks like nanoex and eco/navi button use the same byte and same bits, which doesn't make sense.
Does the esphome-panasonic-ac support the activation of the 8/10 degree heat mode? In newer devices it's the 8/15 degree mode (you can choose the temperature between 8 and 15 degrees). If not, how could I help?
I can activate this mode over the Intesis WiFi controller connected to CN-CNT, so I assume it should be possible to implement.
A question.
I've successfully set up ESPHome with this Panasonic code, which is brilliant by the way. But I can't wrap my head around how to get it talking via MQTT, though. (I've got HomeAssistant integrated with CBus via MQTT, and also want to trigger A/C messages to this code from a CBus automation controller via MQTT.)
Got any pointers / tips / examples / doco to read?
Is it possible with this board to use an external temperature sensor?
I currently have two TZ models. They have a theoretical lowest power consumption of 200W. However, I have only seen it when the outside temperature is low enough (oddly enough).
E.g. outside 4 degrees, inside 17 degrees, it is able to work on 200W for a sustained period of time. However, when I increase to 18 degrees inside, it shoots up to 380W and starts going on/off continuously and will never get back to 200W consistent use, while the on/off usage results in 300W+ average use. Very strange.
So I was looking into ways to prevent this, not sure if your system has any options in this area?
Hi!
This is great and since I am having trouble with the panasonic cloud I want to make a local connection with my new heatpump. I have CZ-TAW1. Would this work? And how do I connect this? Similar as the CZ-TACG1?
Thanks,
Martijn
Perhaps not the correct place to share this information, but nice to hear anyway!
I still had some ESP8266 NodeMCU's laying around that I wanted to designate to this task.
But.. as you already suggested, these only have 1 full UART (the second one is TX only).
This is fixable in the ESP Config, by moving the Log component to UART-1 (instead of the default UART-0):
# Enable logging
logger:
hardware_uart: UART1 #Uses D4 (GPIO2) as LOG output!
And so we freed up UART-0 for our purpose:
uart:
rx_pin: GPIO3
tx_pin: GPIO1
id: ac_uart
baud_rate: 9600
parity: EVEN
Yes, we loose logging on the default USB port, but hey, who cares! We have logging over WIFI.
(and a fallback on Pin GPIO2 if we would ever need it).
No level shifter / Logic Converter
Next, I wanted to skip the level shifter. I don't think it's really needed, and here's why:
Please note! This trick works because the Panasonic AC has resistors in series with it's TX and RX lines!
For TX line on the ESP, we don't have to change anything. We can drive the RX line of the AC directly. This line is pulled-up by a resistor in the AC, and the ESP will simply pull it down hard when sending signals. The ESP's internal clamping diodes will make sure the voltage on this line never reache a too high value (also because of the series resistor on the line at AC side).
If you are really worried about your $3 module, add a 3v3 zener-diode to GND for this task.
For the RX line on the ESP, we have to solder a 1k resistor between GND and RX on the ESP Side. The TX line of the AC also has a series resistor, but.. there is also a pull-up resistor on the NodeMCU (because this line is also still attached to the usb2serial chip of the NodeMCU module. The combination leads to the situation whereby the voltage won't go low enough when the AC pulls this line low.
To counter this effect, adding a 1K resistor to GND will shift this line's voltage more towards ground (like a voltage divider). Now, this line won't go higher then 3.3V. This line won't go to GND completely (because of the series resistor) so to be even more on the safe side around this low-voltage, you can go as low as 500Ohm's for this resistor if your NodeMCU is very picky.
P.S.
For the fanboys who read the ESP's 8266 datasheet:
Yes, you can move the hardware UART to pin GPIO13 and 15 instead of GPIO3 and GPIO1. But.. Your ESP won't boot, because
https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
So, connecting your AC (with idle-high tx and rx lines) to this pin will prevent booting your ESP. It's a pity, because from an electrical perspective, this would be the better option.
I also tried D4 and D5 pins with a soft-uart, but couldn't get it to work.
Hi
is the power calculation correct?
(uint16_t)(byte_28 + (multiplier * 255)) - offset;
Is this not ment to be (uint16_t)(byte_28 + (multiplier * 256)) - offset;
I know in the grand scheme it doesn't matter :)
But i assume it's 2 bytes for the power, and then one for the offset?
Why would a offset be neeeded? Where did you get the calculations for the power?
Set temperature vs current temperature.
Im using cnt mode, and i seem to have a offset of 4-5 degrees in temperature.
The current temperature is about 4-5 degrees higher than the set, this seems to be pretty constant.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.