Merewether Weather, Merewether Tides and Solar Power Monitoring for Merewether, NSW, Australia - Newcastle Weather

Twitter Contact Login Search

Viewing By Category:Linux Code

Back to Main

Tuesday 22nd January 2013
Date:
By Mangrove Mike

A few months ago I successfully achieved the goal of publishing my weather station data to my local MQTT server. Now I had to decide what I was going to do with it.

Inspired

... more

comment icon 0 comment

Categories: Linux Code | Weather Station
Tuesday 11th December 2012
Date:
By Mangrove Mike

I love MQTT and learning very quickly to love Python.

For a while I've been publishing the tide data from XTIDE (http://www.flaterco.com/xtide/) on both my Merewether Weather site and the ... more

comment icon 0 comment

Category: Linux Code
Friday 7th December 2012
Date:
By Mangrove Mike

Over the last couple of weeks I have been writing a MQTT to COSM bridge. Unfortunately (I think because of COSM) it has only been staying up and running for a few hours at a time.

My original code is here:

 

 

Thanks for Mosquitto

... more

comment icon 0 comment

Tuesday 30th October 2012
Date:
By Mangrove Mike

Hi folks,

I've just written a WeatherCat to MQTT bridge using the excellent WeatherCat Applescript interface.

MQTT allows lightweight publish and subscribe functionality and is used for process control, Arduino projects and lots of other fun things. The bridge I've written uses the open source MQTT tool Mosquitto

... more

comment icon 1 comment

Beautiful coding. Love this kind of stuff. Keep up the good work Mike. ___ ___ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¯¯¯¯¯¯¯¯¯

Posted by Kyle, 29/04/2014 8:03:36 pm

Categories: Linux Code | Weather Station
Monday 25th July 2011
Date:
By Mangrove Mike

After upgrading to OS X Lion most of my software was working fine. But, alas, the first time I used  Oracle sqlplus (for all my Oracle scripting goodies) it died with a segment fault.

I did have a full 10.2.0.4 client installed so I tried the 64 bit instantclient and got basically the same problem.

I then

... more

comment icon 2 comments

I have the same problem. Using the 32 bits solved the segmentation fault but for those that need to use oci with php, this doesn't work. Have you any ideia?

Posted by rgodinho, 27/07/2011 12:00:10 am

I have heard that by installing the full 32 bit client software may also solve the problem. Give that a try.

Posted by Mangrove Mike, 28/07/2011 11:57:43 am

Category: Linux Code
Thursday 19th May 2011
Date:
By Mangrove Mike

I was about to un-plug the old Linux work-horse (being slowly replaced by sexy Mac Mini Server) and realised that I hadn't converted my Currentcost Envi to work on OSX.

I initially thought it would be pretty straight-forward but after a labourious and unusual CPAN update to my perl installation I hit a road block with talking to the Prolific

... more

comment icon 0 comment

Monday 22nd November 2010
Date:
By Mangrove Mike

The objective was to move my xtide code (http://www.flaterco.com/xtide/xtide.html) which was running on an old Fedora Linux box and get it running on my Mac Mini Server running OSX Server 10.6.5 .

I contemplated using the Mac port put together by Lee-Ann Rucker (http://homepage.mac.com/lrucker/XTide/) put it didn't include

... more

comment icon 2 comments

Any luck getting this running on 10.7?

Posted by M, 03/07/2012 6:17:05 am

I haven't upgraded my Mac Mini to 10.7 yet. I haven't looked for a few months but originally there were quite a few problems with the USB-to-Serial drivers for the Weather Station. This in itself put a stop to the desire to upgrade. I'll give it a crack soon though (or maybe jump straight to Mountain Lion!).

Posted by Mangrove Mike, 03/07/2012 7:26:55 am

Category: Linux Code
Thursday 18th November 2010
Date:
By Mangrove Mike

It's not just the tides for Merewether but its the tides for Newcastle (which, lets face it, is pretty close). So you could use it for Stockton, Nobbys, Newcastle Beach, Bar Beach / Cooks Hill, Dixon Park Beach, etc.

The Merewether Tides are generated using data massaged from the brilliant program XTide 

... more

comment icon 0 comment

Categories: Linux Code | Weather Station
Thursday 4th November 2010
Date:
By Mangrove Mike

I have updated the software that I use to update the website from my Davis Station Vantage Vue.

I am part of the way through the change from my old Linux box to a nice, small, power efficient Mac Mini Server.

The first problem was getting the Mac to talk to the Davis Station data logger. Instead of getting the Davis Weatherlink

... more

comment icon 1 comment

yup, they are a lot of fun. When I was a kid I worked all smeumr to buy one of those weather kits from Edmund Science. My dad and I mounted it up on the roof and ran the wires down to my bedroom. I spent many hours learning how to forcast weather. Now with computers and 1 wire weather tech my weather hobby has hit a new high. Anyway I can't wait to see your weather site and maybe nfo's as well. It would be cool to set up a werather net between us three.

Posted by Radi, 28/04/2012 11:15:30 am

Categories: Linux Code | Weather Station
Friday 30th July 2010
Date:
By Mangrove Mike

The next step was to get the full message and then push up to a little ColdFusion XML consumer to put it all in a database structure.

Step 1:

Starting from the previous bash script I had to then grab the full message to POST up the ColdFusion website to process the data.

 

The bash script is something

... more

comment icon 0 comment