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

Using node red to get Fibaro device status


fogmajor

Question

Good Afternoon,

I wonder if anyone would be kind enough to point me in the right direction please.

I am using Node-Red to trigger a couple of Fibaro relays using the following call, Which works perfectly.

 

http://USERNAME:[email protected]:80/api/callAction?deviceID=134&name=turnOff

 

I also have a Fibaro door contact which I would like to call and get its current status ie ON/OFF.

Is this possible using a similar call as shown above?

 

 

moving forward I have used this request

 

Please login or register to see this link.

 to which I get the response below

 

Having sent the requests while the door sensor was open and closed i cannot seem to see where the current status is located

 

 

Please login or register to see this code.

 

 

Many thanks

 

Andrew

Edited by fogmajor
Update
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

When i use NodeRed for HC3  it wont work

Made a

inject

http request in nodered

METHOD=GET

url=http://user:password@IPHC3/api/callAction?deviceID=23&name=turnOff

Return= a parsed JSON object

 

What am i doing rong

 

Can you help me

Edited by Kage
Link to comment
Share on other sites

  • 0

It is important that the user account you use for the integration has assigned rights in HC3. Motna, you just skimmed it. If you try it under administrator account, the cause must be looked for elsewhere.

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