DarkSky, Difference in Widgets

Moderator: leecollings

Post Reply
Toulon7559
Posts: 843
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

DarkSky, Difference in Widgets

Post by Toulon7559 »

2 Raspberries with Domoticz in operation:
1*Raspberry_B and 1*Raspberry_3B+
Both have same (latest) release of Domoticz.
Raspberry_B has DarkSky-widgets for longer time.
Today installed DarkSky-widgets on the Raspberrry_3B+, with same API and same Geo-location as for the Raspberry_B.

A number of common, 'normal' widgets, but to my surprise also a difference in widgets:
- Raspberry_B has SolarRadiation
- Raspberry_3B+ has Ozone.
For both Raspberries have looked under 'Unused Devices' for the apparently, missing device, but negative.

Anybody an explanation for this difference?
And a simple, remedy to get alignment of the DarkSky-widgets on the 2 Raspberries?


Notes
For my Raspberry_3B+ the Ozone-info is an interesting addition, because it might have value for the processing on that machine of the measured dust-info, if info is available about the meaning/background of the ozone-value].

Rummaging through the DarkSky-website, also see that Cloudcover-info is available from DarkSky, apparently not (yet) included under the Domoticz-hardware: not a big deal, but why yourself dissect the JSON-file from DarkSky, or why call the hourly Ogimet data like in this script to calculate solar radiation, if Domoticz easier may provide more frequent info from Darksky?
Obviously under the provision that Darksky-info is at least of same quality as 'official' Ogimet.
Last edited by Toulon7559 on Wednesday 24 April 2019 20:21, edited 6 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.
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: DarkSky, Difference in Widgets

Post by Antori91 »

Hello,
Are you sure you use the same Domoticz version in the two Raspberry? I use two Domoticz versions (4.97 and 3.5877) in two different platforms and see the same thing as you: in 3.5877 version there is a solar radiation device and in 4.97 this device is ozone. If you look further you will see the values for these two devices are the same. I've concluded at least in my environment that Darksky implementation is wrong in 3.5877 version because the device seems actually an ozone one.
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
User avatar
Herman-H
Posts: 32
Joined: Saturday 05 April 2014 22:10
Target OS: Linux
Domoticz version:
Contact:

Re: DarkSky, Difference in Widgets

Post by Herman-H »

On my Raspberry 2B i have the DarkSky Forecast Ozone Sensor widget with Domoticz V4.79
Toulon7559
Posts: 843
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: DarkSky, Difference in Widgets

Post by Toulon7559 »

On both Raspberries I have latest beta-release Domoticz = v4.10619
Indeed, it is strange that the numeric values for Solar Radiation and for Ozone are identical:
that cannot be correct.
In hindsight, that kind of 'discrepancies' for me were reason in the past to discard DarkSky as serious reference info, not considering whether the background reason is errors in the Domoticz-implementation or in DarkSky itself.
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.
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: DarkSky, Difference in Widgets

Post by Antori91 »

I assume you've installed Darksky in a previous version of Domoticz and then upgrade Domoticz up to the latest beta. In the Domoticz platform where you have the wrong solar radiation sensor, remove Darksky and then install again Darksky. After that, I assume you will have the ozone sensor instead of the wrong solar radiation one.
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Toulon7559
Posts: 843
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: DarkSky, Difference in Widgets

Post by Toulon7559 »

@Antori91

Thanks for the hint.
Always assumed that plugins would be updated/aligned with the releases, but apparently not .......

For read-out from DarkSky is desired for SolarRadiation and CloudCover (etc.), I will have to make my own, separate software for data-extraction from DarkSky and for translation to a Virtual Sensor in Domoticz.

In hindsight good arguments why I did not believe the info from the older installation:
SolarRadiation should be 0 at night, while Ozone also at night is fluctuating around a >>0 level.
However, such experience breeds suspicion.
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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests