This (avoid sending values to the Panasonig API unless they are changed) is now supported in the latest version (v1.1.23) of the APP and can be enabled per device. Blocked transmissions are logged in the APP log.
Note that if a flow sets multiple parameters, these may (since the interaction between the Homey OS and the APP is asynchronous, I guess) be joined together into one API call, and the APP will then block calling the Panasonic API unless at least one of the values has changed.
I managed to fix the authentication issue with Panasonic Comfort Cloud Alternative on my Homey Pro 2023.
The app was failing to log in with HTTP 401 and error code 4106: “New version app has been published”, even though my credentials were correct and worked in the official Panasonic Comfort Cloud app.
The fix was to update the Panasonic app version sent by the Homey app.
In drivers/aircon/driver.ts, I changed:
let appVersion = "2.1.0";
to:
let appVersion = "4.4.0";
I also updated panasonic-comfort-cloud-client to version 2.2.0 and made a small TypeScript compatibility fix in drivers/aircon/device.ts to handle potentially missing history data.
After rebuilding and installing the app using the Homey CLI, authentication succeeded and both heat pumps were initialized correctly. I also confirmed that the heat pumps could be controlled from Homey and that my existing flows still worked.
Hopefully this helps anyone experiencing the same authentication error.
I’ve installed the app twicce now and get the result below back:
✓ Installing Homey App on Homey (https://192-168-1-**.homey.homeylocal.com)…
✓ Homey App net.schmidt-cisternas.pcc-alt successfully installed
But when i look in my home the app version is stil 1.19, what do i do wrong?