data = dict()
data['dateTime'] = int(data_array[0]) # unix timestamp
data['usUnits'] = weewx.METRIC
data['windSpeed'] = float(data_array[1]) # Anemometer measuring windspeed only
data['outTemp'] = float(data_array[0]) # PT100 measuring temperature outside
yield data Would this work?data['radiation'] = float(dataset_array_sensor[2]) # pyranometer 1
data['radiation1'] = float(dataset_array_sensor[3]) # pyranometer 2
data['radiation2'] = float(dataset_array_sensor[4]) # pyranometer 3
data['radiation3'] = float(dataset_array_sensor[5]) # pyranometer 4
[DataBindings]
[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = user.extensions.radiation_schema
##############################################################################
# This section defines various databases.
[Databases]
# A SQLite database is simply a single file
[[archive_sqlite]]
database_name = radiation.sdb
database_type = SQLite
# MySQL
[[archive_mysql]]
database_name = weewx
database_type = MySQL
Alias /weewx /opt/MyApp/weewx/public_html
<Directory /opt/MyApp/weewx/public_html>
Options FollowSymlinks
AllowOverride None
# for apache 2.2
Order allow,deny
Allow from all
# for apache 2.4
# Require all granted
</Directory>But can you answer me the question if there are limitations regarding the color formatting in the skin.conf?E.g. I can not set the color '0xD17729' in the ImageGenerator Section for the label 'axis_label_font_color'. E.g. 'white' or 'yellow' works great.When I try for example 'axis_label_font_color = 0xD17729' the axis label font color just appears as blue.So are there limits what color codes I can use?Any thoughts?
Gary
cd /home/weewx sudo cp util/init.d/weewx.debian /etc/init.d/weewx sudo chmod +x /etc/init.d/weewx sudo update-rc.d weewx defaults 98 sudo /etc/init.d/weewx start
Ok, thanks Tim, good advice! :)So basically there is no need to use the file from util/init.d/weewx.debian like the DOCs advice.So there is no downside by not using the instruction from the documentary and just execute the ./bin/weewxd weewx.conf file with the weewx.conf as first parameter from the /etc/rc.local file?