Page 1 of 3
Update 4.6s
Posted: Sat Nov 13, 2010 6:53 pm
by admin
Update to Meteohub V4.6s (NSLU2, x86, SheevaPlug) brings these features:
- support for "meteonews" weather network (not yet operational)
- compensation of bad time data in vantage logger when reading internal vantage logger data
- better handling of sensors not received from vantage (wind, rain)
- support for reading internal vantage logger data when using a meteoplug client
- protection of activation code against unwanted deletion
- adds a new addressing schema for USB serial converters that reflects the physical connector the converter is connected to. This allows to use multiple usb-serial connections and to have these devices named in a proper way. Device identifier is "/dev/ttyMHxy", where x indicates the usb bus number and y the usb device number on the bus. In case of an additional USB hub the schema is "/dev/ttyMHxyz", where x is usb bus, y is bus of usb hub and z is usb device number. Old "/dev/ttyUSB*" schema is also kept in place. You can choose which one to use.
Link:
http://www.meteohub.de/files/update-v4.6s.upd
Re: Update 4.6s
Posted: Fri Nov 19, 2010 8:34 pm
by HeinrichH
Is it possible to switch of the download of the Davis Logger?
I'm using 2 Meteohub systems, one system in Portugal where the Davis station is located and one station in the Netherlands connected via TCP/IP Mteohub to the Davis station in Portugal.
If I restart the system in Portugal there are no problems but after the upgrade to 4.6r or 4.6s on the system in the Netherlands the system hung by syncing
Part of Meteohub log:
ogger (19.11.2010 16:44:27): connect station 0 (RFXCOM via TCP/IP Meteohub).
logger (19.11.2010 16:44:29): connect station 1 (RFXCOM via USB serial).
logger (19.11.2010 16:44:29): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:44:29): connect station 3 (System Data via Plug-in).
logger (19.11.2010 16:44:29): station 2 (Vantage), syncing.
logger (19.11.2010 16:44:29): station 2 (Vantage), rain collector size 0.2 mm per tick.
logger (19.11.2010 16:44:29): station 2 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (19.11.2010 16:44:31): station 2 (Vantage), wrong checksum of DMPAFT response, restarting logger read out.
logger (19.11.2010 16:44:31): station 2 (Vantage), syncing.
logger (19.11.2010 16:47:57): station 2 (Vantage), buffer full.
logger (19.11.2010 16:47:57): disconnect station 2 (Vantage).
logger (19.11.2010 16:48:28): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:48:28): station 2 (Vantage), syncing.
logger (19.11.2010 16:48:28): unexpected 0 bytes delivered from weather station 2 (Vantage)
logger (19.11.2010 16:48:28): disconnect station 2 (Vantage).
logger (19.11.2010 16:48:58): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:48:58): station 2 (Vantage), syncing.
logger (19.11.2010 16:48:59): unexpected 0 bytes delivered from weather station 2 (Vantage)
logger (19.11.2010 16:48:59): disconnect station 2 (Vantage).
logger (19.11.2010 16:49:29): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:49:29): station 2 (Vantage), syncing.
logger (19.11.2010 16:49:29): unexpected 0 bytes delivered from weather station 2 (Vantage)
logger (19.11.2010 16:49:29): disconnect station 2 (Vantage).
logger (19.11.2010 16:49:59): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:49:59): station 2 (Vantage), syncing.
logger (19.11.2010 16:49:59): unexpected 0 bytes delivered from weather station 2 (Vantage)
logger (19.11.2010 16:49:59): disconnect station 2 (Vantage).
logger (19.11.2010 16:50:30): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 16:50:30): station 2 (Vantage), syncing.
logger (19.11.2010 16:50:30): unexpected 0 bytes delivered from weather station 2 (Vantage)
logger (19.11.2010 16:50:30): disconnect station 2 (Vantage).
After downgrading to 4.6q the problem was over.
Part of Meteohub log after downgrading:
logger (19.11.2010 18:20:25): data logger started.
logger (19.11.2010 18:20:25): connect station 0 (RFXCOM via TCP/IP Meteohub).
logger (19.11.2010 18:20:28): connect station 1 (RFXCOM via USB serial).
logger (19.11.2010 18:20:28): connect station 2 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 18:20:28): connect station 3 (System Data via Plug-in).
logger (19.11.2010 18:20:28): station 2 (Vantage), syncing.
logger (19.11.2010 18:20:28): station 2 (Vantage), rain collector size 0.2 mm per tick.
logger (19.11.2010 18:20:28): station 2 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (19.11.2010 18:20:28): station 2 (Vantage), ready logging data
This is the normal start up sequence.
Re: Update 4.6s
Posted: Fri Nov 19, 2010 8:42 pm
by admin
When the error could be reproduced on your system, I would be glad to analyze why this happens.
Do you have a chance to give me login on ports 7777 and 22?
Re: Update 4.6s
Posted: Fri Nov 19, 2010 8:51 pm
by HeinrichH
Yes, it's possible to give you access, I will send you a private mail with the IP number
Re: Update 4.6s
Posted: Sat Nov 20, 2010 12:10 am
by admin
Thanks, I think I have fixed this now.
Your situation is very special as you read data from Vantage daisy-chained via TCPIP from another Meteohub that has a Vantage directly connected. Adding the Vantage logger read-out functions I did not took care of this very special daisy-chaining feature of Meteohub. I changed the Meteohub logger in a way, that the daisy-chained Meteohub does just read the live data and has no access to the data coming from Vantage's internal logger. I think you might be the only one using cascaded Meteohubs. However, great to see that even such special features of Meteohub are used

I never took much attention to this... so I learned again...
Thanks for letting me probing with your system. Hopefully, data gaps are not too large by that.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 12:41 am
by HeinrichH
It's nice to have two weather stations in different country's, I use the data to compare the values and to make nice graphics. You can see the gap, this is the straight line, first part was the transfer of the system and the last hour or so was your gap.
Tomorrow I upgrade the system to the latest version and I let you know if it's working.

- Temperature and barometer in two country's
- E50-Temp-Emmen-Panoias-laatste-96-uur.png (19.15 KiB) Viewed 10712 times
Re: Update 4.6s
Posted: Sat Nov 20, 2010 12:55 am
by admin
I will provide an update called "4.6s-experimental" which has this fix (and some enhancements still in development). Please take this one to test with cascaded Meteohubs in case of a connected Vantage. Otherwise, please stick with "4.6s", a new more tested "4.6t" will appear soon.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 4:43 am
by d_l
Boris, I have cascaded Meteohubs as well. I have a SheevaPlug (WeatherPlug) collecting data from two different VP2s. The SheevaPlug sends data to my old NSLU2 which uploads a second set of clientraw files for the second VP2. Both Meteohubs are running 4.6r. On Oct 31, I started getting Meteohub log messages similar to HeinrichH's on the NSLU2, but the problem self cleared up on Nov 1. A few days ago, the problem re-occured and hasn't cleared up like before. The following is typical of the continuous messages the NSLU2 is outputting:
logger (19.11.2010 00:09:01): connect station 0 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 00:09:01): station 0 (Vantage), syncing.
logger (19.11.2010 00:09:01): station 0 (Vantage), rain collector size 0.01 inch per tick.
logger (19.11.2010 00:09:01): station 0 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (19.11.2010 00:09:01): station 0 (Vantage), wrong checksum of DMPAFT response, restarting logger read out.
logger (19.11.2010 00:09:01): station 0 (Vantage), syncing.
logger (19.11.2010 00:12:45): station 0 (Vantage), buffer full.
logger (19.11.2010 00:12:45): disconnect station 0 (Vantage).
logger (19.11.2010 00:13:16): connect station 0 (Vantage via TCP/IP Meteohub).
logger (19.11.2010 00:13:21): station 0 (Vantage), syncing.
logger (19.11.2010 00:13:29): station 0 (Vantage), rain collector size 0.01 inch per tick.
logger (19.11.2010 00:13:29): station 0 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (19.11.2010 00:13:30): station 0 (Vantage), wrong checksum of DMPAFT response, restarting logger read out.
logger (19.11.2010 00:13:30): station 0 (Vantage), syncing.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 10:33 am
by HeinrichH
I wait until version 4.6t is on line. The system is working good now.
@ d_I I advise to go back to 4.6q and also to wait for the 4.6t upgrade to get rid of the no data periods.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 10:38 am
by admin
There is a "4.6s-experimental" ready for installation (update auto). You might give this a try. You can update back to regular "4.6s" from there, if you encounter problems.
As I doubt that many other user have cascaded Meteohubs, it might be worth a try. Without your feedback I can hardly bring things regarded cascaded Meteohubs into a stable situation for the next official release. "4.6s-experimental" seems to work ok as the second Meteohub in the queue. I have not tested if it is also suitable to be used for the Meteohub directly connected to the weather station.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 11:06 am
by HeinrichH
Boris,
Just installed 4.6s-experimental. System is running good now.
Meteohub log from 4.6q to 4.6s experimental:
From 4.6q to 4.6r:
logger (20.11.2010 09:48:48): parent process received termination signal (15).
logger (20.11.2010 09:48:48): child process received termination signal (15).
logger (20.11.2010 09:50:20): data logger started.
logger (20.11.2010 09:50:20): connect station 0 (RFXCOM via TCP/IP Meteohub).
logger (20.11.2010 09:50:23): connect station 1 (RFXCOM via USB serial).
logger (20.11.2010 09:50:23): connect station 2 (Vantage via TCP/IP Meteohub).
logger (20.11.2010 09:50:23): connect station 3 (System Data via Plug-in).
logger (20.11.2010 09:50:23): station 2 (Vantage), syncing.
logger (20.11.2010 09:50:23): station 2 (Vantage), rain collector size 0.2 mm per tick.
logger (20.11.2010 09:50:23): station 2 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (20.11.2010 09:50:23): station 2 (Vantage), no significant data gap (146 seconds), no reading of Vantage's internal logger.
No need to reed the the internal data for cascaded Vantage station, receiving data
From 4.6r to 4.6s:
logger (20.11.2010 09:54:28): parent process received termination signal (15).
logger (20.11.2010 09:54:28): child process received termination signal (15).
logger (20.11.2010 09:54:28): error while waiting for data from weather stations
logger (20.11.2010 09:54:28): disconnect station 0 (RFXCOM).
logger (20.11.2010 09:54:28): disconnect station 1 (RFXCOM).
logger (20.11.2010 09:54:28): disconnect station 2 (Vantage).
logger (20.11.2010 09:54:28): disconnect station 3 (System Data).
logger (20.11.2010 09:54:28): data logger stopped.
logger (20.11.2010 09:55:36): data logger started.
logger (20.11.2010 09:55:37): connect station 0 (RFXCOM via TCP/IP Meteohub).
logger (20.11.2010 09:55:42): connect station 1 (RFXCOM via USB serial).
logger (20.11.2010 09:55:42): connect station 2 (Vantage via TCP/IP Meteohub).
logger (20.11.2010 09:55:42): connect station 3 (System Data via Plug-in).
logger (20.11.2010 09:55:42): station 2 (Vantage), syncing.
Cascaded Vantage station locked after message syncing
From 4.6s to 4.6s experimental:
logger (20.11.2010 09:57:54): parent process received termination signal (15).
logger (20.11.2010 09:57:54): child process received termination signal (15).
logger (20.11.2010 09:57:54): disconnect station 0 (RFXCOM).
logger (20.11.2010 09:57:54): disconnect station 1 (RFXCOM).
logger (20.11.2010 09:57:54): disconnect station 2 (Vantage).
logger (20.11.2010 09:57:55): disconnect station 3 (System Data).
logger (20.11.2010 09:57:55): data logger stopped.
logger (20.11.2010 09:58:56): data logger started.
logger (20.11.2010 09:58:56): connect station 0 (RFXCOM via TCP/IP Meteohub).
logger (20.11.2010 09:58:59): connect station 1 (RFXCOM via USB serial).
logger (20.11.2010 09:58:59): connect station 2 (Vantage via TCP/IP Meteohub).
logger (20.11.2010 09:58:59): connect station 3 (System Data via Plug-in).
logger (20.11.2010 09:58:59): station 2 (Vantage), syncing.
logger (20.11.2010 09:58:59): station 2 (Vantage), rain collector size 0.2 mm per tick.
logger (20.11.2010 09:58:59): station 2 (Vantage), transmitter 1 active as station type (#0) "ISS".
Cascaded Vantage station is receiving data Looking good now, all sensors up and running.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 11:40 am
by admin
thanks for checking. So this feature will go into 4.6t. Puhhh....
Your setup is really challanging: 3 stations, 2 of them remote and about 40 sensors all together (including power meters). Sensor section listing all that data is really impressive!
Re: Update 4.6s
Posted: Sat Nov 20, 2010 11:49 am
by rongic
Dear Boris,
I have tested 4.6s-experimental version on my ALIX board with Meteohub, and I have a little issue with Vantage reading.
After reboot, I didn't see data from Vantage and in Meteohub log there is:
logger (20.11.2010 10:31:53): data logger started.
logger (20.11.2010 10:31:57): connect station 0 (Vantage via serial).
logger (20.11.2010 10:31:57): connect station 2 (1-wire via Plug-in).
logger (20.11.2010 10:31:57): station 0 (Vantage), syncing.
logger (20.11.2010 10:32:21): station 0 (Vantage), buffer full.
logger (20.11.2010 10:32:21): disconnect station 0 (Vantage).
logger (20.11.2010 10:32:53): connect station 0 (Vantage via serial).
logger (20.11.2010 10:32:53): station 0 (Vantage), syncing.
logger (20.11.2010 10:33:12): station 0 (Vantage), buffer full.
logger (20.11.2010 10:33:12): disconnect station 0 (Vantage).
logger (20.11.2010 10:33:46): connect station 0 (Vantage via serial).
logger (20.11.2010 10:33:46): station 0 (Vantage), syncing.
logger (20.11.2010 10:34:03): station 0 (Vantage), buffer full.
logger (20.11.2010 10:34:03): disconnect station 0 (Vantage).
logger (20.11.2010 10:34:34): connect station 0 (Vantage via serial).
logger (20.11.2010 10:34:34): station 0 (Vantage), syncing.
logger (20.11.2010 10:34:52): station 0 (Vantage), buffer full.
logger (20.11.2010 10:34:52): disconnect station 0 (Vantage).
wmr928fulleval(20.11.2010 10:35:01): recomputation of weather data started.
logger (20.11.2010 10:35:22): connect station 0 (Vantage via serial).
logger (20.11.2010 10:35:22): station 0 (Vantage), syncing.
logger (20.11.2010 10:35:41): station 0 (Vantage), buffer full.
logger (20.11.2010 10:35:41): disconnect station 0 (Vantage).
and so on...
So I made the downgrade back to 4.6s and everythink is working again.
logger (20.11.2010 10:45:12): connect station 0 (Vantage via serial).
logger (20.11.2010 10:45:12): connect station 2 (1-wire via Plug-in).
logger (20.11.2010 10:45:13): station 0 (Vantage), syncing.
logger (20.11.2010 10:45:29): station 0 (Vantage), rain collector size 0.2 mm per tick.
logger (20.11.2010 10:45:29): station 0 (Vantage), transmitter 1 active as station type (#0) "ISS".
logger (20.11.2010 10:45:29): station 0 (Vantage), transmitter 2 active as station type (#4) "Wireless Anemometer".
logger (20.11.2010 10:45:29): station 0 (Vantage), transmitter 3 active as station type (#8) "SensorLink".
logger (20.11.2010 10:45:34): station 0 (Vantage), data gap of 16 minutes, start reading Vantage's internal logger after 2010-11-20 10:25 (Vantage's local time).
logger (20.11.2010 10:45:35): station 0 (Vantage), internal logger provides 5 pages of data.
logger (20.11.2010 10:45:35): station 0 (Vantage), finished reading internal logger, 16 records inserted.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 12:37 pm
by HeinrichH
admin wrote:thanks for checking. So this feature will go into 4.6t. Puhhh....
Your setup is really challanging: 3 stations, 2 of them remote and about 40 sensors all together (including power meters). Sensor section listing all that data is really impressive!
Thanks, for me it's a challenge to see what's possible to do with relative cheap equipment and programs according the expensive equipment I use professional. I'm working in the industrial automation.
Just ordered some 1-wire equipment like lightning sensors to connect this also to the two Meteohub systems

The 1-wire system will be connected trough the RFXcom receivers and a RFXsensor type 3 on both locations.
Re: Update 4.6s
Posted: Sat Nov 20, 2010 2:59 pm
by rabit
Hi Boris,
i tested the experimental but with big problems.
> no data..
The 4.6s was running without problems. So i installed the 4.6s again.
logger (20.11.2010 12:45:25): connect station 0 (Vantage via TCP/IP).
logger (20.11.2010 12:45:28): station 0 (Vantage), syncing.
logger (20.11.2010 13:00:23): station 0 (Vantage), buffer full.
logger (20.11.2010 13:00:23): disconnect station 0 (Vantage).
logger (20.11.2010 13:00:53): connect station 0 (Vantage via TCP/IP).
logger (20.11.2010 13:00:58): station 0 (Vantage), syncing.
logger (20.11.2010 13:15:50): station 0 (Vantage), buffer full.
logger (20.11.2010 13:15:50): disconnect station 0 (Vantage).
logger (20.11.2010 13:16:20): connect station 0 (Vantage via TCP/IP).
logger (20.11.2010 13:16:25): station 0 (Vantage), syncing.
logger (20.11.2010 13:31:23): station 0 (Vantage), buffer full.
logger (20.11.2010 13:31:23): disconnect station 0 (Vantage).
logger (20.11.2010 13:31:53): connect station 0 (Vantage via TCP/IP).
logger (20.11.2010 13:31:58): station 0 (Vantage), syncing.
logger (20.11.2010 13:46:55): station 0 (Vantage), buffer full.
logger (20.11.2010 13:46:55): disconnect station 0 (Vantage).
logger (20.11.2010 13:47:25): connect station 0 (Vantage via TCP/IP).
logger (20.11.2010 13:47:28): station 0 (Vantage), syncing.
Update: With the 4.6s:
logger (20.11.2010 14:01:41): station 0 (Vantage), internal logger provides 9 pages of data.
logger (20.11.2010 14:01:46): station 0 (Vantage), finished reading internal logger, 41 records inserted.
I like the logger reading..