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

**URL:** <https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906>\
**Category:** Apps\
**Created:** [February 1, 2023, 8:42pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906 "2023-02-01T20:42:17Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Alex\_Rasmussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_rasmussen/32/81378_2.png) [@Alex\_Rasmussen](https://community.homey.app/u/Alex_Rasmussen)\
**Post date:** [July 10, 2024, 12:40pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/167 "2024-07-10T12:40:03Z")

</div>

Yes. It stopped working sometime yesterday. Now i get:

2024-07-10T12:33:42.277Z [log] [MyApp] has been initialized  
2024-07-10T12:33:42.826Z [log] [ManagerDrivers] [Driver:aircon] Driver has been initialized  
2024-07-10T12:35:53.877Z [err] [ManagerDrivers] [Driver:aircon] [Device:ef07481f-3cc3-4da4-afb3-131a5ab735f3] getDevice failed: FetchError: request to [https://itunes.apple.com/lookup?id=1348640525](https://itunes.apple.com/lookup?id=1348640525) failed, reason: connect ETIMEDOUT 2a02:26f0:116:18c::2a1:443  
at ClientRequest. (/app/node\_modules/node-fetch/lib/index.js:1501:11)  
at ClientRequest.emit (node:events:517:28)  
at TLSSocket.socketErrorListener (node:\_http\_client:501:9)  
at TLSSocket.emit (node:events:517:28)  
at emitErrorNT (node:internal/streams/destroy:151:8)  
at emitErrorCloseNT (node:internal/streams/destroy:116:3)  
at process.processTicksAndRejections (node:internal/process/task\_queues:82:21) {  
type: ‘system’,  
errno: ‘ETIMEDOUT’,  
code: ‘ETIMEDOUT’  
}  
2024-07-10T12:35:53.903Z [log] [ManagerDrivers] [Driver:aircon] [Device:ef07481f-3cc3-4da4-afb3-131a5ab735f3] Device ‘CS-HZ25WKE-5+4849405701’ has been initialized  
2024-07-10T12:36:19.743Z [log] [ManagerDrivers] [Driver:aircon] [Device:ef07481f-3cc3-4da4-afb3-131a5ab735f3] postToService: { nanoe\_mode: ‘On’ }

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [July 10, 2024, 1:17pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/168 "2024-07-10T13:17:57Z")

</div>

Strange - does the URL not work in your browser either?  
Could you think of anything on your local network which could block/intercept that URL?

I’ve pushed 1.1.8 which handles the exception and falls back to impersonating PCC version “1.21.0”.

---

<div class="post-metadata">

**Author:** ![Alex\_Rasmussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_rasmussen/32/81378_2.png) [@Alex\_Rasmussen](https://community.homey.app/u/Alex_Rasmussen)\
**Post date:** [July 10, 2024, 3:11pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/169 "2024-07-10T15:11:21Z")

</div>

You nailed it…

I got new WiFi boxes yesterday, and although my Homey is attached via Ethernet, it still tried to route traffic via WiFi.

Once I got it into setup mode, disabled WiFi, and cleared the DHCP table, it started working.

Thanks…

---

<div class="post-metadata">

**Author:** ![Alex\_Rasmussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_rasmussen/32/81378_2.png) [@Alex\_Rasmussen](https://community.homey.app/u/Alex_Rasmussen)\
**Post date:** [July 16, 2024, 8:45am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/170 "2024-07-16T08:45:19Z")

</div>

I don’t know if you “take requests”, but the outside temperature sensor would be really good to have 😉

---

<div class="post-metadata">

**Author:** ![El\_Schumi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/el_schumi/32/54084_2.png) [@El\_Schumi](https://community.homey.app/u/El_Schumi)\
**Post date:** [July 22, 2024, 10:44am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/171 "2024-07-22T10:44:21Z")

</div>

I would just like to say thank you for putting in the work. The Panasonic Cloud API seems finicky since Tibber has an issue with it as well but now I at least have access from Homey. Appreciated man! Best, El

---

<div class="post-metadata">

**Author:** ![Jarl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jarl/32/16576_2.png) [@Jarl](https://community.homey.app/u/Jarl)\
**Post date:** [July 22, 2024, 10:17pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/172 "2024-07-22T22:17:34Z")

</div>

Pull request created for issue #18

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [August 14, 2024, 2:03pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/173 "2024-08-14T14:03:19Z")

</div>

Requests are welcome - preferrably directly on the [Issues page](https://github.com/ugumba/homey-panasonic-comfort-cloud-alt/issues).

I think the outside temperature is available from the API - it should be straight forward to expose it as a new property on the Homey device.

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [August 14, 2024, 2:03pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/174 "2024-08-14T14:03:33Z")

</div>

Thanks - merged!

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [August 24, 2024, 8:14pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/175 "2024-08-24T20:14:58Z")

</div>

Since today I’m getting

> Request failed with status code 400  
> Missing required header parameter or bad request for header

> 2024-08-24T20:15:13.484Z [err] [ManagerDrivers] [Driver:aircon] [Device:5783c27d-1b06-439a-ad41-2915dbd9504c] getDevice failed: ServiceError: Request failed with status code 401  
> Token expires  
> at ComfortCloudClient.handleError (/app/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:147:31)  
> at ComfortCloudClient.getDevice (/app/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:130:18)  
> at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
> at async MyDriver.invokeClient (/app/drivers/aircon/driver.js:102:24)  
> 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) {  
> \_code: ‘4100’,  
> \_httpCode: -1  
> }  
> 2024-08-24T20:15:13.510Z [log] [ManagerDrivers] [Driver:aircon] [Device:5783c27d-1b06-439a-ad41-2915dbd9504c] Device ‘C784626698’ has been initialized  
> 2024-08-24T20:15:13.542Z [log] [ManagerDrivers] [Driver:aircon] authenticated  
> 2024-08-24T20:15:13.601Z [log] [ManagerDrivers] [Driver:aircon] authenticated  
> 2024-08-24T20:15:13.901Z [err] [ManagerDrivers] [Driver:aircon] [Device:43d85ba4-4456-435c-b6f6-d82c050434c3] getDevice failed: ServiceError: Request failed with status code 400  
> Missing required header parameter or bad request for header  
> at ComfortCloudClient.handleError (/app/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:147:31)  
> at ComfortCloudClient.getDevice (/app/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:130:18)  
> at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
> at async MyDriver.invokeClient (/app/drivers/aircon/driver.js:102:24)  
> 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) {  
> \_code: ‘4000’,  
> \_httpCode: -1  
> }

---

<div class="post-metadata">

**Author:** ![Murray\_McMillan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/murray_mcmillan/32/79472_2.png) [@Murray\_McMillan](https://community.homey.app/u/Murray_McMillan)\
**Post date:** [August 29, 2024, 8:37am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/176 "2024-08-29T08:37:03Z")

</div>

Thanks Robert - I have just managed to set this up and can now automate my mornings so the aircon only comes on if it is needed. I struggled for a while with an authentication issue when trying to add the device, but re-powering the Homey Pro resolved that. I appreciate the work you have put into this. Using it in New Zealand.

---

<div class="post-metadata">

**Author:** ![Dirk\_vdM](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_vdm/32/112430_2.png) [@Dirk\_vdM](https://community.homey.app/u/Dirk_vdM)\
**Post date:** [September 1, 2024, 7:08pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/177 "2024-09-01T19:08:43Z")

</div>

Does the app write something to the timeline? It seems it makes entries without text so homey doesn’t show them. However Hdashboard crasht (update on it’s way) because of entries coming from this app without text.

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [September 4, 2024, 3:18pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/178 "2024-09-04T15:18:17Z")

</div>

The app doesn’t write to the timeline as far as I’m aware! I’m not even sure which API to use for that.

From the times it happens - are you able to guess what the app does to cause it?

Another forum post indicated that changes to boolean capabilities are automatically logged in the timeline.  
The app’s only boolean capability is “onoff” - could this be related?

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [November 5, 2024, 9:06am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/179 "2024-11-05T09:06:51Z")

</div>

The app is currently failing to authenticate with Panasonic - sorry for the inconvenience.  
I’ve registered an issue with the panasonic-comfort-cloud-client repo.

You may want to switch to a “dumb” schedule in the official mobile app…

---

<div class="post-metadata">

**Author:** ![SpikeHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spikehome/32/9435_2.png) [@SpikeHome](https://community.homey.app/u/SpikeHome)\
**Post date:** [November 5, 2024, 9:48am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/180 "2024-11-05T09:48:12Z")

</div>

I not use the homey comfort i wait till there is a app for it.  
But i had the same problems.  
U have de service cloud and the comfort cloud.  
I used the same email adres for it.  
And sinds the update last weekend i had problems.  
So i changed the service cloud email to a other email adres and now it’s fine.

---

<div class="post-metadata">

**Author:** ![alexsolaat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alexsolaat/32/86606_2.png) [@alexsolaat](https://community.homey.app/u/alexsolaat)\
**Post date:** [November 8, 2024, 1:24pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/181 "2024-11-08T13:24:59Z")

</div>

I get the same error message now. Seems to have been a issue the last week or so.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d4d6f35259079197115e39ede25e7aa9bbdc95b.png)

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [November 9, 2024, 8:55am UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/182 "2024-11-09T08:55:47Z")

</div>

I’ve pushed version 1.1.10 with the upstream package fix for authentication. Please try it out!

---

<div class="post-metadata">

**Author:** ![Jarl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jarl/32/16576_2.png) [@Jarl](https://community.homey.app/u/Jarl)\
**Post date:** [November 9, 2024, 3:27pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/183 "2024-11-09T15:27:16Z")

</div>

Deployed 1.1.10 on my Homey. Worked perfect the first time (deploy+activate+authenticate 4 devices), but second time I activated the app in Homey and thus re-authenticated, only 3 of my 4 devices got activated. Tried multiple times (with minutes apart), but still fails for some of my devices:

2024-11-09T15:20:52.989Z [log] [MyApp] MyApp has been initialized  
2024-11-09T15:20:56.433Z [log] [ManagerDrivers] [Driver:aircon] Driver has been initialized  
2024-11-09T15:20:57.380Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.22.0)  
2024-11-09T15:20:57.414Z [log] [ManagerDrivers] [Driver:aircon] authenticating xxx[at][yyy.com](http://yyy.com)  
2024-11-09T15:20:58.895Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.22.0)  
2024-11-09T15:20:58.916Z [log] [ManagerDrivers] [Driver:aircon] authenticating xxx[at][yyy.com](http://yyy.com)  
2024-11-09T15:20:59.067Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.22.0)  
2024-11-09T15:20:59.104Z [log] [ManagerDrivers] [Driver:aircon] authenticating xxx[at][yyy.com](http://yyy.com)  
2024-11-09T15:20:59.515Z [log] [ManagerDrivers] [Driver:aircon] initializing client (1.22.0)  
2024-11-09T15:20:59.536Z [log] [ManagerDrivers] [Driver:aircon] authenticating xxx[at][yyy.com](http://yyy.com)  
2024-11-09T15:21:07.024Z [log] [ManagerDrivers] [Driver:aircon] authenticated  
2024-11-09T15:21:07.069Z [log] [ManagerDrivers] [Driver:aircon] authenticated  
2024-11-09T15:21:07.205Z [log] [ManagerDrivers] [Driver:aircon] authenticated  
2024-11-09T15:21:07.524Z [err] [ManagerDrivers] [Driver:aircon] [Device:2db22bf5-…] getDevice failed: ServiceError: Request failed with status code 400  
Missing required header parameter or bad request for header  
at ComfortCloudClient.handleError (/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:149:31)  
at ComfortCloudClient.getDevice (/node\_modules/panasonic-comfort-cloud-client/dist/src/ComfortCloudClient.js:132:18)  
at processTicksAndRejections (node:internal/process/task\_queues:96:5)  
at async MyDriver.invokeClient (/drivers/aircon/driver.js:102:24)  
at async MyDevice.fetchFromService (/drivers/aircon/device.js:32:22)  
at async MyDevice.fetchAndRestartTimer (/drivers/aircon/device.js:58:9)  
at async MyDevice.onInit (/drivers/aircon/device.js:126:13)  
at async MyDevice.\_onInit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node\_modules/@athombv/homey-apps-sdk-v3/lib/Device.js:1:1682) {  
\_code: ‘4000’,  
\_httpCode: 400  
}

---

<div class="post-metadata">

**Author:** ![Joakim\_Norin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joakim_norin/32/114224_2.png) [@Joakim\_Norin](https://community.homey.app/u/Joakim_Norin)\
**Post date:** [November 10, 2024, 12:01pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/184 "2024-11-10T12:01:28Z")

</div>

Works perfect. Many thanks.

---

<div class="post-metadata">

**Author:** ![Jensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jensen/32/16750_2.png) [@Jensen](https://community.homey.app/u/Jensen)\
**Post date:** [November 10, 2024, 2:57pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/185 "2024-11-10T14:57:17Z")

</div>

Works perfect 🙌 Many Thanks 😀

---

<div class="post-metadata">

**Author:** ![Jarl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jarl/32/16576_2.png) [@Jarl](https://community.homey.app/u/Jarl)\
**Post date:** [November 10, 2024, 5:01pm UTC](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906/186 "2024-11-10T17:01:54Z")

</div>

Fails to add one of the 4 devices I have on every app restart. Instead of app restart, I tried removing and readding the device that failed initially on app restart. I now have all 4 devices working. But looks like authentication still is a bit shaky. I wonder why it authenticates 4 times on the API. Does the Homey app set up one client towards Panasonic API for each device?

[Previous page](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906.md?page=8)

[Next page](https://community.homey.app/t/app-pro-panasonic-comfort-cloud-alternative-cli-install-only/75906.md?page=10)
