0.64: Over 1000 integrations! New: HomeKit, BMW, August

@OttoWinter, thanks for your responce.
I’m running HA in a venv on ubuntu, , python 3.6.3, eclipse-mosquitto in a docker container.
There are just a view Sonoffs and NodeMCU’s as motion sensors/switches that send ‘ON’ to different topics. I will test further when i’m at home in the evening and file a new topic/issue if necessary.

MySenors component stoped working:

Testing configuration at /config
ERROR:homeassistant.config:Invalid config for [mysensors]: length of value must be at least 1 for dictionary value @ data['mysensors']['gateways'][0]['topic_in_prefix']. Got None
length of value must be at least 1 for dictionary value @ data['mysensors']['gateways'][0]['topic_out_prefix']. Got None. (See /config/configuration.yaml, line 90). Please check the docs at https://home-assistant.io/components/mysensors/
ERROR:homeassistant.setup:Setup failed for mysensors: Invalid config.
Failed config
  mysensors: 
    gateways: [source /config/configuration.yaml:91]
      - device: 192.168.1.186
        tcp_port: 5003
    optimistic: True
    persistence: True
    retain: True
    version: 2.0

  General Errors: 
    - Setup failed for mysensors: Invalid config.

Successful config (partial)
  mysensors:

Hi,
what is the ETA for 0.64.1?

Thanks,
Klaus

Thanks for the report. Will be fixed in 0.64.1

1 Like

Thank you for the new release. However for MySensors I get:

ERROR:homeassistant.config:Invalid config for [mysensors]: length of value must be at least 1 for dictionary value @ data['mysensors']['gateways'][0]['topic_in_prefix']. Got None
length of value must be at least 1 for dictionary value @ data['mysensors']['gateways'][0]['topic_out_prefix']. Got None. (See /home/pi/.homeassistant/configuration.yaml, line 61). Please check the docs at https://home-assistant.io/components/mysensors/
ERROR:homeassistant.setup:Setup failed for mysensors: Invalid config.
Failed config
  mysensors: 
    gateways: [source /home/pi/.homeassistant/hubs/mysensors.yaml:1]
      - baud_rate: 115200
        device: /dev/ttyUSB0
        persistence_file: /home/pi/.homeassistant/mysensors.json
    optimistic: False
    persistence: True
    version: 1.5

  General Errors: 
    - Setup failed for mysensors: Invalid config.

I had the same problem with Mysensors, as a workaround I added this to my gateway config:

topic_in_prefix: 'mygateway1-out'
topic_out_prefix: 'mygateway1-in'

I don’t use the topics but mysensors works again.

Its great, no doubt, but still no BlueTooth support for NUC. I bet Rolls Royce component will be sooner than BT for NUC LOL :rofl:

I had a problem with platform: broadlink, lost all switches.

Super! Thanks.

Can confirm this works in Docker. Users need to execute this via SSH inside their container e.g. docker exec -it home-assistant bash, followed by a restart

1 Like

I have updated to 0.64 my broadlink devices show normally except the climate.broadlink which is custom_component and has been fix.
Broadlink works fine with HA 0.64 ^^

1 Like

Hi,

An issue I see with miio air purifier after 0.64:
2018-02-26 13:12:18 ERROR (MainThread) [homeassistant.components.fan.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 172.26.104.23
2018-02-26 13:12:49 ERROR (SyncWorker_10) [miio.device] Unable to discover a device at address 172.26.104.23

I have the same problem.

One issue with Broadlink climate (AC), running on HASSio:

ERROR:homeassistant.config:Invalid config for [climate.broadlink]: string value is None for dictionary value @ data['default_operation_from_idle']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/climate.broadlink/

and also:

Error while setting up platform broadlink
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/broadlink/__init__.py", line 5, in <module>
    from Crypto.Cipher import AES
  File "/usr/lib/python3.6/site-packages/Crypto/Cipher/__init__.py", line 3, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "/usr/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py", line 29, in <module>
    from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
  File "/usr/lib/python3.6/site-packages/Crypto/Util/_raw_api.py", line 32, in <module>
    from Crypto.Util.py3compat import byte_string
ImportError: cannot import name 'byte_string'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/broadlink.py", line 60, in setup_platform
    broadlink_data = BroadlinkData(update_interval, host, mac_addr, timeout)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/broadlink.py", line 107, in __init__
    import broadlink
  File "/usr/lib/python3.6/site-packages/broadlink/__init__.py", line 7, in <module>
    import pyaes
ModuleNotFoundError: No module named 'pyaes'

This is the custom_component. There is an update for this component as well. Update it and restart your HA.

Updating the Broadlink custom component to the latest version fixed the problem. Thanks!

Netatmo component raises an error on docker version 0.64:

Module name: “<function string at 0x7f8ff2fc8e18>” not found. But all the sensors seemed to be working.

Having issues with zigbee loading with 0.64. Lookes like the same byte_string error is affecting multiple components.

Mon Feb 26 2018 09:58:15 GMT-0500 (EST)

Error during setup of component zha
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 145, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File “/usr/lib/python3.6/site-packages/homeassistant/components/zha/init.py”, line 96, in async_setup
from bellows.zigbee.application import ControllerApplication
File “/usr/lib/python3.6/site-packages/bellows/zigbee/application.py”, line 7, in
import zigpy.application
File “/usr/lib/python3.6/site-packages/zigpy/application.py”, line 6, in
import zigpy.appdb
File “/usr/lib/python3.6/site-packages/zigpy/appdb.py”, line 4, in
import zigpy.device
File “/usr/lib/python3.6/site-packages/zigpy/device.py”, line 5, in
import zigpy.endpoint
File “/usr/lib/python3.6/site-packages/zigpy/endpoint.py”, line 7, in
import zigpy.util
File “/usr/lib/python3.6/site-packages/zigpy/util.py”, line 6, in
from Crypto.Cipher import AES
File “/usr/lib/python3.6/site-packages/Crypto/Cipher/init.py”, line 3, in
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File “/usr/lib/python3.6/site-packages/Crypto/Cipher/_mode_ecb.py”, line 29, in
from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,
File “/usr/lib/python3.6/site-packages/Crypto/Util/_raw_api.py”, line 32, in
from Crypto.Util.py3compat import byte_string
ImportError: cannot import name ‘byte_string’

1 Like

How do you use pip ? Not working…

core-ssh:~# hassio homeassistant stop
Success homeassistant/stop
core-ssh:~# pip install pyaes
-ash: pip: not found
core-ssh:~#

^^^^^ That will NOT work with HASSio.