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

Humidity sensor with serial number


BachelorBoysa

Question

Hello, I've been trying to use the REST API to make my own application and in order for this to work I'm heavily dependant on the Serial Number which each Fibaro sensor has. 
The problem is that Fibaro doesn't seem to have any Fibaro Sensor which also measure the Humidity. So I have bought a Cleverio Humidity sensor ( 

Please login or register to see this link.

 ) but the problem is that in the REST  Api it isn't provided a serial number under the "properties". I am also not able to edit these "properties" in the api. 
I then bought a Netatmo weather station, but the problem is the same here, no serial number.

 

My question is, do anyone know of a Humidity sensor from Fibaro or a 3rd party humidity sensor which I can connect to my Home Center 2 which contains a serial number?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Why you need serial number? I assume you need unique identity for every device... in this case you can use device IDs. They are unique for every device

Edited by cag014
Link to comment
Share on other sites

  • 0
  • Inquirer
  • 19 hours ago, cag014 said:

    Why you need serial number? I assume you need unique identity for every device... in this case you can use device IDs. They are unique for every device

     

    I didn't explain how my application works thoroughly, my bad.  The reason we needed serial number was because we are using multiple Home Centers and saving all the sensors related to these in a database. So every sensor for each Home Center is saved in a "sensor" table in the DB, which is why we couldn't use the ID as a unique key because of the chance that two sensors of same type having the same ID in both home centers.

    Instead of using serial number we will use the DeviceId and the Home Center Guid put together as a unique key. this solved our problem with using serial number.

    Link to comment
    Share on other sites

    • 0
    4 minutes ago, BachelorBoysa said:

    Instead of using serial number we will use the DeviceId and the Home Center Guid put together as a unique key. this solved our problem with using serial number.

    Best option... well done

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