Jump to content
Guides for the Forum Read more... ×
Poradniki na Forum Read more... ×
  • 0
T.Konopka

Google Home Integration - feedback

Question

Hello!

 

We are happy to announce that Google Home integration with FIBARO System is available now. You can control your FIBARO system with your voice. Interest in voice integration continues to grow throughout the world. Speak to Google Home and gain control over most of your smart devices and scenes. We will continue to expand the list of supported commands and add support for additional languages in the nearest future.

 

Most important features:

  • Works with Google Home and any other devices compatible with Google Assistant
  • You can communicate with English
  • Requires FibaroID and configured Remote Access
  • FAQ:

    Please login or register to see this link.

  • Manual:

    Please login or register to see this link.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

@lukaszzyla

If you show how I can set up the binding manually in openhab on the Raspberry Pi, I'll try to check.

Share this post


Link to post
Share on other sites
  • 0

@khaki You can download the JAR from release section of the github link above.

Then you should place the JAR file in your openhab /addons folder.

in my case Openhab is installed to /share/openHAB - then I mean /share/openhab/addons (I am not sure if openhab restart is required)

Then, you should see fibaro gateway in your openhab PaperUI - bindings section.

Next, go to things - and choose to add a thing from Fibaro gateway.

Then it is only few clicks - to enter ip, username, password etc 

Let me know if eveything is clear.

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
On 7/4/2018 at 8:25 PM, lukaszzyla said:

@khaki You can download the JAR from release section of the github link above.

Then you should place the JAR file in your openhab /addons folder.

in my case Openhab is installed to /share/openHAB - then I mean /share/openhab/addons (I am not sure if openhab restart is required)

Then, you should see fibaro gateway in your openhab PaperUI - bindings section.

Next, go to things - and choose to add a thing from Fibaro gateway.

Then it is only few clicks - to enter ip, username, password etc 

Let me know if eveything is clear.

 

Gave this a try, for fibaro is not going to deliver on the short-term.

 

OpenHAB is installed, the plugin is in the correct folder and shows up, but I get a connection error:

 

Quote

Status: OFFLINE - CONFIGURATION_ERROR Failed to connect to the Fibaro gateway through api call 'http://<<MY OPENHAB IP removed for security reasons>>/api/devices'. Please check that username, password and ip is correctly configured

 

Any ideas?

 

EDIT: Never mind guys. Despite the fact the gateway shows as not connected it is working! Will continue to play with it.

Edited by Sander

Share this post


Link to post
Share on other sites
  • 0

@lukaszzyla

 

Established the addon, and it always shows the status online. even if an invalid login and password is specified.

The Lua script gives an error to line 43

Share this post


Link to post
Share on other sites
  • 0

I got it working. If there is any need I can create a small step-by-step.

 

im now able to control all Fibaro lights, read temperatures via Google Home

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

@Sander it would be nice.

 

At the moment I'm using FIBAR api, without feedback, to manage devices via google home
How do I understand this addon support feedback?

Edited by khaki

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Ok I don't know why but by posting my guide a get a DDOS attack error.

A small guide on how I got my setup working.

 

System: A new Ubuntu server 18.04

  1. Install the correct version of JAVA (Oracle JAVA 8). Caution: This step caused me a lot of problems, i first installed the most recent one, this wrong, only after a fresh linux install and the correct JAVA version I got thinks working.
  2. Install OpenHAB
  3. In openHAB, view: PaperUI > Install the Add-on "OpenHAB Cloud Connector", Under the " Misc" category
  4. Look for your UUID and Secret, these will be placed in the install directory after you install the plugin
  5. Registrer a myopenHAB accoun
    1. User the found UUID and Secret
  6. If myopenHAB is working (you need this to connect to Google later):
  7. Place the downloaded JAR file in "/share/openhab/addons"
  8. Restart OpenHAB
  9. In openHAB, view PaperUI: Add a new " thing", "configuration" > "Things" > Add a new thing by clicking on the "+"
    1. Click "Fibaro binding"
    2. Add "Gateway"
    3. Fill in user credentials and IP (the plugin says "admin user" but a new user just for openHAB works just fine) 
  10. For me the "gateway" shows " offline" with an error, but it works just fine so now worries!
  11. Add new things, actors and sensors. (I will not cover this part)
  12. If you can now switch your lights continue:

If you can now switch your lights continue:

  1. Create the LUA scene as mentioned on Git. (the scene works for me and does not give any errors)
  2. Replace the device nr's in the top of the script, my example:

Please login or register to see this code.

  1. Now if all went well you have a working OpenHAB configuration! Next step
  2. Now you could add OpenHAB to your google account but it will not do anything! This is because the devices are missing the correct TAG's. OpenHAB does not really provide a easy way of adding TAG's to the created ITEMS via the user interface. A work-around is available though and it works by using the API.
  3. Add the nessecray tag's to your items:
    1. You can add tags to items via the REST API.
    2. In Paper UI, make sure that the Addon Misc -> REST Documentation is installed.
    3. Open the REST Documentation: http://…:8080/doc/index.html
    4. With GET /items you can retrieve a full list of items. There you also see the tags
    5. Open items, PUT /items/{itemname}/tags/{tag}
    6. Enter the name of the item and then the tag and press “Try it out”
  4. The following TAG's are supported:
    1. Lighting
    2. Switchable
    3. CurrentTemperature
    4. Thermostat
  5. Now you are there! It's time to add OpenHAB to your google account and your devices should show up!
     
Edited by Sander
error
  • Like 1

Share this post


Link to post
Share on other sites
  • 0

just came back from holidays. I have the same problem - showing offline - I have to try if it works as with your setup though.

never actually thought of trying as OFFLINE error made me look for solutions...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×