This is my first attempt to connect my HC2 hub to home assistant and would greatly appreciate any or all assistance. I have a fibaro HC2 with 40+ devices, i am trying to connect hub to home assistant and in time set up a better user interface for my devices on a wall mounted tablet - thinking og some great examples of Lovelace and floor planner i have seen here on the forum. I am very new to home assistant and have installed pyton/home assistant on Mac and cannot, for the life of me, get my hc2 to appear on home assistant. I have added script to configuration.yaml file - fibaro:gateways: url/user/password etc , and checked server controller-check configuration (OK), but it does not seem to work. Is there a chance that somebody might have an easy to understand solution for this.
Once again i appreciate any help with this matter.
Can you please show your configuration for the Fibaro with sensitive information redacted?
Do you see any errors in the logs when you go to the sidebar -> Developer Tools > Logs?
Is the Mac just for testing home assistant or will this be the computer running the system afterwards?
Hei , thank you for your reply , here is what i have/ found:
this is my yams configuration file
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
fibaro:
gateways:
- url: http:/xxx.xxx.xx.xxxapi
username: [email protected]
password: xxxxxxxxxxxxxxxxx
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Not exactly sure of correct format for adding files here but have added log error files.
2020-02-06 17:38:23 ERROR (MainThread) [homeassistant.components.brother] Could not fetch data from BRN008077CEE392.local, error: Bad IPv4/UDP transport address BRN008077CEE392.local@161: [Errno 8] nodename nor servname provided, or not knowncaused by <class 'socket.gaierror'>: [Errno 8] nodename nor servname provided, or not known
2020-02-06 17:38:23 WARNING (MainThread) [homeassistant.config_entries] Config entry for brother not ready yet. Retrying in 5 seconds.
2020-02-06 17:38:23 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [nodename nor servname provided, or not known]
2020-02-06 17:38:23 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 16 minutes
2020-02-06 18:04:21 ERROR (MainThread) [homeassistant.components.brother] Could not fetch data from BRN008077CEE392.local, error: Bad IPv4/UDP transport address BRN008077CEE392.local@161: [Errno 8] nodename nor servname provided, or not knowncaused by <class 'socket.gaierror'>: [Errno 8] nodename nor servname provided, or not known
2020-02-06 18:04:22 WARNING (MainThread) [homeassistant.components.sensor] Updating brother sensor took longer than the scheduled update interval 0:00:30
2020-02-06 18:06:42 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1
Thanks again
Please read this topic to get started on the forum.
To format your code properly copy it, mark the whole code and then press the </> on the top.
Just from the pictures I can see that the whole block starting with fibaro:
is indented too much. fibaro:
needs to start at the same position as default_config:
.
I don’t think this is a good idea, do you want to run the iMac the whole day? This will not be very energy-friendly compared to a Raspberry Pi for example.
Great, i will try this - i was thinking that HA running with pyton would be a good starting point but am considering a set up with Pi - i see that most users have this arrangment.
Just wondering, i also have node red running on my mac , would i need 2 Pi´s if i wanted to run HA and Node Red. Anyway, thanks -will try now,
sorry
Cant seem to find </> , configuration.yaml opens in Visual Studio Code by default,
I think you are mixing something up here. What do you mean with home assistant running in Python, do you mean running it in a virtualenv?
Yes you can install node-red on the same pi as home assistant, no need for a second pi.
The </> button is here on the forum, when you are writing a post. Copy the code in here, mark it and press the button.
Thanks, i installed Homeassistant following the guide for getting started
[macOS](http://www.apple.com/macos/) is available by default on Apple computer. If you run a different operating system, please refer to the other section of the documentation.
To run Home Assistant on macOS, you need to install Python first. Download Python 3.7 or later from https://www.python.org/downloads/mac-osx/ and follow the instructions of the installer.
Open a terminal and install Home Assistant in a virtual environment:
Bash
Copy
You can then configure Home Assistant to autostart by following [this guide](https://www.home-assistant.io/docs/autostart/macos/)
Thanks for info on Pi, will try your suggestion now.
This is Home Assistant Core installed in a virtaul environment. If you go the pi route, I suggest following these instructions, as it is the easiest for beginners.
Great, will do this. I have tried to correct my code and test it with check configuration, all ok. Getting a warning of failed log in attempt from a ip 127.x.x.x , wonder if problem is running home assistant on laptop on wifi ? Perhaps i should test on my iMac with ethernet connection ? Anyways will start a new project following your instruction for Pi, thanks again,
The button burning was referring to </> is the 10th along in the header of the text box you enter post text into.
Where were you looking ?
Can you please go back and edit you posts to make them readable on the forum (deleting unnecessary images is always a good idea as they take up WAY MORE room than text does)
done, thanks
Sorry, I did not mean for you to remove pertinent information, merely present it in a manner that others could read and learn from