Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created February 17, 2019 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/a1c5c3d4f4d52aa56859d36247cbf847 to your computer and use it in GitHub Desktop.
Save jezinka/a1c5c3d4f4d52aa56859d36247cbf847 to your computer and use it in GitHub Desktop.
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