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

A1 temperature sending strange number #16

Open
aron-kovacs opened this issue Jan 10, 2018 · 2 comments
Open

A1 temperature sending strange number #16

aron-kovacs opened this issue Jan 10, 2018 · 2 comments

Comments

@aron-kovacs
Copy link

Hello,
I'm working on getting some sensor data from the A1 environmental sensor.
My code is:

A1Device device = new A1Device("192.168.0.101", new Mac("34:EA:34:C7:A2:40"));
device.auth();
System.out.println("Temp: " + device.getSensorsData().getTemp());

For the first run I got a normal value, 22.1, which was the same as in the app.
Ever since I only get the value 97.8 which seems to be quite strange.
Using the same connection from the python library (https://github.com/mjg59/python-broadlink) I get the same result at the app, so I suppose the error could be somewhere around here

@mob41
Copy link
Owner

mob41 commented Jan 12, 2018

Previously I changed something that broke sensors data. #8
It might cause problems I think.

Are you getting strange numbers at the Broadlink offical app also? If so, it might be a firmware problem or both protocol implementation in python and java is incorrect.

@aron-kovacs
Copy link
Author

No, the app is showing real values.

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