Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read values are only updated on new connection? #2

Open
gittehupe opened this issue Mar 9, 2021 · 1 comment
Open

Read values are only updated on new connection? #2

gittehupe opened this issue Mar 9, 2021 · 1 comment

Comments

@gittehupe
Copy link

Dear Mr. Krabat (and everybody who is going to read this),

with the Comet Blue thermostat I noticed the following issue: In order to read an updated value from the themostat a reconnection to the thermostat is required. So, if you read out the time of the thermostat you will always read out the same value as long as your connection persists. Only after disconnection and reconnecting agaign one updated value can be received.

Did you also face this behaviour?

Do you know any way to read out the real current values of the thermostat without dropping connection in between?

@MrKrabat
Copy link
Owner

Another user also mentioned issues with continuous connection and temperature, see #1 (comment).

I have never tested my library for use with a continuous connection. Any other libraries or pieces of code you can find on the Internet will also terminate the connection. So I think reconnecting might be the way to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants