Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random data at end of API response - invalid JSON #154

Open
digitlength opened this issue Oct 9, 2020 · 2 comments
Open

Random data at end of API response - invalid JSON #154

digitlength opened this issue Oct 9, 2020 · 2 comments

Comments

@digitlength
Copy link

digitlength commented Oct 9, 2020

I am currently requesting data using the following API url:

http://data.sensor.community/airrohr/v1/filter/box=51.433143,-2.570801,51.497095,-2.469006

Unfortunately, sometimes the response content has additional random data after the JSON, invalidating the entire response as it is not valid JSON data.

A few examples - scroll all the way to the end:

Received at 2020-10-09 08:40:02

[{"timestamp":"2020-10-09 07:38:49","id":2173431610,"sampling_rate":null,"sensordatavalues":[{"id":4693334538,"value_type":"temperature","value":"9.40"},{"id":4693334540,"value_type":"humidity","value":"99.90"}],"sensor":{"id":49234,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35065,"altitude":"15.4","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:38:49","id":2173431528,"sampling_rate":null,"sensordatavalues":[{"id":4693334361,"value_type":"P1","value":"12.27"},{"id":4693334374,"value_type":"P2","value":"3.47"}],"sensor":{"id":49233,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35065,"altitude":"15.4","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:38:25","id":2173427633,"sampling_rate":null,"sensordatavalues":[{"id":4693325933,"value_type":"temperature","value":"9.50"},{"id":4693325979,"value_type":"humidity","value":"99.90"}],"sensor":{"id":49232,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35064,"altitude":"18.8","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:38:24","id":2173427478,"sampling_rate":null,"sensordatavalues":[{"id":4693325567,"value_type":"P1","value":"13.62"},{"id":4693325587,"value_type":"P2","value":"4.95"}],"sensor":{"id":49231,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35064,"altitude":"18.8","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:38:24","id":2173427388,"sampling_rate":null,"sensordatavalues":[{"id":4693325390,"value_type":"temperature","value":"10.10"},{"id":4693325402,"value_type":"humidity","value":"90.20"}],"sensor":{"id":48988,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":34799,"altitude":"62.6","exact_location":0,"indoor":0,"latitude":"51.44","country":"GB","longitude":"-2.534"}},{"timestamp":"2020-10-09 07:38:23","id":2173427160,"sampling_rate":null,"sensordatavalues":[{"id":4693324854,"value_type":"P1","value":"6.95"},{"id":4693324891,"value_type":"P2","value":"1.65"}],"sensor":{"id":48987,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":34799,"altitude":"62.6","exact_location":0,"indoor":0,"latitude":"51.44","country":"GB","longitude":"-2.534"}},{"timestamp":"2020-10-09 07:38:21","id":2173426502,"sampling_rate":null,"sensordatavalues":[{"id":4693323369,"value_type":"temperature","value":"13.40"},{"id":4693323393,"value_type":"humidity","value":"93.90"}],"sensor":{"id":48860,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":34679,"altitude":"51.7","exact_location":0,"indoor":0,"latitude":"51.436","country":"GB","longitude":"-2.518"}},{"timestamp":"2020-10-09 07:38:20","id":2173426110,"sampling_rate":null,"sensordatavalues":[{"id":4693322614,"value_type":"P1","value":"11.00"},{"id":4693322615,"value_type":"P2","value":"3.05"}],"sensor":{"id":48859,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":34679,"altitude":"51.7","exact_location":0,"indoor":0,"latitude":"51.436","country":"GB","longitude":"-2.518"}},{"timestamp":"2020-10-09 07:38:17","id":2173425236,"sampling_rate":null,"sensordatavalues":[{"id":4693320722,"value_type":"temperature","value":"8.60"},{"id":4693320733,"value_type":"humidity","value":"99.90"}],"sensor":{"id":34955,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":21639,"altitude":"71.3","exact_location":0,"indoor":0,"latitude":"51.46","country":"GB","longitude":"-2.536"}},{"timestamp":"2020-10-09 07:38:17","id":2173425067,"sampling_rate":null,"sensordatavalues":[{"id":4693320391,"value_type":"P1","value":"14.70"},{"id":4693320403,"value_type":"P2","value":"5.20"}],"sensor":{"id":34954,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21639,"altitude":"71.3","exact_location":0,"indoor":0,"latitude":"51.46","country":"GB","longitude":"-2.536"}},{"timestamp":"2020-10-09 07:38:15","id":2173424689,"sampling_rate":null,"sensordatavalues":[{"id":4693319558,"value_type":"temperature","value":"9.60"},{"id":4693319560,"value_type":"humidity","value":"97.30"}],"sensor":{"id":49481,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35377,"altitude":"15.6","exact_location":0,"indoor":0,"latitude":"51.466","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:38:15","id":2173424586,"sampling_rate":null,"sensordatavalues":[{"id":4693319331,"value_type":"P1","value":"9.73"},{"id":4693319332,"value_type":"P2","value":"3.47"}],"sensor":{"id":49480,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35377,"altitude":"15.6","exact_location":0,"indoor":0,"latitude":"51.466","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:37:57","id":2173421988,"sampling_rate":null,"sensordatavalues":[{"id":4693313651,"value_type":"temperature","value":"10.30"},{"id":4693313672,"value_type":"humidity","value":"99.90"}],"sensor":{"id":35383,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":21488,"altitude":"30.1","exact_location":0,"indoor":0,"latitude":"51.462","country":"GB","longitude":"-2.554"}},{"timestamp":"2020-10-09 07:37:56","id":2173421656,"sampling_rate":null,"sensordatavalues":[{"id":4693312889,"value_type":"P1","value":"20.45"},{"id":4693312976,"value_type":"P2","value":"4.43"}],"sensor":{"id":35382,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21488,"altitude":"30.1","exact_location":0,"indoor":0,"latitude":"51.462","country":"GB","longitude":"-2.554"}},{"timestamp":"2020-10-09 07:37:15","id":2173419176,"sampling_rate":null,"sensordatavalues":[{"id":4693307484,"value_type":"temperature","value":"9.60"},{"id":4693307491,"value_type":"humidity","value":"99.90"}],"sensor":{"id":35069,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":21253,"altitude":"64.3","exact_location":1,"indoor":0,"latitude":"51.46117342329","country":"GB","longitude":"-2.54220520612"}},{"timestamp":"2020-10-09 07:37:14","id":2173419090,"sampling_rate":null,"sensordatavalues":[{"id":4693307307,"value_type":"P1","value":"1999.90"},{"id":4693307317,"value_type":"P2","value":"999.90"}],"sensor":{"id":35068,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21253,"altitude":"64.3","exact_location":1,"indoor":0,"latitude":"51.46117342329","country":"GB","longitude":"-2.54220520612"}},{"timestamp":"2020-10-09 07:37:12","id":2173418402,"sampling_rate":null,"sensordatavalues":[{"id":4693305744,"value_type":"temperature","value":"9.80"},{"id":4693305752,"value_type":"humidity","value":"99.90"}],"sensor":{"id":7676,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":3880,"altitude":"19.4","exact_location":0,"indoor":0,"latitude":"51.464","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:37:12","id":2173418079,"sampling_rate":null,"sensordatavalues":[{"id":4693305154,"value_type":"P1","value":"11.00"},{"id":4693305168,"value_type":"P2","value":"4.50"}],"sensor":{"id":7675,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":3880,"altitude":"19.4","exact_location":0,"indoor":0,"latitude":"51.464","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:36:58","id":2173416053,"sampling_rate":null,"sensordatavalues":[{"id":4693300639,"value_type":"temperature","value":"9.60"},{"id":4693300655,"value_type":"humidity","value":"92.80"}],"sensor":{"id":50039,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35923,"altitude":"18.2","exact_location":0,"indoor":0,"latitude":"51.466","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:36:57","id":2173415832,"sampling_rate":null,"sensordatavalues":[{"id":4693300163,"value_type":"temperature","value":"10.50"},{"id":4693300175,"value_type":"humidity","value":"99.90"}],"sensor":{"id":10492,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":5293,"altitude":"19.3","exact_location":0,"indoor":0,"latitude":"51.464","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:36:57","id":2173415673,"sampling_rate":null,"sensordatavalues":[{"id":4693299486,"value_type":"P1","value":"0.35"},{"id":4693299546,"value_type":"P2","value":"0.35"}],"sensor":{"id":50038,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35923,"altitude":"18.2","exact_location":0,"indoor":0,"latitude":"51.466","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:36:23","id":2173410307,"sampling_rate":null,"sensordatavalues":[{"id":4693288282,"value_type":"temperature","value":"9.30"},{"id":4693288283,"value_type":"humidity","value":"99.90"}],"sensor":{"id":49234,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35065,"altitude":"15.4","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:36:23","id":2173410184,"sampling_rate":null,"sensordatavalues":[{"id":4693288002,"value_type":"P1","value":"15.07"},{"id":4693288022,"value_type":"P2","value":"4.03"}],"sensor":{"id":49233,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35065,"altitude":"15.4","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:35:58","id":2173406655,"sampling_rate":null,"sensordatavalues":[{"id":4693280352,"value_type":"temperature","value":"9.40"},{"id":4693280445,"value_type":"humidity","value":"99.90"}],"sensor":{"id":49232,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":35064,"altitude":"18.8","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:35:58","id":2173406586,"sampling_rate":null,"sensordatavalues":[{"id":4693280209,"value_type":"P1","value":"17.87"},{"id":4693280211,"value_type":"P2","value":"5.40"}],"sensor":{"id":49231,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35064,"altitude":"18.8","exact_location":0,"indoor":0,"latitude":"51.468","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:35:56","id":2173406215,"sampling_rate":null,"sensordatavalues":[{"id":4693279315,"value_type":"temperature","value":"10.00"},{"id":4693279327,"value_type":"humidity","value":"90.20"}],"sensor":{"id":48988,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":34799,"altitude":"62.6","exact_location":0,"indoor":0,"latitude":"51.44","country":"GB","longitude":"-2.534"}},{"timestamp":"2020-10-09 07:35:54","id":2173405489,"sampling_rate":null,"sensordatavalues":[{"id":4693277655,"value_type":"temperature","value":"13.20"},{"id":4693277662,"value_type":"humidity","value":"95.00"}],"sensor":{"id":48860,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":34679,"altitude":"51.7","exact_location":0,"indoor":0,"latitude":"51.436","country":"GB","longitude":"-2.518"}},{"timestamp":"2020-10-09 07:35:52","id":2173404771,"sampling_rate":null,"sensordatavalues":[{"id":4693276288,"value_type":"P1","value":"8.95"},{"id":4693276318,"value_type":"P2","value":"1.77"}],"sensor":{"id":48987,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":34799,"altitude":"62.6","exact_location":0,"indoor":0,"latitude":"51.44","country":"GB","longitude":"-2.534"}},{"timestamp":"2020-10-09 07:35:51","id":2173404351,"sampling_rate":null,"sensordatavalues":[{"id":4693275270,"value_type":"temperature","value":"8.50"},{"id":4693275291,"value_type":"humidity","value":"99.90"}],"sensor":{"id":34955,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":21639,"altitude":"71.3","exact_location":0,"indoor":0,"latitude":"51.46","country":"GB","longitude":"-2.536"}},{"timestamp":"2020-10-09 07:35:50","id":2173403872,"sampling_rate":null,"sensordatavalues":[{"id":4693274180,"value_type":"P1","value":"17.77"},{"id":4693274215,"value_type":"P2","value":"6.40"}],"sensor":{"id":34954,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21639,"altitude":"71.3","exact_location":0,"indoor":0,"latitude":"51.46","country":"GB","longitude":"-2.536"}},{"timestamp":"2020-10-09 07:35:49","id":2173403572,"sampling_rate":null,"sensordatavalues":[{"id":4693273590,"value_type":"P1","value":"11.40"},{"id":4693273659,"value_type":"P2","value":"3.67"}],"sensor":{"id":49480,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":35377,"altitude":"15.6","exact_location":0,"indoor":0,"latitude":"51.466","country":"GB","longitude":"-2.564"}},{"timestamp":"2020-10-09 07:35:41","id":2173402734,"sampling_rate":null,"sensordatavalues":[{"id":4693271799,"value_type":"P1","value":"9.18"},{"id":4693271806,"value_type":"P2","value":"4.03"}],"sensor":{"id":48859,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":34679,"altitude":"51.7","exact_location":0,"indoor":0,"latitude":"51.436","country":"GB","longitude":"-2.518"}},{"timestamp":"2020-10-09 07:35:03","id":2173398340,"sampling_rate":null,"sensordatavalues":[{"id":4693262181,"value_type":"temperature","value":"10.10"},{"id":4693262192,"value_type":"humidity","value":"99.90"}],"sensor":{"id":35383,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":21488,"altitude":"30.1","exact_location":0,"indoor":0,"latitude":"51.462","country":"GB","longitude":"-2.554"}},{"timestamp":"2020-10-09 07:34:56","id":2173398008,"sampling_rate":null,"sensordatavalues":[{"id":4693261764,"value_type":"P1","value":"20.27"},{"id":4693261836,"value_type":"P2","value":"4.70"}],"sensor":{"id":35382,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21488,"altitude":"30.1","exact_location":0,"indoor":0,"latitude":"51.462","country":"GB","longitude":"-2.554"}},{"timestamp":"2020-10-09 07:34:48","id":2173397500,"sampling_rate":null,"sensordatavalues":[{"id":4693260347,"value_type":"P1","value":"1999.90"},{"id":4693260348,"value_type":"P2","value":"999.90"}],"sensor":{"id":35068,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":21253,"altitude":"64.3","exact_location":1,"indoor":0,"latitude":"51.46117342329","country":"GB","longitude":"-2.54220520612"}},{"timestamp":"2020-10-09 07:34:45","id":2173396645,"sampling_rate":null,"sensordatavalues":[{"id":4693258402,"value_type":"temperature","value":"9.70"},{"id":4693258406,"value_type":"humidity","value":"99.90"}],"sensor":{"id":7676,"sensor_type":{"manufacturer":"various","id":9,"name":"DHT22"},"pin":"7"},"location":{"id":3880,"altitude":"19.4","exact_location":0,"indoor":0,"latitude":"51.464","country":"GB","longitude":"-2.566"}},{"timestamp":"2020-10-09 07:34:45","id":2173396360,"sampling_rate":null,"sensordatavalues":[{"id":4693257832,"value_type":"P1","value":"12.50"},{"id":4693257843,"value_type":"P2","value":"4.63"}],"sensor":{"id":7675,"sensor_type":{"manufacturer":"Nova Fitness","id":14,"name":"SDS011"},"pin":"1"},"location":{"id":3880,"altitude":"19.4","exact_location":0,"indoor":0,"latitude":"51.464","country":"GB","longitude":"-2.566"}}]ö*d8ÏP

Received at 2020-10-09 04:50:02

[{"sensordatavalues":[{"value":"8.18","id":4689241985,"value_type":"P1"},{"value":"3.80","id":4689242036,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":35382},"id":2171549481,"sampling_rate":null,"location":{"indoor":0,"altitude":"30.1","id":21488,"country":"GB","latitude":"51.462","exact_location":0,"longitude":"-2.554"},"timestamp":"2020-10-09 03:49:13"},{"sensordatavalues":[{"value":"8.60","id":4689229747,"value_type":"temperature"},{"value":"99.90","id":4689229771,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49234},"id":2171543922,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.4","id":35065,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:55"},{"sensordatavalues":[{"value":"4.55","id":4689226711,"value_type":"P1"},{"value":"2.75","id":4689226750,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":49233},"id":2171542488,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.4","id":35065,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:51"},{"sensordatavalues":[{"value":"7.20","id":4689225650,"value_type":"temperature"},{"value":"99.90","id":4689225787,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":48860},"id":2171542026,"sampling_rate":null,"location":{"indoor":0,"altitude":"51.7","id":34679,"country":"GB","latitude":"51.436","exact_location":0,"longitude":"-2.518"},"timestamp":"2020-10-09 03:47:50"},{"sensordatavalues":[{"value":"8.80","id":4689220942,"value_type":"temperature"},{"value":"99.90","id":4689220987,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49232},"id":2171539852,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.8","id":35064,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:44"},{"sensordatavalues":[{"value":"9.40","id":4689220475,"value_type":"temperature"},{"value":"90.60","id":4689220480,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":48988},"id":2171539616,"sampling_rate":null,"location":{"indoor":0,"altitude":"62.6","id":34799,"country":"GB","latitude":"51.44","exact_location":0,"longitude":"-2.534"},"timestamp":"2020-10-09 03:47:43"},{"sensordatavalues":[{"value":"5.15","id":4689220093,"value_type":"P1"},{"value":"4.15","id":4689220111,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":48859},"id":2171539457,"sampling_rate":null,"location":{"indoor":0,"altitude":"51.7","id":34679,"country":"GB","latitude":"51.436","exact_location":0,"longitude":"-2.518"},"timestamp":"2020-10-09 03:47:43"},{"sensordatavalues":[{"value":"8.73","id":4689219884,"value_type":"P1"},{"value":"4.87","id":4689219910,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":49231},"id":2171539348,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.8","id":35064,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:42"},{"sensordatavalues":[{"value":"3.62","id":4689217240,"value_type":"P1"},{"value":"1.30","id":4689217292,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":48987},"id":2171538165,"sampling_rate":null,"location":{"indoor":0,"altitude":"62.6","id":34799,"country":"GB","latitude":"51.44","exact_location":0,"longitude":"-2.534"},"timestamp":"2020-10-09 03:47:39"},{"sensordatavalues":[{"value":"10.30","id":4689214790,"value_type":"temperature"},{"value":"99.90","id":4689214835,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":10492},"id":2171536962,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.3","id":5293,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:36"},{"sensordatavalues":[{"value":"4.50","id":4689214180,"value_type":"P1"},{"value":"3.13","id":4689214186,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":10491},"id":2171536670,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.3","id":5293,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:35"},{"sensordatavalues":[{"value":"9.00","id":4689213093,"value_type":"temperature"},{"value":"99.90","id":4689213108,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":34955},"id":2171536161,"sampling_rate":null,"location":{"indoor":0,"altitude":"71.3","id":21639,"country":"GB","latitude":"51.46","exact_location":0,"longitude":"-2.536"},"timestamp":"2020-10-09 03:47:31"},{"sensordatavalues":[{"value":"7.12","id":4689212835,"value_type":"P1"},{"value":"3.90","id":4689212853,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":34954},"id":2171536029,"sampling_rate":null,"location":{"indoor":0,"altitude":"71.3","id":21639,"country":"GB","latitude":"51.46","exact_location":0,"longitude":"-2.536"},"timestamp":"2020-10-09 03:47:31"},{"sensordatavalues":[{"value":"8.60","id":4689212495,"value_type":"temperature"},{"value":"99.90","id":4689212506,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49481},"id":2171535896,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.6","id":35377,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:30"},{"sensordatavalues":[{"value":"5.93","id":4689212233,"value_type":"P1"},{"value":"2.73","id":4689212235,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":49480},"id":2171535761,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.6","id":35377,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:47:30"},{"sensordatavalues":[{"value":"9.20","id":4689209945,"value_type":"temperature"},{"value":"99.90","id":4689209956,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":35069},"id":2171534724,"sampling_rate":null,"location":{"indoor":0,"altitude":"64.3","id":21253,"country":"GB","latitude":"51.46117342329","exact_location":1,"longitude":"-2.54220520612"},"timestamp":"2020-10-09 03:47:25"},{"sensordatavalues":[{"value":"1999.90","id":4689209180,"value_type":"P1"},{"value":"999.90","id":4689209284,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":35068},"id":2171534302,"sampling_rate":null,"location":{"indoor":0,"altitude":"64.3","id":21253,"country":"GB","latitude":"51.46117342329","exact_location":1,"longitude":"-2.54220520612"},"timestamp":"2020-10-09 03:47:23"},{"sensordatavalues":[{"value":"9.30","id":4689205948,"value_type":"temperature"},{"value":"94.20","id":4689205971,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":50039},"id":2171532868,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.2","id":35923,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:17"},{"sensordatavalues":[{"value":"0.00","id":4689205327,"value_type":"P1"},{"value":"0.00","id":4689205349,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":50038},"id":2171532572,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.2","id":35923,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:16"},{"sensordatavalues":[{"value":"9.50","id":4689199899,"value_type":"temperature"},{"value":"99.90","id":4689199900,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":7676},"id":2171530076,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.4","id":3880,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:09"},{"sensordatavalues":[{"value":"5.83","id":4689199510,"value_type":"P1"},{"value":"4.53","id":4689199511,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":7675},"id":2171529896,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.4","id":3880,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:47:08"},{"sensordatavalues":[{"value":"9.50","id":4689194022,"value_type":"temperature"},{"value":"99.90","id":4689194023,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":35383},"id":2171527412,"sampling_rate":null,"location":{"indoor":0,"altitude":"30.1","id":21488,"country":"GB","latitude":"51.462","exact_location":0,"longitude":"-2.554"},"timestamp":"2020-10-09 03:46:26"},{"sensordatavalues":[{"value":"8.45","id":4689193994,"value_type":"P1"},{"value":"4.28","id":4689193995,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":35382},"id":2171527399,"sampling_rate":null,"location":{"indoor":0,"altitude":"30.1","id":21488,"country":"GB","latitude":"51.462","exact_location":0,"longitude":"-2.554"},"timestamp":"2020-10-09 03:46:25"},{"sensordatavalues":[{"value":"8.60","id":4689180719,"value_type":"temperature"},{"value":"99.90","id":4689180855,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49234},"id":2171521377,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.4","id":35065,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:45:22"},{"sensordatavalues":[{"value":"7.50","id":4689179516,"value_type":"P1"},{"value":"3.22","id":4689179617,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":49233},"id":2171520803,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.4","id":35065,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:45:20"},{"sensordatavalues":[{"value":"8.80","id":4689174905,"value_type":"temperature"},{"value":"99.90","id":4689174954,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49232},"id":2171518669,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.8","id":35064,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:45:13"},{"sensordatavalues":[{"value":"10.13","id":4689172766,"value_type":"P1"},{"value":"4.68","id":4689172971,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":49231},"id":2171517751,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.8","id":35064,"country":"GB","latitude":"51.468","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:45:04"},{"sensordatavalues":[{"value":"8.70","id":4689172658,"value_type":"temperature"},{"value":"99.90","id":4689172875,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":49481},"id":2171517677,"sampling_rate":null,"location":{"indoor":0,"altitude":"15.6","id":35377,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.564"},"timestamp":"2020-10-09 03:45:04"},{"sensordatavalues":[{"value":"9.20","id":4689170412,"value_type":"temperature"},{"value":"99.90","id":4689170474,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":35069},"id":2171516555,"sampling_rate":null,"location":{"indoor":0,"altitude":"64.3","id":21253,"country":"GB","latitude":"51.46117342329","exact_location":1,"longitude":"-2.54220520612"},"timestamp":"2020-10-09 03:44:57"},{"sensordatavalues":[{"value":"1999.90","id":4689169240,"value_type":"P1"},{"value":"999.90","id":4689169294,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":35068},"id":2171516037,"sampling_rate":null,"location":{"indoor":0,"altitude":"64.3","id":21253,"country":"GB","latitude":"51.46117342329","exact_location":1,"longitude":"-2.54220520612"},"timestamp":"2020-10-09 03:44:56"},{"sensordatavalues":[{"value":"9.40","id":4689167089,"value_type":"temperature"},{"value":"94.30","id":4689167146,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":50039},"id":2171515056,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.2","id":35923,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:44:51"},{"sensordatavalues":[{"value":"0.00","id":4689165568,"value_type":"P1"},{"value":"0.00","id":4689165571,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":50038},"id":2171514374,"sampling_rate":null,"location":{"indoor":0,"altitude":"18.2","id":35923,"country":"GB","latitude":"51.466","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:44:49"},{"sensordatavalues":[{"value":"9.40","id":4689159119,"value_type":"temperature"},{"value":"99.90","id":4689159142,"value_type":"humidity"}],"sensor":{"pin":"7","sensor_type":{"id":9,"name":"DHT22","manufacturer":"various"},"id":7676},"id":2171511328,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.4","id":3880,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:44:41"},{"sensordatavalues":[{"value":"12.37","id":4689158709,"value_type":"P1"},{"value":"4.80","id":4689158710,"value_type":"P2"}],"sensor":{"pin":"1","sensor_type":{"id":14,"name":"SDS011","manufacturer":"Nova Fitness"},"id":7675},"id":2171511134,"sampling_rate":null,"location":{"indoor":0,"altitude":"19.4","id":3880,"country":"GB","latitude":"51.464","exact_location":0,"longitude":"-2.566"},"timestamp":"2020-10-09 03:44:41"}]X9vë99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

Received at 2020-10-08 23:50:00

[{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":10492,"pin":"7"},"timestamp":"2020-10-08 22:47:59","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4685251943,"value":"11.30"},{"value_type":"humidity","id":4685252255,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.3","latitude":"51.464","id":5293},"id":2169717252},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":7675,"pin":"1"},"timestamp":"2020-10-08 22:46:59","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4685250642,"value":"8.93"},{"value_type":"P2","id":4685250667,"value":"5.63"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2169716600},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":35383,"pin":"7"},"timestamp":"2020-10-08 22:46:58","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4685250130,"value":"10.20"},{"value_type":"humidity","id":4685250158,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.554","indoor":0,"country":"GB","altitude":"30.1","latitude":"51.462","id":21488},"id":2169716262},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":48987,"pin":"1"},"timestamp":"2020-10-08 22:46:37","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4685248634,"value":"4.03"},{"value_type":"P2","id":4685248675,"value":"1.73"}],"location":{"exact_location":0,"longitude":"-2.534","indoor":0,"country":"GB","altitude":"62.6","latitude":"51.44","id":34799},"id":2169715710},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":7676,"pin":"7"},"timestamp":"2020-10-08 22:44:00","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4685246286,"value":"11.10"},{"value_type":"humidity","id":4685246452,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2169714551},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":7675,"pin":"1"},"timestamp":"2020-10-08 22:43:59","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4685245207,"value":"13.03"},{"value_type":"P2","id":4685245234,"value":"4.97"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2169714123}]W��U

Received at 2020-10-08 20:00:09

[{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49233,"pin":"1"},"timestamp":"2020-10-08 18:59:01","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681629672,"value":"6.32"},{"value_type":"P2","id":4681629682,"value":"2.30"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.4","latitude":"51.468","id":35065},"id":2168052041},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":34954,"pin":"1"},"timestamp":"2020-10-08 18:59:01","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681629623,"value":"10.85"},{"value_type":"P2","id":4681629630,"value":"2.03"}],"location":{"exact_location":0,"longitude":"-2.536","indoor":0,"country":"GB","altitude":"71.3","latitude":"51.46","id":21639},"id":2168052008},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":10491,"pin":"1"},"timestamp":"2020-10-08 18:58:57","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681628105,"value":"4.33"},{"value_type":"P2","id":4681628106,"value":"2.73"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.3","latitude":"51.464","id":5293},"id":2168051283},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":48988,"pin":"7"},"timestamp":"2020-10-08 18:58:44","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681625099,"value":"13.50"},{"value_type":"humidity","id":4681625107,"value":"77.00"}],"location":{"exact_location":0,"longitude":"-2.534","indoor":0,"country":"GB","altitude":"62.6","latitude":"51.44","id":34799},"id":2168049909},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":48987,"pin":"1"},"timestamp":"2020-10-08 18:58:43","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681624826,"value":"1.52"},{"value_type":"P2","id":4681624831,"value":"0.30"}],"location":{"exact_location":0,"longitude":"-2.534","indoor":0,"country":"GB","altitude":"62.6","latitude":"51.44","id":34799},"id":2168049770},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49232,"pin":"7"},"timestamp":"2020-10-08 18:58:19","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681617733,"value":"12.60"},{"value_type":"humidity","id":4681617736,"value":"93.50"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"18.8","latitude":"51.468","id":35064},"id":2168046518},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49231,"pin":"1"},"timestamp":"2020-10-08 18:58:19","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681617579,"value":"11.85"},{"value_type":"P2","id":4681617583,"value":"3.92"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"18.8","latitude":"51.468","id":35064},"id":2168046454},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":35069,"pin":"7"},"timestamp":"2020-10-08 18:58:18","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681616931,"value":"12.60"},{"value_type":"humidity","id":4681616997,"value":"99.90"}],"location":{"exact_location":1,"longitude":"-2.54220520612","indoor":0,"country":"GB","altitude":"64.3","latitude":"51.46117342329","id":21253},"id":2168046162},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":35068,"pin":"1"},"timestamp":"2020-10-08 18:58:17","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681616232,"value":"1999.90"},{"value_type":"P2","id":4681616299,"value":"999.90"}],"location":{"exact_location":1,"longitude":"-2.54220520612","indoor":0,"country":"GB","altitude":"64.3","latitude":"51.46117342329","id":21253},"id":2168045843},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":50039,"pin":"7"},"timestamp":"2020-10-08 18:58:12","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681614008,"value":"13.30"},{"value_type":"humidity","id":4681614027,"value":"82.10"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"18.2","latitude":"51.466","id":35923},"id":2168044797},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":50038,"pin":"1"},"timestamp":"2020-10-08 18:58:11","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681613350,"value":"0.43"},{"value_type":"P2","id":4681613352,"value":"0.43"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"18.2","latitude":"51.466","id":35923},"id":2168044505},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":48860,"pin":"7"},"timestamp":"2020-10-08 18:57:36","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681603774,"value":"11.90"},{"value_type":"humidity","id":4681603781,"value":"99.50"}],"location":{"exact_location":0,"longitude":"-2.518","indoor":0,"country":"GB","altitude":"51.7","latitude":"51.436","id":34679},"id":2168040124},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":48859,"pin":"1"},"timestamp":"2020-10-08 18:57:36","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681603559,"value":"2.05"},{"value_type":"P2","id":4681603560,"value":"1.17"}],"location":{"exact_location":0,"longitude":"-2.518","indoor":0,"country":"GB","altitude":"51.7","latitude":"51.436","id":34679},"id":2168040030},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":7676,"pin":"7"},"timestamp":"2020-10-08 18:57:05","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681594768,"value":"13.90"},{"value_type":"humidity","id":4681594770,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2168036002},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":7675,"pin":"1"},"timestamp":"2020-10-08 18:57:04","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681594635,"value":"4.03"},{"value_type":"P2","id":4681594636,"value":"3.07"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2168035938},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49481,"pin":"7"},"timestamp":"2020-10-08 18:56:44","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681588038,"value":"12.80"},{"value_type":"humidity","id":4681588049,"value":"91.90"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.6","latitude":"51.466","id":35377},"id":2168032922},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49480,"pin":"1"},"timestamp":"2020-10-08 18:56:44","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681587762,"value":"4.50"},{"value_type":"P2","id":4681587800,"value":"1.87"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.6","latitude":"51.466","id":35377},"id":2168032756},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":35383,"pin":"7"},"timestamp":"2020-10-08 18:56:39","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681584542,"value":"13.40"},{"value_type":"humidity","id":4681584544,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.554","indoor":0,"country":"GB","altitude":"30.1","latitude":"51.462","id":21488},"id":2168031289},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":35382,"pin":"1"},"timestamp":"2020-10-08 18:56:38","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681584130,"value":"95.85"},{"value_type":"P2","id":4681584163,"value":"51.40"}],"location":{"exact_location":0,"longitude":"-2.554","indoor":0,"country":"GB","altitude":"30.1","latitude":"51.462","id":21488},"id":2168031085},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49234,"pin":"7"},"timestamp":"2020-10-08 18:56:35","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681582059,"value":"13.10"},{"value_type":"humidity","id":4681582067,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.4","latitude":"51.468","id":35065},"id":2168030121},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":34955,"pin":"7"},"timestamp":"2020-10-08 18:56:35","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681581971,"value":"12.60"},{"value_type":"humidity","id":4681581977,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.536","indoor":0,"country":"GB","altitude":"71.3","latitude":"51.46","id":21639},"id":2168030077},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49233,"pin":"1"},"timestamp":"2020-10-08 18:56:34","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681581598,"value":"4.87"},{"value_type":"P2","id":4681581631,"value":"2.72"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.4","latitude":"51.468","id":35065},"id":2168029870},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":34954,"pin":"1"},"timestamp":"2020-10-08 18:56:33","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681581354,"value":"7.12"},{"value_type":"P2","id":4681581374,"value":"2.80"}],"location":{"exact_location":0,"longitude":"-2.536","indoor":0,"country":"GB","altitude":"71.3","latitude":"51.46","id":21639},"id":2168029722},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":10491,"pin":"1"},"timestamp":"2020-10-08 18:56:31","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681579853,"value":"3.57"},{"value_type":"P2","id":4681579856,"value":"2.40"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.3","latitude":"51.464","id":5293},"id":2168029071},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":48988,"pin":"7"},"timestamp":"2020-10-08 18:56:18","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681576833,"value":"13.60"},{"value_type":"humidity","id":4681576834,"value":"76.60"}],"location":{"exact_location":0,"longitude":"-2.534","indoor":0,"country":"GB","altitude":"62.6","latitude":"51.44","id":34799},"id":2168027670},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49232,"pin":"7"},"timestamp":"2020-10-08 18:55:53","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681569431,"value":"12.60"},{"value_type":"humidity","id":4681569435,"value":"93.30"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"18.8","latitude":"51.468","id":35064},"id":2168024302},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49231,"pin":"1"},"timestamp":"2020-10-08 18:55:53","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681569291,"value":"11.65"},{"value_type":"P2","id":4681569293,"value":"4.60"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"18.8","latitude":"51.468","id":35064},"id":2168024225},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":35069,"pin":"7"},"timestamp":"2020-10-08 18:55:51","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681568505,"value":"12.70"},{"value_type":"humidity","id":4681568542,"value":"99.90"}],"location":{"exact_location":1,"longitude":"-2.54220520612","indoor":0,"country":"GB","altitude":"64.3","latitude":"51.46117342329","id":21253},"id":2168023860},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":35068,"pin":"1"},"timestamp":"2020-10-08 18:55:50","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681567902,"value":"1999.90"},{"value_type":"P2","id":4681568002,"value":"999.90"}],"location":{"exact_location":1,"longitude":"-2.54220520612","indoor":0,"country":"GB","altitude":"64.3","latitude":"51.46117342329","id":21253},"id":2168023662},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":50039,"pin":"7"},"timestamp":"2020-10-08 18:55:46","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681565901,"value":"13.40"},{"value_type":"humidity","id":4681565903,"value":"81.70"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"18.2","latitude":"51.466","id":35923},"id":2168022655},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":50038,"pin":"1"},"timestamp":"2020-10-08 18:55:45","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681565525,"value":"0.22"},{"value_type":"P2","id":4681565546,"value":"0.20"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"18.2","latitude":"51.466","id":35923},"id":2168022474},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":48860,"pin":"7"},"timestamp":"2020-10-08 18:55:10","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681555898,"value":"12.00"},{"value_type":"humidity","id":4681555960,"value":"98.90"}],"location":{"exact_location":0,"longitude":"-2.518","indoor":0,"country":"GB","altitude":"51.7","latitude":"51.436","id":34679},"id":2168018070},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":48859,"pin":"1"},"timestamp":"2020-10-08 18:55:09","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681555230,"value":"2.65"},{"value_type":"P2","id":4681555282,"value":"1.25"}],"location":{"exact_location":0,"longitude":"-2.518","indoor":0,"country":"GB","altitude":"51.7","latitude":"51.436","id":34679},"id":2168017802},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":23644,"pin":"1"},"timestamp":"2020-10-08 18:55:00","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681551525,"value":"0.00"},{"value_type":"P2","id":4681551571,"value":"-0.27"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"13.8","latitude":"51.466","id":11999},"id":2168016085},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":7676,"pin":"7"},"timestamp":"2020-10-08 18:54:38","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681546491,"value":"13.90"},{"value_type":"humidity","id":4681546492,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2168013776},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":7675,"pin":"1"},"timestamp":"2020-10-08 18:54:37","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681546319,"value":"7.63"},{"value_type":"P2","id":4681546322,"value":"2.97"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.4","latitude":"51.464","id":3880},"id":2168013701},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49481,"pin":"7"},"timestamp":"2020-10-08 18:54:18","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681540088,"value":"12.90"},{"value_type":"humidity","id":4681540102,"value":"91.60"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.6","latitude":"51.466","id":35377},"id":2168010844},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49480,"pin":"1"},"timestamp":"2020-10-08 18:54:17","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681539344,"value":"6.37"},{"value_type":"P2","id":4681539354,"value":"3.60"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.6","latitude":"51.466","id":35377},"id":2168010487},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":49234,"pin":"7"},"timestamp":"2020-10-08 18:54:08","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681533581,"value":"13.10"},{"value_type":"humidity","id":4681533601,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.4","latitude":"51.468","id":35065},"id":2168007777},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":34955,"pin":"7"},"timestamp":"2020-10-08 18:54:08","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681533402,"value":"12.50"},{"value_type":"humidity","id":4681533404,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.536","indoor":0,"country":"GB","altitude":"71.3","latitude":"51.46","id":21639},"id":2168007707},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":34954,"pin":"1"},"timestamp":"2020-10-08 18:54:07","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681532985,"value":"6.45"},{"value_type":"P2","id":4681533006,"value":"2.15"}],"location":{"exact_location":0,"longitude":"-2.536","indoor":0,"country":"GB","altitude":"71.3","latitude":"51.46","id":21639},"id":2168007511},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":49233,"pin":"1"},"timestamp":"2020-10-08 18:54:07","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681532982,"value":"4.50"},{"value_type":"P2","id":4681532984,"value":"2.42"}],"location":{"exact_location":0,"longitude":"-2.564","indoor":0,"country":"GB","altitude":"15.4","latitude":"51.468","id":35065},"id":2168007500},{"sensor":{"sensor_type":{"name":"SDS011","manufacturer":"Nova Fitness","id":14},"id":10491,"pin":"1"},"timestamp":"2020-10-08 18:54:04","sampling_rate":null,"sensordatavalues":[{"value_type":"P1","id":4681531264,"value":"6.67"},{"value_type":"P2","id":4681531267,"value":"2.23"}],"location":{"exact_location":0,"longitude":"-2.566","indoor":0,"country":"GB","altitude":"19.3","latitude":"51.464","id":5293},"id":2168006706},{"sensor":{"sensor_type":{"name":"DHT22","manufacturer":"various","id":9},"id":35383,"pin":"7"},"timestamp":"2020-10-08 18:53:53","sampling_rate":null,"sensordatavalues":[{"value_type":"temperature","id":4681528424,"value":"13.40"},{"value_type":"humidity","id":4681528445,"value":"99.90"}],"location":{"exact_location":0,"longitude":"-2.554","indoor":0,"country":"GB","altitude":"30.1","latitude":"51.462","id":21488},"id":2168005384}]A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A2�A`

Am I using the API incorrectly, or is this extra data expected?

@ricki-z
Copy link
Member

ricki-z commented Oct 14, 2020

How do you request the data (which software)?

@digitlength
Copy link
Author

digitlength commented Oct 14, 2020

How do you request the data (which software)?

Using Python:

import requests, json

url = "http://data.sensor.community/airrohr/v1/filter/box=51.433143,-2.570801,51.497095,-2.469006"

r = requests.get(url)

if(is_json(r.content)):
    #Do stuff on success
else:
    #Do stuff on failure

...

def is_json(j):
    try:
        json_object = json.loads(j)
        return True
    except ValueError as e:
        return False

I created the is_json function to catch these errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants