Commit Graph

81 Commits

Author SHA1 Message Date
Tom Keffer
c1b4a9c839 Simplify logic for installing extensions
Generalize logic. Allow other types besides skins and user files.
2023-08-29 16:25:41 -07:00
Tom Keffer
7f788cc7a7 Fix bug in error message 2023-08-20 14:53:50 -07:00
Tom Keffer
9030153817 Correct errors using gettext().
Use StringIO to initialize configuration.

Change skin name from 'basic' to 'Basic'.

Use .long_form for elapsed times.
2023-08-20 14:31:09 -07:00
Tom Keffer
09a92e5e0c Call super() without arguments
Python 3
2023-08-12 09:35:52 -07:00
Tom Keffer
2155ef0ce5 Fix small mistakes in the examples and docs 2023-08-12 07:35:08 -07:00
Tom Keffer
fe9eb512a8 Moved things back to their v4 locations.
make target `pypi-packages` copies them back into `wee_resources`
before invoking `poetry build`
2023-02-26 13:52:09 -08:00
Tom Keffer
925d3f3069 Refactor resources
Move them inside the package `wee_resources`
2022-12-09 15:35:46 -08:00
Tom Keffer
b877ea7cc5 Update vaporpressure example.
Related to issue #781.
2022-07-31 11:38:30 -07:00
Tom Keffer
056b08ed09 If null, use transparent color instead of blank string.
Move ValueTuple and ValueHelper docs to customizing guide.
2022-01-21 13:39:45 -08:00
Tom Keffer
d47c8a3881 Added tests for the various versions of $colorize 2022-01-16 12:52:32 -08:00
Tom Keffer
939a4df8d4 Check for 'None' in colorize_3.py. 2022-01-14 17:30:08 -08:00
Tom Keffer
b9e0d69ecc Add an even simpler version of colorize(). 2022-01-14 13:07:34 -08:00
Tom Keffer
a134534759 Add an SLE example $colorize().
New document about how to write an SLE.
Add a new function weewx.units.convertStdName().
2022-01-14 05:26:27 -08:00
Tom Keffer
aec1acb028 Rename the 'stats' example to 'seven_day' 2022-01-11 14:33:57 -08:00
Tom Keffer
7d8548c35b Move tag $alltime from examples to WeeWX core. 2022-01-10 13:37:32 -08:00
Tom Keffer
85f8247c61 Updated lowBattery example to use V4.0 style logging.
Added the ability to test it by running the module.
2021-10-12 17:00:52 -07:00
Tom Keffer
bdb646361f Updated alarm example to use V4.0 style logging. 2021-10-12 17:00:27 -07:00
Tom Keffer
13b884eba9 Changed from option "units" to "unit_system". 2021-05-27 10:31:17 -07:00
Tom Keffer
ff14bb0d7a Changed to a font that's more likely to exist.
Use relative paths.
2021-05-27 07:38:41 -07:00
Tom Keffer
399ed7a41b Changed the name of the report from 'basic' to 'BasicReport'.
More in line with other report names.
2021-05-11 05:13:00 -07:00
Tom Keffer
1a2c89a4ad Example "basic" now modifies its language code. 2021-05-11 05:10:26 -07:00
Tom Keffer
f88366c75b Changed how files are specified. 2021-05-10 16:24:10 -07:00
Tom Keffer
17b10af65c Minor issues with basic language files 2021-05-10 16:22:16 -07:00
Tom Keffer
eed6338398 Internationalized the example "basic" skin. 2021-05-10 05:18:11 -07:00
Tom Keffer
dc4a38bc31 Fixed some bugs that prevented the example skin 'basic' from running. 2021-05-02 08:37:04 -07:00
Tom Keffer
b703517638 Test example vaporpressure.py.
Also tests class XTypeTable
2020-12-25 17:41:45 -08:00
Tom Keffer
498137c042 Instructions on how to install vaporpressure example. 2020-10-18 07:59:36 -07:00
Tom Keffer
e99dd45818 Squashed commit of the following:
commit 5023ea5acdee7b7698d3f9e59118711503bbb2ab
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sun Oct 18 04:38:05 2020 -0700

    Suggest more xtypes examples.

commit 3c8b0e77c4a0c5163bde5df513f5eda37eac9853
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 08:07:31 2020 -0700

    Added sample image of vapor_p.
    Added comment about ordering matters.

commit 9ebc989d702f66249f6caafbd9ba1e9739eb42d4
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 17 06:15:18 2020 -0700

    XType class Delta can now use the same cumulative type more than once.
    Added tests.

commit 47857d83817a4fb32ab645245239cf5a56c65b19
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 16:29:18 2020 -0700

    Added XType 'Delta', for calculating differences from cumulative totals.

commit bb8a07bd3e828f7cd7f20660c8702370151bbb96
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:11:01 2020 -0700

    Reformat xtypes documentation. Finishes fix for issue #491.

commit a27d6e1dbdee272c2a2b22bb58d162cbb7472049
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 12:09:33 2020 -0700

    Upgrade now adds new service group xtypes_services.
    Update tests to follow.

commit 611dbc60d0908294ae268019c48f2ca7693f0615
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 09:11:47 2020 -0700

    No heat index for temperatures under 40F.

commit fe9e60818295fcc8386501425b259ea2111005d7
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:22:37 2020 -0700

    Update comments on get_series()

commit 14f3a15cd7df2e64674d794fb375cc7e807ad91a
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Fri Oct 16 08:12:03 2020 -0700

    Add a version of get_series() that works for xtypes.
    Document it.
    Include vaporpressure.py in the examples subdirectory.

commit 0995f772e6b204b13c60af42681fdb2e54ab200b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:52 2020 -0700

    More details about how to write an xtypes extension.

commit 1e1dce3a29f211944230119078e0108502f8f706
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 17:07:10 2020 -0700

    Add threading lock to RainRater.

commit bed387de5913e42291045b4780e8110c15229b73
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:59 2020 -0700

    Update and improve the xtypes documentation.

commit dc4f488d17a4aeaa9b9d604c500f7063c044a0af
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Thu Oct 15 04:49:31 2020 -0700

    Add service group xtype_services to weewx.conf.

commit 6f29b1a23d60189b07efae4d4ea160079eb973e8
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:43 2020 -0700

    It's OK for direction to be none, provided speed is zero

commit 034be1c968dd0bc33791d4f6559c15c7e28b6364
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 13:31:21 2020 -0700

    Check to make sure the section [Engine][[Services]] exists

commit 8cf2b3e372d1b9da948ef6caa27aadb721308850
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:24:13 2020 -0700

    Separate StdService from XType functionality.
    Makes XType functionality useful outside the context of WeeWX services.
    Simplifies test suites.

commit 9325e792cafa0a885f529ac15636202d518a9c61
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Wed Oct 14 08:23:07 2020 -0700

    Class DummyEngine derives from Engine.

commit 7ac31f7bd2b80c61792e0f3a5f0293ec1eb0666b
Author: Tom Keffer <tkeffer@gmail.com>
Date:   Sat Oct 10 16:26:19 2020 -0700

    Made it easier to add new, derived types via StdWXCalculate.
    See issue #491.
2020-10-18 05:49:45 -07:00
Tom Keffer
57cb9d1a2d Where the user directory is located.
Replenish Matthew's supply of capital letters.
2020-09-25 09:26:16 -07:00
Tom Keffer
36b9247957 Document option context. 2020-03-19 06:10:18 -07:00
Tom Keffer
d0f8c16c6b Ported pmon to Python 3 and WeeWX V4 2019-11-17 06:18:20 -08:00
Zanderama
1a8d9c63eb Changed .conf and .htm to use "#rrggbb" format rather than 0xbbggrr. Not tested, but looks sane. (#460)
Ran through the test suites, and it looks good!
2019-10-25 05:12:33 -07:00
Tom Keffer
ead77ce087 Ported examples to use the logging module 2019-10-08 14:43:37 -07:00
Tom Keffer
747563194f Port FileParse to Python 3 2019-07-03 19:21:05 -07:00
Tom Keffer
125dcc450c Ported pmon to Python 3. 2019-06-27 08:54:59 -07:00
Tom Keffer
a930e65c00 Introduce a uniform logging shim. Fixes issue #353 2019-02-26 13:08:19 -08:00
Tom Keffer
5595f8e4a8 Import ExtensionInstaller from weecfg.extension
...instead of setup
2019-02-04 08:51:59 -08:00
Tom Keffer
560b2d6159 Set logging mask for alarm.py 2019-01-15 13:53:35 -08:00
Tom Keffer
c311f11601 A more robust version of the test code was put back in alarm.py. 2019-01-14 17:03:57 -08:00
Tom Keffer
decf9ec1fb Removed so-called test code in alarm.py.
Should never have been in there in the first place.
2019-01-14 07:47:47 -08:00
Tom Keffer
f4151d00d2 Catch and log gaierror exceptions as well 2019-01-06 08:00:43 -08:00
Tom Keffer
6ac5708875 The thread that sounds the alarm is now in a try block. 2019-01-05 18:42:34 -08:00
Tom Keffer
683e8b8bf0 Minor reformatting. Fixed some PyCharm warnings. 2019-01-05 16:42:30 -08:00
tkeffer@gmail.com
16fc7fb5d3 Use WeeWX consistently (instead of weeWX). 2018-12-20 15:50:51 -08:00
Tom Keffer
cafce974c9 lowBattery and alarm now try SMTP_SSL connection. Fixes issue #351 2018-10-29 12:18:26 -07:00
Tom Keffer
f9dee8194f Merge branch 'patch-2' of https://github.com/evilbunny2008/weewx into evilbunny2008-patch-2 2018-09-07 18:54:21 -07:00
evilbunny2008
4dd7dee958 Update index.html.tmpl 2018-09-08 11:12:41 +10:00
evilbunny2008
4ae821ac6b Update index.html.tmpl 2018-09-08 11:00:22 +10:00
evilbunny2008
b4ff071973 Update readme.txt 2018-09-08 10:57:23 +10:00
evilbunny2008
2900f4ce44 Update readme.txt 2018-09-08 10:56:39 +10:00