Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created February 17, 2019 08:57
public class Sensor {
private long id;
private String label;
@Json(name = "hum_temp")
private double temperature;
@Json(name = "stamp")
private long timestamp;
@Json(name = "hum_hum")
private double humidity;
private double lux;
@Json(name = "bar_pres_rel")
private Double barPressure;
private double vbat;
private double vreg;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment