A1 temperature sending strange number
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
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.
No, the app is showing real values.