Visual Crossing Weather as replacement of Darksky (obsolete)
Moderator: leecollings
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Visual Crossing Weather as replacement of Darksky (obsolete)
Thanks to Olifant1990 there is now a successor/replacement for the now obsolete Darksky weather lookup in latest 2023 Beta
This will also solve the forecast display error as darksky is the backup if no forecast service is choosen (currently only OpenWeather Map and Darksky).
DarkSky 1:1 replacement:
Go to https://www.visualcrossing.com/ and create an account
Copy the API key from account details
Go to your domoticz installation
Add new hardware of type Visual Crossing (Weather Lookup)
OR
DarkSky 1:1 replacement (when #5669 is merged)
Go to the hardware tab
Click on your DarkSky hardware
Replace API key
Change type to Visual Crossing (Weather Lookup)
Click "update" button
This will also solve the forecast display error as darksky is the backup if no forecast service is choosen (currently only OpenWeather Map and Darksky).
DarkSky 1:1 replacement:
Go to https://www.visualcrossing.com/ and create an account
Copy the API key from account details
Go to your domoticz installation
Add new hardware of type Visual Crossing (Weather Lookup)
OR
DarkSky 1:1 replacement (when #5669 is merged)
Go to the hardware tab
Click on your DarkSky hardware
Replace API key
Change type to Visual Crossing (Weather Lookup)
Click "update" button
Last edited by waltervl on Monday 17 April 2023 21:22, edited 1 time in total.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- FireWizard
- Posts: 1765
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Hello @waltervl
You said:
If you click "Forecast" in the Weather tab and hoover with your mouse over the icon, you will see : support.apple.com refused to connect. (Chrome browser).
The new "Visual Crossing΅ has no option to choose the forecast.
Only possible, if you have "OpenWeather Map" installed. If not, you will not have any forecast.
Regards
You said:
This is not working yet.This will also solve the forecast display error as darksky is the backup if no forecast service is choosen (currently only OpenWeather Map and Darksky).
If you click "Forecast" in the Weather tab and hoover with your mouse over the icon, you will see : support.apple.com refused to connect. (Chrome browser).
The new "Visual Crossing΅ has no option to choose the forecast.
Only possible, if you have "OpenWeather Map" installed. If not, you will not have any forecast.
Regards
-
- Posts: 643
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Looks Visual Crossing is buggy for now:
-Error (http) after providing brand new API key.
-Cannot be deactivated after creation for stop/start tests (for instance after trying to generate another key).
Could just delete the "hardware" to make it silent...
-Error (http) after providing brand new API key.
-Cannot be deactivated after creation for stop/start tests (for instance after trying to generate another key).
Could just delete the "hardware" to make it silent...
-
- Posts: 848
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Platform = Domoticz 2023.1 (build15182)
Installed VisualCrossing without problems under 'Hardware', but no resulting appearance of VC-elements under 'Devices':
the plugin seems to need some refinements .......
The JSON-file coming from VisualCrossing provides summary forecast-info under titles 'conditons' and 'description':
just to be extracted.
Personal experience is that the online translation by VisualCrossing from English into alternative, local language is not 100% correct.
As alternative for forecast-info perhaps still worthwhile to look a bit further into the API-services of the Norwegian Meteo-Institut at yr.no
Installed VisualCrossing without problems under 'Hardware', but no resulting appearance of VC-elements under 'Devices':
the plugin seems to need some refinements .......
The JSON-file coming from VisualCrossing provides summary forecast-info under titles 'conditons' and 'description':
just to be extracted.
Personal experience is that the online translation by VisualCrossing from English into alternative, local language is not 100% correct.
As alternative for forecast-info perhaps still worthwhile to look a bit further into the API-services of the Norwegian Meteo-Institut at yr.no
Last edited by Toulon7559 on Monday 17 April 2023 20:08, edited 7 times in total.
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: 561
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
A few bugs present. Naming of devices.
The mixture of barometer device with temp/humi device (and the naming)
Logic will get you from A to B. Imagination will take you everywhere.
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
It will only work if you have virtual crossing added as weather service in Domoticz (looking at the code..)FireWizard wrote: ↑Monday 17 April 2023 17:06 Hello @waltervl
You said:
This is not working yet.This will also solve the forecast display error as darksky is the backup if no forecast service is choosen (currently only OpenWeather Map and Darksky).
If you click "Forecast" in the Weather tab and hoover with your mouse over the icon, you will see : support.apple.com refused to connect. (Chrome browser).
The new "Visual Crossing΅ has no option to choose the forecast.
Only possible, if you have "OpenWeather Map" installed. If not, you will not have any forecast.
Regards
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- FireWizard
- Posts: 1765
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Hello @waltervl
Thanks Walter, but can you tell us how and where to add it as a weather service.(for forecast)
As a hardware device it's runs fine. No issues detected so far. Testing now for its accuracy.
Thanks Walter, but can you tell us how and where to add it as a weather service.(for forecast)
As a hardware device it's runs fine. No issues detected so far. Testing now for its accuracy.
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
It should do it automatically if you add the Virtual Crossing hardware.
Edit: I installed it just now and Forecast is indeed stll going to darksky/forecast/apple.com...
Edit: I installed it just now and Forecast is indeed stll going to darksky/forecast/apple.com...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Ceated github issue 5670 https://github.com/domoticz/domoticz/issues/5670
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Update from Darksky hardware is modified after implementing a next fix #5669. I updated first post.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 848
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
@waltervi
Changing or overriding of DarkSky is one way of getting to VisualCrossing-implementation.
As indicated I also did fresh installation on Raspberry running Domoticz' latest beta release, but have problems:
any hint howto remedy?
Note:
Reason that I choose 'overriding' of DarkSky virtual devices by means of a Python-script,
is that the subject Raspberries are running latest stable release of Domoticz, not beta.
Changing or overriding of DarkSky is one way of getting to VisualCrossing-implementation.
As indicated I also did fresh installation on Raspberry running Domoticz' latest beta release, but have problems:
any hint howto remedy?
Note:
Reason that I choose 'overriding' of DarkSky virtual devices by means of a Python-script,
is that the subject Raspberries are running latest stable release of Domoticz, not beta.
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.
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
@Toulon7559
Do not shoot the messenger....
I activated it and it works for me with some remarks as indicated in this thread. Perhaps location is incorrect?
Also Olifant1990 has an update ready that is not yet implemented to fix update hardware issue and the update Unknown naming issue.
Do not shoot the messenger....

I activated it and it works for me with some remarks as indicated in this thread. Perhaps location is incorrect?
Also Olifant1990 has an update ready that is not yet implemented to fix update hardware issue and the update Unknown naming issue.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 643
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Looks this was just commit this morning, so a beta build available soon. Thanks for the quick fix even if I don't see anything that may change the impossibility to disable behavior (may be indirect effect on HW type correction). On my side I did not modified DB but created new HW with the intend to replace previous Darksky sensors with new ones. Maybe change path could play a role here.
-
- Posts: 848
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
@walterviDo not shoot the messenger....

but with a different 'angle of attack' or different/unforeseen combinations sometimes different results on the path of development,
perhaps useful to report (indicating which angle is applicable).
My use of a Python-script is just for another temporary/interim support for the stable release of Domoticz,
without need (yet) to adapt scripts reading DarkSky-devices.
After install of Beta-release 15188 the VC-devices show under tab 'Devices' with correct naming etc.:


don't see a wind-device for Meteo Institutt Norway, although standard element in the JSON-file as produced by this example-url-call.
Subject for message in section 'Bugs&Problems'? Done!
Last edited by Toulon7559 on Thursday 20 April 2023 0:02, edited 3 times in total.
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: 561
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
It still is a combined Temp/Humi/Baro device, why not 2 devices name "Barometer" and "Temperature and Humidity"
Those type of devices exists and make more sense.
Those type of devices exists and make more sense.
Logic will get you from A to B. Imagination will take you everywhere.
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
I suppose Darksky did the same. Buienradar also combines those I believe.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 561
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
It is not Darksky or Buienradar how combines devices, but the programmer......
Logic will get you from A to B. Imagination will take you everywhere.
- waltervl
- Posts: 5378
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
I know but the programmer of Visual Crossing integration did a copy of Darksky integration.....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 643
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
Can confirm that's a perfect replacement: All sensors are there, only missing stuff is forecast (maybe VC does not provide them).
Since Darksky off I used Norway Institute that fed common sensors with Darksky but was missing wind. Could transfer those common to Visual Crossing, then reactivate Darksky and transfer the missing ones before it's suppression.
Thanks to the author for his PR & quick fix!
API key issue yesterday was I probably tried too quickly after account creation. Today that was OK.
-
- Posts: 561
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Visual Crossing Weather as replacement of Darksky (obsolete)
I tried to separate the THB device in a TH and B device.
forecast is a strange thing all together.
There is in dzVents already a difference in forecast between a Barometer device and a THB device, go figure???
Barometer device
Temperature+humidity+barometer device
forecast is a strange thing all together.
There is in dzVents already a difference in forecast between a Barometer device and a THB device, go figure???
Barometer device
Code: Select all
local constMapping = {
['stable'] = 0,
['sunny'] = 1,
['cloudy'] = 2,
['unstable'] = 3,
['thunderstorm'] = 4
}
Code: Select all
local constMapping = {
['noinfo'] = 0,
['sunny'] = 1,
['partlycloudy'] = 2,
['cloudy'] = 3,
['rain'] = 4
}
Logic will get you from A to B. Imagination will take you everywhere.
Who is online
Users browsing this forum: No registered users and 0 guests