Dodanie urządzenia MQTT

ic3ek
Posts: 29
Joined: Fri Nov 13, 2020 12:00 am

Post

pzygmunt wrote: Mon Apr 10, 2023 7:12 pm To ostrzeżenie, a nie błąd. Nic więcej w logach nie ma ?
Nie zmieniałeś prefixu dla HA Discovery ?
mqtt.jpg

Myśle że o to pytasz , jeśli nie to prosze o nakierowanie gdzie mam sprawdzić ten prefix.

Log z Mosquito ->

Code: Select all

Mosquitto broker
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[21:20:55] INFO: SSL is not enabled
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
[21:20:57] INFO: Starting NGINX for authentication handling...
s6-rc: info: service legacy-services successfully started
[21:20:57] INFO: Starting mosquitto MQTT broker...
2023-04-10 21:20:57: Warning: Mosquitto should not be run as root/administrator.
[21:20:59] INFO: Successfully send discovery information to Home Assistant.
[21:20:59] INFO: Successfully send service information to the Supervisor.
Log z Core ->

Code: Select all

Home Assistant Core
2023-04-10 21:07:08.687 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2023-04-10 21:07:22.961 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500
Log z Supervisor ->

Code: Select all

Supervisor
23-04-10 21:06:32 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/brenner-tobias/cloudflared/amd64 with version 4.1.0
23-04-10 21:06:32 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-mosquitto with version 6.2.0
23-04-10 21:06:32 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-configurator with version 5.5.0
23-04-10 21:06:32 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-samba with version 10.0.0
23-04-10 21:06:32 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to smeagolworms4/mqtt-explorer with version browser-1.0.1
23-04-10 21:06:32 INFO (MainThread) [supervisor.backups.manager] Found 4 backup files
23-04-10 21:06:32 INFO (MainThread) [supervisor.discovery] Loaded 1 messages
23-04-10 21:06:32 INFO (MainThread) [supervisor.ingress] Loaded 21 ingress sessions
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-10 21:06:32 WARNING (MainThread) [supervisor.resolution.evaluations.base] Docker cgroup version 2 is not supported! {'1'} (more-info: https://www.home-assistant.io/more-info/unsupported/cgroup_version)
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:06:32 CRITICAL (MainThread) [supervisor.jobs] The following job conditions are ignored and will make the system unstable when they occur: {<JobCondition.HEALTHY: 'healthy'>}
23-04-10 21:06:32 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
23-04-10 21:06:32 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:06:32 INFO (MainThread) [__main__] Running Supervisor
23-04-10 21:06:32 WARNING (MainThread) [supervisor.core] System running in a unsupported environment!
23-04-10 21:06:32 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
23-04-10 21:06:32 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
23-04-10 21:06:32 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 1 add-ons
23-04-10 21:06:34 INFO (SyncWorker_3) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-mosquitto with version 6.2.0
23-04-10 21:06:39 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 1 add-ons
23-04-10 21:06:40 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-samba with version 10.0.0
23-04-10 21:06:42 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
23-04-10 21:06:43 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
23-04-10 21:06:45 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'supla'
23-04-10 21:06:45 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
23-04-10 21:06:45 INFO (MainThread) [supervisor.core] Start Home Assistant Core
23-04-10 21:06:45 INFO (SyncWorker_1) [supervisor.docker.interface] Starting homeassistant
23-04-10 21:06:45 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-04-10 21:06:58 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
23-04-10 21:06:58 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:07:07 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/adamoutler/mqtt-explorer repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/pawelka/hassio-addons repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/brenner-tobias/ha-addons repository
23-04-10 21:07:07 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-10 21:07:11 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of SofarSolarMQTT
23-04-10 21:07:11 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Supla MQTT Integration
23-04-10 21:07:11 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Supla Cloud & Server
23-04-10 21:07:11 WARNING (SyncWorker_3) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Cups Airprint
23-04-10 21:07:12 WARNING (SyncWorker_4) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of SofarSolarMQTT
23-04-10 21:07:12 WARNING (SyncWorker_4) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Supla MQTT Integration
23-04-10 21:07:12 WARNING (SyncWorker_4) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Supla Cloud & Server
23-04-10 21:07:12 WARNING (SyncWorker_4) [supervisor.addons.validate] Add-on config 'startup' with 'before' is deprecated. Please report this to the maintainer of Cups Airprint
23-04-10 21:07:12 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
23-04-10 21:07:12 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
23-04-10 21:07:24 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
23-04-10 21:07:24 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 4 add-ons
23-04-10 21:07:25 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-configurator with version 5.5.0
23-04-10 21:07:27 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on ghcr.io/brenner-tobias/cloudflared/amd64 with version 4.1.0
23-04-10 21:07:28 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/amd64 with version 14.1.3
23-04-10 21:07:32 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on smeagolworms4/mqtt-explorer with version browser-1.0.1
23-04-10 21:07:37 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
23-04-10 21:07:37 INFO (MainThread) [supervisor.core] Supervisor is up and running
23-04-10 21:07:37 INFO (MainThread) [supervisor.host.info] Updating local host information
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_IPV6_ERROR/ContextType.DNS_SERVER
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.NO_CURRENT_BACKUP/ContextType.SYSTEM
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.MULTIPLE_DATA_DISKS/ContextType.SYSTEM
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.IPV4_CONNECTION_PROBLEM/ContextType.SYSTEM
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.check] System checks complete
23-04-10 21:07:37 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
23-04-10 21:07:38 ERROR (MainThread) [supervisor.resolution.evaluations.container] Found image in unhealthy image list 'portainer/portainer-ce' on the host
23-04-10 21:07:38 WARNING (MainThread) [supervisor.resolution.evaluations.base] Found unsupported images: {'mariadb', 'supla/supla-cloud', 'portainer/portainer-ce', 'supla/supla-server'} (more-info: https://www.home-assistant.io/more-info/unsupported/software)
23-04-10 21:07:39 INFO (MainThread) [supervisor.host.services] Updating service information
23-04-10 21:07:39 INFO (MainThread) [supervisor.host.network] Updating local network information
23-04-10 21:07:39 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-04-10 21:07:39 CRITICAL (MainThread) [supervisor.jobs] The following job conditions are ignored and will make the system unstable when they occur: {<JobCondition.HEALTHY: 'healthy'>}
23-04-10 21:07:39 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
23-04-10 21:07:39 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
23-04-10 21:07:40 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
23-04-10 21:07:40 INFO (MainThread) [supervisor.host.manager] Host information reload completed
23-04-10 21:07:43 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from 9074a9fa_cloudflared
23-04-10 21:08:08 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
23-04-10 21:08:08 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
23-04-10 21:08:08 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
23-04-10 21:20:45 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_core_mosquitto application
23-04-10 21:20:50 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_core_mosquitto application
23-04-10 21:20:52 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-mosquitto with version 6.2.0
23-04-10 21:20:57 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'supla'
23-04-10 21:20:58 INFO (MainThread) [supervisor.auth] Successful login for 'supla'
23-04-10 21:20:59 ERROR (MainThread) [supervisor.services.modules.mqtt] There is already a MQTT service in use from core_mosquitto
23-04-10 21:27:36 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'supla'
23-04-10 21:27:37 INFO (MainThread) [supervisor.auth] Successful login for 'supla'
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 18920
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Ustaw wartości domyślne.
ic3ek
Posts: 29
Joined: Fri Nov 13, 2020 12:00 am

Post

pzygmunt wrote: Mon Apr 10, 2023 7:45 pm Ustaw wartości domyślne.
Ok. Więc znowu troche sie rozpisze.

Postawiłem mosquito na ip serwera, teraz brakujące encje sie pojawiły.

Lecz nie mam dostępu do wszystkich pozostałych encji które były w chmurze internetowej

I na odwrót jeśli postawie mosquito na svr7.supla.org to nie ma encji z własnego serwera.

Jak to ogarnąć żeby były wszystkie razem , z własnego serwera oraz chmury
User avatar
pzygmunt
Posts: 18920
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Masz prywatny serwer Supli ale chcesz też używać publicznego ?
ic3ek
Posts: 29
Joined: Fri Nov 13, 2020 12:00 am

Post

pzygmunt wrote: Mon Apr 10, 2023 8:23 pm Masz prywatny serwer Supli ale chcesz też używać publicznego ?
Przemku przecież pisałem wczesniej właśnie , że potrzebuje obydwóch integracji.

Mam 3 urządzenia które sa poza domem i są podłączone do internetowej chmury supli.

A reszta urządzeń jest na własnym serwerze w domu.

Cały czas rozchodziło sie o to ze urzadzenia z chmury "internet" "wasz serwer" po integracji przez mosquito widzi poprawnie wszystkie urządzenia.
Ale nie widzi urządzeń "encji" z prywatnego serwera. choć w mqtt te urządzenia były.
ic3ek
Posts: 29
Joined: Fri Nov 13, 2020 12:00 am

Post

Ok.

Ogarnołem wszystko.

Postawiłem brokera na własnym IP.

Dodałem bridge.conf do mosquito i wszystko smiga.
martinok
Posts: 126
Joined: Sat Dec 17, 2016 10:12 am
Location: Poznań

Post

ic3ek wrote: Mon Apr 10, 2023 8:19 pm



Postawiłem mosquito na ip serwera, teraz brakujące encje sie pojawiły.

I na odwrót jeśli postawie mosquito na svr7.supla.org to nie ma encji z własnego serwera.
Pokaż dokładnie gdzie i co masz wpisane.
viewtopic.php?p=149476#p149476
"Wiedza bez Praktyki jest Bezużyteczna , praktyka bez wiedzy Niebezpieczna"...

Return to “MQTT”