Author Topic: Make your own Purpleair  (Read 4338 times)

0 Members and 1 Guest are viewing this topic.

Offline blacklistedcard

  • Member
  • *
  • Posts: 39
Re: Make your own Purpleair
« Reply #25 on: April 23, 2018, 02:03:28 PM »
I got my code working with my Adafruit ESP8266.  Also, the RGB LED notification is working great!

Offline blacklistedcard

  • Member
  • *
  • Posts: 39
Re: Make your own Purpleair
« Reply #26 on: May 26, 2018, 01:28:13 AM »
My sensor mounted to the house.  Been running fine for a couple of weeks.

Offline blacklistedcard

  • Member
  • *
  • Posts: 39
Re: Make your own Purpleair
« Reply #27 on: August 30, 2018, 12:48:52 AM »
Just wanted to report back on both my custom sensor and the purple air that I own.  All three sensors are only reporting zeros.  I had to replace all three sensors.  So the really hot and humid summer really did a number on the PMS5003 sensors

Anyone else have their PMS5003 sensors stop reporting?

Offline blacklistedcard

  • Member
  • *
  • Posts: 39
Re: Make your own Purpleair
« Reply #28 on: September 16, 2018, 08:12:29 PM »
I fixed the three PMS5003 sensors that were not working for anyone that has the same problem.   Used compressed air and blow into the fan opening....   After I did that.  All three sensor started working again.....





Offline pimohdaimaoh

  • Senior Contributor
  • ****
  • Posts: 176
  • "Be aware to our nature"
    • PIMOHWEATHER
Re: Make your own Purpleair
« Reply #29 on: October 21, 2018, 09:27:57 AM »
I cam across this article on Adafruit - it's about the Arduino and the same Plantower sensor Purpleair uses.
If you wanted to make a sh**-ton of these things, you could probably do it cheaper.

Here's the article:
https://learn.adafruit.com/pm25-air-quality-sensor
Or use this one, the "luftdaten" sensor, already hundreds of stations in Europe, how-to-build in multiple languages (sorry the English version is not the best one), Open-Data, Open-source of all scripts via Github.

One big map and multiple local = city wide maps such as Leuven or Brussels
In my home town of Leuven-Belgium they = the inhabitants,  are rolling out a hundred of these sensors.
I have one  on my own website also, on the home page a small expandable block and a full page at http://weer.sluispark.be/index.php?p=mnu_aqhi_luft&lang=en

The scripts used,  look the same as for the Purpleair,check this  user site and also the normal AQ scripts as used in the US at this demo site

The sensors plus arduino board cost less then 30 dollar and there is a shopping-list with links to the ali*** chiness site.

There are a few users in Northern America also. it is becoming quit a success here as multiple cities sponsor this development by organising how-to-build workshops a.s.o.

Wim

Hello,

I am now on progress of making my own Purple air sensor using these german AQI device, I already have the arduino and the sensor, still on delivery sched. anyways where to download that script to add on my web page? hope you can send me or link me one. Thank You and have more power to your leuven scripts.

My test Site:
http://pimohweather.webutu.com
My CWOP ID: EW0758

Offline pimohdaimaoh

  • Senior Contributor
  • ****
  • Posts: 176
  • "Be aware to our nature"
    • PIMOHWEATHER
Re: Make your own Purpleair
« Reply #30 on: October 25, 2018, 09:35:56 AM »
Here is a picture of the LED on to get a better understanding of the lighting.

It will be nice just to look at the sensor and know the air quality.

can you share the code? I want also to have a LED indicator which easily to identify without looking at the pc. Thanks in advance

My test Site:
http://pimohweather.webutu.com
My CWOP ID: EW0758

Offline blacklistedcard

  • Member
  • *
  • Posts: 39
Re: Make your own Purpleair
« Reply #31 on: October 26, 2018, 08:51:50 PM »
Here is a picture of the LED on to get a better understanding of the lighting.

It will be nice just to look at the sensor and know the air quality.

can you share the code? I want also to have a LED indicator which easily to identify without looking at the pc. Thanks in advance

Here is the code.......   I'm using the beta branch with my custom LED code added.

https://github.com/DwaineGarden/sensors-software/tree/beta

Here is the project original code.  You have to watch what device you are using.  The pin are directly hard code for specific sensors.  Also the function calls going out to their server has the specific pin hardcoded.   So if you use pin 5 instead of pin 1, then you have to make the changes.

Thats the reason why some people get the sensors working with the web interface, but the data never shows up on the server and map.

https://github.com/opendata-stuttgart/sensors-software/tree/beta


Offline pimohdaimaoh

  • Senior Contributor
  • ****
  • Posts: 176
  • "Be aware to our nature"
    • PIMOHWEATHER
Re: Make your own Purpleair
« Reply #32 on: November 13, 2018, 08:47:55 AM »
Hi

After a couple of weeks to study, supply and install AQi sensor using SDs011, I successfully obtained and its fully functional, Thanks to Sir Wim for his assistance  and scripts I requested, however still needs to polish in one page but I guess it worked, I also put its status as my first page on DASHBOARD using saratoga script techniques. As i initiated the sensor I guess only ME shows on the Map and the rest are relying on Airflow products which cost expensive and also you cannot use it to your own web site polish, so here it is You can check it out

http://pimohweather.webutu.com/wxLuftdatenAQI.php

My test Site:
http://pimohweather.webutu.com
My CWOP ID: EW0758