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


[Solved] UradMonitor - Anyone that can help with importing values into HC2?


Teza

Recommended Posts

I have bought an UradMonitor A3. (www.uradmonitor.com)

 

This is a sensor system that provides readings of:

Temperature

Pressure

Humidity

VOC

PM2.5

Formaldehyde

Carbon Dioxide

γ,x-rays

 

I know some have connected it to Homeseer, but have anyone connected it to the Fibaro system?

 

It can provide readings over wifi and via the internet.
 

Anyone that know how this unit can be implemented into the Fibaro system?

Would like the current values from the UradMonitor in HC2, so it can be used in scenes.

 

 

I think this is the homeseer code:

Please login or register to see this code.

 

Edited by Teza
Solved
Link to comment
Share on other sites

  • Topic Author
  • Can this be transfered / written in LUA code somehow?

     

    An exapmle to get the values in HTML.

     

    Some html code to get the readings:

     

    Please login or register to see this code.

    Javascript code to the html:

    Please login or register to see this code.

     

    Will give a result like this:

     

    Please login or register to see this image.

    /monthly_2018_03/Skjermbilde.PNG.8beede9f8aac2e806547cbf3fc3bbac8.PNG" />

     

    Edited by Teza
    Link to comment
    Share on other sites

  • Topic Author
  • I have found that I can type in an ip adress in my web browser and receive the following information:

     

    Please login or register to see this image.

    /monthly_2018_03/Skjermbilde1.PNG.fd182ddd5154b4905ce285c7a3efcf88.PNG" alt="Skjermbilde1.PNG.fd182ddd5154b4905ce285c7a3efcf88.PNG" />

     

    When I look on the html code for that page, it looks like:

     

    Skjermbilde.PNG.81f5cedff7765e4b502a1c830aa01738.PNG

     

     

     

    If I create a viritual device in HC2 and use the IP adress for the UradMonitor, is it possible to get these values into the Fibaro software with LUA code?

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • By using 192.168.8.106/j, I get a json link:

     

    {"data":{ "id":"8200007A","type":"8","detector":"SI29BG","voltage":382,"cpm":14,"temperature":9.45,"humidity":48.29,"pressure":100281,"voc":12800000,"co2":399,"noise":39,"ch2o":0.00,"pm25":3,"uptime": 107787}}

     

    How can I convert this to values with lua code?

    Link to comment
    Share on other sites

    • 1 month later...
    On 3/26/2018 at 3:36 AM, Teza said:

    {"data":{ "id":"8200007A","type":"8","detector":"SI29BG","voltage":382,"cpm":14,"temperature":9.45,"humidity":48.29,"pressure":100281,"voc":12800000,"co2":399,"noise":39,"ch2o":0.00,"pm25":3,"uptime": 107787}}

     

    Please login or register to see this image.

     

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 5 months later...
  • Topic Author
  • Solved.

     

    Please login or register to see this code.

     

    • Like 1
    • Thanks 1
    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
    Reply to this topic...

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