Closed mfinotti closed 2 years ago
Messaggio:
Producing message on broker: quattrostagioni.linkedsolutions.it:9093 topic: HASSIO message: {'eventType': 'TECHNICAL', 'systemCode': 'h00000', 'platform': 'HASSIO_EVENT', 'message': 'HELLO', 'technicalMessage': {'state': 'NORMAL', 'stateDetail': 'unknown', 'kairoshub_version': '20220614.1', 'kairoshub_last_software_check': '2022-08-23T13:01', 'kairoshub_configuration_version': 'xxxx', 'kairoshub_configuration_last_software_check': '2022-08-23T13:01', 'system_owner': 'Kairos Tech', 'system_id': 'h00000'}}
Tasks list
Dispatch ritardato dell'evento AD_KAIROSHUB_STARTED
Si riscontrano problemi nel lancio dell'hello message allo startup di hassio. La problematica è dovuta al fatto che non tutto il componente di integrazione kafka è pronto per iniziare a produrre messaggi verso il cloud.
Soluzione: Ritardare il dispatch dell'evento
AD_KAIROSHUB_STARTED
di 30 secondi.Informazioni aggiuntive messaggio
Attualmente il messaggio presenta le seguenti informazioni:
hassState["state"]
hassState["stateDetail"]
hassState["kairoshub_version"]
hassState["kairoshub_last_software_check"]
hassState["kairoshub_configuration_version"]
hassState["kairoshub_configuration_last_software_check"]
Aggiungere le seguenti informazioni:
hassState["system_owner"] = input_text.system_name
hassState["system_id"] = input_text.system_code