Skip to content

A1 temperature sending strange number #16

@aron-kovacs

Description

@aron-kovacs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions