Hi all
Fresh install, I enable the I2C interface in the Hass.io configuration but with no luck
Home Assistant 0.105.2
Host system
|Hostname|hassio|
|System|HassOS 3.9|
|Deployment|production|
System Health
arch | armv7l |
---|---|
dev | false |
docker | true |
hassio | true |
os_name | Linux |
python_version | 3.7.6 |
timezone | Europe/Bucharest |
version | 0.105.2 |
virtualenv | false |
configuration.yaml
Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
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
binary_sensor:
- platform: mcp23017
i2c_address: 0x20
pins:
0: Test 1
1: Test 2
switch: - platform: mcp23017
i2c_address: 0x21
pins:
11: Test switch 1
12: Test switch 2
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
home-assistant.log
2020-02-10 00:46:08 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/real_ip.py”, line 39, in real_ip_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 72, in ban_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 135, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 123, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/config/core.py”, line 29, in post
errors = await async_check_ha_config_file(request.app[“hass”])
File “/usr/src/homeassistant/homeassistant/config.py”, line 784, in async_check_ha_config_file
res = await check_config.async_check_ha_config_file(hass)
File “/usr/src/homeassistant/homeassistant/helpers/check_config.py”, line 164, in async_check_ha_config_file
platform = p_integration.get_platform(domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 275, in get_platform
f"{self.pkg_path}.{platform_name}"
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/mcp23017/binary_sensor.py”, line 5, in
import board # pylint: disable=import-error
File “/usr/local/lib/python3.7/site-packages/board.py”, line 37, in
if board_id == ap_board.FEATHER_HUZZAH:
AttributeError: module ‘adafruit_platformdetect.board’ has no attribute ‘FEATHER_HUZZAH’