Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

QuickApp - SENSOR.COMMUNITY (PM2.5, PM10, Temperature, Humidity and Airpressure) ?


SmartHomeEddy

Question

This QuickApp reads the PM2.5, PM10, Temperature, Humidity and Airpressure values directly from a sensor somewhere in this world
That sensor doesn't have to be your own sensor, any sensor can be used, just find one in your neighborhood 
For locating the sensor(ID's) in your neighborhood see:

Please login or register to see this link.

 
Select two (!) SensorID's, one for PM2.5 and PM10 values and one for Temperature, Humidity and Airpressure values

 

The PM2.5, PM10, Temperature, Humidity, Absolute Humidity and Airpressure readings are stored in the value of six (child) devices, so you can read the value from your own scenes
This QuickApp will send notifications when PM2.5 or PM10 readings reach a breakpoint (if userID ~= 0)

 

Absolute humidity is the measure of water vapor (moisture) in the air, regardless of temperature. It is expressed as grams of moisture per cubic meter of air (g/m3) 

 

Please login or register to see this attachment.

 

See also

Please login or register to see this link.

 
See also for CVS files:

Please login or register to see this link.

 
See also

Please login or register to see this link.

 
API documentation:

Please login or register to see this link.

 

 

QuickApp variables (mandatory, they will be automatically added with the default values):

  • sensorID1 = [number] SensorID for PM2.5 and PM10 values, your own sensor or from someone else, 13463 is an example
  • sensorID2 = [number] SensorID for Temperature, Humidity and Airpressure values, your own sensor or from someone else, 13464 is an example
  • interval = [number] in seconds time to get the sensor data from sensor.community
  • timeout = [number] in seconds for http timeout
  • userID = [number] userID to notify of PM2.5 / PM10 breakpoints
  • debugLevel = [number] Debug logging (1=some, 2=few, 3=all) (default = 1)
  • icon = [numbber] User defined icon number (add the icon via an other device and lookup the number)


Version 1.0 (7th February 2021)

  • Added Child Devices for Temperature, Humidity, Absolute Humidity and Airpressure
  • Changed the quickapp variable SensorID to two variables, one for PM values and one for Temperature, Humidity and Airpressure values
  • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1.
  • Added QuickApp Variable for user defined icon master device-- Added Airpressure Text in log of Airpressure Child Device
  • Removed QuickApp Variable address, there was no need to change it by user
  • Added values for Temperature, Humidity, Absolute Humidity and Airpressure to the lables
  • Added values for Country, Latitude and Longitude to the labels
  • Added Sensor ID to the log below the value
  • Added "Refresh" button
  • Added extra check for empty data return from Sensor Community

 

Version 0.4 (19th August 2020]

  • Added child devices for PM2.5 and PM10
  • Added time of measurement, adjusted to your timezone
  • Added Timeout QuickApp variable with high http timeout value to prevent errors
  • Error message instead off debug message in case of an error
  • Changed method of adding QuickApp variables, so they can be edited

 

Version 0.3 (15th June 2020)

  • Link to CVS files added in comment
  • Fixed some typos
  • Fixed breakpoint check 0 - 30 and 0 - 50 notifications
  • Fixed retrieve of json data

 

Version 0.2 (14th June 2020)
  • Link to API documentation added
  • Solved bug / crash: Better selection of the first part of the apiResult 
  • Changed some debugging logica
  • Added UserID (mandatory) for sending push notifications
  • Added push notifications based on the PM2.5 and PM10 breakpoints
  • Solved bud / crash if there only was one reading from the api, most of the time there are two readings (last 5 minutes)

 

Version 0.1 (13th June 2020)

  • Initial version

 

Suggestions are welcome. If someone feels the need to improve the QuickApp, you are very welcome.  

 

    

 

Please login or register to see this attachment.

 

 

 

 

 

Download the QuickApp here (download the file and un-zip):

Please login or register to see this link.

or Fibaro Marketplace: 

Please login or register to see this link.

 


 

How to install: 

  1. Open the Configuration Interface
  2. Go to Settings > Devices
  3. Click  +
  4. Choose Other Device
  5. Choose Upload File
  6. Choose file from your computer with .fqa

 

 

 

 

Edited by SmartHomeEddy
  • Thanks 1
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

@SmartHomeEddy quick question

i have OWN sensor PM X.XX on my ESP8266 (thanks Peter for lib @petergebruers)

so my question is how I can post my sensor data to this site

i am  spend 15min!!!!!! By site and can’t find register button...

is I am totally bad?! ;) 

Link to comment
Share on other sites

  • 0

Try this

 

It is possible to send the data collected with other hardware to our API. Some ready-made scripts and interfaces already exist for this purpose.

Raspberry PI:

Please login or register to see this link.

TheThingsNetwork, LoRaWAN:

Please login or register to see this link.


Please login or register to see this link.

  • Like 1
Link to comment
Share on other sites

  • 0
  • Inquirer
  • 4 hours ago, 10der said:

    @SmartHomeEddy quick question

    i have OWN sensor PM X.XX on my ESP8266 (thanks Peter for lib @petergebruers)

    so my question is how I can post my sensor data to this site

    i am  spend 15min!!!!!! By site and can’t find register button...

    is I am totally bad?! ;) 

     

    Yes, that one is hard to find ?. Use this link: 

    Please login or register to see this link.

     

    On the upper part op the screen, you can register (and login to add or manage your devices)

     

     

    (BTW I updated the QuickApp, I messed up the json tabel)

     

     

     

    Edited by SmartHomeEddy
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Yes, but it should not be a problem to rewrite it to a VD for a HC2

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • The link to download the latest version of the Sensor Community QuickApp for the HC3, if you don’t own a sensor and want to use one in your neighborhood, is in the first post. 

     

     

    Edited by SmartHomeEddy
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • The site of sensor community isn’t always online lately. I think it is run by volunteers with gifts for the hardware. So don’t get too nervous of some "Operation canceled" or "Connection reset by peer" messages in your log. You could experiment some with the timeout value. 

    Link to comment
    Share on other sites

    • 0
  • Inquirer

  • Nice to see how the air quality sensors are stationed around the world. Some of them are in the most remote places.

     

    Please login or register to see this attachment.

     

    Please login or register to see this link.

     

     


     

     

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Yes, a new version of Sensor-Community is available. You can now measure not only PM2.5, PM10, but also Temperature, Humidity, Absolute Humidity and Air-pressure without having your own sensor. You can simply use a sensor in your neighborhood. 

     

    Please login or register to see this attachment.

     

     

    Version 1.0 (7th February 2021)

    • Added Child Devices for Temperature, Humidity, Absolute Humidity and Airpressure
    • Changed the quickapp variable SensorID to two variables, one for PM values and one for Temperature, Humidity and Airpressure values
    • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1.
    • Added QuickApp Variable for user defined icon master device-- Added Airpressure Text in log of Airpressure Child Device
    • Removed QuickApp Variable address, there was no need to change it by user
    • Added values for Temperature, Humidity, Absolute Humidity and Airpressure to the lables
    • Added values for Country, Latitude and Longitude to the labels
    • Added Sensor ID to the log below the value
    • Added "Refresh" button
    • Added extra check for empty data return from Sensor Community
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Please login or register to see this attachment.

     

     

    It is getting hot outside, day by day ?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • A new version of this popular QuickApp is in the making.
     

    Two Quickapps will be combined in one. That way you can simply choose if you want to monitor your own local sensor or someone else sensor in your neighborhood from the sensor.community cloud.

     

    Some new function will be implemented, new child devices will be added and translation for English, Polish, French and Dutch will be available. 
     

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...