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

luftdaten info fibaro


Question

Posted

Hi,


I use a particle meter from luftdaten.de to measure the amount of particles (PM2,5 and PM10) and this works quite stable. 

Please login or register to see this link.

 

It would be lovely if someone could write an VD to display these values and make these values usable for fibaro home system. Beside particles it can also measure temperature and humidity. (usefull also as a cheap netatmo device killer :-)

 

The data.json looks like this:

 

{"software_version": "NRZ-2020-129", "age":"19", "sensordatavalues":[{"value_type":"SDS_P1","value":"34.80"},{"value_type":"SDS_P2","value":"27.05"},{"value_type":"temperature","value":"17.20"},{"value_type":"humidity","value":"70.80"},{"value_type":"samples","value":"4974086"},{"value_type":"min_micro","value":"27"},{"value_type":"max_micro","value":"20070"},{"value_type":"signal","value":"-79"}]}

 

with these visual actuals:

 

 

15 seconden sinds laatste meting.
 

Sensor Parameter Waarde
 
SDS011 PM2.5 27.0 µg/m³
SDS011 PM10 34.8 µg/m³
 
DHT22 Temperatuur 17.2 °C
DHT22 Rel. luchtvochtigheid 70.8 %
 
WiFi Signaalsterkte -79 dBm
WiFi Signaalkwaliteit 42 %
 

 

Is someone able to create this VD or help me out?  We can use this VD to send out warnings when the PM10 is to high due to BBQ activities of close windows etc.

 

10 answers to this question

Recommended Posts

  • 0
Posted (edited)

Nice initiative, 

Please login or register to see this link.

 

Didn’t know that one. Are also ready build sensors for sale or only DIY?

 

 

Edited by SmartHomeEddy
  • 0
Posted

Some time ago we made a VD to get power consumption from the P1 Monitor. I think the logic is the same. Via the API we get the json information and we put it in labeks (and put the consuption in an unused device). 
 

I don’t use my HC2, if now use a HC3, so I can’t build the VD. 
 

Maybe you have some use with this example. 
 

Please login or register to see this code.


 

  • 0
  • Inquirer
  • Posted

    Mmmmmm.. If some one please could help with this VD, I am not a noop, but not in a good programming-shape ?  For those programing everyday it should be a 4 minutes fix :-)

    10 hours ago, SmartHomeEddy said:

    Nice initiative, 

    Please login or register to see this link.

     

    Didn’t know that one. Are also ready build sensors for sale or only DIY?

    I did build it myself using this link: 

    Please login or register to see this link.

     

    10 hours ago, SmartHomeEddy said:

     

     

    • 0
    Posted (edited)
    17 hours ago, Barend76 said:

     

    I did build it myself using this link: 

    Please login or register to see this link.

     

     


    well, it looks doable (I ordered one, lets see)
     

    I did give it a try, for a quickapp. But from 

    Please login or register to see this link.

     (10061 is an example ID from a working sensor) I get a different json structure back, a more complex json structure. 

    Please login or register to see this code.

    or

    Please login or register to see this code.

     

    The API gives the sensor data of the last 5 minutes. In this case two rows. I don't know how to handle two data rows. 

     

    For your json table I have a QuickApp working (without the actual collection of the data from the sensor because I don't have the sensor)

     

    Please login or register to see this code.

     

    Please login or register to see this attachment.

     

     

    Edited by SmartHomeEddy
    • 0
  • Inquirer
  • Posted

    Cool!!!

    • 0
    Posted (edited)

    The json data of you, did you get it directly from the sensor with an API or something?

     

     

     

     

    Edited by SmartHomeEddy
    • 0
    Posted

    I have made a QuickApp to retrieve data from the SENSOR.COMMUNITY. Not to highjack your item, I placed it in a new item: 

     

    • Like 1
    • 0
    Posted
    On 6/11/2020 at 3:35 AM, Barend76 said:

     

    The data.json looks like this:

     

    {"software_version": "NRZ-2020-129", "age":"19", "sensordatavalues":[{"value_type":"SDS_P1","value":"34.80"},{"value_type":"SDS_P2","value":"27.05"},{"value_type":"temperature","value":"17.20"},{"value_type":"humidity","value":"70.80"},{"value_type":"samples","value":"4974086"},{"value_type":"min_micro","value":"27"},{"value_type":"max_micro","value":"20070"},{"value_type":"signal","value":"-79"}]}

     


    @Barend76 where did you got this data.json from? 
    (The json from sensor.community is different) 
     

    To build a VD more info is needed. 
     

    (I have the sensor also up and running) 

    • 0
  • Inquirer
  • Posted

    Please login or register to see this link.

      and then the IP adress of your local device :-)

    • 0
    Posted (edited)

    Thanks, didn”t find that anywhere

     

     

    On 6/11/2020 at 10:12 PM, Barend76 said:

    I did build it myself using this link: 

    Please login or register to see this link.

     

     

    btw it was indeed easy DIY. 

     

    Edited by SmartHomeEddy

    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...