problems adding extra sensors

462 views
Skip to first unread message

J.L. Blom

unread,
Jun 1, 2015, 6:07:39 PM6/1/15
to weewx...@googlegroups.com
Hi,
I have a TE923 (~6 years) and it has a few extra sensors especially
extra out temperature which is situated near the wind sensors (where
also the solar panel is for charging the battery).
I have done what is in the users guide and added the sensors to
skins.conf file.
Here is the relevant part of skins.conf:
##########################################
[Labels]
# Labels used in this skin
.......
[[Generic]]

barometer = Barometer
.......
#These are probably specific for my station
extraTemp1 = Temperature at 10 meter
extraTemp2 = extra temperature 1
extraTemp3 = extra temperature 2

##########################################

But no extra plot is shown. I assume I do something not right.
When this succeed I will try one of the extra skins from the site.
I hope somebody can help me out.
Thanks in advance
Joep

J.L. Blom

unread,
Jun 1, 2015, 6:21:57 PM6/1/15
to weewx...@googlegroups.com
PHi,
PS
I did the following:
_______________________________________________
joep@kangoo ~ $ sudo wee_config_device --current
Using configuration file /etc/weewx/weewx.conf
Using TE923 driver version 0.12 (weewx.drivers.te923)
Querying the station for current weather data...
{'extraBatteryStatus1': True, 'outHumidity': None, 'rainBatteryStatus':
True, 'outTempBatteryStatus': True, 'inTemp': -41.7, 'windGustDir':
337.5, 'barometer': 4.5, 'windchill': None, 'rain': None, 'extraHumid4':
None, 'extraHumid2': None, 'extraHumid3': None, 'extraHumid1': None,
'rainTotal': 4310.8923, 'extraTemp4': None, 'extraTemp2': None,
'extraTemp3': None, 'usUnits': 16, 'extraTemp1': None,
'txBatteryStatus': True, 'extraBatteryStatus2': True,
'extraBatteryStatus3': True, 'windBatteryStatus': False, 'UV': 20.2,
'extraBatteryStatus4': True, 'dateTime': 1433196882, 'windDir': 337.5,
'outTemp': None, 'windSpeed': 225.3076, 'inHumidity': 10, 'windGust':
16.0934}
_________________________________________________
I have the impression that this is not correct as I see much different
values in my plots (as you can see at http://www.neuroweave.nl)
Is it possible that wee_config is not compatible with the station?
Thanks in advance
Joep


mwall

unread,
Jun 1, 2015, 6:37:05 PM6/1/15
to weewx...@googlegroups.com, jloui...@gmail.com
joep,

there is no plot for extraTemp1 because there are no values for extraTemp1 (extraTemp1: None)

you need to figure out why weewx is not getting data from your remote sensors.

how many remote sensors do you have?

which channels are they using?  (look at the small switch on the inside of each thermo/hygro sensor)

does the console display the readings from the remote sensors?

m

Joep L. Blom

unread,
Jun 2, 2015, 4:44:00 AM6/2/15
to weewx...@googlegroups.com
M,
Thanks for the reply.
I have the value of the extratemp1 on my console, currently it is 13.3 (and the outtemp is 13.0) so apparently it doen't read the values.
I don't have a memory map of the TE923 but there is a nifty program, I just rediscovered the tool te923tool that gives the values for the various components of the station.
As extra information my version of the Hideki 923 is the TFA Nexus. I have used wview for years and at one time I had the extratemp working ( using a patch of Jorg Somrey) so it can work but why it doen't work in my situation I haven't found out. I switched to weewx just recently due to it greater flexibility but it must work!
It also doesn't give any values for battery status etc. so apparently I do something wrong. I assume I have to start with a memory dump using the TE923tool but I don  know how to get a memory dump from weewx.
I hope you can give me some help.
Thanks in advance
Joep

mwall

unread,
Jun 2, 2015, 5:48:44 AM6/2/15
to weewx...@googlegroups.com, jloui...@gmail.com
On Tuesday, June 2, 2015 at 4:44:00 AM UTC-4, Joep L. Blom wrote:
M,
Thanks for the reply.
I have the value of the extratemp1 on my console, currently it is 13.3 (and the outtemp is 13.0) so apparently it doen't read the values.
I don't have a memory map of the TE923 but there is a nifty program, I just rediscovered the tool te923tool that gives the values for the various components of the station.
As extra information my version of the Hideki 923 is the TFA Nexus. I have used wview for years and at one time I had the extratemp working ( using a patch of Jorg Somrey) so it can work but why it doen't work in my situation I haven't found out. I switched to weewx just recently due to it greater flexibility but it must work!
It also doesn't give any values for battery status etc. so apparently I do something wrong. I assume I have to start with a memory dump using the TE923tool but I don  know how to get a memory dump from weewx.
I hope you can give me some help.
Thanks in advance
Joep


joep,

the solution is not that difficult.

you must either change the sensor channels to match the default channel/fieldname mapping, or change the sensor/fieldname map in the TE923 section of weewx.conf.  see the te923 section in the weewx user guide.

if your remote sensor is on channel 1 then everything will just work.  it will show up as outTemp and outHumidity.  it appears that is the case for one of your remote sensors.

the next remote sensor should be on channel 2, then it will appear as extraTemp1 and extraHumid1.

channel 3 will show up as extraTemp2 and extraHumid2.

channel 4 will show up as extraTemp3 and extraHumid3.

channel 5 will show up as extraTemp4 and extraHumid4.

however, the default schema does not include extraHumid3, extraTemp4, or extraHumid4, so those will appear in LOOP data but will not be saved to database unless you extend the schema (as described in the customization guide).

once again, how many remote sensors do you have and what channels are they using?

m

J.L. Blom

unread,
Jun 2, 2015, 2:47:04 PM6/2/15
to weewx...@googlegroups.com, jloui...@gmail.com
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/X6czeVEejX4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+...@googlegroups.com
> <mailto:weewx-user+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
M,
Thanks or your reply. I was away today so I couldn't answer earlier.
I have 1 extra sensor and I assume the battery status indicators. In the
official (Windows)-software the extra-sensor is visible.
I try to do a dump using TE923tool but my raspberry won't compile it as
it doesn't have the libusb that is required and it is rather large (4
MB) and I will not put too much stuff on it .
I have in skins.conf only changed the text with extraTemp1 as Tom
originally had there his pond thermometer but it is in the file.
I can of course add that file but maybe that isn't necessary but it
doesn't show as graph nor in the table.
I hope that's sufficient.
Joep

mwall

unread,
Jun 3, 2015, 8:31:50 AM6/3/15
to weewx...@googlegroups.com, jloui...@gmail.com
On Tuesday, June 2, 2015 at 2:47:04 PM UTC-4, Joep L. Blom wrote:

M,
Thanks or your reply. I was away today so I couldn't answer earlier.
I have 1 extra sensor and I assume the battery status indicators. In the
official (Windows)-software the extra-sensor is visible.

if there is only one remote sensor, and it is using channel 1, then it will show up as outTemp.

how many remote sensors are there?  what channel is each one using?

 
I try to do a dump using TE923tool but my raspberry won't compile it as
it doesn't have the libusb that is required and it is rather large (4
MB) and I will not put too much stuff on it .

there is no need to install te9123tool

m

J.L. Blom

unread,
Jun 3, 2015, 9:07:14 AM6/3/15
to weewx...@googlegroups.com, jloui...@gmail.com
> --
>
M,
Sorry if I was not clear. I have the normal out-sensor tha is connected
to channel 1 but the extra sensor is the sensor that is mounted on the
wind-vane and is I think channel 2. In the list this sensor is listed as:
extraTemp1 = t_2
and the standard outdoor sensor is coupled to:
outTemp = t_1
I tried to add windBatteryStatus, rainBatteryStatus and
outTempBatteryStatus to the skin.conf but it doesn't show in the graphs
nor elsewhere. It looks as if it simply isn't processed (or skipped
during processing). The strange thing is that the image daypond.png is
created every time although I have changed the name to "Temperatuur op
10 meter" but still the image name daypond,png persist but has no data
(originally it contained the extraTemp1 tag).
So I am still puzzled and am looking for a solution.
Joep



mwall

unread,
Jun 3, 2015, 12:50:50 PM6/3/15
to weewx...@googlegroups.com, jloui...@gmail.com
thank you joep.  the channel assignment matters; the position of the internal switch determines the channel.  the channel determines whether a sensor shows up as t_1/h_1, t_2/h_2, etc.  then weewx.conf determines the mapping from t_1/h_1 to the field names in the database schema.

although this command will give you current readings:

wee_config_device --current

you might want to run weewxd directly to see what it is getting over time.  stop weewx if it is already running, then do this:

sudo weewxd /path/to/weewx.conf

you should see LOOP and REC data.  you should see non-None values for every remote sensor.

if you see None for a sensor that you know exists, it is possible that your console has lost contact with a remote sensor.  to force the console to search for all sensors, press and hold the DOWN button.  this is true for the meade/honeywell version of the te923 hardware - check the manual for your hardware to see if it uses a different button.  and please let us know.

m

mwall

unread,
Jun 3, 2015, 12:53:03 PM6/3/15
to weewx...@googlegroups.com, jloui...@gmail.com
On Wednesday, June 3, 2015 at 9:07:14 AM UTC-4, Joep L. Blom wrote:
The strange thing is that the image daypond.png is
created every time although I have changed the name to "Temperatuur op
10 meter" but still the image name daypond,png persist but has no data
(originally it contained the extraTemp1 tag).
So I am still puzzled and am looking for a solution.

the name daypond is specified in skin.conf in the image generator section.

it is then referred to in the templates, such as index.html.tmpl

the image generator section tells the ImageGenerator which plots to create.  the template is the basis for the html that actual includes the png images.

m

J.L. Blom

unread,
Jun 3, 2015, 6:39:58 PM6/3/15
to weewx...@googlegroups.com, jloui...@gmail.com
On 03/06/15 23:47, J.L. Blom wrote:
>> --
>> You received this message because you are subscribed to a topic in
>> the Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/weewx-user/X6czeVEejX4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+...@googlegroups.com
>> <mailto:weewx-user+...@googlegroups.com>.
>> For more options, visit https://groups.google.com/d/optout.
> M,
> Thanks for your valuable information.
> I have followed your suggestion of (sudo) wee_config_device --current
> and this is the result:
> ____________________________________________
> Using configuration file /etc/weewx/weewx.conf
> Using TE923 driver version 0.12 (weewx.drivers.te923)
> Querying the station for current weather data...
> {'extraBatteryStatus1': True, 'outHumidity': 72, 'rainBatteryStatus':
> True, 'outTempBatteryStatus': True, 'inTemp': 23.150000000000002,
> 'windGustDir': None, 'barometer': 1029.1875, 'windchill': 9.5, 'rain':
> None, 'extraHumid4': None, 'extraHumid2': None, 'extraHumid3': None,
> 'extraHumid1': None, 'rainTotal': 241.67572, 'extraTemp4': None,
> 'extraTemp2': None, 'extraTemp3': None, 'usUnits': 16, 'extraTemp1':
> None, 'txBatteryStatus': True, 'extraBatteryStatus2': True,
> 'extraBatteryStatus3': True, 'windBatteryStatus': False, 'UV': None,
> 'extraBatteryStatus4': True, 'dateTime': 1433366812, 'windDir': None,
> 'outTemp': 14.4, 'windSpeed': 0.0, 'inHumidity': 50, 'windGust': 0.0}
> _____________________________________________
> As you can see it gives extraTemp1: None but my console displays: 9.2
> C and outer Temperature: 14.4 C so it looks as if the value of what I
> thought of as extraTemp1 is represented as windchill.
> The result of sudo weewxd /etc/weewx/weewx.conf is:
> _______________________________________________
> LOOP: 2015-06-03 23:42:58 CEST (1433367778) {'UV': None,
> 'outHumidity': 73, 'rainRate': 0, 'rainBatteryStatus': True,
> 'inDewpoint': 53.944640651514554, 'heatindex': 57.379999999999995,
> 'outTempBatteryStatus': True, 'inTemp': 73.75999999999999,
> 'windGustDir': None, 'barometer': 30.395378027170704, 'windchill':
> 48.2, 'dewpoint': 48.79638344526765, 'rain': 0.0, 'extraHumid4': None,
> 'extraHumid2': None, 'extraHumid3': None, 'extraHumid1': None,
> 'rainTotal': 241.67572, 'extraTemp4': None, 'extraTemp2': None,
> 'extraTemp3': None, 'usUnits': 1, 'extraTemp1': None,
> 'txBatteryStatus': True, 'extraBatteryStatus2': True,
> 'extraBatteryStatus3': True, 'windBatteryStatus': False,
> 'extraBatteryStatus1': True, 'extraBatteryStatus4': True, 'dateTime':
> 1433367778, 'windDir': None, 'outTemp': 57.379999999999995,
> 'windSpeed': 0.0, 'inHumidity': 50, 'windGust': 0.0}
> ______________________________________________________________
> It seems that extraTemp1 is not available and that instead of that the
> temperature sensor is displayed as windchill.
> That is my only explanation.
> I assume that is correct?
> Joep
>
M,
In reply to myself I took the time to read the manual of the TFA-Nexus
and it says for the console tab WIND:
WIND Wind Mode
Wind Chill
Temperarure at place of anemometer!!!
Well you know: RTFM!!!!
Joep


Reply all
Reply to author
Forward
0 new messages