ktrue / cu-hws Goto Github PK
View Code? Open in Web Editor NEWHome Weather Station website template for Cumulus (WeeWX, WeatherCat too)
License: Other
Home Weather Station website template for Cumulus (WeeWX, WeatherCat too)
License: Other
Hi !
After the latest update, max-mintemp.php doesn’t work as intended, check picture.
How will You handle PR:s on GitHub versus updates from Brian on the same source ?
Shall I help with language handling in sun1.php? According to the text in setup it is the universal one.
Miss the footer $personalmessage, from settings1.php, in index.php. Can I add it? Check picture.
The current CU version does not switch DarkSky language automatically.
Some blocks have non-translated text.
This issue is opened to provide tracking as the fixes are worked up.
Hi !
Don't know if You seen the new documentation on the coming API
https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit
(Funny IBM is using Google docs)
The worst thing is that You just get 7 days of History....
Do You and Brian had any discussions about this ? The SQL solution is pretty complex for "simple" users.
The API community thread https://apicommunity.wunderground.com/weatherapi/topics/weather-underground-api-update.
/Mats
Hi Ken,
diags.php is a great check-up and debug tool but I'm not sure if showing API keys in the settings printout is a good idea? While hijacked API keys may not be a major issue (or an issue at all) I still believe these should be treated as sensitive/personal information.
Thanks for your awesome work on CU-HWS.
I noticed when Dark Sky Forecast is set for non-metric forecast snow amounts are indicated in centimeters rather than the expected inches. Other items such as temperature, wind speed and rainfall work as expected.
There may have been a change in the structure of the JSON in V2. I would have corrected it like this.
` // ******* Direct values ******* //
$cumulus[2] = $wlJson->sensors[0]->data[0]->temp;
$cumulus[3] = $wlJson->sensors[0]->data[0]->hum;
$cumulus[4] = $wlJson->sensors[0]->data[0]->dew_point; // Dewpoint
$cumulus[5] = $wlJson->sensors[0]->data[0]->wind_speed_last; // Used by W34 for trend calc. Wind this moment
$cumulus[6] = $wlJson->sensors[0]->data[0]->wind_speed_avg_last_10_min; // Wind 10 min avg
$cumulus[7] = $wlJson->sensors[0]->data[0]->wind_dir_last; // Wind direction
$cumulus[8] = $wlJson->sensors[0]->data[0]->rain_rate_last_in; // Rain rate in/h
$cumulus[9] = $wlJson->sensors[0]->data[0]->rainfall_last_24_hr_in; // Rain in inches(in)
$cumulus[10] = $wlJson->sensors[1]->data[0]->bar_absolute; // Pressure inches
$cumulus[13] = "mph"; // Windspeed unit
$cumulus[14] = "F"; // Temp unit
$cumulus[15] = "in"; // Pressure unit
$cumulus[16] = "in"; // Rain unit
$cumulus[19] = $wlJson->sensors[0]->data[0]->rainfall_monthly_in; // Rain acc. Month inches
$cumulus[20] = $wlJson->sensors[0]->data[0]->rainfall_year_in; // Rain acc. Year
$cumulus[22] = $wlJson->sensors[2]->data[0]->temp_in; // Inside temp
$cumulus[23] = $wlJson->sensors[2]->data[0]->hum_in; // Inside humidity
$cumulus[24] = $wlJson->sensors[0]->data[0]->wind_chill; // Wind chill
$cumulus[40] = $wlJson->sensors[0]->data[0]->wind_speed_avg_last_10_min; // Windgust avg. 10 min`
Ken,
Getting multiple issues of darksky and metar stalling on updates. Unsure why as many including mine working fine. Have eliminated permissions / groups / user being the cause
Hi all, I wanted to know how to change the forecast, on the home page, from Aerisweather to Wunderground. thanks for the support Andrea
HI Ken
I think there is a concern about IE and Edge
when you ask him for the black theme he stays blank
it's since you worked on css.
Bizarre.
Best regards,
Emmanuel
Hi ! Had I guy today, reading my blogpost, who was missing the "mbstring" package. Maybe this should be added as a test ? /Mats
in barometer.php the notifications are here at the foot of page
the anyToC( should be placed before the $weather["heat_index"]
change
if(anyToC($notifications=='yes' && $weather["heat_index"])>=30){?>
to
if($notifications=='yes' && anyToC($weather["heat_index"])>=30){?>
think today was the end of use for their history data . however correct me if im wrong but all sites i have including your demo shows failed or blank charts . being thats its a feature if the cumulus version it may need a solution to use mysql to use going forward.brian
Hello! I come from French-speaking Switzerland, so I use the language fr. I wish I could use the flag of Switzerland. That would be cool. Please take note of my request. And thank you for the good job !
Sylvie
ch.zip
the right hand icon on the HWS footer defaults to the weather34 icon if Davis or Weatherflow are not selected in settings. It is floating and overlapping into the pop-up link bar of the bottom right module.
example at https://claydonsweather.org.uk/CU-HWS
Ken
Users reporting that sun3.php not working correctly on Firefox and Safari (including ios versions). The small solid circle representing the passage of the sun does not show. Seemingly only working with Chrome.
I have been able to replicate the problem as reported.
The enhancement would be to have a switch setting inside setting1.php to control the display format of all numbers as either period-decimal (n.n) or comma-decimal (n,n) on all displays.
When selecting 12 in settings (or changing manually), the main station clock remains on 24 hr display format.
Hi Ken,
I have just noticed that the pop-up links are missing from Solar UV module
Hi Ken,
"if (preg_match('|weewx/realtime|',$livedata))" etc.....
We may have to find another way of looking at this. Because weeWX is very flexible in the way in which users setup, the realtime.txt file might not be in the ../weewx/realtime.txt path. You would not believe some of the complex path structures that some people use.
An alternative suggestion would be to use a variable to identify the source. The format selection field in settings is now rather academic because it will always be cumulus in this template so could be fixed as a non configurable default in the background. This will release the field to be associated with the $swversion (as in livedata.php) variable to select either Cumulus, weeWX or WeatherCat to determine the logo. Currently this variable is hard coded as "Cumulus" in livedata.php
What do you think?
Some time yesterday afternoon, the barometer module suddenly corrupted (see attached screenshot). This was only with a 'live' realtime.txt file. On reverting to the demo realtime file the problem corrected. A clean install of the template failed to correct.
CU-HWS has been jogging along for weeks without a problem. There has been no change to the extension that generates the realtime file from WeeWX or indeed WeeWX itself. I have tried for hours to correct but it has defeated me.
Screen shot and a 'real' realtime file attached.
realtime.zip
Have done some PR:s and have some more issues which I can’t really handle …
1/ Had some problem with translated text from language files and then discovered that in every lang.xx.php There are 2, two, positions of ”$lang['Windspeed’]” ??
2/ Changing language doesn’t work as it used to. Just some headings are changing compared to the old codebase we use in http://vader.domsten.nu
3/ sun1.php and sun2.php have hardcoded text instead of using $lang[xx]. I tried to change but couldn’t handle it. Some tip ?
/Mats
The icon works well in the footer with both the dark and light theme.
<img src="img/icon-weewx.svg" alt="WeeWX Weather Software" title="WeeWX Weather Software" width="150px" height="55px” >
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.