fjhorrillo / homebridge-airzone-cloud

Homebridge Airzone Cloud
Apache License 2.0
22 stars 3 forks source link

Execution problem with 0.1.1 version #5

Closed jmartinezs77 closed 3 years ago

jmartinezs77 commented 3 years ago

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

Please find log in the image attached

Show the Homebridge logs here, remove any sensitive information.


**Plugin Config:**

```json
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

fjhorrillo commented 3 years ago

Hello! Could you provide some info about the problem?

jmartinezs77 commented 3 years ago

Everything was working and I saw an available upgrade of you plug-in, I executed it and on relaunch everything zone dissapeared. I searched the logs and I found some issues. I send you more detail. I have tried to go back to version 0.1.0 and the issue remains the same. Not clear what is happening. please tell me if you need something more specific. Here is de log: [4/3/2021, 7:11:42 PM] [Homebridge UI] Running Command: npm install --save homebridge-airzone-cloud@latest [4/3/2021, 7:12:09 PM] [Homebridge UI] Running Command: npm install --save homebridge-zp@latest [4/3/2021, 7:12:21 PM] [Homebridge UI] Homebridge restart request received [4/3/2021, 7:12:21 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [4/3/2021, 7:12:21 PM] [Homebridge UI] Sending SIGTERM to Homebridge [4/3/2021, 7:12:21 PM] Got SIGTERM, shutting down Homebridge... [4/3/2021, 7:12:26 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [4/3/2021, 7:12:31 PM] [HB Supervisor] Restarting Homebridge... [4/3/2021, 7:12:31 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [4/3/2021, 7:12:32 PM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 31342 Initializing HAP-NodeJS v0.9.4... [4/3/2021, 7:12:32 PM] Loaded config.json with 1 accessories and 6 platforms. [4/3/2021, 7:12:32 PM] Loaded 10 cached accessories from cachedAccessories. [4/3/2021, 7:12:32 PM] --- [4/3/2021, 7:12:33 PM] ==================== [4/3/2021, 7:12:33 PM] ERROR LOADING PLUGIN homebridge-airzone-cloud: [4/3/2021, 7:12:33 PM] Error: Cannot find module 'homebridge/lib/logger' Require stack:

Starting to advertise 'Homebridge 8518 62D6' using bonjour-hap backend! [4/3/2021, 7:12:33 PM] Homebridge v1.3.4 (Homebridge 8518) is running on port 51773. [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Starting polling for Connexoon accessory state every 10 minute(s) [4/3/2021, 7:12:34 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:34 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:34 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:34 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:34 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 0 [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 0 [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 0 [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 0 [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 0 [4/3/2021, 7:12:34 PM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 0 [4/3/2021, 7:12:35 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:35 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:35 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:35 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:35 PM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 100 [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 100 [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 100 [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 100 [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 0 [4/3/2021, 7:12:35 PM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 0 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 100 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 100 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 100 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 100 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 0 [4/3/2021, 7:12:38 PM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 0

fjhorrillo commented 3 years ago

Hello, the error is related to the new way to manage logs, it was added in 0.1.0. Could you remove the plugin, and add it again, its look like some dependency from homebridge are missing

jmartinezs77 commented 3 years ago

I have already tried reinstalling version 0.1.0 and 0.1.1 and the problem persist. Maybe an older version?

fjhorrillo commented 3 years ago

Yes, the version you probably have before was 0.0.2

fjhorrillo commented 3 years ago

Fixed in version 0.1.2

jmartinezs77 commented 3 years ago

Hi, 0.1.2 doesn’t fix the bug. It still generates the same issues. I tried various things:

fjhorrillo commented 3 years ago

Hi! Could you share the error with this version, and also your configuration for the plugin? If you don’t use the debug option with this version should be work

jmartinezs77 commented 3 years ago

Goof morning,

here is the log and I attach some screen captures with configuration of hombridge and of the plug-in.

thanks

[4/4/2021, 9:19:37 AM] [Homebridge UI] Changes to config.json saved. [4/4/2021, 9:19:40 AM] [Homebridge UI] Homebridge restart request received [4/4/2021, 9:19:40 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [4/4/2021, 9:19:40 AM] [Homebridge UI] Sending SIGTERM to Homebridge [4/4/2021, 9:19:40 AM] Got SIGTERM, shutting down Homebridge... [4/4/2021, 9:19:45 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [4/4/2021, 9:19:50 AM] [HB Supervisor] Restarting Homebridge... [4/4/2021, 9:19:50 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [4/4/2021, 9:19:50 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 6574 Initializing HAP-NodeJS v0.9.4... [4/4/2021, 9:19:50 AM] Loaded config.json with 1 accessories and 6 platforms. [4/4/2021, 9:19:50 AM] Loaded 4 cached accessories from cachedAccessories. [4/4/2021, 9:19:50 AM] --- [4/4/2021, 9:19:51 AM] ==================== [4/4/2021, 9:19:51 AM] ERROR LOADING PLUGIN homebridge-airzone-cloud: [4/4/2021, 9:19:51 AM] Error: Cannot find module 'homebridge/lib/logger' Require stack:

Starting to advertise 'Homebridge 8518 62D6' using bonjour-hap backend! [4/4/2021, 9:19:52 AM] Homebridge v1.3.4 (Homebridge 8518) is running on port 51773. [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Starting polling for Connexoon accessory state every 10 minute(s) [4/4/2021, 9:19:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:52 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 0 [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 0 [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 0 [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 0 [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 0 [4/4/2021, 9:19:52 AM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 0 [4/4/2021, 9:19:53 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:53 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:53 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:53 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:53 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 50 [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 50 [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 0 [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 0 [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 50 [4/4/2021, 9:19:53 AM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 50 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Salón Derecha current position success: 50 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Salón Derecha target position success: 50 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Dormitorio current position success: 0 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Dormitorio target position success: 0 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Salón Izquierda current position success: 50 [4/4/2021, 9:20:20 AM] [My Connexoon Hub] Get Persiana Salón Izquierda target position success: 50 [4/4/2021, 9:20:21 AM] [Homebridge UI] Changes to config.json saved. [4/4/2021, 9:20:29 AM] [Homebridge UI] Homebridge restart request received [4/4/2021, 9:20:29 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [4/4/2021, 9:20:29 AM] [Homebridge UI] Sending SIGTERM to Homebridge [4/4/2021, 9:20:29 AM] Got SIGTERM, shutting down Homebridge... [4/4/2021, 9:20:34 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [4/4/2021, 9:20:39 AM] [HB Supervisor] Restarting Homebridge... [4/4/2021, 9:20:39 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [4/4/2021, 9:20:39 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 6635 Initializing HAP-NodeJS v0.9.4... [4/4/2021, 9:20:40 AM] Loaded config.json with 1 accessories and 6 platforms. [4/4/2021, 9:20:40 AM] Loaded 4 cached accessories from cachedAccessories. [4/4/2021, 9:20:40 AM] --- [4/4/2021, 9:20:40 AM] ==================== [4/4/2021, 9:20:40 AM] ERROR LOADING PLUGIN homebridge-airzone-cloud: [4/4/2021, 9:20:40 AM] Error: Cannot find module 'homebridge/lib/logger' Require stack:

Starting to advertise 'Homebridge 8518 62D6' using bonjour-hap backend! [4/4/2021, 9:20:41 AM] Homebridge v1.3.4 (Homebridge 8518) is running on port 51773. [4/4/2021, 9:20:41 AM] [My Connexoon Hub] Starting polling for Connexoon accessory state every 10 minute(s) [4/4/2021, 9:20:42 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:20:42 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Water Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info. [4/4/2021, 9:20:42 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Relative Humidity Humidifier Threshold': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:20:42 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info. [4/4/2021, 9:20:42 AM] [homebridge-mi-humidifier] This plugin generated a warning from the characteristic 'Current Temperature': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info 53071B81-1372-41DA-B870-50AAB2233EBA A95DEC06-3E50-4031-A7DB-4829C4B51F75 B5BE46AB-1198-4B8C-9ABE-2DA111800B5A

fjhorrillo commented 3 years ago

Fixed in version 0.1.3

jmartinezs77 commented 3 years ago

Just updated to 0.1.3 and everything up & running smoothly. Many thanks!