Natywne wsparcie dla MQTT
-
- Posts: 18356
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
W dockerowym 36 zmieniła się biblioteka ssl. Możesz spróbować przekompilować supla-server z podstawowym openssl-em.
-
- Posts: 339
- Joined: Wed Aug 30, 2017 8:47 am
@pzygmunt.Proszę o pomoc.Mam problem z integracją svr7.supla.org z HA
Logger: aiohttp.server
Source: components/hassio/__init__.py:609
First occurred: 16:46:07 (2 occurrences)
Last logged: 17:19:26
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 331, in post
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 609, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: password - Integration 'password' not found.
Integration error: port - Integration 'port' not found.
Invalid config for [discovery]: expected a dictionary for dictionary value @ data['discovery']. Got True. (See ?, line ?).
Integration error: broker - Integration 'broker' not found.
Integration error: certificate - Integration 'certificate' not found.
Integration error: username - Integration 'username' not found.
Logger: aiohttp.server
Source: components/hassio/__init__.py:609
First occurred: 16:46:07 (2 occurrences)
Last logged: 17:19:26
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/api/__init__.py", line 331, in post
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 609, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: password - Integration 'password' not found.
Integration error: port - Integration 'port' not found.
Invalid config for [discovery]: expected a dictionary for dictionary value @ data['discovery']. Got True. (See ?, line ?).
Integration error: broker - Integration 'broker' not found.
Integration error: certificate - Integration 'certificate' not found.
Integration error: username - Integration 'username' not found.
-
- Posts: 18356
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Masz błędny config. Włącz sobie weryfikację konfiguracji z poziomu GUI
-
- Posts: 339
- Joined: Wed Aug 30, 2017 8:47 am
mam tak.
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
broker: mqtt7.supla.org
port: 8883
certificate: auto
username: xxxxx
password: xxxxx
discovery: true
jakies ustawienia, przekierowanie w routerze potrzebne?
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
broker: mqtt7.supla.org
port: 8883
certificate: auto
username: xxxxx
password: xxxxx
discovery: true
jakies ustawienia, przekierowanie w routerze potrzebne?
-
- Posts: 339
- Joined: Wed Aug 30, 2017 8:47 am
mimo to
Sprawdzanie konfiguracji
Kliknij Sprawdź konfigurację, by upewnić się, że jest ona prawidłowa.
Konfiguracja nieprawidłowa
Integration error: password - Integration 'password' not found.
Integration error: port - Integration 'port' not found.
Invalid config for [discovery]: expected a dictionary for dictionary value @ data['discovery']. Got True. (See ?, line ?).
Integration error: broker - Integration 'broker' not found.
Integration error: certificate - Integration 'certificate' not found.
Integration error: username - Integration 'username' not found.
-
- Posts: 18356
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Stawiam, że skopiowałeś z instrukcji jak leci bez wcięć (spacji na początku) w odpowiednich miejscach. Mają one znaczenie.
-
- Posts: 55
- Joined: Fri Jun 07, 2019 9:08 am
Cześć,
Z pomocą tego wątku udało mi się zintegrować własną instancję Supla z Home Assitant. Na Supla mam moduł NICE i z poziomu Supla gdy klikam Open lub Close nic się nie dzieje ale gdy klikam Open/Close NICE 'tyka'. To jest dla mnie ok.
Jednak z poziomu HA mam aktywne tylko przyciski Open oraz Close natomiast ten trzeci jest nieaktywny. Sądzę, że Open i Close nie działają bo nawet na Supla nie działają. Natomiast ten trzeci jest wyszarzony więc pewnie nic do Supla nie przekazuje. Jak mogę to naprawić?
Z pomocą tego wątku udało mi się zintegrować własną instancję Supla z Home Assitant. Na Supla mam moduł NICE i z poziomu Supla gdy klikam Open lub Close nic się nie dzieje ale gdy klikam Open/Close NICE 'tyka'. To jest dla mnie ok.
Jednak z poziomu HA mam aktywne tylko przyciski Open oraz Close natomiast ten trzeci jest nieaktywny. Sądzę, że Open i Close nie działają bo nawet na Supla nie działają. Natomiast ten trzeci jest wyszarzony więc pewnie nic do Supla nie przekazuje. Jak mogę to naprawić?
-
- Posts: 2101
- Joined: Thu Nov 23, 2017 11:33 pm
- Location: Warszawa
Musisz dodać czujnik otwarcia.myrcin wrote: ↑Thu Feb 17, 2022 1:01 pm Cześć,
Z pomocą tego wątku udało mi się zintegrować własną instancję Supla z Home Assitant. Na Supla mam moduł NICE i z poziomu Supla gdy klikam Open lub Close nic się nie dzieje ale gdy klikam Open/Close NICE 'tyka'. To jest dla mnie ok.
Jednak z poziomu HA mam aktywne tylko przyciski Open oraz Close natomiast ten trzeci jest nieaktywny. Sądzę, że Open i Close nie działają bo nawet na Supla nie działają. Natomiast ten trzeci jest wyszarzony więc pewnie nic do Supla nie przekazuje. Jak mogę to naprawić?
https://www.facebook.com/groups/supladiy/