[App][Pro] Panasonic Comfort Cloud Alternative (CLI Install only)

I agree. It was never my intention to hijack the thread. Me and Jarl have an understanding and i will try to create a new thread :+1:

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.

Happy to see that Johnny is now “live” in a separate topic dedicated to the new Panasonic heatpump APP which can (hopefully soon) be installed from the Homey App Store (instead of using CLI).

App is now live on the app store :slight_smile:

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.

Ik have pushed a PR to the repo fixing the auth problem

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?

Patch merged and updated version to 1.1.24.

Sounds like you have a pretty older version of the code. Have you done a git pull? Verify that app.json contains “1.1.24” on line 4.

I’ve did have an old version.
Know i updated it and it works.

Can login yet but i figure that out also :slight_smile: