Open2300 - XBMC Weather Station
You are here: Foswiki>Open2300 Web>RelatedProjects>XBMCWeatherStation (07 Oct 2017, AndikaJuniar)Edit Attach

XBMC Weather station script


Watch weather data on the XBMC media center. The script reads the log file created with histlog2300.exe and log2300.exe and generates a screen with graphs.

Detailed Description

Give more details as required

Attached Files

You can download the script here:


Unzip the zip to the script section e.g c:\Program files\XBMC\scripts

In XBMC go to the script section and Weather station should appear.

Select Weather Station and the script should start showing a progress dialog and after a few seconds the graphs. At this point the script contains dummy data used for test in order to get real weather data you should configure open2300 to generate the needed log files.

I have included the needed open2300 applications for windows in the folder scriptpath"\Weather station\lib\stations\open2300". If you are using Linux you need to download the right package for your distribution and copy the needed applications (histlog,interval2300 and log2300) to this folder.

Users Guide

In the config file "scriptpath\Weather station\lib\stations\open2300\open2300.conf" you should set the parameter SERIAL_DEVICE to the right com port. To test that the connection to the weather station is working try to run the command log2300 log2300.log from a terminal window and examine that the log file contains the correct content.

The weather station has a nice feature to store the history for several hours witch makes it possible to turn of the computer at night and when not used. By running the command histlog histlog.log all history data are save to the file histlog.log. Default is to store a dataset each hour if you want to change this use the application interval2300 by running the command interval2300 30 30 (save a dataset every 30 min) be aware that all current history data is deleted.

At last you have to run the commands histog histlog.log and log2300 log2300.log at regulary basis thru cron or as a scheduled task in windows. histlog needs to run every 30 min and log2300 every 5 min (or less).

Note in Windows: When you create a scheduled task it seems as it is not possible to select less than one day as duration that is ok at the end of the guide you have the possibility to select advanced settings and here you have the possibility to set repeat. Also you have to modify the path to include the histlog.log as a parameter

Comments and Bug Reports

Nice! Any experience with running on XBMC on Ubuntu? You mention "download the right package", but that is a package for what? The serial port maybe? What about using a network share? I suppose people save the Open2300-data on some storage so it would be nice to share this data (samba or nfs) and have XBMC read that share.


-- C4Vette - 01 May 2012
-- kost

When you run the guide it seems as it is not possible to select less than one day as duration that is ok at the end of the guide you have the possibility to select advanced settings and here you have the possibility to set repeat.

RelatedProjectsForm edit

ProjectSummary A python script for XBMC that reads log files from histlog2300 and generates weather graphs to be displayed on the media center
ProjectStatus Stable
ReleaseVersion 1.0
ProjectSubmitter TimWentzlau
Topic attachments
I Attachment Action Size Date Who Comment
WeatherStation-1.1.zipzip manage 735 K 17 May 2010 - 13:15 UnknownUser all needed files to run the weather station script
Weather_station.zipzip manage 717 K 16 May 2010 - 23:38 UnknownUser  
xbmcweatherstation.JPGJPG xbmcweatherstation.JPG manage 79 K 16 May 2010 - 17:32 UnknownUser Screen dump of XBMC weather station script
Topic revision: r8 - 07 Oct 2017, AndikaJuniar
Copyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.