kpoppel / homeassistant-novafos

Homeassistant wrapper around the Novafos KMD water metering data warehouse.
Apache License 2.0
10 stars 3 forks source link

V3.0.1 I removed the integration and its not possible to add it again. #11

Closed kpoppel closed 1 year ago

kpoppel commented 1 year ago

I removed the integration and its not possible to add it again.

Originally posted by @Sdahl1234 in https://github.com/kpoppel/homeassistant-novafos/issues/10#issuecomment-1250134759

kpoppel commented 1 year ago

@sdahl1234, the one thing I did not test because I just made an upgrade path 😊

Can you tell what happens?

Sdahl1234 commented 1 year ago

I got this. Nothing in the log at all image

kpoppel commented 1 year ago

Thanks. I'll look into that.

Sdahl1234 commented 1 year ago

Now its possible to add the integration again. thanks. BUT it seems my token has a length of 1502 and its not valid.

I have this in my log after adding the token and reloaded

Denne fejl stammer fra en brugerdefineret integration.

Logger: custom_components.novafos.pynovafos.novafos Source: custom_components/novafos/pynovafos/novafos.py:84 Integration: Novafos (documentation, issues) First occurred: 14.59.47 (3 occurrences) Last logged: 15.04.39

Token update does not seem to have a valid length. Please check again. (This message is normal the first time the integration starts)

Sdahl1234 commented 1 year ago

I tried to change the length check to 1502 but i do not get any data

image

I will try with debug later today

kpoppel commented 1 year ago

Now set to 1200 :-) If you configure the integration and use the token, then data should update.

Sdahl1234 commented 1 year ago

It does not update data. Only last valid date and its 2 hours ahead of now

Sdahl1234 commented 1 year ago

Hmm. Now its updating. reboot HA and it is working again.