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 voice control for Fibaro (using virtual WeMo bridge)


Guest minimax

Question

Guest minimax

Hi folks,

 

I bought Echo on my vacation in US this week and decided to do an integration for Fibaro.

After doing some research I made a decision to use WeMo bridge (thanks Chris -

Please login or register to see this link.

and bend it for Fibaro.

 

Here is my first 'alpha' so far so good version, which automatically enumerates light devices and announces them using WeMo bridge.

 

Install guide:

WeMo bridge is a python script that runs on your pc or server or another python-equipped thing.

 

Windows users:

====== Python installation (optional) ======

1) download python 2.x (2.7.11), not 3.X !!!

2) Install python with launcher and add to PATH option

3) run command prompt with admin privileges and execute:

Please login or register to see this code.

=========== fauxmo bridge:============

4) download fauxmo_fibaro attached at this post and extract it.

5) edit fauxmo.py with notepad and add correct values to these lines:

Please login or register to see this code.

I recommend creating a special fibaro user just for alexa. Do not forget to assign device privileges for this user!

 

6) Save file, doubleclick it, or from command shell run: fauxmo.py

    You can add -d to the command line to show debug output

7) Bridge should run.

8) From alexa app, go to Settings > [Account]/Connected Home > Discover devices

Alexa should find all light devices now

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

 

9) Enjoy!

Please login or register to see this link.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Please login or register to see this code.

Traceback (most recent call last):

File "fauxmo.py", line 412, in <module>

devices = f.enumerate()

File "fauxmo.py", line 385, in enumerate

json_data = json.loads(r.text)

File "/usr/lib/python2.7/json/__init__.py", line 338, in loads

return _default_decoder.decode(s)

File "/usr/lib/python2.7/json/decoder.py", line 366, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode

raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

Link to comment
Share on other sites

  • 0

Not that I can test this (as I don't have an Echo yet) but I think the Echo supports Weemo already and if you follow the steps in my post below you may be able to integrate your Echo, Weemo and HC2:

 

Please login or register to see this link.

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