Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/Sensor.java Secret

Created Feb 17, 2019
Embed
What would you like to do?
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