Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:55 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : uMite/MeteoTemplate Home Weather

Author Message
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 10:58am 08 Nov 2018
Copy link to clipboard 
Print this post

Some time ago I developed some software on a Mite to decode the output from a La Crosse Wind sensor (Speed and Direction), it worked but unfortunately not totally reliably. Then just recently I put in some more time and eventually was able to improve the code sufficiently to get over the problems. I updated the code in the original thread here. Due to the location of this sensor (elevation and as far as possible away from buildings) this was a stand alone unit with the uMite decoding the sensor and then broadcasting the data as UDP network data.

The next part was to add in Rain sensor, Temp, Pressure and Humidity also my water tank sensor. The plan was for this unit to read these sensors and also be able to receive the remote wind sensor data, join it all together before outputting as complete aggregated data to various api's like Thingspeak, Weather Undergroud etc. I had intended to use a Raspberry Pi 3B for this task running MMBasic due to ease of programming and good network/internet resources but unfortunately, and disappointingly, I was just not able to get it running without spurious crashes. I decided to spare the frustration at this stage and use a Micromite Plus instead. I use ESP8266 modules in combination with uMites when I need network resources, I use ESPbasic and a MMbasic library in the uMite developed to interface with the ESP8266. I use the UDP protocol for data transfer.

Having got all this working nicely I completed Internet upload to my Thingspeak channel, I was also going to upload to the Weather Underground api to display my weather data but I then found that use of the free WU api is apparently due to end at the end of the year so I had to re-think.

I then came across a program called MeteoTemplate (google is your friend). Its quite flexible and can take data from various commercial home weather stations but also has the ability to read a user generated data file. Great! I use a Synology NAS as my home file server which is also a Web server so I soon had a copy of MeteoTemplate running on the NAS and set about writing a PHP utility to receive the UDP data from my Micromites. I was a little daunted about the PHP script I had to create but it turned out to be not too difficult and soon all was working. A raspberry Pi would also be capable of running the MeteoTemplate software, just a little slower.

You can see my Weather Station here
I can post code for Mites and PHP if required.

Mike
Edited by MikeO 2018-11-09
Codenquilts
 
Azure

Guru

Joined: 09/11/2017
Location: Australia
Posts: 446
Posted: 01:00pm 08 Nov 2018
Copy link to clipboard 
Print this post

Wow, nice work on getting all that running. That meteotemplate presents your weather station and other data feeds nicely.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5091
Posted: 01:22pm 08 Nov 2018
Copy link to clipboard 
Print this post

Very nice website, and obviously a lot of work to get it all working. Good job !!
I checked the dutch translations (my native language) and the translation is not complete. I am not sure if you create the dutch text yourself or get the translation from somewhere, but I could help you if needed.

Volhout
PicomiteVGA PETSCII ROBOTS
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 12:31am 09 Nov 2018
Copy link to clipboard 
Print this post

@ Volhout, the Web software wasn't written by myself it was don by a guy in Czech republic , yes very nice web software.

Mike
Codenquilts
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025