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

Amazon Echo


Acho

Question

Hi,

    just learned a bit about Amazon Echo - ( 

Please login or register to see this link.

). Any chance to integrate it with HC2 ?

Link to comment
Share on other sites

Recommended Posts

  • 0
11 hours ago, DaltonResidence said:

Is there a way to use the mail address? It seems that this is the default in how fibaro is approaching there accounts.

 

Please login or register to see this link.

Link to comment
Share on other sites

  • 0

Quick question, trying to pressButton on a virtual device. Everything works in Postman and the HC2 API but I just can't get ha-bridge to work.

 

Type: HTTP Device

Target: http://<user>:<pwd>@<IP>:80/api/devices/<ID>/action/pressButton

HTTP Verb: POST

Body: { "args": [ 2 ] }

Content: application/json

 

It just won't work. Gives me a warning back. What am I doing wrong? Is it the '[ 2 ]' that messes up thingies?

 

Edited by sege
Link to comment
Share on other sites

  • 0

since i updated to the last ha bridge version i get the folowing error:

Could not find url: 1 for hue state change request: test from 192.168.1.39 body: {"on":false}

the ip mentioned is from my hue bridge but i put my hc2 ip number in the command.(complete diferent ip)

any thoughts?

 

Link to comment
Share on other sites

  • 0
On 2/10/2017 at 8:29 AM, gklein said:

Hi,

 

i try

 

http://<name%40e-mail_domain_name>:<fibro_password>@<IP>/api/callAction?deviceID=<number>&name=turnOn

 

but i still getting a Login window.

I try different users but i am not able to Login to the api.

 

Heres  what I'm using.

 

Fibaro updates commands
http://name.lastname%40gmail.com:[email protected]//api/devices/ID/action/turnOn

 

On FIBARO, device type is "HTTP Device" and HTTP Verb is "POST"

 

http://username%40mail.com:pwd@ipaddress//api/devices/deviceID/action/actionName
 

Link to comment
Share on other sites

  • 0

some of the changes are:

no url off but Content Body Off

same for on

 

who has it running with the latest ha bridge?

Link to comment
Share on other sites

  • 0
2 hours ago, akatar said:

some of the changes are:

no url off but Content Body Off

same for on

 

who has it running with the latest ha bridge?

 

ive had a few people saying that the 4.2.0 firmware the api format has changed slightly.

now you need the 2 // instead of 1 between ip address and the word api..

so personally i have stuck with 4.1.4

Link to comment
Share on other sites

  • 0
10 minutes ago, morpheus75 said:

 

ive had a few people saying that the 4.2.0 firmware the api format has changed slightly.

now you need the 2 // instead of 1 between ip address and the word api..

so personally i have stuck with 4.1.4

 

and the URL's are gone??

see picture

 

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0
1 minute ago, akatar said:

 

and the URL's are gone??

see picture

 

Please login or register to see this attachment.

 

i have found that on occasion.

i go back to the bridge control tab and click 'bridge initilize' and that brings everything back again

Link to comment
Share on other sites

  • 0

My apologies, i was looking at my old cheat sheet, @morpheus75 is correct, this version did change.  a second / was added after the IP address. heres the most current scripts for the 4.2.0 ha bridge

device type is "HTTP Device" and HTTP Verb is "POST"

Turn On a Device: http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=turnOn

Turn Off a Device:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=turnOff

Dim a Device:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=setValue&arg1=${intensity.percent}
Start a Scene:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/sceneControl?id=ID&action=start
The Fibaro RGBW allows us to set the colours of all 4 values with this API:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=241&name=setColor&arg1=100&arg2=200&arg3=50&arg4=0

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

   0
Link to comment
Share on other sites

  • 0
4 minutes ago, matt1981 said:

My apologies, i was looking at my old cheat sheet, @morpheus75 is correct, this version did change.  a second / was added after the IP address. heres the most current scripts for the 4.2.0 ha bridge

device type is "HTTP Device" and HTTP Verb is "POST"

 

Turn On a Device: http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=turnOn

 

Turn Off a Device:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=turnOff

 

Dim a Device:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=ID&name=setValue&arg1=${intensity.percent}
Start a Scene:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/sceneControl?id=ID&action=start
The Fibaro RGBW allows us to set the colours of all 4 values with this API:http://USER%40EMAIL.COM:PASSWORD@IPADDRESS//api/callAction?deviceID=241&name=setColor&arg1=100&arg2=200&arg3=50&arg4=0

 

 

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

   0

it's not worling

please check the pictures to see what goes wrong

 

Please login or register to see this attachment.

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0

@akatar

 

where it says on items change type to 'http device'

under target item type in your api command

once done click on the green 'ADD' button first then goto top of page and click 'add to bridge'

 

see this video towards the end where i have demo'ed how to add our api commands

please use commands from post above as the api commands in the video is for habridge 4.1.4 and not the 4.2.0

 

 

Link to comment
Share on other sites

  • 0

in your screen captures, i dont see any of the URL settings have been completed.. I can only see that you have http device and post selected.  the video that @morpheus75 posted is the tutorial that i followed to set up my bridge.  he also has a video that he posted prior to this one is strictly on setting up the ha bridge from scratch.  

Link to comment
Share on other sites

  • 0

im not familiar with javascript so i wouldnt know what to look for in your error log.. if you cant figure it out and your still stumped after watching the video, i know the developer at the github site is quite fast to respond to questions and he's helped me out of few issues that i had when i was setting up and updating the ha-bridge to current version.

 

 

Link to comment
Share on other sites

  • 0
26 minutes ago, morpheus75 said:

@akatar

 

where it says on items change type to 'http device'

under target item type in your api command

once done click on the green 'ADD' button first then goto top of page and click 'add to bridge'

 

see this video towards the end where i have demo'ed how to add our api commands

please use commands from post above as the api commands in the video is for habridge 4.1.4 and not the 4.2.0

 

 

thank you for all youre work,

but...

the error i get: spark.webserver.MatcherFilter

 

Link to comment
Share on other sites

  • 0

@akatar

im sorry i dont know how to fix that error.

best is to goto github and send message on there.

alternatively wipe micro SD card and start again... it should take about 20 mins to get back up and running again.

 

Link to comment
Share on other sites

  • 0

@morpheus75

no problem, it's running on a synology nas. i will erase docker and install it again

thank you for all youre time

Link to comment
Share on other sites

  • 0

Did it work to erase the docker and install it again akatar ? I do get the same error (I'm running it on a Ubuntu VM).

 

Edit:
Right.. I restarted ha-bridge completely and now it works..

Edited by Cafun
Link to comment
Share on other sites

  • 0

Hi Guys,

 

Thanks for all info in this topic. I have managed to install HA Bridge on my synology NAS via Docker and have setup light scenes that work with Alexa :) I was wondering if anyone has got a z wave boiler thermostat to work? I have a Secure wall thermostat and receiver in my config and would like to extend control to Alexa. Is this possible?

 

Thanks

Gavin

Link to comment
Share on other sites

  • 0
On 5-3-2017 at 1:09 PM, Cafun said:

Did it work to erase the docker and install it again akatar ? I do get the same error (I'm running it on a Ubuntu VM).

 

Edit:
Right.. I restarted ha-bridge completely and now it works..

 

no it didn't :(

 

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