Any plan to implement Ethernet GW?
-
Hi guys,
I spend all day yesterday playing with Home Assistant and I must say I'm really impressed wit the UI and how easy some items are for configuring. Still I want to move forward and connect a GW and start connecting nodes, etc.
In my current MySensors implementation I'm using Ethernet GW.
Is there any plan to include this GW??
Don't want to change all my installation before testing fully HA.
Thanks!!
-
Hi guys,
I spend all day yesterday playing with Home Assistant and I must say I'm really impressed wit the UI and how easy some items are for configuring. Still I want to move forward and connect a GW and start connecting nodes, etc.
In my current MySensors implementation I'm using Ethernet GW.
Is there any plan to include this GW??
Don't want to change all my installation before testing fully HA.
Thanks!!
Hi!
Yes, I'm working on that. It's not quite finished but the main building blocks are ready. Needs some testing and polishing.
It's on the top of my priority list of features, so I hope to release it very soon.
-
Hi!
I've just pushed a branch to my fork of home assistant on github with support for a tcp ethernet gateway. I would be very grateful if you can test this for some time, and let me know of any quirks, errors, improvement suggestions etc.
If you want to do this, I advice you to install in a virtual environment or similar, to have a clean slate when getting dependencies, and to not interfere with your production install.
Here's the link to the branch:
https://github.com/MartinHjelmare/home-assistant/tree/mysensors-tcp-gatewayYou will have to modify the home assistant mysensors config. Here's an example:
mysensors: gateways: - device: '/dev/ttyUSB0' persistence_file: 'path/mysensors.json' baud_rate: 38400 - device: '/dev/ttyACM0' persistence_file: 'path/mysensors2.json' baud_rate: 115200 - device: '192.168.1.10' persistence_file: 'path/mysensors3.json' tcp_port: 5003 debug: true persistence: true version: '1.5'The third device in the config is the ethernet gateway. Device is required, tcp_port will default to 5003.
One thing I think I need to tune, is the time-out between reading and writing attempts to the socket. Right now it feels kinda sluggish. So I'd like to shorten the time-out. Let me know what you notice in this regard, if it feels responsive or not.
Oh, and everyone are welcome to test this. Please let me know if you do.
-
If you can post or link to a howto, I have a fresh laptop with Fedora 23 to test this on. Never have used Github before, so I don't know the first thing of what to do.
-
If you can post or link to a howto, I have a fresh laptop with Fedora 23 to test this on. Never have used Github before, so I don't know the first thing of what to do.
Great! I'll get back with a how-to asap.
-
Thanks @martinhjelmare
-
How-to for setting up a linux python3 dev environment and cloning and installing my github fork of home-assistant.
Make sure you have python3 installed and also dev files, python3-dev. The dev files might be needed for some compiles.
https://github.com/zookeepr/zookeepr/wiki/Creating-a-Development-Environment-with-pip-and-virtualenv
Make sure you have pip installed, also for python3:
http://python-packaging-user-guide.readthedocs.org/en/latest/install_requirements_linux/Install virtualenvwrapper:
https://github.com/zookeepr/zookeepr/wiki/Creating-a-Development-Environment-with-pip-and-virtualenvTLDR:
sudo pip install virtualenv mkdir ~/.virtualenvs sudo pip install virtualenvwrapperFor Debian/Ubuntu add these lines to ~/.bashrc
export WORKON_HOME=~/.virtualenvs source /usr/local/bin/virtualenvwrapper.shFor Fedora:
export WORKON_HOME=~/.virtualenvs source /usr/bin/virtualenvwrapper.shsource ~/.bashrcCreate a virtualenv with python3:
mkvirtualenv -p /usr/bin/python3 hasstestUse a virtualenv:
workon hasstestMake sure you have git installed:
https://git-scm.com/book/en/v2/Getting-Started-Installing-Gitmkdir ~/dev cd ~/devClone the github repo:
git clone https://github.com/MartinHjelmare/home-assistant.git cd home-assistantFetch and checkout the correct branch:
git fetch origin mysensors-tcp-gateway git checkout mysensors-tcp-gatewayInstall with pip:
pip3 install -e . pip3 install colorlog pip3 install python-LevenshteinStart hass
hass -
I'm getting close. I run into an error when running mkvirtualenv -p /usr/bin/python3 hasstest
"bash: mkvirtualenv: command not found"
The other packages listed above
-
I'm getting close. I run into an error when running mkvirtualenv -p /usr/bin/python3 hasstest
"bash: mkvirtualenv: command not found"
The other packages listed above
Did you source ~/.bashrc before running that command? You need to make sure the virtualenvwrapper.sh script is run for the terminal session you are in, before you have the commands on your path. Sourcing it in .bashrc will make sure it runs when you login. The first time, you have to do it manually though, if you don't want to logout/login.
-
Did you source ~/.bashrc before running that command? You need to make sure the virtualenvwrapper.sh script is run for the terminal session you are in, before you have the commands on your path. Sourcing it in .bashrc will make sure it runs when you login. The first time, you have to do it manually though, if you don't want to logout/login.
Hi,
Got it installed and compiled. But when I start Hass, I am getting errors about not being able to isntall Netdisco (or any other addon). Seems to want to start fresh on very boot.
The configuration file I used was in the homeassistant/config folder. There was a configuration.yaml.example file in there so I assumed thats where the config file would go.
-
Hi,
Got it installed and compiled. But when I start Hass, I am getting errors about not being able to isntall Netdisco (or any other addon). Seems to want to start fresh on very boot.
The configuration file I used was in the homeassistant/config folder. There was a configuration.yaml.example file in there so I assumed thats where the config file would go.
Can you post your error log? Try installing netdisco manually with pip.
-
Can you post your error log? Try installing netdisco manually with pip.
I tried manually installing Netdisco, but it won't compile. I get an error complaining about gcc failing with error status 1.
The config file it looks for is in my normal home folder (which I assume is correct). The only error in the log is that it could not initialize discovery because dependency netdisco 0.5.2 could not be installed.
I think I will try this again tomorrow with Debian or Ubuntu... seems to be a more favorable distro to install Home-Assistant to. I think I even may have an old Pi still kicking around.
-
I tried manually installing Netdisco, but it won't compile. I get an error complaining about gcc failing with error status 1.
The config file it looks for is in my normal home folder (which I assume is correct). The only error in the log is that it could not initialize discovery because dependency netdisco 0.5.2 could not be installed.
I think I will try this again tomorrow with Debian or Ubuntu... seems to be a more favorable distro to install Home-Assistant to. I think I even may have an old Pi still kicking around.
You don't need discovery for mysensors, so you could disable that in the config if you don't have any other component that you want to activate which need discovery.
Do you have gcc installed and general packages for building, usually called build tools, build-essentials etc?
-
You don't need discovery for mysensors, so you could disable that in the config if you don't have any other component that you want to activate which need discovery.
Do you have gcc installed and general packages for building, usually called build tools, build-essentials etc?
Haven't tried build-tools (tried build-essential, it couldn't find any packages) and I do have GCC installed.
Will try again when i'm done work for the evening and see what happens.
-
Haven't tried build-tools (tried build-essential, it couldn't find any packages) and I do have GCC installed.
Will try again when i'm done work for the evening and see what happens.
I think it's called development tools for Fedora. Google it.
If you can post the build log message, I could advise better. It could be a specific lib package that is missing for the compile. The log will usually give some hint on what's missing.
-
I've updated the branch at my fork of pymysensors. If you have installed the ethernet branch of my fork of home-assistant, you should uninstall/reinstall that, or just make a new virtual environment and install again. You should remove the lib directory in your home assistant config directory as well.
Eg:
rm -r ~/.homeassistant/lib mkvirtualenv -p /usr/bin/python3 hasstest2 cd ~/dev/home-assistant git branch -D mysensors-tcp-gateway git fetch origin mysensors-tcp-gateway git checkout mysensors-tcp-gateway pip3 install -e . pip3 install colorlog pip3 install python-Levenshtein -
Hi,
This is the error I am getting when starting up HASS.
(hasstest) pi@pitest:~/dev/home-assistant $ hass Config directory: /home/pi/.homeassistant 16-03-05 20:07:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded introduction from homeassistant.components.introduction 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded mysensors from homeassistant.components.mysensors 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded discovery from homeassistant.components.discovery 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api 16-03-05 20:07:59 INFO (MainThread) [homeassistant.components.introduction] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hello, and welcome to Home Assistant! We'll hope that we can make all your dreams come true. Here are some resources to get started: - Configuring Home Assistant: https://home-assistant.io/getting-started/configuration/ - Available components: https://home-assistant.io/components/ - Troubleshooting your configuration: https://home-assistant.io/getting-started/troubleshooting-configuration/ - Getting help: https://home-assistant.io/help/ This message is generated by the introduction component. You can disable it in configuration.yaml. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=introduction> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=http> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=history> 16-03-05 20:07:59 INFO (MainThread) [requests.packages.urllib3.connectionpool] Starting new HTTPS connection (1): pypi.python.org 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state updater.updater=0.14.2; friendly_name=Update Available @ 20:08:00 05-03-2016>, entity_id=updater.updater> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=process, domain=conversation> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=conversation> 16-03-05 20:08:00 ERROR (MainThread) [homeassistant.components.mysensors] Missing required configuration items in mysensors: port 16-03-05 20:08:00 ERROR (MainThread) [homeassistant.bootstrap] component mysensors failed to initialize 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=log, domain=logbook> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logbook> 16-03-05 20:08:00 INFO (MainThread) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): maps.googleapis.com 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state sun.sun=below_horizon; next_setting=22:12:29 06-03-2016, elevation=-21.55, next_rising=10:44:01 06-03-2016, friendly_name=Sun @ 20:08:01 05-03-2016>, entity_id=sun.sun> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sun> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=api> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Starting Home Assistant (13 threads) 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant> 16-03-05 20:08:01 INFO (Thread-17) [homeassistant.components.http] Starting web interface at http://0.0.0.0:8123 16-03-05 20:08:01 INFO (Thread-15) [homeassistant.core] Timer:starting 16-03-05 20:08:01 INFO (Thread-18) [homeassistant.components.http] "GET /api/stream?api_password=no_password_set&restrict=state_changed,component_loaded,service_registered HTTP/1.1" 200 - 16-03-05 20:08:01 INFO (Thread-19) [homeassistant.components.http] "GET /api/bootstrap HTTP/1.1" 200 -^C16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Stopping 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_stop[L]> 16-03-05 20:08:02 INFO (Thread-16) [netdisco.service] Scanning ^CProcess Process-1: Traceback (most recent call last): Traceback (most recent call last): File "/home/pi/.virtualenvs/hasstest/bin/hass", line 9, in <module> load_entry_point('homeassistant', 'console_scripts', 'hass')() File "/home/pi/dev/home-assistant/homeassistant/__main__.py", line 330, in main keep_running, exit_code = run_hass_process(hass_proc) File "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap self.run() File "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/home/pi/dev/home-assistant/homeassistant/__main__.py", line 248, in setup_and_run_hass exit_code = int(hass.block_till_stopped()) TypeError: 'bool' object is not iterable File "/home/pi/dev/home-assistant/homeassistant/core.py", line 100, in block_till_stopped self.stop() File "/home/pi/dev/home-assistant/homeassistant/core.py", line 107, in stop self.pool.stop() File "/home/pi/dev/home-assistant/homeassistant/util/__init__.py", line 364, in stop self.block_till_done() File "/home/pi/dev/home-assistant/homeassistant/util/__init__.py", line 358, in block_till_done self._work_queue.join() File "/usr/lib/python3.4/queue.py", line 86, in join self.all_tasks_done.wait() File "/usr/lib/python3.4/threading.py", line 290, in wait waiter.acquire() KeyboardInterruptmysensors: gateways: - device: '192.168.1.10' persistence_file: '~/.homeassistant/mysensors3.json' tcp_port: 5003 debug: true persistence: true version: '1.5' -
Hi,
This is the error I am getting when starting up HASS.
(hasstest) pi@pitest:~/dev/home-assistant $ hass Config directory: /home/pi/.homeassistant 16-03-05 20:07:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant> 16-03-05 20:07:57 INFO (MainThread) [homeassistant.bootstrap] Home Assistant core initialized 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded http from homeassistant.components.http 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded introduction from homeassistant.components.introduction 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation 16-03-05 20:07:57 INFO (MainThread) [homeassistant.loader] Loaded mysensors from homeassistant.components.mysensors 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded discovery from homeassistant.components.discovery 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend 16-03-05 20:07:59 INFO (MainThread) [homeassistant.loader] Loaded api from homeassistant.components.api 16-03-05 20:07:59 INFO (MainThread) [homeassistant.components.introduction] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hello, and welcome to Home Assistant! We'll hope that we can make all your dreams come true. Here are some resources to get started: - Configuring Home Assistant: https://home-assistant.io/getting-started/configuration/ - Available components: https://home-assistant.io/components/ - Troubleshooting your configuration: https://home-assistant.io/getting-started/troubleshooting-configuration/ - Getting help: https://home-assistant.io/help/ This message is generated by the introduction component. You can disable it in configuration.yaml. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=introduction> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=http> 16-03-05 20:07:59 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=history> 16-03-05 20:07:59 INFO (MainThread) [requests.packages.urllib3.connectionpool] Starting new HTTPS connection (1): pypi.python.org 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state updater.updater=0.14.2; friendly_name=Update Available @ 20:08:00 05-03-2016>, entity_id=updater.updater> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=process, domain=conversation> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=conversation> 16-03-05 20:08:00 ERROR (MainThread) [homeassistant.components.mysensors] Missing required configuration items in mysensors: port 16-03-05 20:08:00 ERROR (MainThread) [homeassistant.bootstrap] component mysensors failed to initialize 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=log, domain=logbook> 16-03-05 20:08:00 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logbook> 16-03-05 20:08:00 INFO (MainThread) [requests.packages.urllib3.connectionpool] Starting new HTTP connection (1): maps.googleapis.com 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state sun.sun=below_horizon; next_setting=22:12:29 06-03-2016, elevation=-21.55, next_rising=10:44:01 06-03-2016, friendly_name=Sun @ 20:08:01 05-03-2016>, entity_id=sun.sun> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sun> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=discovery> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=api> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Starting Home Assistant (13 threads) 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant> 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant> 16-03-05 20:08:01 INFO (Thread-17) [homeassistant.components.http] Starting web interface at http://0.0.0.0:8123 16-03-05 20:08:01 INFO (Thread-15) [homeassistant.core] Timer:starting 16-03-05 20:08:01 INFO (Thread-18) [homeassistant.components.http] "GET /api/stream?api_password=no_password_set&restrict=state_changed,component_loaded,service_registered HTTP/1.1" 200 - 16-03-05 20:08:01 INFO (Thread-19) [homeassistant.components.http] "GET /api/bootstrap HTTP/1.1" 200 -^C16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Stopping 16-03-05 20:08:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_stop[L]> 16-03-05 20:08:02 INFO (Thread-16) [netdisco.service] Scanning ^CProcess Process-1: Traceback (most recent call last): Traceback (most recent call last): File "/home/pi/.virtualenvs/hasstest/bin/hass", line 9, in <module> load_entry_point('homeassistant', 'console_scripts', 'hass')() File "/home/pi/dev/home-assistant/homeassistant/__main__.py", line 330, in main keep_running, exit_code = run_hass_process(hass_proc) File "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap self.run() File "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "/home/pi/dev/home-assistant/homeassistant/__main__.py", line 248, in setup_and_run_hass exit_code = int(hass.block_till_stopped()) TypeError: 'bool' object is not iterable File "/home/pi/dev/home-assistant/homeassistant/core.py", line 100, in block_till_stopped self.stop() File "/home/pi/dev/home-assistant/homeassistant/core.py", line 107, in stop self.pool.stop() File "/home/pi/dev/home-assistant/homeassistant/util/__init__.py", line 364, in stop self.block_till_done() File "/home/pi/dev/home-assistant/homeassistant/util/__init__.py", line 358, in block_till_done self._work_queue.join() File "/usr/lib/python3.4/queue.py", line 86, in join self.all_tasks_done.wait() File "/usr/lib/python3.4/threading.py", line 290, in wait waiter.acquire() KeyboardInterruptmysensors: gateways: - device: '192.168.1.10' persistence_file: '~/.homeassistant/mysensors3.json' tcp_port: 5003 debug: true persistence: true version: '1.5'Did you checkout correct branch?
git fetch origin mysensors-tcp-gateway git checkout mysensors-tcp-gatewayYou should remove the lib directory in ~/.homeassistant/ before you start hass again after the git checkout also.
rm -r ~/.homeassistant/lib