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

Retreive and send data from other device


Question

Posted

Hello,

 

I am trying to get Fibaro read some value from a remote service for my thermostat. This is done with JSON. When using the Chrome REST client, i can receive values. How can i achieve this with Fibaro HC2 and put them somewhere in my interface?

 

When i do a GET to the URL (https) i need to have in the header: Authorization: Bearer MyID

 

Then i receive:

 

{
"success": true
"thermostatInfo": 
{
"currentTemp": 2000
"currentSetpoint": 2250
"currentDisplayTemp": 2250
"programState": 0
"activeState": -1
"nextProgram": -1
"nextState": -1
"nextTime": 0
"nextSetpoint": 0
"randomConfigId": 1804289383
"errorFound": 255
"boilerModuleConnected": 1
"realSetpoint": 2250
"burnerInfo": "1"
"otCommError": "0"
"currentModulationLevel": 100
"haveOTBoiler": 0
 
}
-
}
 

Then i want to read the currentTemp for example to a Virtual Device and change the currentSetpoint to a new temperature value.

 

Is this possible?

 

Any help is appreciated.

 

Regards,

Roland

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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