JavaScript WDL version 1.0.0 alpha.

Hi all!
freshwdl works fine, great job.
I would to know if it’s possible to insert second temp sensor
thanks
Sergio

my freshwdl:
http://www.estensemeteo.com/

you can insert an additional temperature
see
https://github.com/Yerren/FreshWDL

Hey, to add another temperature sensor, do the following:

FreshWDLmaster.html changes:
On line 7: Change stylesheet01.css to stylesheet02.css
On line 16: Change InnerContent.js to InnerContent-02.js

Config.js changes:
Change the gaugeSettings field so it matches the following:
gaugeSettings = { //Gauges: apparent temperature barometer windChill graphHandlerBarometer graphHandlerRainfall graphHandlerTemperature graphHandlerWindSpeed humidity moonSun solar status rainfallTitle rainfallDay rainfallMonth rainfallYear UV windDirection windSpeed
solar: {
enabled: false
},
UV: {
enabled: false
},
windChill: {
mode: “windchill”, //The default mode, either “heatIndex” or “windchill” (note: lowercase c)
autoSwitch: true //If true, will switch between heat index/wind chill depending on what is appropriate.
},
temperature: {
title: " default "
},
temperature02: {
enabled: true,
title: “default”,
input: 2
},
temperature03: {
enabled: true,
title: “default”,
input: 3
}
};
You can change the title of each of the temperature sensors by adjusting the title field. So, for example, if you wanted to change the title of one of them to be Other Temperature, you

Works here for extratemp1, but my UV has been pushed to one side. . .

I note your instructions have solar and UV disabled. . . that’s no good to me. (But I only have UV :slight_smile: )

Also, my temperature02 (Garden = extratemp1) needs “input: 1”


Currently that is going to be a bit of an issue. It might seem strange, but it’s actually quite a pain to move the gauges around. So even though there’s an obvious spot to put the UV, it’s no small job to get it there :lol:
I’ll add it to the todo list, but it will probably be a couple months before I have time to adjust it (apologies, life is very busy for me at the moment!)

Unfortunately for the time being you may have to chose between the extra temperatures and UV :frowning:

No worries :slight_smile:

But maybe we could cut a deal: could we have a smaller type size for “Rainfall”?


thank you so much!
using your changes second temperature shows +255 max and 100 min
Changing “input 2” to “input 1” in config.js:
temperature02: {
enabled: true,
title: “Secondo Sensore”,
input: 1
},
in fact, in globals.js it refers to “input 1”:
//Widget Config / Settings
var widgetList = {
apparent: {enabled: true},
temperature: {enabled: true, title: “default”, highLowEnabled: true},
temperature02: {enabled: true, title: “default”, highLowEnabled: true, input: 1}, //input: extra sensor 1
temperature03: {enabled: true, title: “default”, highLowEnabled: true, input: 2}, //input: extra sensor 1

using these settings, it seems to work fine at moment
as you can see: http://www.estensemeteo.com/

Hi!
sorry for my English :oops:
changing temp3 with solar or uv it’s seems better
what do you think about it?
Sergio

Hi,
“input: 1” or “input: 2” just refer to where the data is fetched from in the Clientraw files, so do whatever works for you.

I plan on adding the option to change temp3 with solar or UV, but it will take a while for me to be able to implement it.

All time you need, Yerren!!
It’s a great job anyway.
If i can I would just suggest you to change, in the future, wind speed and gust bars with a round widget (as in old wdl, to understand); or try to put words “wind” and “gust” outside bars.

Can someone help me out please…I have added the extra temperature sensor which will be displaying my inside temperature.

The inside temp still works on the old WDL but I cannot get it to display the temp in Freshwdl

I have tried setting the input from 1 to 10 for sensor 2 but i still cannot get it to display the inside temp.

I need to know what input number i need to for freshwdl js file to get the info from the clientraw file please.


Hi,

Set the input to “indoor”,
E.g:

input: "indoor",

Hope that helps :slight_smile:

Thank you Yerrin your a gentleman and a scholar…just one small issue, the min - max for the indoor is showing between 0 and 1 …have i done something else wrong.

And also, are you aware the rain gauges changed, now it is the yearly rainfall gauge that is first rather than the daily rainfall gauge i.e they changed order from daily, monthly, yearly to yearly monthly, daily

Regards

Bruce

You’re very welcome :slight_smile:

From memory, the indoor temperature doesn’t have high/low data records for whatever reason.
To deal with this, you can disable them for that gauge, by using: highLowEnabled: false. So your whole config for that gauge looks something like:


temperature02: {
            enabled: true,
            title: "Indoor Temperature",
            input: "indoor",
            highLowEnabled: false
        }

Hi again Yerren. Again thank you for your prompt response.

The indoor temp does have a high low as it is enabled on my old WDL and is still working. In the interim, i will disable the high low but someday if you do get to look at it that would be much appreciated.

http://www.fairfieldweather.info/old.html

Clientraw #128 & #129.

Thanks for that! I must have missed it, as it is called inTemp in the parser I’m using, as opposed to indoor temp.
I’ll let you know when I’ve fixed that up, but it’ll be a little while, assignments galore for the next two weeks!

Thank you Yerrin.

PM when you get it done and absolutely no rush.

The rain graphs from my earlier post ??? did you purposely shift them around ???

Good luck with your assignments.

I think the rain gauges just got swapped around due to them stacking from the right instead of the left in this layout, I’ll check it out later on :slight_smile:

My graphs say undefined

I just upgraded to WD94.

Trying to figure out if it is Yerren, WD or me.

https://rms-weather.rdale.org/weather.php