Mangrove Mike's Blog
Recent Posts in Linux Code
Back to Main
Monday 30th January 2023
Here is the node-red flow. It was done polling the API so I will re-do using the webhook but at least its a start. You need to install and run it once to determine the ID of your pill - that's the top section of the flow. Just turn the message on. Then put the ID into the first node of the second section (my pill is called Old Yella). See how... more
Tuesday 22nd January 2013
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.
Tuesday 11th December 2012
Friday 7th December 2012
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
Tuesday 30th October 2012
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
Monday 25th July 2011
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
Thursday 19th May 2011
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
Monday 22nd November 2010
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
Thursday 18th November 2010
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
Thursday 4th November 2010
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