Asystent AI
weather webview pro...
 
Powiadomienia
Wyczyść wszystko

weather webview problem

1 Wpisów
1 Użytkownicy
0 Reactions
1,977 Wyświetleń
(@gerdii)
Wpisów: 27
Praktykant
Autor tematu
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#209]

Hej czy możecie pomóc w konfiguracji layout weather.

Oczywiscie jest problem  z katalogami w OH2. Ja mam zwykłego rasbiana nie openHAbian i mimo stworzenia kilkunastu katalogów wciaż dostaję 404. Może ktoś już to zwalczył ? Wydaje mi się, że już wszystkiego próbowałem 🙂

HowTo:
1. Edit weather.html (or example.html by default) so that all directories start with "static/" e.g. . Find "weather-data/" and replace it by "static/weather-data/"
2. move this weather.html (or example.html by default) to /var/lib/openhab2/webapps/weather-data/layouts/
3. move the rest of the complete directory "weather-data" with the subfolders "images" and "layouts" to "/etc/openhab2/html".

 

Frame label="Dzisaj" {
Webview url="/weather?locationId=home&layout=example&iconset=colorful" height=7
}

HTTP ERROR 404

Problem accessing /weather. Reason:


 
Dodane : 09/01/2018 1:34 pm
Udostępnij: