weewx/meteostick no data temp_hum_1_channel

129 views
Skip to first unread message

Joachim Puttkammer

unread,
Aug 13, 2016, 10:15:14 AM8/13/16
to weewx-user
I installed meteostick after the instruction of Matthew Wall ' https://github.com/matthewwall/weewx-meteostick'.
It works nearly perfect (thanks to matthew), but there is a problem with the temp_hum_1_channel und temp_hum_2_channel data.

weewx.conf
    # The channel of the Vantage Vue, Pro, or Pro2 ISS
    iss_channel = 1
    # Additional channels apply only to Vantage Pro or Pro2
    anemometer_channel = 4
    leaf_soil_channel = 5
    temp_hum_1_channel = 2
    temp_hum_2_channel = 3
--

There are datas from the ISS  $current.outTemp etc. , the anemometer $current.windSpeed, the leaf_soil $current.soilMoist1  

but no datas for temp_hum_1 $current.extraTemp1  and temp_hum_2 $current.extraTemp2

The temp_hum_X_channels meassure only temperatures (greenhouse and pool)

mwall

unread,
Aug 27, 2016, 8:29:29 AM8/27/16
to weewx-user
On Saturday, August 13, 2016 at 10:15:14 AM UTC-4, Joachim Puttkammer wrote:
I installed meteostick after the instruction of Matthew Wall ' https://github.com/matthewwall/weewx-meteostick'.
It works nearly perfect (thanks to matthew), but there is a problem with the temp_hum_1_channel und temp_hum_2_channel data.

thank you for the kind words, but luc and kobuki deserve the credit for the meteostick driver.

 
weewx.conf
    # The channel of the Vantage Vue, Pro, or Pro2 ISS
    iss_channel = 1
    # Additional channels apply only to Vantage Pro or Pro2
    anemometer_channel = 4
    leaf_soil_channel = 5
    temp_hum_1_channel = 2
    temp_hum_2_channel = 3
--

There are datas from the ISS  $current.outTemp etc. , the anemometer $current.windSpeed, the leaf_soil $current.soilMoist1  

but no datas for temp_hum_1 $current.extraTemp1  and temp_hum_2 $current.extraTemp2

do you see any data when you do $day.extraTemp1 or $week.extraTemp2 ?

do you see any data when you query the database directly?  for example, something like this:

sqlite3 /var/lib/weewx/weewx.sdb
sqlite> select dateTime,outTemp,leaf_soil,extraTemp1,extraTemp2 from archive;


Joachim Puttkammer

unread,
Aug 28, 2016, 3:02:04 AM8/28/16
to weewx-user


Am Samstag, 27. August 2016 14:29:29 UTC+2 schrieb mwall:
On Saturday, August 13, 2016 at 10:15:14 AM UTC-4, Joachim Puttkammer wrote:
I installed meteostick after the instruction of Matthew Wall ' https://github.com/matthewwall/weewx-meteostick'.
It works nearly perfect (thanks to matthew), but there is a problem with the temp_hum_1_channel und temp_hum_2_channel data.

thank you for the kind words, but luc and kobuki deserve the credit for the meteostick driver.

 
weewx.conf
    # The channel of the Vantage Vue, Pro, or Pro2 ISS
    iss_channel = 1
    # Additional channels apply only to Vantage Pro or Pro2
    anemometer_channel = 4
    leaf_soil_channel = 5
    temp_hum_1_channel = 2
    temp_hum_2_channel = 3
--

There are datas from the ISS  $current.outTemp etc. , the anemometer $current.windSpeed, the leaf_soil $current.soilMoist1  

but no datas for temp_hum_1 $current.extraTemp1  and temp_hum_2 $current.extraTemp2

do you see any data when you do $day.extraTemp1 or $week.extraTemp2 ?

NO DATA
 

do you see any data when you query the database directly?  for example, something like this:

sqlite3 /var/lib/weewx/weewx.sdb
sqlite> select dateTime,outTemp,leaf_soil,extraTemp1,extraTemp2 from archive;
 













the table columns extraTemp1 and extraTemp2 are empty, not dateTime and outTemp
I tried also mysql, the same result.
I also tested the meteostick with a terminal programm like CuteCom, it readouts all sensors.

mwall

unread,
Aug 28, 2016, 12:51:13 PM8/28/16
to weewx-user
joachim,

it looks like the 'machine' format parses for temp_1 and temp_2, but the 'raw' format does not.

as a short-term hack, try setting format=machine in the [Meteostick] section in weewx.conf, then restart weewx.

m

mwall

unread,
Aug 28, 2016, 12:57:06 PM8/28/16
to weewx-user
luc and kobuki,

the meteostick driver is missing code to parse thermo/hygro station data.  see the if clause around line 1038.  it gets the battery status, but does not parse the sensor data.

joachim, if you leave format=raw and set debug=2, you should see messages about "data from thermo/hygro channel: ...".  please post these log messages so that we can implement the code to do raw parsing for thermo/hygro sensors.

m

Luc Heijst

unread,
Aug 28, 2016, 2:07:06 PM8/28/16
to weewx-user
Matthew,

Until now we don't know the data format of a thermo/hygro station. That's why the code in the raw parsing is missing.

With help of the debug data of Joachim we could find out the missing protocol and complete the driver.

Luc.  

Luc Heijst

unread,
Aug 28, 2016, 2:25:14 PM8/28/16
to weewx-user
Joachim,

With your help we can complete the meteostick driver!
Please set 
    debug_parse = 2
in the meteostick section of weewx.conf and restart weewx.
Please send the log files from the start of weewx over a period of about one hour..
You can send the file to my private mail address: ljm.heijst at gmail dot com.

Thanks in advance.

As soon as the protocol is known I will send you a modified driver for testing.

Cheers,
Luc 

Could you please send 

Joachim Puttkammer

unread,
Aug 28, 2016, 5:31:53 PM8/28/16
to weewx-user
Luc,
tomorrow I will sent the logfile.

Joachim

mwall

unread,
Sep 5, 2016, 10:34:15 PM9/5/16
to weewx-user
joachim,

meteostick driver 0.42 is now available on github.  please try it with format=raw to see if it gets the data from your sensors now.

m

Joachim Puttkammer

unread,
Sep 12, 2016, 7:05:30 AM9/12/16
to weewx-user

meteostick driver 0.42 is now available on github.  please try it with format=raw to see if it gets the data from your sensors now.

I tried the new driver (after my vacation) the result is : no datas for  extraTempX sensors  and value for outTemp is too high
format=machine gives values for ALL sensors , but all values are not correct

The older driver generates correct values (format=raw) unfortunately no datas for  extraTempX sensors.

--
Joachim

L.J.M. Heijst

unread,
Sep 12, 2016, 1:06:20 PM9/12/16
to weewx...@googlegroups.com
Joachim,

Please set debug_parse = 2 and format = raw in weewx.conf and restart weewx with the latest driver from github (0.42). Which values do you get for outTemp and what values did you expect?
You can sent the log file to my private mail.

Luc

Verstuurd vanaf mijn iPad
--
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/90iGZ0PDvQY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joachim Puttkammer

unread,
Sep 24, 2016, 2:40:33 AM9/24/16
to weewx-user
Thanks to Luc,

the new meteostick driver version works very well,
there are good datas for all sensors.

Joachim

Luc Heijst

unread,
Sep 24, 2016, 8:30:45 AM9/24/16
to weewx-user
The credit also comes to Kobuki of the meteostick driver testing team. Together we sorted out how to handle this problem.
Also thanks to Matthew for his advices.
Luc

fraban

unread,
Sep 27, 2016, 11:13:03 AM9/27/16
to weewx-user
Hi Luc, hi Kobuki 

I´m still back from summer season and thank you for all the work with meteostick.  In the meanwhile I updated all sticks to 0.44 - still working. 
Thanks here to all - great job

-frank
Reply all
Reply to author
Forward
0 new messages