Same problem as NickM. Created a separate account, was not logged into any app on the iPhone/iPad, and entered credentials in PCC Alternative App Version 1.1.2 on the Homey Pro.
Logging in with the credentials to the original app on the iPhone/iPad works without any problems.
2024-03-19T15:16:11.116Z [log] [MyApp] MyApp has been initialized
2024-03-19T15:16:11.324Z [log] [ManagerDrivers] [Driver:aircon] Driver has been initialized
2024-03-19T15:16:27.403Z [log] [ManagerDrivers] [Driver:aircon] onPairListDevices
2024-03-19T15:16:27.407Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.19.0)
2024-03-19T15:16:27.416Z [log] [ManagerDrivers] [Driver:aircon] missing token
2024-03-19T15:16:27.420Z [log] [ManagerDrivers] [Driver:aircon] authenticating ****************
2024-03-19T15:16:28.676Z [err] [ManagerDrivers] [Driver:aircon] login failed: ServiceError: Request failed with status code 401
at new ServiceError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/model/ServiceError.js:23:28)
at ComfortCloudClient.handleError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:184:15)
at ComfortCloudClient. (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:106:30)
at step (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:33:23)
at Object.throw (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:14:53)
at rejected (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:6:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
_code: undefined,
_httpCode: 401
}
2024-03-19T15:16:28.684Z [err] [ManagerDrivers] [Driver:aircon] bad credentials
The PCC client package used by the app could theoretically support 2FA, but it’d likely be less convenient than before. (E.g. having to provide a fresh 2FA code every time the access token needs renewal.)
Panasonic could backtrack, and reenable accounts without 2FA. They’ll probably only consider this if they lose business otherwise.
I upgraded to v1.1.3 (from 1.1.2) and am able to control the airpumps (=controlling temp/speed via device card works), but when I create flows, some of the action cards (=eg set fan speed) are on the app, not on each device. Is this by design, a bug, limitation in the API or something I’ve done wrong? I have 4 devices, in two different houses, and was hoping to eg control fan speed independent, on each device. Turn on/off and set temp is on each device, as expected.
I installed the updated version yesterday and it worked. Mistake again today
2024-03-25T05:58:16.991Z [err] [ManagerDrivers] [Driver:aircon] login failed: ServiceError: Request failed with status code 401
at new ServiceError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/model/ServiceError.js:23:28)
at ComfortCloudClient.handleError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:184:15)
at ComfortCloudClient. (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:106:30)
at step (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:33:23)
at Object.throw (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:14:53)
at rejected (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:6:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
_code: undefined,
_httpCode: 401
}
2024-03-25T05:58:17.026Z [err] [ManagerDrivers] [Driver:aircon] bad credentials
2024-03-25T05:58:17.059Z [err] [ManagerDrivers] [Driver:aircon] [Device:92d36efb-5755-4d4e-add5-8503377e092f] getDevice failed: Error: Authentication failed, edit credentials in app settings.
at MyDriver.getClient (/app/drivers/aircon/driver.js:48:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MyDriver.invokeClient (/app/drivers/aircon/driver.js:54:26)
at async MyDevice.fetchFromService (/app/drivers/aircon/device.js:32:22)
at async MyDevice.fetchAndRestartTimer (/app/drivers/aircon/device.js:58:9)
unhandledRejection:
Error: Authentication failed, edit credentials in app settings.
at MyDriver.getClient (/app/drivers/aircon/driver.js:48:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MyDriver.invokeClient (/app/drivers/aircon/driver.js:54:26)
at async MyDevice.fetchFromService (/app/drivers/aircon/device.js:32:22)
at async MyDevice.fetchAndRestartTimer (/app/drivers/aircon/device.js:58:9)
App restarted and Credentials reentered
2024-03-25T06:23:09.050Z [log] [MyApp] MyApp has been initialized
2024-03-25T06:23:09.262Z [log] [ManagerDrivers] [Driver:aircon] Driver has been initialized
2024-03-25T06:23:09.337Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.20.0)
2024-03-25T06:23:09.347Z [log] [ManagerDrivers] [Driver:aircon] missing token
2024-03-25T06:23:09.349Z [log] [ManagerDrivers] [Driver:aircon] authenticating ****************
2024-03-25T06:23:10.235Z [err] [ManagerDrivers] [Driver:aircon] login failed: ServiceError: Request failed with status code 401
at new ServiceError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/model/ServiceError.js:23:28)
at ComfortCloudClient.handleError (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:184:15)
at ComfortCloudClient. (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:106:30)
at step (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:33:23)
at Object.throw (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:14:53)
at rejected (/app/node_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:6:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
_code: undefined,
_httpCode: 401
}
2024-03-25T06:23:10.246Z [err] [ManagerDrivers] [Driver:aircon] bad credentials
2024-03-25T06:23:10.248Z [err] [ManagerDrivers] [Driver:aircon] [Device:92d36efb-5755-4d4e-add5-8503377e092f] getDevice failed: Error: Authentication failed, edit credentials in app settings.
at MyDriver.getClient (/app/drivers/aircon/driver.js:48:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MyDriver.invokeClient (/app/drivers/aircon/driver.js:54:26)
at async MyDevice.fetchFromService (/app/drivers/aircon/device.js:32:22)
at async MyDevice.fetchAndRestartTimer (/app/drivers/aircon/device.js:58:9)
at async MyDevice.onInit (/app/drivers/aircon/device.js:126:13)
at async MyDevice._onInit (/node_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:148:7)
2024-03-25T06:23:10.267Z [log] [ManagerDrivers] [Driver:aircon] [Device:92d36efb-5755-4d4e-add5-8503377e092f] Device ‘********’ has been initialized