Celaeno1
(Alex)
January 13, 2019, 9:29pm
21
@andy31
System Linux Linux Windows
===========================================================================================================
File Location Repository Installation Manual Installation
openHAB application /usr/share/openhab2 /opt/openhab2 C:\openHAB2\runtime
Additional add-on files /usr/share/openhab2/addons /opt/openhab2/addons C:\openHAB2\addons
Site configuration /etc/openhab2 /opt/openhab2/conf C:\openHAB2\conf
Log files /var/log/openhab2 /opt/openhab2/userdata/logs C:\openHAB2\userdata\logs
Userdata like rrd4j db /var/lib/openhab2 /opt/openhab2/userdata C:\openHAB2\userdata
Backups folder /var/lib/openhab2/backups /opt/openhab2/backups (not preconfigured)
Service configuration /etc/default/openhab2 (not preconfigured) C:\openHAB2\userdata\etc
I don’t know your samba shares. Above paths are “local paths” on your raspi.
andy31
(Andy)
January 13, 2019, 9:58pm
22
Learning something new everyday. I got it under this location
After opening weather file I can see completely different configs (collection of some settings I tried earlier) which definitely does not match with weather.cfg file I shared earlier.
apikey.OpenWeatherMap="deXXXXXXXXXXXXXXXXXXX"
location.<locationId1>.units="SI"
location.WR.language="en"
location.WR.latitude="47.8011"
location.WR.longitude="13.0448"
location.WR.name="City"
location.WR.provider="OpenWeatherMap"
location.WR.updateInterval="10"
location.myhome.language="en"
location.myhome.latitude="41.576"
location.myhome.longitude="21.570"
location.myhome.name="London,\ GB"
location.myhome.provider="OpenWeatherMap"
location.myhome.units="SI"
location.myhome.updateInterval="15"
location.myhomes.language="en"
location.myhomes.latitude="48.574"
location.myhomes.longitude="14.580"
location.myhomes.name="myhomes"
location.myhomes.provider="OpenWeatherMap"
location.myhomes.updateInterval="1"
service.pid="org.openhab.weather"
Should I correct the content of this file or should this be removed ?
Celaeno1
(Alex)
January 13, 2019, 10:03pm
23
@andy31
You could delete the file weather.config and restart openhab service.
andy31
(Andy)
January 13, 2019, 10:18pm
24
It works now Many thanks.
Now just need to add some additional items to expand on my weather widget.
Will set interval frequency to 60 as it should be fast enough.
1 Like
Celaeno1
(Alex)
January 13, 2019, 10:36pm
25
@andy31
Tick the solved mark please. Others maybe find this also helpful. Thanks.
kajarit
(Teb)
January 14, 2021, 1:39pm
26
Hi Everyone!
I’ve just started tinkering with weather widgets in OH3.
That page is moved, now you should write a request e-mail to get free API access (for 1 year, no automatic renewal):
API for non-commercial uses