maxill1 / ialarm-mqtt

ialarm to mqtt bridge
MIT License
8 stars 3 forks source link

Connection hangs and need to reboot alarm panel #23

Closed maxill1 closed 1 year ago

maxill1 commented 3 years ago

@maxill1 ho capito !!! Mi spiace dirtelo ma è il tuo addon. Se lo arresto il plugin di Ryuzakikk torna a funzionare, se attivo il tuo blocca la connessione con la centrale e devo riavviare per tornare ad usare quello di Ryuzakikk. Spero che queste info ti siano utili.

Originally posted by @Nik71git in https://github.com/maxill1/ialarm-mqtt/issues/18#issuecomment-944941633

maxill1 commented 3 years ago

@gideonklein e @nik71git avrei bisogno di un vostro feedback su questo issue.

riuscite a trovare nei log un riferimento esatto a quando smette di funzionare? qualcosa che faccia riferimento a ERR|02 o ERR|0x dove x è un numero.

oppure Exception in generale: devo capire quale messaggio manda in blocco le risposte TCP su casasicura con software version "V1.51F_SIA_TCP Apr 26 2018 15:55:39" (ialarm/antifurto356 con software version "V1.41F_SIA_TCP Oct 26 2016 10:05:10" non sembra risentirne)

Questo è il flusso che fa ialarm-mqtt in sequenza:

  1. prima chiamata GetNet per ottenere il mac address come uniqueId
  2. GetZone con "numero zona" fino a raggiungere il limite di zone impostato per determinare tipo e nome di ogni zona
  3. pubblicazione su mqtt dei messaggi per il discovery di home assistant
  4. pubblicazione su mqtt dell'availability
  5. imposta gli intervalli per il polling e a tempo chiama: 5a. GetLog per avere gli "eventi" 5b.GetAlarmStatus, GetByWay e GetZone per determinare rispettivamente (armed/disarmed), stato dei singoli sensori, tipo e nome di ogni zona

vorrei capire se superiamo il punto 2 e nel caso quale tra il punto 5a e 5b causano danni, cosi provo a modificare il modo o la frequenza con cui chiamiamo.

Nik71git commented 3 years ago

@maxill1 ti posto l'intero LOG, ma non vedo l'errore che cerchi tu.

``` sending topic 'homeassistant/binary_sensor/ialarm_zone_9/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_9/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/9/config' : Object with 11 keys sending topic 'homeassistant/binary_sensor/ialarm/10/config' : Object with 13 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_10/battery/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_10/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_10/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/10/config' : Object with 11 keys sending topic 'homeassistant/binary_sensor/ialarm/11/config' : Object with 13 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_11/battery/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_11/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_11/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/11/config' : Object with 11 keys sending topic 'homeassistant/binary_sensor/ialarm/12/config' : Object with 13 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_12/battery/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_12/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_12/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/12/config' : Object with 11 keys sending topic 'homeassistant/binary_sensor/ialarm/13/config' : Object with 13 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_13/battery/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_13/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_13/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/13/config' : Object with 11 keys sending topic 'homeassistant/binary_sensor/ialarm/14/config' : Object with 13 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_14/battery/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_14/alarm/config' : Object with 12 keys sending topic 'homeassistant/binary_sensor/ialarm_zone_14/connectivity/config' : Object with 12 keys sending topic 'homeassistant/switch/ialarm/14/config' : Object with 11 keys sending topic 'homeassistant/switch/ialarm/clear_cache/config' : Object with 11 keys sending topic 'homeassistant/switch/ialarm/clear_discovery/config' : Object with 11 keys sending topic 'homeassistant/switch/ialarm/clear_triggered/config' : Object with 11 keys sending topic 'homeassistant/alarm_control_panel/ialarm/config' : Object with 12 keys sending topic 'homeassistant/sensor/ialarm/events/config' : Object with 10 keys Connected to 192.168.1.6:18034 Disconnecting from 192.168.1.6:18034 Caching ialarm/alarm/event until Sun Oct 17 2021 11:40:20 GMT+0200 (Central European Summer Time) Caching ialarm/alarm/availability until Sun Oct 17 2021 11:40:38 GMT+0200 (Central European Summer Time) Disconnecting from 192.168.1.6:18034 error Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Error: Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) at Timeout.setTimeout [as _onTimeout] (/app/node_modules/ialarm/src/meian-socket.js:214:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) Caching ialarm/alarm/error until Sun Oct 17 2021 11:41:03 GMT+0200 (Central European Summer Time) Connection closed ialarm/alarm/availability - not publishing...unchanged Disconnecting from 192.168.1.6:18034 Disconnecting from 192.168.1.6:18034 error Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Error: Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) at Timeout.setTimeout [as _onTimeout] (/app/node_modules/ialarm/src/meian-socket.js:214:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) ialarm/alarm/error - not publishing...unchanged error Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Error: Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) at Timeout.setTimeout [as _onTimeout] (/app/node_modules/ialarm/src/meian-socket.js:214:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) ialarm/alarm/error - not publishing...unchanged Connection closed Connection closed received topic 'ialarm/alarm/set' : armed_home Alarm command: armHome (armed_home) requesting SetAlarmStatus with args 2 Received alarm command: armHome requesting SetAlarmStatus with args 2 Executed: armHome (armed_home) Disconnecting from 192.168.1.6:18034 error Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Error: Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) at Timeout.setTimeout [as _onTimeout] (/app/node_modules/ialarm/src/meian-socket.js:214:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) Caching ialarm/alarm/error until Sun Oct 17 2021 11:41:23 GMT+0200 (Central European Summer Time) Connection closed received topic 'ialarm/alarm/set' : armed_away Alarm command: armAway (armed_away) requesting SetAlarmStatus with args 0 Received alarm command: armAway requesting SetAlarmStatus with args 0 Executed: armAway (armed_away) Disconnecting from 192.168.1.6:18034 error Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Error: Meian socket timed out after 30000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) at Timeout.setTimeout [as _onTimeout] (/app/node_modules/ialarm/src/meian-socket.js:214:24) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10) Caching ialarm/alarm/error until Sun Oct 17 2021 11:41:33 GMT+0200 (Central European Summer Time) Connection closed ```
Nik71git commented 3 years ago
![image](https://user-images.githubusercontent.com/61212989/137621519-23a6b4e9-90b6-4991-a574-6198212da21b.png)

ti posto anche lo screenshot che forse si capisce meglio la sequenza. Va in errore appena si connette...

Nik71git commented 3 years ago

dopo aver fermato l'addon, riavvio la centrale e torna a funzionare il plugin di ryuzzakik il quale arma e disarma immediatamente (lo sento dallo speaker della centralina) anche se le notifiche e lo stato in HA cambia dopo una decina di secondi.

Nik71git commented 3 years ago

La mia impressione da profano è che l'errore avvenga nel momento della connessione TCP

Nik71git commented 3 years ago

@maxill1 se hai il firmware 1.41 posso installarlo (sempre che sia possibile un downgrade), ce l'avevo prima ma di mia spontanea volontà ho installato la 1.51 (unico upgrade fornito da casasicura) ma non ha migliorato nulla del mio problema di supervisione che non c'entra nulla con HA e relativi addon/plugin. Se chiedo a Casasicura potrebbero fornirmelo ma non ne sono certo. Te lo dico perchè se ci stiamo incaponendo su un problema del piffero tagliamo la testa al toro.

maxill1 commented 3 years ago

no no non tocchiamo firmware, non me la sento di farvi fare prove cosi.

Evidentemente c'è qualcosa nel modo in cui accodo i comandi che non gli piace al vostro. Mi studio i log e provo a cambiare approccio per i messaggi multipli, oppure faccio:

per ogni messaggio multiplo.

gideonklein commented 3 years ago

@gideonklein e @Nik71git avrei bisogno di un vostro feedback su questo issue.

riuscite a trovare nei log un riferimento esatto a quando smette di funzionare? qualcosa che faccia riferimento a ERR|02 o ERR|0x dove x è un numero.

oppure Exception in generale: devo capire quale messaggio manda in blocco le risposte TCP su casasicura con software version "V1.51F_SIA_TCP Apr 26 2018 15:55:39" (ialarm/antifurto356 con software version "V1.41F_SIA_TCP Oct 26 2016 10:05:10" non sembra risentirne)

Questo è il flusso che fa ialarm-mqtt in sequenza:

  1. prima chiamata GetNet per ottenere il mac address come uniqueId
  2. GetZone con "numero zona" fino a raggiungere il limite di zone impostato per determinare tipo e nome di ogni zona
  3. pubblicazione su mqtt dei messaggi per il discovery di home assistant
  4. pubblicazione su mqtt dell'availability
  5. imposta gli intervalli per il polling e a tempo chiama: 5a. GetLog per avere gli "eventi" 5b.GetAlarmStatus, GetByWay e GetZone per determinare rispettivamente (armed/disarmed), stato dei singoli sensori, tipo e nome di ogni zona

vorrei capire se superiamo il punto 2 e nel caso quale tra il punto 5a e 5b causano danni, cosi provo a modificare il modo o la frequenza con cui chiamiamo.

Nel mio file di log (il log del tuo addon) pare tutto a posto perchè ora è nel momento che non è impallata, ma ho scoperto ancora una cosa che ha dell'incredibile. Ho cambiato nella centrale il numero della porta (18039 --> il numero finale da 4 a 9) ma ho lasciato la porta vecchia nell'addon (18034) e l'addon continua a funzionare come se non gli interessasse la porta a cui connettersi. Ho resettato sia la centrale che riavviato l'addon ma continua a funzionare. Potrebbe essere qualcosa di interessante? Cattura

gideonklein commented 3 years ago

@gideonklein e @Nik71git avrei bisogno di un vostro feedback su questo issue. riuscite a trovare nei log un riferimento esatto a quando smette di funzionare? qualcosa che faccia riferimento a ERR|02 o ERR|0x dove x è un numero. oppure Exception in generale: devo capire quale messaggio manda in blocco le risposte TCP su casasicura con software version "V1.51F_SIA_TCP Apr 26 2018 15:55:39" (ialarm/antifurto356 con software version "V1.41F_SIA_TCP Oct 26 2016 10:05:10" non sembra risentirne) Questo è il flusso che fa ialarm-mqtt in sequenza:

  1. prima chiamata GetNet per ottenere il mac address come uniqueId
  2. GetZone con "numero zona" fino a raggiungere il limite di zone impostato per determinare tipo e nome di ogni zona
  3. pubblicazione su mqtt dei messaggi per il discovery di home assistant
  4. pubblicazione su mqtt dell'availability
  5. imposta gli intervalli per il polling e a tempo chiama: 5a. GetLog per avere gli "eventi" 5b.GetAlarmStatus, GetByWay e GetZone per determinare rispettivamente (armed/disarmed), stato dei singoli sensori, tipo e nome di ogni zona

vorrei capire se superiamo il punto 2 e nel caso quale tra il punto 5a e 5b causano danni, cosi provo a modificare il modo o la frequenza con cui chiamiamo.

Nel mio file di log (il log del tuo addon) pare tutto a posto perchè ora è nel momento che non è impallata, ma ho scoperto ancora una cosa che ha dell'incredibile. Ho cambiato nella centrale il numero della porta (18039 --> il numero finale da 4 a 9) ma ho lasciato la porta vecchia nell'addon (18034) e l'addon continua a funzionare come se non gli interessasse la porta a cui connettersi. Ho resettato sia la centrale che riavviato l'addon ma continua a funzionare. Potrebbe essere qualcosa di interessante?

Ho lasciato nello screen user e password, cose da pazzi. Comunque ora ho cambiato le credenziali nella centrale ma continua a funzionare. Quindi non gli interessa nè la porta nè le credenziali

gideonklein commented 3 years ago

@gideonklein e @Nik71git avrei bisogno di un vostro feedback su questo issue.

riuscite a trovare nei log un riferimento esatto a quando smette di funzionare? qualcosa che faccia riferimento a ERR|02 o ERR|0x dove x è un numero.

oppure Exception in generale: devo capire quale messaggio manda in blocco le risposte TCP su casasicura con software version "V1.51F_SIA_TCP Apr 26 2018 15:55:39" (ialarm/antifurto356 con software version "V1.41F_SIA_TCP Oct 26 2016 10:05:10" non sembra risentirne)

Questo è il flusso che fa ialarm-mqtt in sequenza:

  1. prima chiamata GetNet per ottenere il mac address come uniqueId
  2. GetZone con "numero zona" fino a raggiungere il limite di zone impostato per determinare tipo e nome di ogni zona
  3. pubblicazione su mqtt dei messaggi per il discovery di home assistant
  4. pubblicazione su mqtt dell'availability
  5. imposta gli intervalli per il polling e a tempo chiama: 5a. GetLog per avere gli "eventi" 5b.GetAlarmStatus, GetByWay e GetZone per determinare rispettivamente (armed/disarmed), stato dei singoli sensori, tipo e nome di ogni zona

vorrei capire se superiamo il punto 2 e nel caso quale tra il punto 5a e 5b causano danni, cosi provo a modificare il modo o la frequenza con cui chiamiamo.

Ecco cosa ho scoperto: Il fatto che non gli interessasse la porta e le credenziali era solo la cache, una volta ripulita non potevo più entrare. Ho cambiato la password nel centro controllo cloud della centrale e anche nell'addon (dove c'è anche la porta) ma non funziona più. Ecco il log:

Disconnecting from 192.168.3.136:18034
error [object Object]
{ event: undefined,
  error:
   { Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('ERR|02')
       at MeianEmitter.emit (events.js:187:17)
       at Promise (/app/node_modules/ialarm/src/meian-socket.js:131:33)
       at new Promise (<anonymous>)
       at _receive (/app/node_modules/ialarm/src/meian-socket.js:107:20)
       at Socket.<anonymous> (/app/node_modules/ialarm/src/meian-socket.js:238:17)
       at Socket.emit (events.js:198:13)
       at addChunk (_stream_readable.js:288:12)
       at readableAddChunk (_stream_readable.js:269:11)
       at Socket.Readable.push (_stream_readable.js:224:10)
       at TCP.onStreamRead (internal/stream_base_commons.js:94:17) context: 'ERR|02' } }
ialarm/alarm/error - error publishing...not connected
Connection closed
[cmd] /run.sh exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

Quindi ho capito che non si collega al cloud ma si collega all'admin web, infatti con le credenziali di admin web si collega. E' corretto così?

maxill1 commented 3 years ago

Vi confermo che so collega direttamente alla centrale, con il Cloud non c'è alcuna relazione.

Dal log di @Nik71git vi confermo che è la sequenza di chiamate per avere lo status che probabilmente causa problemi:

Grazie delle prove, lavoro su quella parte

maxill1 commented 3 years ago

ho rilasciato una nuova versione e aggiornato l'addon.

Ora le operazioni di recupero delle configurazioni zone sono gestite in modo diverso e dovrebbe ridurre il numero di chiamate.

Fatemi sapere se risolve, se non risolve postate il log che ora dovrebbe essere più chiaro e dettagliato su eventuali errori.

P.S. ho fatto un po di pulizia di commenti duplicati, formattato i log e aggiunto la tag "details" dove utile (log, immagini grandi) per rendere più leggibile l'issue.

gideonklein commented 3 years ago

ho rilasciato una nuova versione e aggiornato l'addon.

Ora le operazioni di recupero delle configurazioni zone sono gestite in modo diverso e dovrebbe ridurre il numero di chiamate.

Fatemi sapere se risolve, se non risolve postate il log che ora dovrebbe essere più chiaro e dettagliato su eventuali errori.

P.S. ho fatto un po di pulizia di commenti duplicati, formattato i log e aggiunto la tag "details" dove utile (log, immagini grandi) per rendere più leggibile l'issue.

Buongiorno Luca,

mi dispiace ma a me ora non funziona più nulla, praticamente quando armo (anche armo in casa) l'addon non funziona più e devo fare reboot della centrale. Inoltre non mi funzionano ora menneo i sensori porte e finestre che prima funzionavano. Funziona solo last event quando la centrale non è impallata. Allego uno screen

![InkedCattura_LI](https://user-images.githubusercontent.com/79428290/138051231-2a3a3fd5-ca74-4db7-83b6-ed870a715b23.jpg)

Dal log non capisco nulla:

``` GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 Caching ialarm/alarm/error until Wed Oct 20 2021 09:51:50 GMT+0200 (Central European Summer Time) Caching ialarm/alarm/availability until Wed Oct 20 2021 09:51:50 GMT+0200 (Central European Summer Time) GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 Caching ialarm/alarm/error until Wed Oct 20 2021 09:52:50 GMT+0200 (Central European Summer Time) Caching ialarm/alarm/availability until Wed Oct 20 2021 09:52:50 GMT+0200 (Central European Summer Time) GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed Caching ialarm/alarm/availability until Wed Oct 20 2021 09:53:50 GMT+0200 (Central European Summer Time) GetAlarmStatus: disconnecting from 192.168.3.136:18034 Caching ialarm/alarm/error until Wed Oct 20 2021 09:53:50 GMT+0200 (Central European Summer Time) GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.3.136:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.3.136:18034 GetAlarmStatus: Connection closed ```

La centrale da pannello rimane armata ma in realtà ho disarmato con l'app e l'addon non risponde per niente fino a quando non faccio reboot della centrale

![Cattura](https://user-images.githubusercontent.com/79428290/138051734-0f530da4-4384-4c37-a074-88e1adf2dd2d.PNG)
maxill1 commented 3 years ago

ok ok, preferisco log alle schermata.

Dai log sembra che la connessione sia ok.

Puoi verificare che home assistant non abbia creato nuove entity con progressivo "_2" o "_3"?

cosa hai nel topic "ialarm/alarm/error"?

gideonklein commented 3 years ago

ok ok, preferisco log alle schermata.

Dai log sembra che la connessione sia ok.

Puoi verificare che home assistant non abbia creato nuove entity con progressivo "_2" o "_3"?

cosa hai nel topic "ialarm/alarm/error"?

Non ci sono nuove entità create con progressivo "_2" o "_3"

Come faccio a vedere il topic "ialarm/alarm/error" . Se mi spieghi lo faccio, Scusa la mia ignoranza

maxill1 commented 3 years ago

installa http://mqtt-explorer.com/ e configuralo con i dati del tuo broker mqtt, da li puoi vedere tutti i messaggi che si scambiano su mqtt ialarm e home assistant (e altri eventuali prodotti che usi, esphome, sonoff, etc)

gideonklein commented 3 years ago

installa http://mqtt-explorer.com/ e configuralo con i dati del tuo broker mqtt, da li puoi vedere tutti i messaggi che si scambiano su mqtt ialarm e home assistant (e altri eventuali prodotti che usi, esphome, sonoff, etc)

``` 192.168.3.50 home alarm = disarmed state = disarmed status = disarmed fingerprint finger status = {"message":"Waiting...","state":"wait","mode":"reading","match":false,"fingerprintId":0,"userId":0,"confidence":0,"gate":"finger"} available = offline ialarm alarm availability = online state = armed_home event = {"date":"2021-11-20T09:47:18.000Z","zone":11,"message":"Bypass Report","name":"Window armadio","type":"Interna","description":"Bypass Report (zone 11 Window armadio)"} error = {} configStatus = {"cacheClear":"OFF","discoveryClear":"OFF","cancel":"OFF"} sensors state = [{"lastChecked":"2021-10-20T07:48:11.915Z","id":1,"name":"Window Studio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":1,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"},{"lastChecked":"2021-10-20T07:48:11.915Z","id":2,"name":"Motion salone","status":1,"inUse":true,"ok":true,"alarm"… zone_1 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":1,"name":"Window Studio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":1,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_2 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":2,"name":"Motion salone","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":2,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_3 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":3,"name":"Window bagno 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":3,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_4 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":4,"name":"Window stanza 2","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":4,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_5 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":5,"name":"Sensor acqua","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":5,"typeId":5,"type":"24 ore","voiceId":1,"voiceName":"Fisso"} zone_6 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":6,"name":"Sensor gas","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":6,"typeId":6,"type":"Incendio","voiceId":1,"voiceName":"Fisso"} zone_7 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":7,"name":"Window salone","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":7,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_8 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":8,"name":"Window cucina","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":8,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_9 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":9,"name":"Motion salone 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":9,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_10 = {"lastChecked":"2021-10-20T07:48:11.915Z","id":10,"name":"Window Camera","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":10,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_11 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":11,"name":"Window armadio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":11,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_12 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":12,"name":"Window bagno","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":12,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_13 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":13,"name":"Motion cucina","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":13,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_14 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":14,"name":"Motion bagno 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":14,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_15 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":15,"name":"Motion stanza 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":15,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_16 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":16,"name":"Motion stanza","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":16,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_17 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":17,"name":"Motion bagno","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":17,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_18 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":18,"name":"Motion armadio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":18,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_19 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":19,"name":"Sensor fumo","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":19,"typeId":6,"type":"Incendio","voiceId":1,"voiceName":"Fisso"} zone_20 = {"lastChecked":"2021-10-20T07:48:11.925Z","id":20,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":20,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_21 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":21,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":21,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_22 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":22,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":22,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_23 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":23,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":23,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_24 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":24,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":24,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_25 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":25,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":25,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_26 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":26,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":26,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_27 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":27,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":27,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_28 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":28,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":28,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_29 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":29,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":29,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_30 = {"lastChecked":"2021-10-20T07:48:11.935Z","id":30,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":30,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_31 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":31,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":31,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_32 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":32,"name":"","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":32,"typeId":2,"type":"Perimetrale","voiceId":1,"voiceName":"Fisso"} zone_33 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":33,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":33,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_34 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":34,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":34,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_35 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":35,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":35,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_36 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":36,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":36,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_37 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":37,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":37,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_38 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":38,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":38,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_39 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":39,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":39,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} zone_40 = {"lastChecked":"2021-10-20T07:48:11.945Z","id":40,"name":"","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":40,"typeId":0,"type":"Disabilitata","voiceId":1,"voiceName":"Fisso"} homeassistant binary_sensor ialarm_zone_1 battery config = {"name":"Battery Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1_battery"… alarm config = {"name":"Alarm Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1_alarm","devi… connectivity config = {"name":"Connectivity Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1","device":{"identi… ialarm_zone_2 battery config = {"name":"Battery Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2_battery"… alarm config = {"name":"Alarm Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2_alarm","devi… connectivity config = {"name":"Connectivity Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2","device":{"identi… ialarm_zone_3 battery config = {"name":"Battery Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3_battery… alarm config = {"name":"Alarm Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3_alarm","dev… connectivity config = {"name":"Connectivity Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367… fault config = {"name":"Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3","device":{"ident… ialarm_zone_5 battery config = {"name":"Battery Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5_battery",… alarm config = {"name":"Alarm Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5_alarm","devic… connectivity config = {"name":"Connectivity Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3… fault config = {"name":"Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"gas","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5","device":{"identifier… ialarm_zone_6 battery config = {"name":"Battery Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6_battery","d… alarm config = {"name":"Alarm Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6_alarm","device"… connectivity config = {"name":"Connectivity Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_z… fault config = {"name":"Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"smoke","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6","device":{"identifier… ialarm_zone_7 battery config = {"name":"Battery Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7_battery"… alarm config = {"name":"Alarm Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7_alarm","devi… connectivity config = {"name":"Connectivity Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7","device":{"identi… ialarm_zone_8 battery config = {"name":"Battery Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8_battery"… alarm config = {"name":"Alarm Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8_alarm","devi… connectivity config = {"name":"Connectivity Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8","device":{"identi… ialarm_zone_9 battery config = {"name":"Battery Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9_batter… alarm config = {"name":"Alarm Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9_alarm","de… connectivity config = {"name":"Connectivity Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9","device":{"iden… ialarm_zone_10 battery config = {"name":"Battery Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10_batt… alarm config = {"name":"Alarm Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10_alarm","… connectivity config = {"name":"Connectivity Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10","device":{"id… ialarm_zone_11 battery config = {"name":"Battery Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11_bat… alarm config = {"name":"Alarm Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11_alarm",… connectivity config = {"name":"Connectivity Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11","device":{"i… ialarm_zone_12 battery config = {"name":"Battery Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12_batte… alarm config = {"name":"Alarm Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12_alarm","d… connectivity config = {"name":"Connectivity Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12","device":{"ide… ialarm_zone_13 battery config = {"name":"Battery Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13_batt… alarm config = {"name":"Alarm Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13_alarm","… connectivity config = {"name":"Connectivity Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13","device":{"id… ialarm_zone_14 battery config = {"name":"Battery Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14_bat… alarm config = {"name":"Alarm Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14_alarm",… connectivity config = {"name":"Connectivity Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14","device":{"i… ialarm_zone_15 battery config = {"name":"Battery Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15_ba… alarm config = {"name":"Alarm Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15_alarm"… connectivity config = {"name":"Connectivity Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_000021… fault config = {"name":"Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15","device":{"… ialarm_zone_16 battery config = {"name":"Battery Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16_batt… alarm config = {"name":"Alarm Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16_alarm","… connectivity config = {"name":"Connectivity Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16","device":{"id… ialarm_zone_17 battery config = {"name":"Battery Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17_batte… alarm config = {"name":"Alarm Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17_alarm","d… connectivity config = {"name":"Connectivity Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17","device":{"ide… ialarm_zone_18 battery config = {"name":"Battery Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18_bat… alarm config = {"name":"Alarm Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18_alarm",… connectivity config = {"name":"Connectivity Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18","device":{"i… ialarm_zone_19 battery config = {"name":"Battery Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19_batter… alarm config = {"name":"Alarm Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19_alarm","de… connectivity config = {"name":"Connectivity Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367… fault config = {"name":"Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"smoke","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19","device":{"ident… switch ialarm 1 config = {"name":"Bypass Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_1","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/1/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_1_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1"],"m… 2 config = {"name":"Bypass Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_2","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/2/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_2_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_2"],"m… 3 config = {"name":"Bypass Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_3","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/3/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_3_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_3"],"… 5 config = {"name":"Bypass Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_5","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/5/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_5_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_5"],"ma… 6 config = {"name":"Bypass Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_6","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/6/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_6_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_6"],"manu… 7 config = {"name":"Bypass Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_7","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/7/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_7_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_7"],"m… 8 config = {"name":"Bypass Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_8","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/8/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_8_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_8"],"m… 9 config = {"name":"Bypass Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_9","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/9/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_9_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_9"],… 10 config = {"name":"Bypass Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_10","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/10/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_10_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_10… 11 config = {"name":"Bypass Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_11","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/11/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_11_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 12 config = {"name":"Bypass Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_12","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/12/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_12_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_12"… 13 config = {"name":"Bypass Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_13","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/13/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_13_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_13… 14 config = {"name":"Bypass Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_14","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/14/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_14_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 15 config = {"name":"Bypass Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_15","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/15/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_15_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_… 16 config = {"name":"Bypass Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_16","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/16/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_16_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_16… 17 config = {"name":"Bypass Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_17","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/17/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_17_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_17"… 18 config = {"name":"Bypass Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_18","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/18/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_18_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 19 config = {"name":"Bypass Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_19","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/19/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_19_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_19"]… clear_cache config = {"name":"TCPIP_PANEL clean cache","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.cacheClear }}","command_topic":"ialarm/alarm/resetCache","payload_on":"ON","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_clear_cache","icon":"mdi:reload-alert","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian"… clear_discovery config = {"name":"TCPIP_PANEL clean discovery","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.discoveryClear }}","command_topic":"ialarm/alarm/discovery","payload_on":"ON","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_clear_discovery","icon":"mdi:refresh","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"… clear_triggered config = {"name":"TCPIP_PANEL clean triggered","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.cancel }}","command_topic":"ialarm/alarm/set","payload_on":"cancel","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_cancel_trigger","icon":"mdi:alarm-light","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian",… alarm_control_panel ialarm config = {"name":"TCPIP_PANEL","unique_id":"alarm_mqtt_0000219367F3_unit","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian","model":"TCPIP_PANEL","name":"TCPIP_PANEL","sw_version":"ialarm-mqtt 0.9.2"},"availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/state","command_topic":"ialarm/alarm/set","payload_disarm":"disarmed","payload_arm_home":"armed_home","paylo… sensor ialarm events config = {"name":"iAlarm last event","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/event","value_template":"{{value_json.description}}","json_attributes_topic":"ialarm/alarm/event","json_attributes_template":"{{ value_json | tojson }}","unique_id":"alarm_mqtt_0000219367F3_events","icon":"mdi:message-alert","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meia… $SYS broker version = mosquitto version 1.6.12 uptime = 4202 seconds load messages received 1min = 5.68 5min = 5.18 15min = 19.50 sent 1min = 138.66 5min = 91.97 15min = 60.24 publish sent 1min = 135.34 5min = 89.05 15min = 52.70 bytes received 1min = 78.10 5min = 132.23 15min = 3404.70 sent 1min = 7491.02 5min = 11122.58 15min = 8516.74 sockets 1min = 0.37 5min = 0.57 15min = 0.62 connections 1min = 0.06 5min = 0.20 15min = 0.11 messages received = 5426 sent = 6501 stored = 185 publish messages sent = 4694 bytes received = 1092458 sent = 856071 bytes received = 1294201 sent = 1047794 clients total = 3 maximum = 3 active = 3 connected = 3 store messages count = 185 bytes = 77505 subscriptions count = 32 retained messages count = 185 ```
Nik71git commented 3 years ago

Ciao @maxill1 Dopo aver aggiornato la release ecco il log:

GetLog: disconnecting from 192.168.1.6:18034 GetLog: Connection closed GetLog: disconnecting from 192.168.1.6:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.1.6:18034 GetAlarmStatus: Connection closed GetLog: disconnecting from 192.168.1.6:18034 GetLog: Connection closed GetLog: disconnecting from 192.168.1.6:18034 GetLog: Connection closed GetLog: disconnecting from 192.168.1.6:18034 GetLog: Connection closed GetAlarmStatus: disconnecting from 192.168.1.6:18034

Così....senza soluzione di continuità.

maxill1 commented 3 years ago

Quei "Connection closed" sono il sintomo che l'altra parte (la centralina) ha chiuso la connessione TCP.

Mi servirebbe il log dall'avvio a quando si manifestano i primi "Connection closed"

gideonklein commented 3 years ago

Quei "Connection closed" sono il sintomo che l'altra parte (la centralina) ha chiuso la connessione TCP.

Mi servirebbe il log dall'avvio a quando si manifestano i primi "Connection closed"

Anche per me è così

maxill1 commented 3 years ago

chiaro, questo significa la solita cosa però, che dopo un po casasicura smette di rispondere alle chiamate TCP.

Dobbiamo capire quando e perchè.

I comandi che mando alla centralina sono:

Se dai log emerge quale è ci lavoro, altrimenti devo fare una versione che disabilita una o l'altra funzionalità in modo che andiamo per esclusione.

gideonklein commented 3 years ago

chiaro, questo significa la solita cosa però, che dopo un po casasicura smette di rispondere alle chiamate TCP.

Dobbiamo capire quando e perchè.

I comandi che mando alla centralina sono:

  • GetNet -> per recuperare il mac address
  • GetZone -> per avere i nomi e il tipo delle zone
  • GetLog - > per avere gli eventi
  • GetAlarmStatus - > per avere lo stato armed/disarmed, etc
  • GetByWay -> varie chiamate (1 per sensore) per avere lo stato dei sensori

Se dai log emerge quale è ci lavoro, altrimenti devo fare una versione che disabilita una o l'altra funzionalità in modo che andiamo per esclusione.

Niente, quando faccio scattare l'allarme (24 ore) con il sensore acqua non c'è più connessione con l'addon e devo resettare la centrale. Inoltre la event mi notifica sia il sensore acqua che il disarmo ma poi non funziona più niente. Mentre invece il sensore acqua non si attiva e il control panel arm/disarm continua a lampeggiare come se fosse armata, ma in realtà è disarmata e anche last event lo aveva notificato. Ecco il log:

GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
Caching ialarm/alarm/state until Wed Oct 20 2021 15:02:07 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/alarm/state' : triggered
Caching ialarm/sensors/state until Wed Oct 20 2021 15:02:07 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/sensors/state' : Array of 40 elements
Caching ialarm/sensors/zone_5 until Wed Oct 20 2021 15:02:07 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/sensors/zone_5' : Object with 18 keys
GetLog: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/event until Wed Oct 20 2021 15:02:08 GMT+0200 (Central European Summer Time)
GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
Caching ialarm/sensors/zone_11 until Wed Oct 20 2021 15:02:17 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/sensors/zone_11' : Object with 18 keys
GetLog: connected to 192.168.3.136:18034
GetLog: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/event until Wed Oct 20 2021 15:02:23 GMT+0200 (Central European Summer Time)
GetAlarmStatus: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:02:37 GMT+0200 (Central European Summer Time)
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.3.136:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
Caching ialarm/alarm/availability until Wed Oct 20 2021 15:02:57 GMT+0200 (Central European Summer Time)
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.3.136:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.3.136:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.3.136:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:03:37 GMT+0200 (Central European Summer Time)
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
received topic 'ialarm/alarm/zone/11/bypass' :  1
Alarm bypass: zone 11 (1)
Alarm bypass zone 11
Received bypass true for zone number 11
bypass zone 11=true
requesting SetByWay with args 10,true
GetAlarmStatus: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:03:47 GMT+0200 (Central European Summer Time)
GetAlarmStatus: Connection closed
Caching ialarm/alarm/availability until Wed Oct 20 2021 15:03:47 GMT+0200 (Central European Summer Time)
received topic 'ialarm/alarm/zone/11/bypass' :  1
Alarm bypass: zone 11 (1)
Alarm bypass zone 11
Received bypass true for zone number 11
bypass zone 11=true
requesting SetByWay with args 10,true
GetLog: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:03:52 GMT+0200 (Central European Summer Time)
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
Caching ialarm/alarm/availability until Wed Oct 20 2021 15:03:52 GMT+0200 (Central European Summer Time)
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
SetByWay: disconnecting from 192.168.3.136:18034
SetByWay: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
SetByWay: disconnecting from 192.168.3.136:18034
SetByWay: Connection closed
GetLog: disconnecting from 192.168.3.136:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
maxill1 commented 3 years ago

OK grazie. Questo è quello che succede:

Normale funzionamento, chiama in sequenza:

GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
Caching ialarm/sensors/zone_11 until Wed Oct 20 2021 15:02:17 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/sensors/zone_11' : Object with 18 keys
GetLog: connected to 192.168.3.136:18034
GetLog: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/event until Wed Oct 20 2021 15:02:23 GMT+0200 (Central European Summer Time)

A un certo punto "GetAlarmStatus" prova ad aprire una connessione ma non ci riesce perché l'allarme non risponde più alle chiamate future ed emette un messaggio MQTT ialarm/alarm/error (il contenuto lo riuscite a recuperare?):

GetAlarmStatus: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:02:37 GMT+0200 (Central European Summer Time)
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed

da li in poi il log non è rilevante, perchè ovviamente qualsiasi operazione non va a buon fine visto che di fatto ialarm-mqtt non si collega più

Domanda, che valori avete sul polling di status e event? Avete provato ad aumentarli a valori di "sicurezza" come 30000 millisecondi per vedere se il problema si ripresenta?

gideonklein commented 3 years ago

OK grazie. Questo è quello che succede:

Normale funzionamento, chiama in sequenza:

  • GetAlarmStatus, si connette ottiene i dati e si disconnette
  • GetByWay, si connette ottiene i dati e si disconnette
  • vede che è stato DISARMED ma la zone 5 è triggered e lo pubblica su MQTT ialarm/sensors/zone_11. Quindi chiama:
  • GetLog, si connette ottiene i dati e si disconnette
  • pubblica su MQTT gli eventi di GetLog: ialarm/alarm/event
GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
GetAlarmStatus: connected to 192.168.3.136:18034
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetByWay: connected to 192.168.3.136:18034
GetByWay: disconnecting from 192.168.3.136:18034
Alarm is DISARMED and triggered by zones: ["5 Sensor acqua"]
Caching ialarm/sensors/zone_11 until Wed Oct 20 2021 15:02:17 GMT+0200 (Central European Summer Time)
sending topic 'ialarm/sensors/zone_11' : Object with 18 keys
GetLog: connected to 192.168.3.136:18034
GetLog: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/event until Wed Oct 20 2021 15:02:23 GMT+0200 (Central European Summer Time)

A un certo punto "GetAlarmStatus" prova ad aprire una connessione ma non ci riesce perché l'allarme non risponde più alle chiamate future ed emette un messaggio MQTT ialarm/alarm/error (il contenuto lo riuscite a recuperare?):

GetAlarmStatus: disconnecting from 192.168.3.136:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 15:02:37 GMT+0200 (Central European Summer Time)
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed
GetAlarmStatus: disconnecting from 192.168.3.136:18034
GetAlarmStatus: Connection closed

da li in poi il log non è rilevante, perchè ovviamente qualsiasi operazione non va a buon fine visto che di fatto ialarm-mqtt non si collega più

Domanda, che valori avete sul polling di status e event? Avete provato ad aumentarli a valori di "sicurezza" come 30000 millisecondi per vedere se il problema si ripresenta?

ho questo log:

``` 192.168.3.50 home alarm = disarmed state = disarmed status = disarmed fingerprint finger status = {"message":"Waiting...","state":"wait","mode":"reading","match":false,"fingerprintId":0,"userId":0,"confidence":0,"gate":"finger"} available = offline ialarm alarm availability = online state = triggered event = {"date":"2021-11-20T15:01:17.000Z","zone":44,"message":"Alarm canceled","description":"Alarm canceled (zone 44)"} error = {} configStatus = {"cacheClear":"OFF","discoveryClear":"OFF","cancel":"OFF"} sensors state = [{"lastChecked":"2021-10-20T13:01:07.670Z","id":1,"name":"Window Studio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":1,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"},{"lastChecked":"2021-10-20T13:01:07.670Z","id":2,"name":"Motion salone","status":1,"inUse":true,"ok":true,"alarm"… zone_1 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":1,"name":"Window Studio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":1,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_2 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":2,"name":"Motion salone","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":2,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_3 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":3,"name":"Window bagno 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":3,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_4 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":4,"name":"L3","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_5 = {"lastChecked":"2021-10-20T13:01:07.670Z","id":5,"name":"Sensor acqua","status":3,"inUse":true,"ok":false,"alarm":true,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"message":"Alarm","problem":true,"zone":5,"typeId":5,"type":"24 ore","voiceId":1,"voiceName":"Fisso"} zone_6 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":6,"name":"Sensor gas","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":6,"typeId":6,"type":"Incendio","voiceId":1,"voiceName":"Fisso"} zone_7 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":7,"name":"Window salone","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":7,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_8 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":8,"name":"Window cucina","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":8,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_9 = {"lastChecked":"2021-10-20T13:00:57.650Z","id":9,"name":"Motion salone 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":9,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_10 = {"lastChecked":"2021-10-20T13:00:37.663Z","id":10,"name":"Window Camera","status":9,"inUse":true,"ok":false,"alarm":false,"bypass":false,"lowbat":false,"fault":true,"wirelessLoss":false,"message":"Fault","problem":true,"zone":10,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_11 = {"lastChecked":"2021-10-20T13:01:17.672Z","id":11,"name":"Window armadio","status":9,"inUse":true,"ok":false,"alarm":false,"bypass":false,"lowbat":false,"fault":true,"wirelessLoss":false,"message":"Fault","problem":true,"zone":11,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_12 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":12,"name":"Window bagno","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":12,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_13 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":13,"name":"Motion cucina","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":13,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_14 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":14,"name":"Motion bagno 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":14,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_15 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":15,"name":"Motion stanza 2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":15,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_16 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":16,"name":"Motion stanza","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":16,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_17 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":17,"name":"Motion bagno","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":17,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_18 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":18,"name":"Motion armadio","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":18,"typeId":3,"type":"Interna","voiceId":1,"voiceName":"Fisso"} zone_19 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":19,"name":"Sensor fumo","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK","zone":19,"typeId":6,"type":"Incendio","voiceId":1,"voiceName":"Fisso"} zone_20 = {"lastChecked":"2021-10-20T13:00:57.660Z","id":20,"name":"L9","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_21 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":21,"name":"L0","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_22 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":22,"name":"L1","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_23 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":23,"name":"L2","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_24 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":24,"name":"L3","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_25 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":25,"name":"L4","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_26 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":26,"name":"L5","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_27 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":27,"name":"L6","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_28 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":28,"name":"L7","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_29 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":29,"name":"L8","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_30 = {"lastChecked":"2021-10-20T13:00:57.670Z","id":30,"name":"L9","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_31 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":31,"name":"L0","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_32 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":32,"name":"L1","status":1,"inUse":true,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_33 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":33,"name":"L2","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_34 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":34,"name":"L3","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_35 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":35,"name":"L4","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_36 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":36,"name":"L5","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_37 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":37,"name":"L6","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_38 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":38,"name":"L7","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_39 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":39,"name":"L8","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} zone_40 = {"lastChecked":"2021-10-20T13:00:57.679Z","id":40,"name":"L9","status":0,"inUse":false,"ok":true,"alarm":false,"bypass":false,"lowbat":false,"fault":false,"wirelessLoss":false,"problem":false,"message":"OK"} homeassistant binary_sensor ialarm_zone_1 battery config = {"name":"Battery Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1_battery"… alarm config = {"name":"Alarm Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1_alarm","devi… connectivity config = {"name":"Connectivity Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_1","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_1","unique_id":"alarm_mqtt_0000219367F3_zone_1","device":{"identi… ialarm_zone_2 battery config = {"name":"Battery Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2_battery"… alarm config = {"name":"Alarm Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2_alarm","devi… connectivity config = {"name":"Connectivity Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_2","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_2","unique_id":"alarm_mqtt_0000219367F3_zone_2","device":{"identi… ialarm_zone_3 battery config = {"name":"Battery Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3_battery… alarm config = {"name":"Alarm Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3_alarm","dev… connectivity config = {"name":"Connectivity Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367… fault config = {"name":"Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_3","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_3","unique_id":"alarm_mqtt_0000219367F3_zone_3","device":{"ident… ialarm_zone_5 battery config = {"name":"Battery Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5_battery",… alarm config = {"name":"Alarm Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5_alarm","devic… connectivity config = {"name":"Connectivity Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3… fault config = {"name":"Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","device_class":"gas","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_5","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_5","unique_id":"alarm_mqtt_0000219367F3_zone_5","device":{"identifier… ialarm_zone_6 battery config = {"name":"Battery Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6_battery","d… alarm config = {"name":"Alarm Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6_alarm","device"… connectivity config = {"name":"Connectivity Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_z… fault config = {"name":"Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","device_class":"smoke","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_6","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_6","unique_id":"alarm_mqtt_0000219367F3_zone_6","device":{"identifier… ialarm_zone_7 battery config = {"name":"Battery Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7_battery"… alarm config = {"name":"Alarm Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7_alarm","devi… connectivity config = {"name":"Connectivity Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_7","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_7","unique_id":"alarm_mqtt_0000219367F3_zone_7","device":{"identi… ialarm_zone_8 battery config = {"name":"Battery Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8_battery"… alarm config = {"name":"Alarm Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8_alarm","devi… connectivity config = {"name":"Connectivity Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F… fault config = {"name":"Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_8","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_8","unique_id":"alarm_mqtt_0000219367F3_zone_8","device":{"identi… ialarm_zone_9 battery config = {"name":"Battery Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9_batter… alarm config = {"name":"Alarm Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9_alarm","de… connectivity config = {"name":"Connectivity Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_9","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_9","unique_id":"alarm_mqtt_0000219367F3_zone_9","device":{"iden… ialarm_zone_10 battery config = {"name":"Battery Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10_batt… alarm config = {"name":"Alarm Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10_alarm","… connectivity config = {"name":"Connectivity Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_10","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_10","unique_id":"alarm_mqtt_0000219367F3_zone_10","device":{"id… ialarm_zone_11 battery config = {"name":"Battery Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11_bat… alarm config = {"name":"Alarm Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11_alarm",… connectivity config = {"name":"Connectivity Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_11","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_11","unique_id":"alarm_mqtt_0000219367F3_zone_11","device":{"i… ialarm_zone_12 battery config = {"name":"Battery Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12_batte… alarm config = {"name":"Alarm Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12_alarm","d… connectivity config = {"name":"Connectivity Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","device_class":"window","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_12","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_12","unique_id":"alarm_mqtt_0000219367F3_zone_12","device":{"ide… ialarm_zone_13 battery config = {"name":"Battery Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13_batt… alarm config = {"name":"Alarm Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13_alarm","… connectivity config = {"name":"Connectivity Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_13","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_13","unique_id":"alarm_mqtt_0000219367F3_zone_13","device":{"id… ialarm_zone_14 battery config = {"name":"Battery Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14_bat… alarm config = {"name":"Alarm Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14_alarm",… connectivity config = {"name":"Connectivity Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_14","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_14","unique_id":"alarm_mqtt_0000219367F3_zone_14","device":{"i… ialarm_zone_15 battery config = {"name":"Battery Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15_ba… alarm config = {"name":"Alarm Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15_alarm"… connectivity config = {"name":"Connectivity Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_000021… fault config = {"name":"Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_15","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_15","unique_id":"alarm_mqtt_0000219367F3_zone_15","device":{"… ialarm_zone_16 battery config = {"name":"Battery Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16_batt… alarm config = {"name":"Alarm Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16_alarm","… connectivity config = {"name":"Connectivity Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_00002193… fault config = {"name":"Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_16","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_16","unique_id":"alarm_mqtt_0000219367F3_zone_16","device":{"id… ialarm_zone_17 battery config = {"name":"Battery Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17_batte… alarm config = {"name":"Alarm Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17_alarm","d… connectivity config = {"name":"Connectivity Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_000021936… fault config = {"name":"Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_17","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_17","unique_id":"alarm_mqtt_0000219367F3_zone_17","device":{"ide… ialarm_zone_18 battery config = {"name":"Battery Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18_bat… alarm config = {"name":"Alarm Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18_alarm",… connectivity config = {"name":"Connectivity Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219… fault config = {"name":"Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","device_class":"motion","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_18","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_18","unique_id":"alarm_mqtt_0000219367F3_zone_18","device":{"i… ialarm_zone_19 battery config = {"name":"Battery Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"battery","value_template":"{{ '1' if value_json.lowbat else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19_batter… alarm config = {"name":"Alarm Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"safety","value_template":"{{ '1' if value_json.alarm else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19_alarm","de… connectivity config = {"name":"Connectivity Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"connectivity","value_template":"{{ '0' if value_json.wirelessLoss else '1' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367… fault config = {"name":"Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","device_class":"smoke","value_template":"{{ '1' if value_json.fault else '0' }}","payload_on":"1","payload_off":"0","json_attributes_topic":"ialarm/sensors/zone_19","json_attributes_template":"{{ value_json | tojson }}","state_topic":"ialarm/sensors/zone_19","unique_id":"alarm_mqtt_0000219367F3_zone_19","device":{"ident… switch ialarm 1 config = {"name":"Bypass Zone 1 Window Studio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_1","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/1/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_1_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1"],"m… 2 config = {"name":"Bypass Zone 2 Motion salone","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_2","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/2/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_2_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_2"],"m… 3 config = {"name":"Bypass Zone 3 Window bagno 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_3","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/3/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_3_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_3"],"… 5 config = {"name":"Bypass Zone 5 Sensor acqua","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_5","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/5/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_5_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_5"],"ma… 6 config = {"name":"Bypass Zone 6 Sensor gas","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_6","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/6/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_6_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_6"],"manu… 7 config = {"name":"Bypass Zone 7 Window salone","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_7","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/7/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_7_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_7"],"m… 8 config = {"name":"Bypass Zone 8 Window cucina","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_8","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/8/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_8_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_8"],"m… 9 config = {"name":"Bypass Zone 9 Motion salone 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_9","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/9/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_9_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_9"],… 10 config = {"name":"Bypass Zone 10 Window Camera","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_10","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/10/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_10_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_10… 11 config = {"name":"Bypass Zone 11 Window armadio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_11","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/11/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_11_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 12 config = {"name":"Bypass Zone 12 Window bagno","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_12","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/12/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_12_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_12"… 13 config = {"name":"Bypass Zone 13 Motion cucina","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_13","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/13/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_13_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_13… 14 config = {"name":"Bypass Zone 14 Motion bagno 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_14","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/14/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_14_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 15 config = {"name":"Bypass Zone 15 Motion stanza 2","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_15","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/15/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_15_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_… 16 config = {"name":"Bypass Zone 16 Motion stanza","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_16","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/16/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_16_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_16… 17 config = {"name":"Bypass Zone 17 Motion bagno","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_17","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/17/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_17_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_17"… 18 config = {"name":"Bypass Zone 18 Motion armadio","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_18","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/18/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_18_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_1… 19 config = {"name":"Bypass Zone 19 Sensor fumo","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/sensors/zone_19","value_template":"{{ '1' if value_json.bypass else '0' }}","payload_on":"1","payload_off":"0","command_topic":"ialarm/alarm/zone/19/bypass","unique_id":"alarm_mqtt_0000219367F3_zone_19_bypass","icon":"mdi:lock-open","device":{"identifiers":["alarm_mqtt_0000219367F3_zone_19"]… clear_cache config = {"name":"TCPIP_PANEL clean cache","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.cacheClear }}","command_topic":"ialarm/alarm/resetCache","payload_on":"ON","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_clear_cache","icon":"mdi:reload-alert","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian"… clear_discovery config = {"name":"TCPIP_PANEL clean discovery","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.discoveryClear }}","command_topic":"ialarm/alarm/discovery","payload_on":"ON","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_clear_discovery","icon":"mdi:refresh","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"… clear_triggered config = {"name":"TCPIP_PANEL clean triggered","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/configStatus","value_template":"{{ value_json.cancel }}","command_topic":"ialarm/alarm/set","payload_on":"cancel","payload_off":"OFF","unique_id":"alarm_mqtt_0000219367F3_cancel_trigger","icon":"mdi:alarm-light","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian",… alarm_control_panel ialarm config = {"name":"TCPIP_PANEL","unique_id":"alarm_mqtt_0000219367F3_unit","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meian","model":"TCPIP_PANEL","name":"TCPIP_PANEL","sw_version":"ialarm-mqtt 0.9.2"},"availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/state","command_topic":"ialarm/alarm/set","payload_disarm":"disarmed","payload_arm_home":"armed_home","paylo… sensor ialarm events config = {"name":"iAlarm last event","availability_topic":"ialarm/alarm/availability","state_topic":"ialarm/alarm/event","value_template":"{{value_json.description}}","json_attributes_topic":"ialarm/alarm/event","json_attributes_template":"{{ value_json | tojson }}","unique_id":"alarm_mqtt_0000219367F3_events","icon":"mdi:message-alert","device":{"identifiers":"alarm_mqtt_0000219367F3","manufacturer":"Meia… $SYS broker version = mosquitto version 1.6.12 uptime = 23870 seconds clients total = 3 active = 3 connected = 3 load messages received 1min = 3.55 5min = 7.35 15min = 18.56 sent 1min = 145.02 5min = 158.30 15min = 169.03 publish sent 1min = 142.87 5min = 154.23 15min = 161.31 bytes received 1min = 49.17 5min = 363.67 15min = 2644.91 sent 1min = 10423.99 5min = 15563.93 15min = 15087.56 sockets 1min = 0.48 5min = 0.61 15min = 0.59 connections 1min = 0.06 5min = 0.20 15min = 0.07 messages received = 10080 sent = 41507 stored = 184 store messages bytes = 74258 count = 184 subscriptions count = 32 publish messages sent = 38604 bytes received = 2402057 sent = 2964060 bytes received = 2719079 sent = 4369456 retained messages count = 184 ```
Nik71git commented 3 years ago

Quei "Connection closed" sono il sintomo che l'altra parte (la centralina) ha chiuso la connessione TCP.

Mi servirebbe il log dall'avvio a quando si manifestano i primi "Connection closed"

eccolo:

sending topic 'homeassistant/binary_sensor/ialarm_zone_11/connectivity/config' : Object with 12 keys
sending topic 'homeassistant/switch/ialarm/11/config' : Object with 11 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_12/fault/config' : Object with 13 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_12/battery/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_12/alarm/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_12/connectivity/config' : Object with 12 keys
sending topic 'homeassistant/switch/ialarm/12/config' : Object with 11 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_13/fault/config' : Object with 13 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_13/battery/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_13/alarm/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_13/connectivity/config' : Object with 12 keys
sending topic 'homeassistant/switch/ialarm/13/config' : Object with 11 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_14/fault/config' : Object with 13 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_14/battery/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_14/alarm/config' : Object with 12 keys
sending topic 'homeassistant/binary_sensor/ialarm_zone_14/connectivity/config' : Object with 12 keys
sending topic 'homeassistant/switch/ialarm/14/config' : Object with 11 keys
sending topic 'homeassistant/switch/ialarm/clear_cache/config' : Object with 11 keys
sending topic 'homeassistant/switch/ialarm/clear_discovery/config' : Object with 11 keys
sending topic 'homeassistant/switch/ialarm/clear_triggered/config' : Object with 11 keys
sending topic 'homeassistant/alarm_control_panel/ialarm/config' : Object with 12 keys
sending topic 'homeassistant/sensor/ialarm/events/config' : Object with 10 keys
GetLog: connected to 192.168.1.6:18034
GetLog: disconnecting from 192.168.1.6:18034
Caching ialarm/alarm/event until Wed Oct 20 2021 18:18:52 GMT+0200 (Central European Summer Time)
Caching ialarm/alarm/availability until Wed Oct 20 2021 18:19:10 GMT+0200 (Central European Summer Time)
GetLog: disconnecting from 192.168.1.6:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 18:19:15 GMT+0200 (Central European Summer Time)
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
GetAlarmStatus: disconnecting from 192.168.1.6:18034
GetAlarmStatus: Connection closed
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
received topic 'ialarm/alarm/set' :  armed_home
Alarm command: armHome (armed_home)
Received alarm command: armHome
requesting SetAlarmStatus with args 2
Executed: armHome (armed_home)
GetLog: disconnecting from 192.168.1.6:18034
Caching ialarm/alarm/error until Wed Oct 20 2021 18:23:05 GMT+0200 (Central European Summer Time)
GetLog: Connection closed
Caching ialarm/alarm/availability until Wed Oct 20 2021 18:23:10 GMT+0200 (Central European Summer Time)
GetLog: disconnecting from 192.168.1.6:18034
GetLog: Connection closed
gideonklein commented 3 years ago

A me non funziona più niente, nemmeno resettando centrale e addon

[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. [21:24:58] INFO: Passing /data/options.json to ialarm-mqtt@ 0.9.2 with node-ialarm@ 0.4.6 Found arg --hassos with value /data/options.json Trying to merge HASSOS options file (/data/options.json) with default config.json Config.json value not specified on /data/options.json using default '' on ["name"] Config.json value not specified on /data/options.json using default '40' on ["server","zones"] Starting up... MQTT connecting to broker 192.168.3.50:1883 with cliendId ialarm-mqtt MQTT connected to broker 192.168.3.50:1883 with cliendId ialarm-mqtt subscribing to ["ialarm/alarm/set","ialarm/alarm/zone/+/bypass","ialarm/alarm/discovery","ialarm/alarm/resetCache"] Setting up first TCP connection to retrieve mac address... GetNet: disconnecting from 192.168.3.136:18034 Error starting up: GetNet: meian socket timed out after 10000 ms (your address/port may be wrong or the alarm may be hanging. Try connecting with your Android Phone, if not working either reboot the alarm and try again.) Stopping... [cmd] /run.sh exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.

gideonklein commented 3 years ago

Certe volte fallisce anche last event 'Descrizione: Communication failure (zone 0) Data: 2021-11-21T15:22:08.000Z Messaggio: Communication failure'

Nik71git commented 3 years ago

@gideonklein quello è un messaggio della centrale, lo ha dato sicuramente anche nel suo display.

gideonklein commented 3 years ago

@gideonklein quello è un messaggio della centrale, lo ha dato sicuramente anche nel suo display.

Si è così ma prima non avevo questi errori, li ho ora con l'addon di Luca

maxill1 commented 3 years ago

Ho una pista da seguire.

Ho notato che dopo alcuni comandi specifici come SetByWay (bypass zona) il sistema non risponde con un messaggio e basta, ma emette anche un messaggio "Alarm" (tipo evento simile ai log) come documentato sulla pagina del protocollo. Ecco un esempio:

  <Root>
    <Host>
      <Alarm>
        <Cid>STR,4|3441</Cid>
        <Content>STR,12|M. Partielle</Content>
        <Time>DTA|2018.09.02.01.12.01</Time>
        <Zone>S32,0,99|70</Zone>
        <ZoneName>STR,16|</ZoneName>
        <Name>STR,15|ORION IP2 </Name>
        <Err/>
      </Alarm>
    </Host>
  </Root>

Nel caso della mia centrale questi messaggi non spostano molto, ho errori sporadici ma poi continua a funzionare. Forse nel vostro caso viene emesso qualcosa di più. Provo a migliorare i log.

gideonklein commented 3 years ago

Ho una pista da seguire.

Ho notato che dopo alcuni comandi specifici come SetByWay (bypass zona) il sistema non risponde con un messaggio e basta, ma emette anche un messaggio "Alarm" (tipo evento simile ai log) come documentato sulla pagina del protocollo. Ecco un esempio:

  <Root>
    <Host>
      <Alarm>
        <Cid>STR,4|3441</Cid>
        <Content>STR,12|M. Partielle</Content>
        <Time>DTA|2018.09.02.01.12.01</Time>
        <Zone>S32,0,99|70</Zone>
        <ZoneName>STR,16|</ZoneName>
        <Name>STR,15|ORION IP2 </Name>
        <Err/>
      </Alarm>
    </Host>
  </Root>

Nel caso della mia centrale questi messaggi non spostano molto, ho errori sporadici ma poi continua a funzionare. Forse nel vostro caso viene emesso qualcosa di più. Provo a migliorare i log.

Si confermo, genera un all'arme. Sono sicuro che riuscirai a far funzionare tutto. Grazie Luca

Nik71git commented 3 years ago

Qualche progresso?

gideonklein commented 3 years ago

aspettiamo tutti con impazienza :)

maxill1 commented 3 years ago

ci sono progressi,

ho impostato un meccanismo per il quale le eventuali chiamate concorrenti vengono messe in coda.

ho implementato la possibilità di disabilitare specifiche funzionalità:

ho rivisto per intero il meccanismo di logging. ho rivisto i topic di availability. ho gestito le "aree" come alarm_control_panel separati

Con queste modifiche saremo in grado di:

maxill1 commented 3 years ago

aggiornate e fatemi sapere come va.

Se avete problemi iniziate a disabilitare le singole features e provate a capire per esclusione quale è che causa il problema:

se dovete postare log lunghi, mi raccomando usate la tag

<details>
 <summary>Descrizione log</summary>
 log lungo
</details>

cosi il topic rimane fruibile

Nik71git commented 3 years ago

@maxill1 finalmente pare funzionare !!! Arma/disarma e rileva lo stato open/close dei sensori. Non ho ancora configurato di fino, lo farò in serata e poi di darò conto. Al momento tutto ok. Grazie !!!

gideonklein commented 3 years ago

aggiornate e fatemi sapere come va.

Se avete problemi iniziate a disabilitare le singole features e provate a capire per esclusione quale è che causa il problema:

  • armDisarm = arma/disarma e "stato" dell'antifurto
  • sensors = stato dei singoli sensori di zona
  • events = eventi/logs
  • bypass = bypass di una zona
  • zoneNames = in fase di avvio del componente chiede all'antifurto il nome e il tipo "configurati in centrale" delle singole zone

se dovete postare log lunghi, mi raccomando usate la tag

<details>
 <summary>Descrizione log</summary>
 log lungo
</details>

cosi il topic rimane fruibile

Io niente, lo avevo disinstallato e ora l'ho reinstallato ma non mi rileva nessun sensore. Mqtt non ha più nessun sensore. Ho riavviato decine di volte e controllato i parametri su configurazione. Ecco il log che pare però senza problemi: [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. [17:18:32] INFO: Passing /data/options.json to ialarm-mqtt@ 0.10.0 with node-ialarm@ 0.5.1 Found arg --hassos with value /data/options.json info: Trying to merge HASSOS options file (/data/options.json) with default config.json warning: Config.json value not specified on /data/options.json using default '' on ["name"] warning: Config.json value not specified on /data/options.json using default '40' on ["server","zones"] info: Starting up... info: MQTT connecting to broker 192.168.1.50:1883 with cliendId ialarm-mqtt

gideonklein commented 3 years ago

su sistema supervisor ho questo errore in rosso:

21-11-05 17:22:02 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

maxill1 commented 3 years ago

su sistema supervisor ho questo errore in rosso:

21-11-05 17:22:02 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

eh ma questo non è qualcosa che ha a che fare con ialarm-mqtt però

gideonklein commented 3 years ago

su sistema supervisor ho questo errore in rosso: 21-11-05 17:22:02 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto

eh ma questo non è qualcosa che ha a che fare con ialarm-mqtt però

Ho fatto restart del supervisor e non mi dà più l'errore comunque mqtt non mi rileva niente. ma questo errore è importante? info: Trying to merge HASSOS options file (/data/options.json) with default config.json warning: Config.json value not specified on /data/options.json using default '' on ["name"] warning: Config.json value not specified on /data/options.json using default '40' on ["server","zones"]

maxill1 commented 3 years ago

Questi sono "info", non sono errori.

Se da MQTT Explorer non rileva messaggi io controllerei la configurazione dell'addon, in particolare ip, username e password del server MQTT

gideonklein commented 3 years ago

Questi sono "info", non sono errori.

Se da MQTT Explorer non rileva messaggi io controllerei la configurazione dell'addon, in particolare ip, username e password del server MQTT

Finalmente, ho disinstallato l'addon mqtt e anche l'integrazione e reinstallato e così ora funziona. Domani mattina faccio le prove. A presto

gideonklein commented 3 years ago

Questi sono "info", non sono errori. Se da MQTT Explorer non rileva messaggi io controllerei la configurazione dell'addon, in particolare ip, username e password del server MQTT

Finalmente, ho disinstallato l'addon mqtt e anche l'integrazione e reinstallato e così ora funziona. Domani mattina faccio le prove. A presto

Allora ecco il risultato della prova

info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:36 GMT+0100 (Central European Standard Time) error: 1749-["GetAlarmStatus"] tcp socket timeout error: 9038-["GetLog"]: throw an error: 1749-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 1749-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 1749-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:37 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 4619-["GetAlarmStatus"] tcp socket timeout error: 4982-["GetAlarmStatus"]: throw an error: 4619-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 4619-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4619-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:41 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 9038-["GetLog"] tcp socket timeout error: 7115-["GetLog"]: throw an error: 9038-["GetLog"] tcp socket timeout {"stack":"Error: 9038-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9038-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:46 GMT+0100 (Central European Standard Time) error: 7369-["GetAlarmStatus"] tcp socket timeout error: 8225-["GetAlarmStatus"]: throw an error: 7369-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 7369-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7369-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:47 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 4982-["GetAlarmStatus"] tcp socket timeout error: 7128-["GetAlarmStatus"]: throw an error: 4982-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 4982-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4982-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:51 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 7115-["GetLog"] tcp socket timeout error: 3512-["GetLog"]: throw an error: 7115-["GetLog"] tcp socket timeout {"stack":"Error: 7115-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7115-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:56 GMT+0100 (Central European Standard Time) error: 8225-["GetAlarmStatus"] tcp socket timeout error: 3512-["GetLog"]: throw an error: 8225-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 8225-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8225-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:07:57 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 7128-["GetAlarmStatus"] tcp socket timeout error: 9541-["GetAlarmStatus"]: throw an error: 7128-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 7128-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7128-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:01 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 3512-["GetLog"] tcp socket timeout error: 9541-["GetAlarmStatus"]: throw an error: 3512-["GetLog"] tcp socket timeout {"stack":"Error: 3512-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3512-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:06 GMT+0100 (Central European Standard Time) error: 8375-["GetAlarmStatus"] tcp socket timeout error: 8474-["GetAlarmStatus"]: throw an error: 8375-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 8375-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8375-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:07 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 9541-["GetAlarmStatus"] tcp socket timeout error: 1069-["GetAlarmStatus"]: throw an error: 9541-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 9541-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9541-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:11 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 6149-["GetLog"] tcp socket timeout error: 3513-["GetLog"]: throw an error: 6149-["GetLog"] tcp socket timeout {"stack":"Error: 6149-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 6149-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:16 GMT+0100 (Central European Standard Time) error: 8474-["GetAlarmStatus"] tcp socket timeout error: 3513-["GetLog"]: throw an error: 8474-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 8474-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8474-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:17 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 1069-["GetAlarmStatus"] tcp socket timeout error: 2787-["GetAlarmStatus"]: throw an error: 1069-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 1069-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 1069-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:21 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 3513-["GetLog"] tcp socket timeout error: 2426-["GetLog"]: throw an error: 3513-["GetLog"] tcp socket timeout {"stack":"Error: 3513-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3513-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:26 GMT+0100 (Central European Standard Time) error: 2787-["GetAlarmStatus"] tcp socket timeout error: 5744-["GetAlarmStatus"]: throw an error: 2787-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 2787-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2787-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:27 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 5260-["GetAlarmStatus"] tcp socket timeout error: 8997-["GetAlarmStatus"]: throw an error: 5260-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 5260-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 5260-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:31 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 2426-["GetLog"] tcp socket timeout error: 8997-["GetAlarmStatus"]: throw an error: 2426-["GetLog"] tcp socket timeout {"stack":"Error: 2426-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2426-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:36 GMT+0100 (Central European Standard Time) error: 5744-["GetAlarmStatus"] tcp socket timeout error: 5988-["GetLog"]: throw an error: 5744-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 5744-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 5744-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:37 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 8997-["GetAlarmStatus"] tcp socket timeout error: 8264-["GetAlarmStatus"]: throw an error: 8997-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 8997-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8997-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:41 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 5988-["GetLog"] tcp socket timeout error: 5603-["GetLog"]: throw an error: 5988-["GetLog"] tcp socket timeout {"stack":"Error: 5988-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 5988-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:46 GMT+0100 (Central European Standard Time) error: 8264-["GetAlarmStatus"] tcp socket timeout error: 6667-["GetAlarmStatus"]: throw an error: 8264-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 8264-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8264-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sat Nov 06 2021 10:08:47 GMT+0100 (Central European Standard Time) log lungo
gideonklein commented 3 years ago

Non ho capito però come si disabilitano le singole features per capire, per esclusione, quale possa essere il problema

gideonklein commented 3 years ago

ho riprovato e quando la centrale dà l'allarme (da armata e allertata con il PIR) si blocca l'addon. Ora l'addon non funziona più nemmeno resettandola o resettando la centrale. Ecco il log:

`[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...

Add-on: Home Panel A web frontend for controlling the home

Add-on version: 2.3.0 You are running the latest version of this add-on. System: Home Assistant OS 6.6 (aarch64 / raspberrypi4-64) Home Assistant Core: 2021.10.6 Home Assistant Supervisor: 2021.10.8

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] nginx.sh: executing... [cont-init.d] nginx.sh: exited 0. [cont-init.d] secrets.sh: executing... [20:02:44] INFO: Update secret in config [20:02:44] INFO: Update database path in config [cont-init.d] secrets.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [20:02:44] INFO: Run Home Panel.. yarn run v1.22.10 $ node lib/ info: API started [20:02:53] INFO: Starting NGinx...`

gideonklein commented 3 years ago

ahahhaha ho sbagliato, ho preso il lig di un'altro addon, ecco quello corretto:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. [17:20:19] INFO: Passing /data/options.json to ialarm-mqtt@ 0.10.0 with node-ialarm@ 0.5.1 Found arg --hassos with value /data/options.json info: Trying to merge HASSOS options file (/data/options.json) with default config.json warning: Config.json value not specified on /data/options.json using default '' on ["name"] warning: Config.json value not specified on /data/options.json using default '40' on ["server","zones"] info: Starting up... info: MQTT connecting to broker 192.168.3.50:1883 with cliendId ialarm-mqtt info: MQTT connected to broker 192.168.3.50:1883 with cliendId ialarm-mqtt info: subscribing to ["ialarm/alarm/discovery","ialarm/alarm/resetCache","ialarm/alarm/area/+/set","ialarm/alarm/zone/+/bypass"] info: Setting up first TCP connection to retrieve mac address... "GetNet": concurrent commands, delaying 200ms error: 5229-["GetNet"] tcp socket timeout error: 5229-["GetNet"]: throw an error: 5229-["GetNet"] tcp socket timeout {"stack":"Error: 5229-[\"GetNet\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Error starting up: 5229-["GetNet"] tcp socket timeout info: Stopping... [cmd] /run.sh exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.

Nik71git commented 3 years ago

Dopo un paio di giorni di prove, ho notato che funziona tutto ma dopo un po di tempo (non saprei definire con precisione ma credo sia superiore ai 5 minuti di cache dove comunque fa un refresh) inizia ad essere impallata e questo è quanto trovo sul registro:

registro eventi error: 8459-["GetLog"] tcp socket timeout error: 8708-["GetLog"]: throw an error: 8459-["GetLog"] tcp socket timeout {"stack":"Error: 8459-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8459-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:01:42 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 7800ms ["GetLog"]: concurrent commands, delaying 8000ms error: 8708-["GetLog"] tcp socket timeout error: 9978-["GetAlarmStatus"]: throw an error: 8708-["GetLog"] tcp socket timeout {"stack":"Error: 8708-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8708-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:01:52 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 8000ms error: 9978-["GetAlarmStatus"] tcp socket timeout error: 9028-["GetLog"]: throw an error: 9978-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 9978-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9978-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:01 GMT+0100 (Central European Standard Time) error: 9028-["GetLog"] tcp socket timeout error: 9028-["GetLog"]: throw an error: 9028-["GetLog"] tcp socket timeout {"stack":"Error: 9028-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9028-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:02 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 7800ms error: 2044-["GetLog"] tcp socket timeout error: 4393-["GetLog"]: throw an error: 2044-["GetLog"] tcp socket timeout {"stack":"Error: 2044-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2044-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:12 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 7800ms ["GetLog"]: concurrent commands, delaying 8000ms error: 4393-["GetLog"] tcp socket timeout error: 3707-["GetAlarmStatus"]: throw an error: 4393-["GetLog"] tcp socket timeout {"stack":"Error: 4393-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4393-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:22 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 8000ms error: 3707-["GetAlarmStatus"] tcp socket timeout error: 9443-["GetLog"]: throw an error: 3707-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 3707-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3707-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:31 GMT+0100 (Central European Standard Time) error: 9443-["GetLog"] tcp socket timeout error: 9443-["GetLog"]: throw an error: 9443-["GetLog"] tcp socket timeout {"stack":"Error: 9443-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9443-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:32 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 7800ms error: 2566-["GetLog"] tcp socket timeout error: 9749-["GetLog"]: throw an error: 2566-["GetLog"] tcp socket timeout {"stack":"Error: 2566-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2566-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:42 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 7800ms ["GetLog"]: concurrent commands, delaying 8000ms error: 9749-["GetLog"] tcp socket timeout error: 9128-["GetAlarmStatus"]: throw an error: 9749-["GetLog"] tcp socket timeout {"stack":"Error: 9749-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9749-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:02:52 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 8000ms error: 9128-["GetAlarmStatus"] tcp socket timeout error: 9071-["GetLog"]: throw an error: 9128-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 9128-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9128-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:01 GMT+0100 (Central European Standard Time) error: 9071-["GetLog"] tcp socket timeout error: 9071-["GetLog"]: throw an error: 9071-["GetLog"] tcp socket timeout {"stack":"Error: 9071-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9071-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:02 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 7800ms error: 8034-["GetLog"] tcp socket timeout error: 571-["GetLog"]: throw an error: 8034-["GetLog"] tcp socket timeout {"stack":"Error: 8034-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8034-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:12 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 7800ms ["GetLog"]: concurrent commands, delaying 8000ms error: 571-["GetLog"] tcp socket timeout error: 6814-["GetAlarmStatus"]: throw an error: 571-["GetLog"] tcp socket timeout {"stack":"Error: 571-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 571-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:22 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 8000ms error: 6814-["GetAlarmStatus"] tcp socket timeout error: 7440-["GetLog"]: throw an error: 6814-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 6814-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 6814-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:31 GMT+0100 (Central European Standard Time) error: 7440-["GetLog"] tcp socket timeout error: 7440-["GetLog"]: throw an error: 7440-["GetLog"] tcp socket timeout {"stack":"Error: 7440-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7440-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:32 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 7800ms error: 3127-["GetLog"] tcp socket timeout error: 244-["GetLog"]: throw an error: 3127-["GetLog"] tcp socket timeout {"stack":"Error: 3127-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3127-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:42 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 7800ms ["GetLog"]: concurrent commands, delaying 8000ms error: 244-["GetLog"] tcp socket timeout error: 5617-["GetAlarmStatus"]: throw an error: 244-["GetLog"] tcp socket timeout {"stack":"Error: 244-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 244-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:03:52 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 8000ms error: 5617-["GetAlarmStatus"] tcp socket timeout error: 780-["GetLog"]: throw an error: 5617-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 5617-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 5617-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:04:01 GMT+0100 (Central European Standard Time) error: 780-["GetLog"] tcp socket timeout error: 780-["GetLog"]: throw an error: 780-["GetLog"] tcp socket timeout {"stack":"Error: 780-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 780-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 12:04:02 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 7800ms
Nik71git commented 3 years ago

inoltre nel log di avvio noto queste cose:

log di sistema con eventi relativi a ialarm 21-11-07 11:34:48 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of ialarm-mqtt 21-11-07 11:34:48 WARNING (MainThread) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of ialarm-mqtt 21-11-07 11:34:48 INFO (MainThread) [supervisor.store] Loading add-ons from store: 27 all - 0 new - 0 remove 21-11-07 11:34:48 INFO (MainThread) [supervisor.store] Loading add-ons from store: 27 all - 0 new - 0 remove 21-11-07 11:34:49 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-11-07 11:53:47 WARNING (MainThread) [supervisor.addons.options] Unknown option 'zones' for ialarm-mqtt (c94950d3_ialarm-mqtt) 21-11-07 12:04:49 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 21-11-07 12:07:16 WARNING (MainThread) [supervisor.addons.options] Unknown option 'zones' for ialarm-mqtt (c94950d3_ialarm-mqtt)
gideonklein commented 3 years ago
Descrizione log ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 1000-["GetLog"] tcp socket timeout error: 3454-["GetLog"]: throw an error: 1000-["GetLog"] tcp socket timeout {"stack":"Error: 1000-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 1000-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:00 GMT+0100 (Central European Standard Time) error: 4576-["GetAlarmStatus"] tcp socket timeout error: 3454-["GetLog"]: throw an error: 4576-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 4576-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4576-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:01 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 9437-["GetAlarmStatus"] tcp socket timeout error: 2345-["GetAlarmStatus"]: throw an error: 9437-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 9437-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9437-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:06 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 3454-["GetLog"] tcp socket timeout error: 3844-["GetLog"]: throw an error: 3454-["GetLog"] tcp socket timeout {"stack":"Error: 3454-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3454-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:10 GMT+0100 (Central European Standard Time) error: 2345-["GetAlarmStatus"] tcp socket timeout error: 2455-["GetAlarmStatus"]: throw an error: 2345-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 2345-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2345-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:11 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 2630-["GetAlarmStatus"] tcp socket timeout error: 3890-["GetAlarmStatus"]: throw an error: 2630-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 2630-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2630-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:16 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 3844-["GetLog"] tcp socket timeout error: 3900-["GetLog"]: throw an error: 3844-["GetLog"] tcp socket timeout {"stack":"Error: 3844-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3844-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:20 GMT+0100 (Central European Standard Time) error: 2455-["GetAlarmStatus"] tcp socket timeout error: 3900-["GetLog"]: throw an error: 2455-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 2455-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 2455-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:21 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 3890-["GetAlarmStatus"] tcp socket timeout error: 1208-["GetAlarmStatus"]: throw an error: 3890-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 3890-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3890-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:26 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 3900-["GetLog"] tcp socket timeout error: 1208-["GetAlarmStatus"]: throw an error: 3900-["GetLog"] tcp socket timeout {"stack":"Error: 3900-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3900-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:30 GMT+0100 (Central European Standard Time) error: 3696-["GetAlarmStatus"] tcp socket timeout error: 7997-["GetAlarmStatus"]: throw an error: 3696-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 3696-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3696-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:31 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 1208-["GetAlarmStatus"] tcp socket timeout error: 7997-["GetAlarmStatus"]: throw an error: 1208-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 1208-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 1208-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:36 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 8496-["GetLog"] tcp socket timeout error: 4039-["GetLog"]: throw an error: 8496-["GetLog"] tcp socket timeout {"stack":"Error: 8496-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 8496-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:40 GMT+0100 (Central European Standard Time) error: 7997-["GetAlarmStatus"] tcp socket timeout error: 5537-["GetAlarmStatus"]: throw an error: 7997-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 7997-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7997-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:41 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 9840-["GetAlarmStatus"] tcp socket timeout error: 4055-["GetAlarmStatus"]: throw an error: 9840-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 9840-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 9840-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:46 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 4039-["GetLog"] tcp socket timeout error: 4055-["GetAlarmStatus"]: throw an error: 4039-["GetLog"] tcp socket timeout {"stack":"Error: 4039-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4039-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:50 GMT+0100 (Central European Standard Time) error: 5537-["GetAlarmStatus"] tcp socket timeout error: 7241-["GetLog"]: throw an error: 5537-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 5537-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 5537-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:51 GMT+0100 (Central European Standard Time) ["GetAlarmStatus"]: concurrent commands, delaying 1200ms error: 4055-["GetAlarmStatus"] tcp socket timeout error: 3342-["GetAlarmStatus"]: throw an error: 4055-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 4055-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 4055-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:33:56 GMT+0100 (Central European Standard Time) ["GetLog"]: concurrent commands, delaying 1200ms ["GetAlarmStatus"]: concurrent commands, delaying 1400ms error: 7241-["GetLog"] tcp socket timeout error: 3369-["GetLog"]: throw an error: 7241-["GetLog"] tcp socket timeout {"stack":"Error: 7241-[\"GetLog\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 7241-["GetLog"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:34:00 GMT+0100 (Central European Standard Time) error: 3342-["GetAlarmStatus"] tcp socket timeout error: 3136-["GetAlarmStatus"]: throw an error: 3342-["GetAlarmStatus"] tcp socket timeout {"stack":"Error: 3342-[\"GetAlarmStatus\"] tcp socket timeout\n at Socket.socket.on (/app/ialarm-mqtt/node_modules/ialarm/src/meian-socket.js:135:18)\n at Socket.emit (events.js:198:13)\n at Socket._onTimeout (net.js:443:8)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"} error: Publishing error: 3342-["GetAlarmStatus"] tcp socket timeout info: Caching ialarm/alarm/error until Sun Nov 07 2021 17:34:01 GMT+0100 (Central European Standard Time)
gideonklein commented 3 years ago

Allora ho continuato a fare prove, e ho solo 1 problema. Quando la centrale si arma e dà l'allarme con il sensore acqua (settato sia su 20 ore che fumo), l'addon mi dà correttamente ultimo evento ma si blocca, cioè anche se disarmo la centrale manualmente per l'addon rimane sempre armata e non c'è verso di disarmarla tramite alarm_control_panel.tcpip_panel. Quindi lampeggia sempre in rosso come fosse armata e non funziona più nulla. Mentre invece quando la centrale da armata si allerta per i pir non ci sono problemi a disarmarla (sia manualmente che da tcpip_panel) e quindi funzionare