Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread Auchtermuchty Weather
Mult fixed my problem, though I hadn't implemented it correctly. However I agree with your change to the test. On Friday, 5 March 2021 at 12:00:18 UTC michael.k...@gmx.at wrote: > I think the problem is with the comparisons: > > if (value >= (float(c[0])*mult)) and (value <=

Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread michael.k...@gmx.at
I think the problem is with the comparisons: if (value >= (float(c[0])*mult)) and (value <= (float(c[1])*mult)): this should probably be: if (value >= (float(c[0])*mult)) and (value < (float(c[1])*mult)): With the >= and <= certain values match two colors michael.k...@gmx.at schrieb am

Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread michael.k...@gmx.at
I'll take a look at it. I can reproduce the double-double-quot issue. For the color and maximum days: that's related to your (or the default) configuration. Auchtermuchty Weather schrieb am Freitag, 5. März 2021 um 12:46:34 UTC+1: > And of course my initial fix isn't quite right... > > On

Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread Auchtermuchty Weather
And of course my initial fix isn't quite right... On Friday, 5 March 2021 at 11:39:24 UTC Auchtermuchty Weather wrote: > I reported an issue with the Days of rain table which turned out to be > caused by the maximum value for colour coding being 50, and there almost > always being more than 50

Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread michael.k...@gmx.at
Hi, this isn't an issue. It's up to you how you configure your personal color scheme. The configs that come with the default configuration are just an example. There is no scheme "one fits all", since climate is very different around the globe. Auchtermuchty Weather schrieb am Freitag, 5. März

Re: [weewx-user] Bootstrap skin update preview

2021-03-05 Thread Auchtermuchty Weather
I reported an issue with the Days of rain table which turned out to be caused by the maximum value for colour coding being 50, and there almost always being more than 50 days of rain per year where I live. I've put my fixed code in the 'issues': LiveCharts - Days of Rain errors · Issue #60 ·

Re: [weewx-user] Bootstrap skin update preview

2021-03-04 Thread michael.k...@gmx.at
There is no out-of-the-box template for displaying these values. The way you did this, is one of several possible ways to go. Adapting the templates to your own, customized needs, is always possible. For the missing template in the installer: thank you, I fixed it. Michael schrieb am

Re: [weewx-user] Bootstrap skin update preview

2021-03-04 Thread Michael
Is there a (hopefully simple) way to display the values of the gauge in tabular form (e.g. as they are displayed in the Seasons skin)? For this display I have added the lines to the file livegauges.html.tmpl $Labels.Generic.outTemp 23 °C

Re: [weewx-user] Bootstrap skin update preview

2021-03-03 Thread Michael
I have installed the version from 24.02.21 on my "regular" weewx system. After starting weewx there are the following errors: After copying the file livegauges.html.tmpl to /home/weewx/skins/Bootstrap everything works fine. The line 'skins/Bootstrap/livegauges.html.tmpl' is probably still

Re: [weewx-user] Bootstrap skin update preview

2021-02-27 Thread Auchtermuchty Weather
I found the answer when I looked at the code for WeeWx v4.4.0. Old code simply has: import Image This needs amending to: try: from PIL import Image, ImageDraw except ImportError: import Image, ImageDraw I had old code on a newly build SD card. On Friday, 26 February 2021 at

Re: [weewx-user] Bootstrap skin update preview

2021-02-26 Thread Auchtermuchty Weather
I see the colour on first cell only problem is fixed, I like the new images. I'll give it a go. BTW I had problems installing an earlier version as: 1. import Image cause an error, and the way to resolve it (apt-get) in the FAQ didn't work on a brand new Raspbian installation. I suspect

Re: [weewx-user] Bootstrap skin update preview

2021-02-25 Thread michael.k...@gmx.at
I've removed some of the custom stuff in the latest version, hoping a "vanilla" installation now works. Thanks again for your inputs. I hope I can test the installer soon and to get red of most of the remaining flaws. Michael schrieb am Donnerstag, 25. Februar 2021 um 12:49:21 UTC+1: > Thanks,

Re: [weewx-user] Bootstrap skin update preview

2021-02-25 Thread Michael
Thanks, now it works nice :) -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
Ok, what's happening here: in the templates there are references to history table that weren't part of the skins default configuration You need either to delete the section in the template: $BootstrapLabels.history_tables.max_wind $max_wind_table or, and thats my sugesstion, add the

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread Michael
Hi Michael, thank you for the MQTT explanation. I saw when editing the skin.conf that ws and wss are preconfigured. But I didn't think anything of it and was under the misapprehension that mqtt would also work... Since the weather page will only run locally for me, I'll stick with my config

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
Hi, the MQTT config for the skin is for the JavaScript MQTT client that is running in the browser window. This client needs a websocket connection, so it will only work with a websocket enabled MQTT server. This MQTT client configuration is totally independent from the one that is publishing

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread Michael
A working MQTT environment already exists. The MQTT configuration was a bit bumpy because I wanted to use the following connection: broker_connection = mqtt://192.168.178.15:1883 Only the following setting brought success: broker_connection = ws://192.168.178.15:9001 Afterwards I adjusted the

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
There is still some things to configure to get everything working and there is not too much documentation now. It would be very helpful if you could make notes for everything you had to do - it will help us to start a documentation. Do you have MQTT already working? It is needed for live data.

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread Michael
Great, now it works :) Thanks for your fast help and the very nice skin. Now I can take a closer look at everything. michael.k...@gmx.at schrieb am Mittwoch, 24. Februar 2021 um 13:05:14 UTC+1: > Fixed - next one :D > > Michael schrieb am Mittwoch, 24. Februar 2021 um 12:59:58 UTC+1: > >>

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
Fixed - next one :D Michael schrieb am Mittwoch, 24. Februar 2021 um 12:59:58 UTC+1: > and here is the next one ;) > > Traceback (most recent call last): > File "/home/weewx/bin/wee_extension", line 88, in > main() > File "/home/weewx/bin/wee_extension", line 80, in main >

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread Michael
and here is the next one ;) Traceback (most recent call last): File "/home/weewx/bin/wee_extension", line 88, in main() File "/home/weewx/bin/wee_extension", line 80, in main ext.install_extension(options.install) File "/home/weewx/bin/weecfg/extension.py", line 125, in install_extension

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
I've just fixed that. I didn't test the installer yet. Sorry for the mess and thank you for participating :) We'll get this working, I hope there aren't too many flaws to go... Michael schrieb am Mittwoch, 24. Februar 2021 um 12:33:44 UTC+1: > thanks, but now I got this Error: > > Traceback

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread Michael
thanks, but now I got this Error: Traceback (most recent call last): File "/home/weewx/bin/wee_extension", line 88, in main() File "/home/weewx/bin/wee_extension", line 80, in main ext.install_extension(options.install) File "/home/weewx/bin/weecfg/extension.py", line 125, in

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
Please try again, you need to download the latest package again. michael.k...@gmx.at schrieb am Mittwoch, 24. Februar 2021 um 11:32:10 UTC+1: > No, this is an installer issue. I'll check and fix that. > > Michael schrieb am Mittwoch, 24. Februar 2021 um 08:27:25 UTC+1: > >> The installation of

Re: [weewx-user] Bootstrap skin update preview

2021-02-24 Thread michael.k...@gmx.at
No, this is an installer issue. I'll check and fix that. Michael schrieb am Mittwoch, 24. Februar 2021 um 08:27:25 UTC+1: > The installation of fuzzy-archer-liveCharts.zip works without error > message. > But when generating the reports, the following appears: > > Feb 24 08:22:21 weewx-test

Re: [weewx-user] Bootstrap skin update preview

2021-02-23 Thread Michael
The installation of fuzzy-archer-liveCharts.zip works without error message. But when generating the reports, the following appears: Feb 24 08:22:21 weewx-test weewx[4262] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Images/skin.conf for report 'SmallImages' Feb 24

Re: [weewx-user] Bootstrap skin update preview

2021-02-22 Thread moth...@gmail.com
Then I just wait until the latest version of python 3.7 Ton Op zondag 21 februari 2021 om 22:26:20 UTC+1 schreef gjr80: > The following error strongly suggests a python 2 only extension being run > under python 3: > > File "/var/tmp/fuzzy-archer-2.26/install.py", line 84 > print "" >

Re: [weewx-user] Bootstrap skin update preview

2021-02-21 Thread gjr80
The following error strongly suggests a python 2 only extension being run under python 3: File "/var/tmp/fuzzy-archer-2.26/install.py", line 84 print "" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")? You have two options; install/run WeeWX under

Re: [weewx-user] Bootstrap skin update preview

2021-02-21 Thread michael.k...@gmx.at
Hi, did you download a "Release"? This seems to be broken. If you want to download the latest "liveCharts" version, please got to https://github.com/brewster76/fuzzy-archer/tree/liveCharts and choose "Download Zip" after clicking the green "Code" button ind install this version. If you want

Re: [weewx-user] Bootstrap skin update preview

2021-02-21 Thread moth...@gmail.com
Have also done an installation. Got these error messages. Use the latest version of Weewx and Pyhthon. The original script does not work. Can't get it working on my system. This is a copy of the system log. pi@raspberrypi:~ $ sudo /etc/init.d/weewx stop [ ok ] Stopping weewx (via systemctl):

Re: [weewx-user] Bootstrap skin update preview

2021-02-20 Thread michael.k...@gmx.at
In the meantime I've made some enhancements, bugfixes and styling improvements. There is still some testing and documentation to be done, but we're getting closer, finishing this :) Watch it live: https://www.kainzbauer.net/weather/Rif-Tempest/index.html Try it:

Re: [weewx-user] Bootstrap skin update preview

2021-02-04 Thread Δημήτρης Βήχος
very good work! beautifull skin. looks geat on chromium 88 with arch linux Στις Πέμπτη, 4 Φεβρουαρίου 2021 στις 5:24:30 μ.μ. UTC+2, ο χρήστης michael.k...@gmx.at έγραψε: > I didn't change anything in the meantime, so I don't know what caused the > initial error. "Looks great" => thank you very

Re: [weewx-user] Bootstrap skin update preview

2021-02-04 Thread michael.k...@gmx.at
I didn't change anything in the meantime, so I don't know what caused the initial error. "Looks great" => thank you very much, hearing this from Mr. weewx himself, really is delightful :) I forget to mention: The charts and gauges are Apache eCharts. Almost infinite possibilities!

Re: [weewx-user] Bootstrap skin update preview

2021-02-04 Thread Tom Keffer
Don't know what happened, but now it works for me with no errors. Looks great! On Wed, Feb 3, 2021 at 8:48 PM michael.k...@gmx.at < michael.kainzba...@gmx.at> wrote: > Hello Tom, > > The error with the /favicon.ico is a simple one: there is no such file. > The other errors I couldn't reproduce,

Re: [weewx-user] Bootstrap skin update preview

2021-02-03 Thread michael.k...@gmx.at
Hello Tom, The error with the /favicon.ico is a simple one: there is no such file. The other errors I couldn't reproduce, even trying with different browser on different computers and phones. Isn't weewxData.js there, when you try to load it? It's referenced on line 144 of the HTML. What

Re: [weewx-user] Bootstrap skin update preview

2021-02-03 Thread Tom Keffer
Hi, Michael. I got several errors when I tried to see your live version: Uncaught SyntaxError: Unexpected end of input site.js:1 Uncaught ReferenceError: weewxData is not defined at site.js:1 gauges.js:3 Uncaught ReferenceError: weewxData is not defined at gauges.js:3 charts.js:2

[weewx-user] Bootstrap skin update preview

2021-02-03 Thread michael.k...@gmx.at
A couple of weeks ago, I asked Nick, the author of the bootstrap skin, if he could help me taking his skin, that I am very fond of, to the next level. As a first step we developed an optional live view with browser rendered gauges and charts, using MQTT for the almost-real-time rendering.