Natywne wsparcie dla MQTT

Raddii
Posts: 148
Joined: Fri Jan 17, 2020 12:17 pm

Post

Coś nie działa.
34.png
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Pokaż config
SUPLA.... Nareszcie w domu.
Raddii
Posts: 148
Joined: Fri Jan 17, 2020 12:17 pm

Post

35.png
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Złe dane podstawiłeś pod {username}

[EDIT]
i jeszcze dodaj

Code: Select all

 payload_not_available: "false"
SUPLA.... Nareszcie w domu.
Luther
Posts: 116
Joined: Sun Feb 16, 2020 8:19 pm

Post

Luther wrote: Thu Feb 18, 2021 12:29 pm Mam do Was pytanie: Czy Home Assistant będzie działał na raspberry zero w?
A na której malinie działa? Ktoś może testował? Bo widzie ze z Raspberry zero będzie lipa :cry:
3x Pnw-01, 2x Row-01, 2x Row-02, 1x Row-07, 1x Slw-02, 1x Diw-01, Slw-01, Lew-02, Lew-01
User avatar
uchnast.michal
Posts: 1334
Joined: Tue Jun 04, 2019 11:37 am
Has thanked: 7 times

Post

Luther wrote: Thu Feb 18, 2021 4:19 pm
Luther wrote: Thu Feb 18, 2021 12:29 pm Mam do Was pytanie: Czy Home Assistant będzie działał na raspberry zero w?
A na której malinie działa? Ktoś może testował? Bo widzie ze z Raspberry zero będzie lipa :cry:
Mój postawiłem na qNAPie > debianie. Działa stabilnie, urządzenia USB wykrywa. Gdyby ktoś byl zainteresowany wyśle zestaw linków, z których korzystałem podczas instalacji.
User avatar
PuteR
Posts: 1473
Joined: Wed Dec 06, 2017 10:07 am

Post

pzygmunt wrote: Wed Feb 17, 2021 11:11 pmSprawdź logi
przemku coś źle zainstalowałem czy o co chodzi

Code: Select all

2021-02-18 17:34:16 ERROR (MainThread) [homeassistant.setup] Setup failed for certificate: Integration not found.
2021-02-18 17:34:16 ERROR (MainThread) [homeassistant.setup] Setup failed for password: Integration not found.
2021-02-18 17:34:16 ERROR (MainThread) [homeassistant.setup] Setup failed for broker: Integration not found.
2021-02-18 17:34:16 ERROR (MainThread) [homeassistant.setup] Setup failed for username: Integration not found.
2021-02-18 17:34:16 ERROR (MainThread) [homeassistant.setup] Setup failed for port: Integration not found.
2021-02-18 17:34:17 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry configuration.yaml for mqtt
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 239, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 453, in async_setup_entry
await hass.data[DATA_MQTT].async_connect()
File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 706, in async_connect
self.conf[CONF_BROKER],
KeyError: 'broker'
2021-02-18 17:34:17 ERROR (MainThread) [homeassistant.config] Invalid config for [discovery]: expected a dictionary for dictionary value @ data['discovery']. Got True. (See ?, line ?). Please check the docs at https://www.home-assistant.io/integrations/discovery
2021-02-18 17:34:17 ERROR (MainThread) [homeassistant.setup] Setup failed for discovery: Invalid config.
Nie znam się na tym ale chyba pokazuje że praktycznie wszystko jest błędne, podałem prawidłowo

Code: Select all

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

mqtt:
broker: mqtt12.supla.org
port: 8883
certificate: auto
username: tutaj nazwa użytkowniak z supla cloud
password: hasło wygenerowane w mqtt
discovery: true
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Przed tym co jest po mqtt: powinny być spacje
SUPLA.... Nareszcie w domu.
Raddii
Posts: 148
Joined: Fri Jan 17, 2020 12:17 pm

Post

pzygmunt wrote: Thu Feb 18, 2021 2:21 pm Złe dane podstawiłeś pod {username}

[EDIT]
i jeszcze dodaj

Code: Select all

 payload_not_available: "false"
@pzygmunt ale ja mam taki username
20210218_174319.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
PuteR
Posts: 1473
Joined: Wed Dec 06, 2017 10:07 am

Post

pzygmunt wrote: Thu Feb 18, 2021 4:44 pm Przed tym co jest po mqtt: powinny być spacje
Dodałem spacje i coś się zmieniło, ale dalej nie działa :(

Code: Select all

2021-02-18 17:54:40 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:54:40 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)
2021-02-18 17:54:43 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.22 (192.168.1.22). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15)
2021-02-18 17:54:43 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.22 (192.168.1.22). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15)
2021-02-18 17:54:44 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:54:44 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)
2021-02-18 17:54:46 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:54:46 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)
2021-02-18 17:54:50 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:54:50 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)
2021-02-18 17:54:59 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:54:59 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)
2021-02-18 17:55:15 ERROR (Thread-5) [homeassistant.components.mqtt] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2021-02-18 17:55:15 WARNING (Thread-5) [homeassistant.components.mqtt] Disconnected from MQTT server mqtt12.supla.org:8883 (5)

Return to “MQTT”