Uruchomiłem openHAB w chmurze. Dodałem urządzenie (puki co tylko DS18B20 z ESP32). Nie mogę na tą chwilę połączyć się aplikacja na androida i serwerem. W konfiguracji zdalnego serwera wpisałem adres https://myopenhab.org/ swoją nazwę użytkownika i hasło. Po uruchomieniu aplikacji cały czas dostaję komunikat. Jak naprawić błąd? Co zrobiłem źle?
masz w zainstalowanym OH3 w chmurze - zainstalowany openHAB Cloud Connector binding?
Mam.
w /var/log/opoenhab/openhab.log powinien być wpis związanych z openHAB Cloud Connector
- jest tam wszystko okay, nie ma podejrzanych wpisów - coś się nie łączy itp. Jak coś to załącz plik log do posta
- usera i hasło wpisujesz do myopenhab.org - tak? nie to OH3 w chmurze
- Jaki dostajesz komunikat, o którym wspomniałeś w pierwszym post.
pzdr.a
Jest taki plik, ale ma prawie 1,5GB. Rozwiązałem problem w ten sposób że stworzyłem w openhabie nową mapę strony, skopiowałem przykładowy kod mapy ze strony openhaba, odinstalowałem i zainstalowałem aplikację w telefonie i ruszyło. Także pliku już tego pliku nie będę dołączał. Dziękuję za zainteresowanie problemem.
skasuj tego openhab.log i uruchom ponownie OH - jak miał GB rozmiar to masz tam sporo problemów, które warto przenalizować zaraz po ponownym uruchomieniu OH
2022-08-25 16:55:56.863 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Warsaw'. 2022-08-25 16:55:56.877 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '51.1112563,20.8639176'. 2022-08-25 16:55:56.878 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'pl_PL'. 2022-08-25 16:56:02.498 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2022-08-25 16:56:03.926 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080 2022-08-25 16:56:04.182 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel 2022-08-25 16:56:04.598 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = e32647e3-4a03-4c32-bdc8-85978c6733c1, base URL = http://localhost:8080) 2022-08-25 16:56:04.720 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to 'localhost' with clientid 9e178ed3-9bb5-4617-b8d0-8d16a88ff1bc 2022-08-25 16:56:10.348 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:56:12.084 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started. 2022-08-25 16:56:20.307 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:56:30.299 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:56:40.289 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:56:50.265 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:57:00.311 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:57:10.304 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.3' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:57:20.294 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.3' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:57:30.283 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.3' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:57:40.273 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:58:13.410 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.8' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:58:23.485 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.8' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:58:33.477 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:58:43.371 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:58:53.480 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:03.479 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:13.476 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:23.476 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '24.9' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:33.481 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:43.407 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 16:59:53.412 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:03.415 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.1' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:13.372 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.1' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:24.283 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.1' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:33.410 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.1' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:43.408 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.1' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:00:53.414 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:01:03.404 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s' 2022-08-25 17:01:13.402 [WARN ] [ofiles.JSonPathTransformationProfile] - Could not transform state '25.2' with function 'JSONPATH:$.DS18B20.Temperature' and format '%s'
Zrobiłem tak jak napisałeś. Proszę.
no jak sam widzisz masz 6 razy na sekundę pisane do tego pliku z log'ami ostrzeżenie o problemie z jakąś konwersją temperatury, warto to naprawić, bo będzie Ci ten plik rósł i rósł.
Ja Ci nie pomogę na podstawie tylko tego log'a bo nie wiem co tam masz za sprzęt, jak ściągasz z niego dane, jak skonfigurowane w OH3
pzdr.a
Sprzęto to taki że używam ESP32-DevKit do którego pod GPIO5 podłączony jest DS18B20 zasilany 3,3V. DO GPIO21 SDA a do GPIO22 SCL od I2C.