Host: tcp://mqtt.airmx.cn:1883
ClientID: amx_{device_id:19}
Android devices: Device ID can be grabbed from the file device_id.xml.xml
in shared_prefs
folder.
username: app_{uid}
password: {token}
The data can be retrieved from UserLoggedInfo
payload from API.
- airmx/user/{uid}
- airmx/01/+/+/1/+/{id} // can be grabbed from
/app/GET/eagleInfo
API
- t: Temperature, int, converts it by dividing by 100.
- h: Relative Humidity: int, converts it by dividing by 100.
- co2: Co2, int.
- pm25: PM2.5.