# Display sensor on map.sensor.community and using an air quality lamp from the project stofananas together with a sensor

**URL:** https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176
**Category:** FAQ
**Created:** [June 30, 2023, 6:30am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176 "2023-06-30T06:30:57Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [June 30, 2023, 6:30am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/1 "2023-06-30T06:30:57Z")

</div>

Hi everybody,

I teached a class at a school in Beijing building the sensors and the stofananas air quality lamp. One of the pupils has the problem, that the sensor doesn’t show up on the map and lamp doesn’t show the right colors.

He first used the place of the school and it worked so far. Then he changed the geodata as he wants to install the sensor at his parents place. Now the sensor is not showing up anymore.

Some questions I have:  
How long does it take that a started sensor, which is successfully uploading data to api.sensor.community and madavi (showed in the sensors log), is showing up at the sensor.community map?  
What happens if the sensor is taken offline? When is it not anymore displayed at the map?  
The sensors place can be changed, can’t it?  
For the geodata the address is not neccesary, if longitude and latitude are filled out, am I right?

Thank you in advance!  
Marcus

P.S.: Maybe the sensor number helps, it’s esp8266-10735650

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [July 1, 2023, 6:19am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/2 "2023-07-01T06:19:12Z")

</div>

Is the sensor registered on devices.sensor.community ?

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [July 1, 2023, 10:06pm UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/3 "2023-07-01T22:06:56Z")

</div>

Yes, I should have added that number, it’s 80394

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [July 1, 2023, 10:28pm UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/4 "2023-07-01T22:28:01Z")

</div>

I just realized that one of my own sensors (not the one discussed here) is not shown anymore. It’s an indoor sensor. I vaguely remember it was shown on the map before and my outdoor sensor is shown an the map. Are indoor sensors not shown or not shown anymore?

The sensor discussed here was registered as an indoor sensor, maybe that’s the reason? I asked the student waiting for his answer.

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [July 2, 2023, 7:31am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/5 "2023-07-02T07:31:10Z")

</div>

Hi,  
The indoor sensors are not displayed by default anymore. You have to check a checkbox and they still are displayed as grey.  
Please put your sensor outside! Indoor air is no common if you lock your door!

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [July 2, 2023, 8:29am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/6 "2023-07-02T08:29:57Z")

</div>

Thank you for your help! The sensor was changed to a standard (outside) sensor and is displayed on the map, now. During tests he was inside and correctly configured. Now we know that and have to configure the sensors “wrong” to test it together with the stoflamp.

It was just a test and I fully understand and support your idea, that only outside sensors relate to this project and the default is not showing indoor sensors.

But I didn’t find the checkbox for display them in grey on the map. Better to use this way than to configure indoor sensors as outdoor sensors and mess up the database. it’s not related to “Publish exact location”, is it?

---

<div class="post-metadata">

### Author: ![webmarwell](https://forum.sensor.community/user_avatar/forum.sensor.community/webmarwell/32/65_2.png) [@webmarwell](https://forum.sensor.community/u/webmarwell)
#### Post date: [July 2, 2023, 8:43am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/7 "2023-07-02T08:43:59Z")

</div>

I have one more question. Using a “stofananas” for displaying the airquality through the light of a lamp (see [here](https://github.com/bertrik/stofananas)) the data from your database is used. But it’s downloaded from [https://stofradar.nl/](https://stofradar.nl/) the make reactions on future api changes at sensor.community easier. The data is than weighted by the software which turns the lamp into the correct color.

My question: Is the configuation change for your map (not showing indoors sensors by default) changing your apis behavior, too?

Thank you!

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [July 6, 2023, 7:21am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/8 "2023-07-06T07:21:38Z")

</div>

![Screen Shot 2023-07-06 at 09.21.12](https://forum.sensor.community/uploads/default/original/2X/2/2e3d576ce86b8e71781b3e82a0d6e6f44e5c9f86.png)

---

<div class="post-metadata">

### Author: ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)
#### Post date: [July 6, 2023, 7:24am UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/9 "2023-07-06T07:24:40Z")

</div>

The changes concern the map not the API.  
The API call should work the same as before.

---

<div class="post-metadata">

### Author: ![bertrik](https://forum.sensor.community/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@bertrik](https://forum.sensor.community/u/bertrik)
#### Post date: [July 6, 2023, 3:55pm UTC](https://forum.sensor.community/t/display-sensor-on-map-sensor-community-and-using-an-air-quality-lamp-from-the-project-stofananas-together-with-a-sensor/2176/10 "2023-07-06T15:55:41Z")

</div>

I own the stofradar.nl domain and run the software behind it.

The value you get from my REST API is an inverse distance weighted average of the PM2.5 of particulate matter sensors some radius around the provided coordinate. The sensor.community API _does_ actually report indoor sensors too, but my software actively ignores these indoor sensors.  
Data is retrieved from sensor.community once every 5 minutes.

I recently changed the format slightly, it now also reports up to three closest sensors, for example for the city of Gouda in the Netherlands:  
`{"pm2.5":4.78,"sensors":[{"id":"LUC_355523767480470","pm2.5":4.78},{"id":"22786","pm2.5":0.80},{"id":"59070","pm2.5":0.70}]}`

The sensor with plain id of ‘22786’ is a sensor.community sensor, the one with the “LUC\_” prefix is a sensor from a different dutch particulate matter project that doesn’t share its data with sensor.community. This number is also the sensor number shown on maps.sensor.community

You could also query this sensor directly using the sensor.community API:  
[https://data.sensor.community/airrohr/v1/sensor/22786/](https://data.sensor.community/airrohr/v1/sensor/22786/)
