Import weather data other than Wunderground
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 28
- Joined: Sunday 01 July 2018 1:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Import weather data other than Wunderground
Hi all,
allthough Wunderground doesn't work with free API's anymore, I still like the functionality of showing a forecast on my dashboard.
I currently use Darksky in Domoticz as a Virtual Weatherstation but I don't know how to import this into Dashticz.
Can anyone help me out?
allthough Wunderground doesn't work with free API's anymore, I still like the functionality of showing a forecast on my dashboard.
I currently use Darksky in Domoticz as a Virtual Weatherstation but I don't know how to import this into Dashticz.
Can anyone help me out?
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Alternatives:
Use forecast.io in a frame like:
or use OpenWeatherMap. Support has been recently added to the beta of dashticz:
You cannot use OWM and Wunderground simultaneously.
Use forecast.io in a frame like:
Code: Select all
var frames = {}
frames.weather = {refreshiframe:300000,height:230,frameurl:"//forecast.io/embed/#lat=49.2624&lon=-123.1155&name=Vancouver&color=#00aaff&font=Helvetica&fontColor=#ffffff&units=si&text-color=#fff&",width:12}
Code: Select all
//weather new OWM
config['owm_api'] = 'xxx';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['static_weathericons'] = 1;
columns[2] = {}
columns[2]['width'] = 6;
columns[2]['blocks'] = ['currentweather_big_owm','weather_owm'];
-
- Posts: 28
- Joined: Sunday 01 July 2018 1:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Hi, how can I make the forecast.io frame in the Dutch language?
It looks very good by the way!
It looks very good by the way!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Import weather data other than Wunderground
Add this to the url you used
in your case add lang=[nl] You need to do some digging in the Dashticz-files thoughlang=[language] optional
Return summary properties in the desired language. (Note that units in the summary will be set according to the units parameter, so be sure to set both parameters appropriately.) language may be:
en: English (which is the default)
nl: Dutch
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
is there someone that have a windchill sensor or data can make a windchill?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Import weather data other than Wunderground
Windchill is just the result of a formula with temperature and windspeed as factors.Derik wrote:is there someone that have a windchill sensor or data can make a windchill?
Verstuurd vanaf mijn ONEPLUS A3003 met Tapatalk
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
I now...
Only what i look is a device that give me the chill in a sensor..
I have multiple weather data sensors
Only no separate windchill device..
Looks great on my dashboard.
windchill -10: kids need warmer clothing's
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Import weather data other than Wunderground
I can build a dzVents script if you give me the names of your outside temperature device and the name of your windspeed device.
btw: did you reload the dzVents script for the months and got it working ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
Nope months scripts not working unfortunately..waaren wrote: ↑Tuesday 21 August 2018 9:28I can build a dzVents script if you give me the names of your outside temperature device and the name of your windspeed device.
btw: did you reload the dzVents script for the months and got it working ?
How do you want my data?
pm or?
When you install the buienradar plugin you get a windchill perhaps you can split this data also? Temp: Wind:
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Import weather data other than Wunderground
Script to get windChill from temperature- and windSpeed deviceDerik wrote: ↑Tuesday 21 August 2018 23:18Nope months scripts not working unfortunately..
Code: Select all
-- setWindChill.lua
return {
on = { timer = { "every 10 minutes" }}, -- the script will run every 10 minutes
-- logging = { level = domoticz.LOG_DEBUG, -- this sets the loglevel. Options are LOG_INFO, LOG_DEBUG, LOG_ERROR or LOG_FORCE
-- marker = "setWindchill" }, -- the marker will ensure you can see where information comes from
execute = function(dz) -- the parm dz (short for domoticz) will ensure all information from domoticz is available in this script
----- enter your settings below this line -------------------------------------------------------------------------------
myTemperature = dz.devices("Buiten: Terras") -- Name of your windDevice within quotes or idx without quotes
myWind = dz.devices("D.M.: Buienradar - Wind") -- Name of your temperatureDevice within quotes or idx without quotes
myWindChill = dz.devices("new Windchill") -- Name of your windchill Device within quotes or idx without quotes
----- enter your settings above this line -------------------------------------------------------------------------------
function windChill(windSpeed, temperature)
if temperature == nil then return -99 -- Should not happen
elseif windSpeed == nil then return -99 -- Should not happen
-- chill temperature cannot be calculated for these conditions
elseif windSpeed < 1.3 or windSpeed > 49 or temperature < -46 or temperature > 17 then return temperature
end
return dz.utils.round(13.12 + (0.6215 * temperature) - (13.96 * math.pow(windSpeed, 0.16)) + (0.4867 * temperature * math.pow(windSpeed, 0.16)), 1)
end
myWindChill.updateTemperature(windChill(myWind.speed,myTemperature.temperature))
end
}
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
Thanks...waaren wrote: ↑Tuesday 21 August 2018 23:29Script to get windChill from temperature- and windSpeed device
Code: Select all
-- setWindChill.lua return { on = { timer = { "every 10 minutes" }}, -- the script will run every 10 minutes -- logging = { level = domoticz.LOG_DEBUG, -- this sets the loglevel. Options are LOG_INFO, LOG_DEBUG, LOG_ERROR or LOG_FORCE -- marker = "setWindchill" }, -- the marker will ensure you can see where information comes from execute = function(dz) -- the parm dz (short for domoticz) will ensure all information from domoticz is available in this script ----- enter your settings below this line ------------------------------------------------------------------------------- myTemperature = dz.devices("Buiten: Terras") -- Name of your windDevice within quotes or idx without quotes myWind = dz.devices("D.M.: Buienradar - Wind") -- Name of your temperatureDevice within quotes or idx without quotes myWindChill = dz.devices("new Windchill") -- Name of your windchill Device within quotes or idx without quotes ----- enter your settings above this line ------------------------------------------------------------------------------- function windChill(windSpeed, temperature) if temperature == nil then return -99 -- Should not happen elseif windSpeed == nil then return -99 -- Should not happen -- chill temperature cannot be calculated for these conditions elseif windSpeed < 1.3 or windSpeed > 49 or temperature < -46 or temperature > 17 then return temperature end return dz.utils.round(13.12 + (0.6215 * temperature) - (13.96 * math.pow(windSpeed, 0.16)) + (0.4867 * temperature * math.pow(windSpeed, 0.16)), 1) end myWindChill.updateTemperature(windChill(myWind.speed,myTemperature.temperature)) end }
Zou ergens iets met afronden kunnen zijn?? And how do you calculate this chill?Is this a formula that is normal used by more weather stations??
Works:
And is it perhaps possible that u send the calculate value to a text device
Something like:
The windchill is now -25 degrees [ where -25 the value is @ that moment ] [ Or in NL: De winchill is nu -25 graden ]
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Import weather data other than Wunderground
Yes. See new code below
Using the JAG/TI-method https://nl.wikipedia.org/wiki/GevoelstemperatuurAnd how do you calculate this chill?Is this a formula that is normal used by more weather stations??
Yes. See new code belowAnd is it perhaps possible that u send the calculate value to a text device
Something like:
The windchill is now -25 degrees [ where -25 the value is @ that moment ] [ Or in NL: De winchill is nu -25 graden ]
Code: Select all
-- setWindChill.lua
return {
on = { timer = { "every 10 minutes" }}, -- the script will run every 10 minutes
-- logging = { level = domoticz.LOG_DEBUG, -- this sets the loglevel. Options are LOG_INFO, LOG_DEBUG, LOG_ERROR or LOG_FORCE
-- marker = "setWindchill" }, -- the marker will ensure you can see where information comes from
execute = function(dz) -- the parm dz (short for domoticz) will ensure all information from domoticz is available in this script
----- enter your settings below this line -------------------------------------------------------------------------------
myTemperature = dz.devices("Buiten: Terras") -- Name of your temperatureDevice within quotes or idx without quotes
myWind = dz.devices("D.M.: Buienradar - Wind") -- Name of your windDevice within quotes or idx without quotes
myWindChillTemp = dz.devices("new Windchill") -- Name of your windchill temp Device within quotes or idx without quotes or remove line completely if no temp device
myWindChillText = dz.devices("windChillText") -- Name of your windchill text Device within quotes or idx without quotes or remove line completely if no text device
----- enter your settings above this line -------------------------------------------------------------------------------
function windChill(windSpeed, temperature)
if temperature == nil then return -99 -- Should not happen
elseif windSpeed == nil then return -99 -- Should not happen
-- chill temperature cannot be calculated for these conditions
elseif windSpeed < 1.3 or windSpeed > 49 or temperature < -46 or temperature > 17 then return temperature
end
return 13.12 + (0.6215 * temperature) - (13.96 * math.pow(windSpeed, 0.16)) + (0.4867 * temperature * math.pow(windSpeed, 0.16))
end
local windChill = dz.utils.round(windChill(myWind.speed,myTemperature.temperature))
if myWindChillTemp then
if myWindChillTemp.temperature ~= windChill then
myWindChillTemp.updateTemperature(windChill)
end
end
if myWindChillText then
local windChillText = "De windchill is nu " .. windChill .. " graden."
if myWindChillText.text ~= windChillText then
myWindChillText.updateText(windChillText)
end
end
end
}
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
Dear Waaren..
Realy nice to see how you fix this..
The text is running also...
Only one thing
Probably your formula is wrong??
The chill is the same like outside temp..
And my other sensors give a different chill then your code: Yours: So perhaps you can check?
edit:
The script is not running for more the a half hour.,,,
So where do i go wrong?
Realy nice to see how you fix this..
The text is running also...
Only one thing
Probably your formula is wrong??
The chill is the same like outside temp..
And my other sensors give a different chill then your code: Yours: So perhaps you can check?
edit:
The script is not running for more the a half hour.,,,
So where do i go wrong?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Import weather data other than Wunderground
Hi Derik,
In the edited script below, I switched on debug logging so if you can check again and look at the relevant loglines (the ones with the text "setWindchill" in it)
I doublechecked the formula and it should report the windchill temp calculated using the JAG/TI-method JAG/TI-method
Please note that according to this JAG/TI calculation the windchill temperature is equal to the standard temperature for temperatures > 17 Celsius and for windspeeds < 1.3 meter/second.
Also the script does not update the textdevice if the windChill temperature has not changed in the last 10 minutes.
Code: Select all
-- setWindChill.lua
return {
on = { timer = { "every 10 minutes" }}, -- the script will run every 10 minutes
logging = { level = domoticz.LOG_DEBUG, -- this sets the loglevel. Options are LOG_INFO, LOG_DEBUG, LOG_ERROR or LOG_FORCE
marker = "setWindchill" }, -- the marker will ensure you can see where information comes from
execute = function(dz) -- the parm dz (short for domoticz) will ensure all information from domoticz is available in this script
----- enter your settings below this line -------------------------------------------------------------------------------
myTemperature = dz.devices("Buiten: Terras") -- Name of your temperatureDevice within quotes or idx without quotes
myWind = dz.devices("D.M.: Buienradar - Wind") -- Name of your windDevice within quotes or idx without quotes
myWindChillTemp = dz.devices("new Windchill") -- Name of your windchill temp Device within quotes or idx without quotes or remove line completely if no temp device
myWindChillText = dz.devices("windChillText") -- Name of your windchill text Device within quotes or idx without quotes or remove line completely if no text device
----- enter your settings above this line -------------------------------------------------------------------------------
local function windChill(windSpeed, temperature)
if temperature == nil then return -99 -- Should not happen
elseif windSpeed == nil then return -99 -- Should not happen
-- chill temperature cannot be calculated for these conditions
elseif windSpeed < 1.3 or windSpeed > 49 or temperature < -46 or temperature > 17 then
return temperature
end
return 13.12 + (0.6215 * temperature) - (13.96 * math.pow(windSpeed, 0.16)) + (0.4867 * temperature * math.pow(windSpeed, 0.16))
end
dz.log("windspeed: " .. myWind.speed .. ", temperature: " .. myTemperature.temperature,dz.LOG_DEBUG)
local calculatedWindChill = dz.utils.round(windChill(myWind.speed,myTemperature.temperature))
if myWindChillTemp then
myWindChillTemp.updateTemperature(calculatedWindChill)
end
if myWindChillText then
local windChillText = "De windchill is nu " .. calculatedWindChill .. " graden."
if myWindChillText.text ~= windChillText then
myWindChillText.updateText(windChillText)
end
end
end
}
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Import weather data other than Wunderground
Is Accuweather as Device an alternative, optional source for your info?
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Import weather data other than Wunderground
Dear waaren
Thanks for the great script!!!
Works fine until now...
Hope i can do sometime something for you!!!
xxx
Thanks for the great script!!!
Works fine until now...
Hope i can do sometime something for you!!!
xxx
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Re: Import weather data other than Wunderground
Does not work for me. Dashticz ignores the code: no error, no weather block.Lokonli wrote: ↑Tuesday 03 July 2018 18:59Code: Select all
//weather new OWM config['owm_api'] = 'xxx'; config['owm_city'] = 'Mainaschaff'; config['owm_name'] = ''; config['owm_country'] = 'de'; config['static_weathericons'] = 1; columns[2] = {} columns[2]['width'] = 6; columns[2]['blocks'] = ['currentweather_big_owm','weather_owm'];
What should be in the omw_name?
How can I check city / country names? Is it case sensitive? Is every city a number?
Update: problem solved, was not on the latest beta of Dashticz
- Thuis
- Posts: 251
- Joined: Tuesday 11 September 2018 11:36
- Target OS: Linux
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Import weather data other than Wunderground
Hi, I am stuck,
config['owm_api'] = 'some_key';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['static_weathericons'] = 1;
and then in the column
'currentweather_big_owm','weather_owm'
Because I can not find anything to get this to dutch language:
//forecast.io/embed/#lat=xxxxx/&lon=xxxxx&name=xxxxxx&lang=nl&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si
Thus i decided to try the openweathermap.
So my headache is growing and growing, I have been searching, reading and trying for 8 hours straight and really have no clue how to get the openweathermap forecast 'currentweather_big_owm','weather_owm' in Dashticz. Looked in the weather.js, also no mention of OWM. So how does this 'currentweather_big_owm' or 'weather_owm' know where it has to get its data from. Where is the link, between 'weather_owm' and the config[owm]. I see the link between the wunderground, config[wu_api] etc and the 'weather_big' it is in the weather.js.
The forecast.io iframe thingy is working great, but in English, so bummer, saw they had widgets to embed, but played around with it, not succeeded, so tomorrow maybe.
Well then, if anyone has forecast.io working in the Dutch language, please share, like the correct link to put in the url: for the iframe,
Or anyone has the openweathermap config 'weather_owm' working please do tell. And not just a cryptic message, that I have to decipher, just a plain answer, please¿? Maybe to you this is all very simple, but I am no professor, and I'm just trying to make it work thru logic.
Thanks in advance.
config['owm_api'] = 'some_key';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['static_weathericons'] = 1;
and then in the column
'currentweather_big_owm','weather_owm'
Because I can not find anything to get this to dutch language:
//forecast.io/embed/#lat=xxxxx/&lon=xxxxx&name=xxxxxx&lang=nl&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si
Thus i decided to try the openweathermap.
So my headache is growing and growing, I have been searching, reading and trying for 8 hours straight and really have no clue how to get the openweathermap forecast 'currentweather_big_owm','weather_owm' in Dashticz. Looked in the weather.js, also no mention of OWM. So how does this 'currentweather_big_owm' or 'weather_owm' know where it has to get its data from. Where is the link, between 'weather_owm' and the config[owm]. I see the link between the wunderground, config[wu_api] etc and the 'weather_big' it is in the weather.js.
The forecast.io iframe thingy is working great, but in English, so bummer, saw they had widgets to embed, but played around with it, not succeeded, so tomorrow maybe.
Well then, if anyone has forecast.io working in the Dutch language, please share, like the correct link to put in the url: for the iframe,
Or anyone has the openweathermap config 'weather_owm' working please do tell. And not just a cryptic message, that I have to decipher, just a plain answer, please¿? Maybe to you this is all very simple, but I am no professor, and I'm just trying to make it work thru logic.
Thanks in advance.
I Love Domoticz ! And the community around it :-)
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Import weather data other than Wunderground
I have a weird problem whereby, using the latest beta, the font colour in frames.weather switches on refreshiframe. Like many others, I replaced WU with
First time the font is white but on refresh, it turns grey.
Any idea why that is and how to resolve?
H
Code: Select all
frames.weather = {refreshiframe:1800000,height:230,frameurl:"http://forecast.io/embed/#lat=52.536129&lon=-5.453455&name=Lelystad&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}
Any idea why that is and how to resolve?
H
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Import weather data other than Wunderground
Are you using Dashticz beta? OWM is not included in master.Thuis wrote: ↑Tuesday 02 October 2018 20:26 Hi, I am stuck,
config['owm_api'] = 'some_key';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['static_weathericons'] = 1;
and then in the column
'currentweather_big_owm','weather_owm'
Because I can not find anything to get this to dutch language:
//forecast.io/embed/#lat=xxxxx/&lon=xxxxx&name=xxxxxx&lang=nl&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si
Thus i decided to try the openweathermap.
So my headache is growing and growing, I have been searching, reading and trying for 8 hours straight and really have no clue how to get the openweathermap forecast 'currentweather_big_owm','weather_owm' in Dashticz. Looked in the weather.js, also no mention of OWM. So how does this 'currentweather_big_owm' or 'weather_owm' know where it has to get its data from. Where is the link, between 'weather_owm' and the config[owm]. I see the link between the wunderground, config[wu_api] etc and the 'weather_big' it is in the weather.js.
The forecast.io iframe thingy is working great, but in English, so bummer, saw they had widgets to embed, but played around with it, not succeeded, so tomorrow maybe.
Well then, if anyone has forecast.io working in the Dutch language, please share, like the correct link to put in the url: for the iframe,
Or anyone has the openweathermap config 'weather_owm' working please do tell. And not just a cryptic message, that I have to decipher, just a plain answer, please¿? Maybe to you this is all very simple, but I am no professor, and I'm just trying to make it work thru logic.
Thanks in advance.
Who is online
Users browsing this forum: No registered users and 1 guest