[weewx-user] weewx-wdc Skin v3.0.0 available

2023-03-06 Thread David Bätge


Hi all,


I just wanted to inform you that a new version is available for the weewx-wdc 
skin  for download 

.


This release includes some big updates and refactoring:

   - Several Bugfixes and enhancements for weewx-forecast
   - Show weather data for a specific day - Daily archive
   - Make diagrams configurable per context (per period) / Refactor 
   diagrams configuration. Diagrams can now be configured per context, eg. 
   day, week or month. Per default, the day and week pages do not include the 
   outTemp min/max/avg diagram anymore.
   - Make show_min, show_max, show_sum configurable for stat tiles 
   - Support for custom data_bindings
   - Configurable Icons
   - Configurable unit for diagrams
   - Configurable Rounding
   - Configurable markers for diagrams
   - Automatic Refresh (via http-equiv="refresh")
   - Added new climatogram (combined chart consisting of rain as bar and 
   temp as line) for statistics and yearly statistics pages
   - Update radar_img to allow for raw HTML (for using eg. iFrames as radar 
   maps)


Also included is "Support for combining different diagram types" (eg. line 
and bar). I added an own implementation of chart rendering based directly 
on D3.js , which will replace the current nivo library 
 in a future release. The direct usage of D3 allows 
for really custom implementations, so I am very open to new ideas of 
visualizations.


Please see 
https://github.com/Daveiano/weewx-wdc/wiki/Configuration#ENABLE_D3_DIAGRAMS for 
more information if you want to test this out in v3.0.0.


Since this release includes a near rewrite of the skin.conf, you likely 
have to make some changes to it, if you had the skin very heavily 
customized in a previous version.


The wiki  was updated to 
include information about all the new features and configurations. If you 
encounter any problem or bug, just let me know!


Thank you all for your feedback/contributions to the skin!


Changelog/Download: 
https://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0

-- 
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 
https://groups.google.com/d/msgid/weewx-user/a8759291-390e-4335-bbca-4f847c8b57e3n%40googlegroups.com.


Re: [weewx-user] wee_extension incorrectly reporting "No extensions installed"

2023-03-06 Thread Tom Keffer
It gets its information from the "user/installer" subdirectory.

On Mon, Mar 6, 2023 at 7:22 AM Dave Piehl  wrote:

> I have several extensions installed and running but today when I ran
> "wee_extension --list", it came back with "No extensions installed". Where
> does it pull it's information from? Is there a database? I'm trying to
> stand up a replacement and I want to be sure I have everything installed.
> Thanks for help!
>
> --
> 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
> https://groups.google.com/d/msgid/weewx-user/d00609fd-559d-4f04-a8ac-07c8a735319cn%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDAExpt0zHgMLpZ9Cf1a_Qt-bd-3QBvuakz-hD9k%3DhcBg%40mail.gmail.com.


Re: [weewx-user] Hyphenation with internationalized skins

2023-03-06 Thread Tom Keffer
Sometimes that's the best one can come up with: make something functional,
but always with the ability to customize.

On Mon, Mar 6, 2023 at 6:38 AM michael.k...@gmx.at <
michael.kainzba...@gmx.at> wrote:

> My latest idea is a mixed strategy:
>
> I know the critical parts of the layout, where hyphenation is essential
> for responsiveness and at the same time, weewx labels are used. For these
> parts of the layout I use hyphens: auto; in the css. This may lead to a
> hyphenation which may look a little bit unusual (I wouldn't hyphenate
> "encyclopedia" as "encyclope-dia" or "en-cyclopedia", rather
> "encyclo-pedia", although it's correct in any way), but doesn't break the
> layout and it is just for the critical parts. For the rest, I use  hyphens:
> manual; and propose using ­ entities only for [Text] values.
>
> In the end, it is the users decision, anyway.
>
>
>
> Tom Keffer schrieb am Montag, 6. März 2023 um 13:42:59 UTC+1:
>
>> I wish I had a better idea, but I think your solution is as good as
>> anything I can come up with.
>>
>> On Mon, Mar 6, 2023 at 1:34 AM michael.k...@gmx.at 
>> wrote:
>>
>>> How to handle manual Hyphenation?
>>>
>>> When I insert a soft hypen to a string like this:
>>>
>>> [Texts]
>>> #without hypen
>>> "Short in English" = "Suchalongwordwhichbreaksboxboundaries"
>>> #with hypen
>>> "Short in English" =
>>> "Suchalong­wordwhich­breaksbox­boundaries"
>>>
>>> ...it works, as long as only used in HTML.
>>>
>>> with
>>> [Labels]
>>> [[Generic]]
>>> rain = Nieder­schlag
>>>
>>> I get into minor trouble, because the entity is not escaped when
>>> rendering Images:
>>> [image: 2023-03-06 10_23_52-Greenshot Editor.png]
>>> How can I solve this without specifying it two times? I refer to the
>>> Label both, in HTML and the image, but need to let the browser hyphenate it
>>> und certain circumstances in an adaptive layout.
>>>
>>> Or, is specifying it two times the way to go, since these are distinct
>>> elements, and they are just the same string?
>>>
>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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
> https://groups.google.com/d/msgid/weewx-user/4b6d3da9-4f36-4c06-8d83-f71324bb2930n%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBk%2BPeCQd5TvXaW3nH-r19W2dE0-cy-q%3D_5CUL5wN9PVw%40mail.gmail.com.


[weewx-user] wee_extension incorrectly reporting "No extensions installed"

2023-03-06 Thread Dave Piehl
I have several extensions installed and running but today when I ran 
"wee_extension --list", it came back with "No extensions installed". Where 
does it pull it's information from? Is there a database? I'm trying to 
stand up a replacement and I want to be sure I have everything installed.
Thanks for help!

-- 
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 
https://groups.google.com/d/msgid/weewx-user/d00609fd-559d-4f04-a8ac-07c8a735319cn%40googlegroups.com.


Re: [weewx-user] Hyphenation with internationalized skins

2023-03-06 Thread michael.k...@gmx.at
My latest idea is a mixed strategy:

I know the critical parts of the layout, where hyphenation is essential for 
responsiveness and at the same time, weewx labels are used. For these parts 
of the layout I use hyphens: auto; in the css. This may lead to a 
hyphenation which may look a little bit unusual (I wouldn't hyphenate 
"encyclopedia" as "encyclope-dia" or "en-cyclopedia", rather 
"encyclo-pedia", although it's correct in any way), but doesn't break the 
layout and it is just for the critical parts. For the rest, I use  hyphens: 
manual; and propose using ­ entities only for [Text] values.

In the end, it is the users decision, anyway.



Tom Keffer schrieb am Montag, 6. März 2023 um 13:42:59 UTC+1:

> I wish I had a better idea, but I think your solution is as good as 
> anything I can come up with. 
>
> On Mon, Mar 6, 2023 at 1:34 AM michael.k...@gmx.at  
> wrote:
>
>> How to handle manual Hyphenation? 
>>
>> When I insert a soft hypen to a string like this:
>>
>> [Texts]
>> #without hypen
>> "Short in English" = "Suchalongwordwhichbreaksboxboundaries"
>> #with hypen
>> "Short in English" = 
>> "Suchalong­wordwhich­breaksbox­boundaries"
>>
>> ...it works, as long as only used in HTML.
>>
>> with 
>> [Labels]
>> [[Generic]]
>> rain = Nieder­schlag
>>
>> I get into minor trouble, because the entity is not escaped when 
>> rendering Images:
>> [image: 2023-03-06 10_23_52-Greenshot Editor.png]
>> How can I solve this without specifying it two times? I refer to the 
>> Label both, in HTML and the image, but need to let the browser hyphenate it 
>> und certain circumstances in an adaptive layout. 
>>
>> Or, is specifying it two times the way to go, since these are distinct 
>> elements, and they are just the same string?
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 
https://groups.google.com/d/msgid/weewx-user/4b6d3da9-4f36-4c06-8d83-f71324bb2930n%40googlegroups.com.


Re: [weewx-user] Hyphenation with internationalized skins

2023-03-06 Thread Tom Keffer
I wish I had a better idea, but I think your solution is as good as
anything I can come up with.

On Mon, Mar 6, 2023 at 1:34 AM michael.k...@gmx.at <
michael.kainzba...@gmx.at> wrote:

> How to handle manual Hyphenation?
>
> When I insert a soft hypen to a string like this:
>
> [Texts]
> #without hypen
> "Short in English" = "Suchalongwordwhichbreaksboxboundaries"
> #with hypen
> "Short in English" =
> "Suchalong­wordwhich­breaksbox­boundaries"
>
> ...it works, as long as only used in HTML.
>
> with
> [Labels]
> [[Generic]]
> rain = Nieder­schlag
>
> I get into minor trouble, because the entity is not escaped when rendering
> Images:
> [image: 2023-03-06 10_23_52-Greenshot Editor.png]
> How can I solve this without specifying it two times? I refer to the Label
> both, in HTML and the image, but need to let the browser hyphenate it und
> certain circumstances in an adaptive layout.
>
> Or, is specifying it two times the way to go, since these are distinct
> elements, and they are just the same string?
>
> --
> 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
> https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBEzpeaucn4jAgYgDvG6Sk8iXPDCLDVZP_uviDEnh4dEg%40mail.gmail.com.


Re: [weewx-user] Hardware recommendations?

2023-03-06 Thread michael.k...@gmx.at

Thanks for all the inputs. I'll go with some Ecowitt parts. They meet my 
requirements best, at least on paper. I'll se how I get along with them.
vince schrieb am Mittwoch, 1. März 2023 um 20:13:51 UTC+1:

> I was referring to weewx-ecowitt (link) 
>  but I don't know if Ecowitt 
> supports backfill or not.  I don't need an archive here for my Ecowitt 
> gear, just current readings.
>
> Ecowitt has too many components for me to keep track of, but I'm sure the 
> Ecowitt forum on wxforum.net (link) 
>  has somebody who knows 
> for certain regarding compatibility of consoles vs. sensors.
>
> Cheapest hardware setup is to buy the sensors you want and the $30 gateway 
> to integrate them so weewx can pick up all the readings from the gateway, 
> then display Belchertown (or any other skin) to a $40 Kindle Fire 7 or 
> bigger display.  Once you get the data into weewx displaying it is the easy 
> part.
>
> On Wednesday, March 1, 2023 at 9:50:48 AM UTC-8 michael.k...@gmx.at wrote:
>
>> I got this link (in german) 
>> https://www.wetterstationsforum.info/wiki/doku.php?id=wiki:wetterstationen:ecowitt-stationen#ecowitt_hp2551_hp2560
>> It's an exhaustive description of the listed Ecowitt sensors.
>>
>> The HP3501 kit doesn't need the gateway, it's a WiFi console. The set 
>> comes with a T+H+Barometer WH32 Indoor sensor, so not extra gateway is 
>> needed (except for some live data features in their app in your LAN)
>>
>> Which one is "Gary's driver"? The gw1000 driver? Or a special HP3500 
>> Driver that can read Data from USB? The HP3500 is the (only?) station that 
>> allows data transfer using USB, for all the others one needs to remove the 
>> SD card. If there is a driver that could handle backfilling weewx database 
>> from the HP3500 from USB, just like with my WS28xx, I would go for this 
>> kit, although it's console display is very small. 
>>
>> Since you can use multiple consoles this is not a big deal, just get 
>> another one and enjoy a bigger display and hardware redundancy.
>>
>> vince schrieb am Mittwoch, 1. März 2023 um 09:37:08 UTC+1:
>>
>>> Just picking from Ecowitt's site...
>>>
>>>- $195.99 for a HP3501 (link) 
>>> 'weather station kit' 
>>>containing console, indoor T+H, outdoor T+H, rain, solar wind/uv/sun
>>>
>>>
>>>- Uncertain if you'd also need a $29.99 GW1100 gateway or not (has 
>>>T+H+barometer)
>>>
>>> Uncertain how good the wind/rain/uv/sun sensors are nor how they'd hold 
>>> up in the environment your picture showed.  The T+H sensors are very good 
>>> in my experience.  Gary's weewx driver is excellent.
>>>
>>>

-- 
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 
https://groups.google.com/d/msgid/weewx-user/42f0efa5-3489-4169-bcec-22c3931d42ddn%40googlegroups.com.


[weewx-user] Hyphenation with internationalized skins

2023-03-06 Thread michael.k...@gmx.at
How to handle manual Hyphenation? 

When I insert a soft hypen to a string like this:

[Texts]
#without hypen
"Short in English" = "Suchalongwordwhichbreaksboxboundaries"
#with hypen
"Short in English" = 
"Suchalong­wordwhich­breaksbox­boundaries"

...it works, as long as only used in HTML.

with 
[Labels]
[[Generic]]
rain = Nieder­schlag

I get into minor trouble, because the entity is not escaped when rendering 
Images:
[image: 2023-03-06 10_23_52-Greenshot Editor.png]
How can I solve this without specifying it two times? I refer to the Label 
both, in HTML and the image, but need to let the browser hyphenate it und 
certain circumstances in an adaptive layout. 

Or, is specifying it two times the way to go, since these are distinct 
elements, and they are just the same string?

-- 
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 
https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com.


[weewx-user] Re: Bootstrap skin a.k.a "fuzzy-archer" v4.0 preview available

2023-03-06 Thread michael.k...@gmx.at
Hi Gary,

in some of the latest commits I've put some instructions and example in the 
shipped configs, yet they are neither complete nor very exhaustive. Maybe 
we can improve this.

First, where to start from?

The basics: for having live data shown in the charts and gauges, you need:

   - A data source (in most cases this your weather station, but it is not 
   limited to this unique source)
   - A MQTT Broker for publishing data from the source and subscribing to 
   the topics you publish
   - Enabling the data source to emit data using MQTT. With weewx, 
   install https://github.com/matthewwall/weewx-mqtt and get it running
  - Bind to loop packets for have data available more or less instantly:
  [StdRestful]
  [[MQTT]]
  server_url = mqtt://broker.hivemq.com:1883/
  topic = 
  weather_{any_distinctive_string_that_is_valid_for_topics}
  unit_system = METRIC # or whatever you prefer *but note, this 
  will have an impact on the "payload_key" for charts and gauges*
  binding = loop
  - The MQTT Broker must be publicly available for viewing live data 
   over the internet, to make it easy for now, the assumption is, you use a 
   public MQTT without needing any credentials
   - You need to set up the MQTT client for the frontend in skin.conf:
  - [JSONGenerator]
  ...
  [[MQTT]]
  [[[connections]]]
  public_mqtt
  broker_connection = ws://broker.hivemq.com:8000/mqtt 
  # wss (encrypted) websocket connection
  [topics]
  
  [[weather_{any_distinctive_string_that_is_valid_for_topics}/loop]]
  type = JSON
   

That should be a working, basic setup, if I didn't miss anything. *Note*: 
on a https:// linke you need to set up an encrypted broker connection also 
(wss://) or it won't work.

For the payload_key of each reading:

This is depending of the data source. If you set up everything as described 
above, for showing "outTemp" it will be outTemp_F. If you use METRIC or 
METRICWX it will be outTemp_C:
>From skin.conf:
[LiveGauges]
[[outTemp]]
payload_key = outTemp_F# outTemp_C if target_unit 
'METRICWX', or 'METRIC'
minvalue = 0
maxvalue = 100
splitnumber = 10   # choose a splitnumber 
fitting minvalue and maxvalue: e.g.: 0/100: 10, for -20/40: 6
lineColor = '#428bca', '#b44242'   # colors are RGBa
lineColorUntil = 32, maxvalue  # color from start of gauge 
to value, change color of gauge ring to show important marks: 32 is 
freezing point
decimals = 1   # decimals for current value 
in gauge
#heatMapEnabled = false# disabled heatmap for 
gauge, default true
#animation = False # default true

Things will get a bit more complicated if you use a broker that requires 
user accounts and login credentials.
gary@gmail.com schrieb am Montag, 6. März 2023 um 02:25:31 UTC+1:

> I see no configuration instructions.
> Surely there must be some if this uses MQTT for live updates.
>
> On Saturday, March 4, 2023 at 6:10:31 PM UTC-5 michael.k...@gmx.at wrote:
>
>> Another week over, I've fixed several bugs, added missing functionality 
>> and did some little enhancements on the styles. I've put everything in the 
>> master branch by now, so if you want to updated, the feature branch is now 
>> obsolete. By the way, thanks for the feedback and issues on github. Also 
>> thanks to Tom, who is always precise in his feedback, helps a lot.
>>
>> Still: there is help needed for skin specific translations.
>>
>>
>>
>>
>> michael.k...@gmx.at schrieb am Sonntag, 26. Februar 2023 um 15:05:02 
>> UTC+1:
>>
>>> Hi all,
>>>
>>> there is a new version of the Bootstrap skin in the pipeline. Last year 
>>> this skin has been modernized and updated with interactive gauges and 
>>> charts, also, using MQTT live updates were made available.
>>>
>>> Preview: https://www.kainzbauer.net/weather/Rif/en/
>>>
>>> The version is still under development, to install it anyway, 
>>> download the "lang" branch here:
>>>
>>> https://github.com/brewster76/fuzzy-archer/archive/refs/heads/lang.zip
>>>
>>> wee_extension --install lang.zip
>>>
>>> Although I've installed it on several test environments, I cannot 
>>> guarantee everything will work flawlessly by now.
>>>
>>> If you encounter problems, please file any issues here: 
>>> https://github.com/brewster76/fuzzy-archer/issues and let me know in 
>>> this thread. 
>>>
>>> Version 4 now has few new features so far, but in another way it is 
>>> completely new:
>>>
>>> New in v4.0:
>>>
>>>- Complete and thorough overhaul of the skin, many breaking changes. 
>>>It is recommended to start over with a fresh install
>>>- This skin used to consist of thr