I have copied sofaskin into folder /etc/weewx/skins/sofaskin
end enable it in weewx.conf
# This section specifies what reports, using which skins, to generate.
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = /etc/weewx/skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = /var/www/html/weewx
# The database binding indicates which data should be used in reports.
data_binding = wx_binding
# Whether to log a successful operation
log_success = True
# Whether to log an unsuccessful operation
log_failure = False
# Each of the following subsections defines a report that will be run.
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and other
# customizations. Many of those changes can be made here by overriding
# parameters, or by modifying templates within the skin itself.
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
# skin = Seasons
skin = sofaskin
enable = false
[[SmartphoneReport]]
# The SmartphoneReport uses the 'Smartphone' skin, and the images
and
# files are placed in a dedicated subdirectory.
# skin = Smartphone
skin = sofaskin
enable = false
HTML_ROOT = /var/www/html/weewx
[[MobileReport]]
# The MobileReport uses the 'Mobile' skin, and the images and files
# are placed in a dedicated subdirectory.
# skin = Mobile
skin = sofaskin
enable = false
HTML_ROOT = /var/www/html/weewx
[[StandardReport]]
# This is the old "Standard" skin. By default, it is not enabled.
# skin = Standard
skin = Sofaskin
enable = true
this is in LOG.
Jun 17 07:59:54 povej weewx[31558]: interceptor: ServerThread: GET:
ID=IDO10&PASSWORD=XXXX&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=242&absbaro=979.6&relbaro=1018.6&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21488.5&UV=704&dateutc=2019-6-17
5:59:54&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: raw data:
ID=IDO10&PASSWORD=np8xkt1j&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=242&absbaro=979.6&relbaro=1018.6&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21488.5&UV=704&dateutc=2019-6-17
5:59:54&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: using
rain_total 9.0 from yearlyrain
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: firmware
WS-1002 V2.4.6: baromin is barometer
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: ignored
parameter weeklyrain=3.0
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: ignored
parameter monthlyrain=9.0
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: ignored
parameter realtime=1
Jun 17 07:59:54 povej weewx[31558]: interceptor: MainThread: ignored
parameter rtfreq=5
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: ignored
parameter action=updateraw
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: ignored
parameter PASSWORD=XXXXXXXX
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: ignored
parameter ID=IDO10
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: ignored
parameter softwaretype=WS-1002 V2.4.6
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: ignored
parameter relbaro=1018.6
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: raw packet:
{'humidity_in': 59.0, 'wind_speed': 0.0, 'temperature_in': 25.0,
'windchill': 19.6, 'dewpoint': 19.5, 'luminosity': 21488.5, 'humidity_out':
99.0, 'uv': 704.0, 'radiation': 231.00137499999997, 'rain': 0.0,
'dateTime': 1560751194, 'pressure': 979.6, 'temperature_out': 19.6,
'wind_dir': 242.0, 'rain_total': 9.0, 'rain_rate': 0.0, 'usUnits': 16,
'wind_gust': 0.0}
Jun 17 07:59:55 povej weewx[31558]: interceptor: MainThread: mapped packet:
{'windchill': 19.6, 'dewpoint': 19.5, 'pressure': 979.6, 'outHumidity':
99.0, 'UV': 704.0, 'radiation': 231.00137499999997, 'rain': 0.0,
'dateTime': 1560751194, 'windDir': 242.0, 'outTemp': 19.6, 'windSpeed':
0.0, 'inHumidity': 59.0, 'inTemp': 25.0, 'windGust': 0.0, 'rainRate': 0.0,
'usUnits': 16}
Jun 17 08:00:05 povej weewx[31558]: interceptor: MainThread: empty queue
Jun 17 08:00:11 povej weewx[31558]: interceptor: ServerThread: GET:
ID=IDO10&PASSWORD=XXXX&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=248&absbaro=979.6&relbaro=1018.6&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21426.4&UV=705&dateutc=2019-6-17
6:0:10&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: raw data:
ID=IDO10&PASSWORD=np8xkt1j&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=248&absbaro=979.6&relbaro=1018.6&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21426.4&UV=705&dateutc=2019-6-17
6:0:10&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: using
rain_total 9.0 from yearlyrain
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: firmware
WS-1002 V2.4.6: baromin is barometer
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter weeklyrain=3.0
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter monthlyrain=9.0
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter realtime=1
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter rtfreq=5
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter action=updateraw
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter PASSWORD=XXXXXXXX
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter ID=IDO10
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter softwaretype=WS-1002 V2.4.6
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: ignored
parameter relbaro=1018.6
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: raw packet:
{'humidity_in': 59.0, 'wind_speed': 0.0, 'temperature_in': 25.0,
'windchill': 19.6, 'dewpoint': 19.5, 'luminosity': 21426.4, 'humidity_out':
99.0, 'uv': 705.0, 'radiation': 230.3338, 'rain': 0.0, 'dateTime':
1560751210, 'pressure': 979.6, 'temperature_out': 19.6, 'wind_dir': 248.0,
'rain_total': 9.0, 'rain_rate': 0.0, 'usUnits': 16, 'wind_gust': 0.0}
Jun 17 08:00:11 povej weewx[31558]: interceptor: MainThread: mapped packet:
{'windchill': 19.6, 'dewpoint': 19.5, 'pressure': 979.6, 'outHumidity':
99.0, 'UV': 705.0, 'radiation': 230.3338, 'rain': 0.0, 'dateTime':
1560751210, 'windDir': 248.0, 'outTemp': 19.6, 'windSpeed': 0.0,
'inHumidity': 59.0, 'inTemp': 25.0, 'windGust': 0.0, 'rainRate': 0.0,
'usUnits': 16}
Jun 17 08:00:21 povej weewx[31558]: interceptor: MainThread: empty queue
Jun 17 08:00:22 povej weewx[31558]: interceptor: ServerThread: GET:
ID=IDO10&PASSWORD=XXXX&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=248&absbaro=979.7&relbaro=1018.7&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21426.4&UV=705&dateutc=2019-6-17
6:0:22&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: raw data:
ID=IDO10&PASSWORD=np8xkt1j&intemp=25.0&outtemp=19.6&dewpoint=19.5&windchill=19.6&inhumi=59&outhumi=99&windspeed=0.0&windgust=0.0&winddir=248&absbaro=979.7&relbaro=1018.7&rainrate=0.0&dailyrain=3.0&weeklyrain=3.0&monthlyrain=9.0&yearlyrain=9.0&light=21426.4&UV=705&dateutc=2019-6-17
6:0:22&softwaretype=WS-1002 V2.4.6&action=updateraw&realtime=1&rtfreq=5
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: using
rain_total 9.0 from yearlyrain
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: firmware
WS-1002 V2.4.6: baromin is barometer
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter weeklyrain=3.0
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter monthlyrain=9.0
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter realtime=1
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter rtfreq=5
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter action=updateraw
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter PASSWORD=XXXXXXXX
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter ID=IDO10
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter softwaretype=WS-1002 V2.4.6
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: ignored
parameter relbaro=1018.7
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: raw packet:
{'humidity_in': 59.0, 'wind_speed': 0.0, 'temperature_in': 25.0,
'windchill': 19.6, 'dewpoint': 19.5, 'luminosity': 21426.4, 'humidity_out':
99.0, 'uv': 705.0, 'radiation': 230.3338, 'rain': 0.0, 'dateTime':
1560751222, 'pressure': 979.7, 'temperature_out': 19.6, 'wind_dir': 248.0,
'rain_total': 9.0, 'rain_rate': 0.0, 'usUnits': 16, 'wind_gust': 0.0}
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: mapped packet:
{'windchill': 19.6, 'dewpoint': 19.5, 'pressure': 979.7, 'outHumidity':
99.0, 'UV': 705.0, 'radiation': 230.3338, 'rain': 0.0, 'dateTime':
1560751222, 'windDir': 248.0, 'outTemp': 19.6, 'windSpeed': 0.0,
'inHumidity': 59.0, 'inTemp': 25.0, 'windGust': 0.0, 'rainRate': 0.0,
'usUnits': 16}
Jun 17 08:00:22 povej weewx[31558]: engine: Main loop exiting. Shutting
engine down.
Jun 17 08:00:22 povej weewx[31558]: restx: Shut down Wunderground-PWS
thread.
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: shutting down
server thread
Jun 17 08:00:22 povej weewx[31558]: interceptor: MainThread: stop tcp server
Jun 17 08:00:22 povej weewx[31558]: engine: Caught unrecoverable exception
in engine:
Jun 17 08:00:22 povej weewx[31558]: **** Unit system of incoming record
(0x01) differs from 'archive' table in 'weewx' database (0x11)
Jun 17 08:00:22 povej weewx[31558]: **** Traceback (most recent call
last):
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 890, in main
Jun 17 08:00:22 povej weewx[31558]: **** engine.run()
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 202, in run
Jun 17 08:00:22 povej weewx[31558]: ****
self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Jun 17 08:00:22 povej weewx[31558]: **** callback(event)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 582, in post_loop
Jun 17 08:00:22 povej weewx[31558]: **** self._software_catchup()
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 646, in _software_catchup
Jun 17 08:00:22 povej weewx[31558]: ****
self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
record=record, origin='software'))
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 224, in dispatchEvent
Jun 17 08:00:22 povej weewx[31558]: **** callback(event)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/engine.py", line 601, in new_archive_record
Jun 17 08:00:22 povej weewx[31558]: ****
dbmanager.addRecord(event.record, accumulator=self.old_accumulator)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/manager.py", line 243, in addRecord
Jun 17 08:00:22 povej weewx[31558]: ****
self._updateHiLo(accumulator, cursor)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/manager.py", line 1233, in _updateHiLo
Jun 17 08:00:22 povej weewx[31558]: ****
self._set_day_summary(_stats_dict, accumulator.timespan.stop, cursor)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/manager.py", line 1551, in _set_day_summary
Jun 17 08:00:22 povej weewx[31558]: ****
self._check_unit_system(day_accum.unit_system)
Jun 17 08:00:22 povej weewx[31558]: **** File
"/usr/share/weewx/weewx/manager.py", line 672, in _check_unit_system
Jun 17 08:00:22 povej weewx[31558]: **** self.std_unit_system))
Jun 17 08:00:22 povej weewx[31558]: **** UnitError: Unit system of
incoming record (0x01) differs from 'archive' table in 'weewx' database
(0x11)
Jun 17 08:00:22 povej weewx[31558]: **** Exiting.
Jun 17 08:00:22 povej python: detected unhandled Python exception in
'/usr/bin/weewxd'
Jun 17 08:00:23 povej abrt-server: Package 'weewx' isn't signed with proper
key
Jun 17 08:00:23 povej abrt-server: 'post-create' on
'/var/spool/abrt/Python-2019-06-17-08:00:22-31558' exited with 1
Jun 17 08:00:23 povej abrt-server: Deleting problem directory
'/var/spool/abrt/Python-2019-06-17-08:00:22-31558'
Dne nedelja, 16. junij 2019 22.17.46 UTC+2 je oseba gjr80 napisala:
>
> You say ‘whatever I do’ - exactly what have have you tried? Have you
> restarted WeeWX? What does the log show when debug = 1?
>
> Gary
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dbf9c6b6-e004-462f-949c-35f829b0368b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.