muchasuerte / ha-besmart

Home-Assistant Support for Riello's Besmart thermostats.
MIT License
13 stars 6 forks source link

Stato batteria #9

Closed PaulusThe1 closed 1 year ago

PaulusThe1 commented 2 years ago

Ciao. Il termostato mi indica che le batterie sono scariche, ma su HA il sensore "batteria" mi continua a dare il valore "normale"

faxbio commented 1 year ago

Provo a darci un occhio appena riesco, ma in questi giorni il server besmart è sempre offline ( o meglio , busy)...sicuro non sia quello? Da app ti colleghi?

Il sab 23 lug 2022, 20:11 PaulusThe1 @.***> ha scritto:

Ciao. Il termostato mi indica che le batterie sono scariche, ma su HA il sensore "batteria" mi continua a dare il valore "normale"

— Reply to this email directly, view it on GitHub https://github.com/muchasuerte/ha-besmart/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKH56423JCHQZHOB7N65METVVQYUJANCNFSM54OLDEHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

PaulusThe1 commented 1 year ago

Io mi collego regolarmente sia con l'app BeSmart che con HomeAssistant -------- Messaggio originale --------Da: faxbio @.> Data: 11/10/22 10:53 (GMT+01:00) A: muchasuerte/ha-besmart @.> Cc: PaulusThe1 @.>, Author @.> Oggetto: Re: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Provo a darci un occhio appena riesco, ma in questi giorni il server

besmart è sempre offline ( o meglio , busy)...sicuro non sia quello?

Da app ti colleghi?

Il sab 23 lug 2022, 20:11 PaulusThe1 @.***> ha scritto:

Ciao. Il termostato mi indica che le batterie sono scariche, ma su HA il

sensore "batteria" mi continua a dare il valore "normale"

Reply to this email directly, view it on GitHub

https://github.com/muchasuerte/ha-besmart/issues/9, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AKH56423JCHQZHOB7N65METVVQYUJANCNFSM54OLDEHQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

faxbio commented 1 year ago

Effettivamente adesso che mi funziona (stranamente 😝 ) la app anche la mia batteria scarica non viene piu’ segnalata.

Io mi ero appoggiato al codice di muchasuerte non ho le competenze necessarie per verificare se il valore dello status batteria viene ancora esportato correttamente verso HA, ci tocca aspettare lui o altri volenterosi…

Da: PaulusThe1 @.> Inviato: martedì 11 ottobre 2022 11:28 A: muchasuerte/ha-besmart @.> Cc: faxbio @.>; Comment @.> Oggetto: Re: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Io mi collego regolarmente sia con l'app BeSmart che con HomeAssistant -------- Messaggio originale --------Da: faxbio @. <mailto:@.> > Data: 11/10/22 10:53 (GMT+01:00) A: muchasuerte/ha-besmart @. <mailto:@.> > Cc: PaulusThe1 @. <mailto:@.> >, Author @. <mailto:@.> > Oggetto: Re: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Provo a darci un occhio appena riesco, ma in questi giorni il server

besmart è sempre offline ( o meglio , busy)...sicuro non sia quello?

Da app ti colleghi?

Il sab 23 lug 2022, 20:11 PaulusThe1 @. <mailto:@.> > ha scritto:

Ciao. Il termostato mi indica che le batterie sono scariche, ma su HA il

sensore "batteria" mi continua a dare il valore "normale"

Reply to this email directly, view it on GitHub

https://github.com/muchasuerte/ha-besmart/issues/9, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AKH56423JCHQZHOB7N65METVVQYUJANCNFSM54OLDEHQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @. <mailto:@.> >

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @. <mailto:@.> >

— Reply to this email directly, view it on GitHub https://github.com/muchasuerte/ha-besmart/issues/9#issuecomment-1274397985 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKH5645SCDUDRP65VTHNHVLWCUXJVANCNFSM54OLDEHQ . You are receiving this because you commented. https://github.com/notifications/beacon/AKH5644YXFS4WST5VRANXD3WCUXJVA5CNFSM54OLDEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJP24KII.gif Message ID: @. @.> >

faxbio commented 1 year ago

Alla fine con un po di pazienza ho invece trovato cosa non va.

Da Gennaio probabilmente , non viene piu’ settato l’attributo battery perche’ non accettato dal climate component.

Cambiando il device_state_attribute in extra_state_attribute torna a funzionare.

Ho creato la pull req, per il merge nel branch principale, ma nell’attesa puoi fare la modifica sul tuo .py riga 493/494….direi…

Da: @. @.> Inviato: mercoledì 12 ottobre 2022 16:47 A: 'muchasuerte/ha-besmart' @.>; 'muchasuerte/ha-besmart' @.> Cc: 'Comment' @.***> Oggetto: R: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Effettivamente adesso che mi funziona (stranamente 😝 ) la app anche la mia batteria scarica non viene piu’ segnalata.

Io mi ero appoggiato al codice di muchasuerte non ho le competenze necessarie per verificare se il valore dello status batteria viene ancora esportato correttamente verso HA, ci tocca aspettare lui o altri volenterosi…

Da: PaulusThe1 @. @.> > Inviato: martedì 11 ottobre 2022 11:28 A: muchasuerte/ha-besmart @. @.> > Cc: faxbio @. @.> >; Comment @. @.> > Oggetto: Re: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Io mi collego regolarmente sia con l'app BeSmart che con HomeAssistant -------- Messaggio originale --------Da: faxbio @. <mailto:@.> > Data: 11/10/22 10:53 (GMT+01:00) A: muchasuerte/ha-besmart @. <mailto:@.> > Cc: PaulusThe1 @. <mailto:@.> >, Author @. <mailto:@.> > Oggetto: Re: [muchasuerte/ha-besmart] Stato batteria (Issue #9)

Provo a darci un occhio appena riesco, ma in questi giorni il server

besmart è sempre offline ( o meglio , busy)...sicuro non sia quello?

Da app ti colleghi?

Il sab 23 lug 2022, 20:11 PaulusThe1 @. <mailto:@.> > ha scritto:

Ciao. Il termostato mi indica che le batterie sono scariche, ma su HA il

sensore "batteria" mi continua a dare il valore "normale"

Reply to this email directly, view it on GitHub

https://github.com/muchasuerte/ha-besmart/issues/9, or unsubscribe

https://github.com/notifications/unsubscribe-auth/AKH56423JCHQZHOB7N65METVVQYUJANCNFSM54OLDEHQ

.

You are receiving this because you are subscribed to this thread.Message

ID: @. <mailto:@.> >

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @. <mailto:@.> >

— Reply to this email directly, view it on GitHub https://github.com/muchasuerte/ha-besmart/issues/9#issuecomment-1274397985 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKH5645SCDUDRP65VTHNHVLWCUXJVANCNFSM54OLDEHQ . You are receiving this because you commented. https://github.com/notifications/beacon/AKH5644YXFS4WST5VRANXD3WCUXJVA5CNFSM54OLDEH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJP24KII.gif Message ID: @. @.> >

muchasuerte commented 1 year ago

Grazie @faxbio tra sabato/domenica provo a rivedere la tua modifica

muchasuerte commented 1 year ago

ho fatto il merge della modifica e testato su HA 2022 sembra tutto ok, ora incluso lo stato della batteria.

muchasuerte commented 1 year ago

faxbio ho fatto il merge e provado con HACS la modifica e sembra tutto funzionante con l'ultima versione di HA 2022.11

muchasuerte commented 1 year ago

Ciao ,

solitamente creo un sensore template

binary_sensor:

l'info della batteria e' riportato come parte delle informazioni extra del termostato