×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • Posts: 62
  • Thank you received: 12


ID from weather.uwyo.edu/upperair/sounding.html. Example: my nearest ID is 11747 - Prostejov.

Edit meteoconfig.py:
SOUNDINGSTATION="11747"

I incorrectly entered the value of the nearest location (missing digits). When I fix it, she does not write in the log.

This worked on a table with Raspberry Pi 3 + Ubuntu Mate + breadbord.

Min Max Fail is still in the final set Raspberry Pi Zero W + Raspbian Stretch :-(
I'm not doing it, it works too. In addition, there is a poorly readable font in the charts.
The following user(s) said Thank You: Gonzothegreat
Last edit: 6 years 2 months ago by Tomas Kalisch.
6 years 2 months ago #22015

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 12

I have the same problem.
6 years 2 months ago #22016

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

I'm pretty sure we will figure it out soon what's causing this issue.
6 years 2 months ago #22020

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16
Hi,

Great topic and project.

I have an aduino Uno and the DHT22 and MLX90614 sensors.
So I have started with them.
(Have ordered the garden light and the manometer sensor)

I had a problem when I commented out one of the other sensors in the firmware,
it wouldnt let me compile the sketch, so I just left it in.

I can read it nicely with EKOS/Indi after a manual start using Magnus's oneliner.

I then installed meteoWEB and got a queer dashboard. Untill I looked at the README
which told me to run the startup script, startMETEO.sh. I got the impression that apache was
going to start it, huh!

Anyhow, it now shows its beauty :-


I am getting the MinMax Faill thing, will have to figure it out.
And the fonts on the graphs might be the ugly ones.

Anyhow, great project.
I will photo my box (No 3D printer for me), and let you see it, so you can compare it to Magnus's masterpiece.

Any tips on specifics with the Uno etc appreciated.
6 years 2 months ago #22045
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16
Here is my box.

Note the MLX superglued to the top of the box, so it reads the sky and not the box.
The DHT22 is under the Yoghurt carton, to keep it dry. It is open at the bottom.
The USB cable goes into the box and the opening is sealed with bluetac,
Note the careful application of more bluetac to close the other hole (recyled project box.


Nice view of the spagetti wiring. The cork on the right has an improvised ground rail.
I designed the connections to the sensors (especially DHT22), so that they can be easily changed.

I also set my sounding station to somewhere close by and will try to see if the MinMax Fail disappears.
6 years 2 months ago #22086
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Hi @procras and everyone else :)

I have been going trough the code for the MinMax error, and to me it looks like the tool is not able to read meteostationWEB/meteo.rrd and write average values to meteostationWEB/html/CHART/AVERAGEvalues.json. I can hovewer not find that this file is being read by any of the other scripts.

So the meteoRRD_MaxMinAvg.py script might try to get (fetch) the average values from the rrdtool with
 ret = rrdtool.fetch('meteo.rrd',consolidation,"--start",str(start),"--end",str(end),"--resolution",  str(res));
where the consolidation is AVERAGE, MAX, or MIN. I'm starting to think that the rrdtool does not have AVERAGE data before a set amount of iterations.

If that is the case, then a clean install with the MinMax error should only have the html/CHART/MAXvalues.json and MIN.valuses.json + no AVERAGEvalues.json

It should however not have anything to do with the soundingstation or the meteoconfig.py settings.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 2 months ago #22102

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16
Hi Magnus,

I see the AVERAGEvalues.json file in CHART, but no MINvalues.json or MAXvalues.json files.
There is a nice RTdata.json file which is easy to read.

Here is a current.html file which looks at RTdata.json. If you want to try this:-
- download the files
- remove txt extensions
- put current.html in meteostationWEB/html/.
- put current.css in meteostationWEB/html/css/.

Point browser to meteo/current.html

File Attachment:

File Name: current.css.txt
File Size:1 KB

File Attachment:

File Name: current.html.txt
File Size:7 KB
The following user(s) said Thank You: Gonzothegreat, Magnus
6 years 2 months ago #22122
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Nice script. Easy to get a full owerview of the sensors.

Could you check if you have the keyworsd MAX and MIN in meteostationWEB/meteo.rrd if you open it in a texteditor.
It's binary, so wont make mutch sense, but in mine I have both AVERAGE, MIN and MAX.

If anyone reading this thread have or will at some time print the housing, I've updated the drawings with some rain protecton.
I Installed a new DHT22 when upgrading, and so far it's working. Even after a week of snow, rain and fog.

www.thingiverse.com/thing:2371144
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Adrian
6 years 2 months ago #22144

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16
pi@gardenpi:~/meteostationWEB $ grep MAX meteo.rrd
Binary file meteo.rrd matches
pi@gardenpi:~/meteostationWEB $ grep MIN meteo.rrd
Binary file meteo.rrd matches

And ...
pi@gardenpi:~/meteostationWEB/html/CHART $ ls *.json
AVERAGEvalues.json  MAXvalues.json  MINvalues.json  RTdata.json

Moreover ...

The little blue and red arrows have appeared on my temp and humidity guages.
The MINMAXfail error is no longer appearing in my terminal.

I guess it just needs to gather enough data to start producing the min and max values and
generating the MAX... MIN... json files.

Now I cant wait for my light and pressure sensors.
6 years 2 months ago #22185
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
Magnus, which 3D printer are you using please?
I'd like to buy one :woohoo:
6 years 2 months ago #22225

Please Log in or Create an account to join the conversation.

  • Posts: 271
  • Thank you received: 72
Yay! 3d printers are awsome, so +1 forr that.

I'm using the Prusa i3 mk2s. One oof the best printers out there.
All the other i3 printers are Prusa clones :)

www.prusa3d.com/#our-printer

The improved Prusa i3 mk3 has just been released and features filament 'empty' detection and power loss resume. It also have a detachable flexibble print bed, so getting prints of the bed when finished is a breeze.

There is also a multicolor update for the mk2/s. Witch can be used for water soluble support material...
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Gonzothegreat
6 years 2 months ago #22226

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223
I think I'm still stuck in the last century when it comes to 3D printers and think they print crapy stuff. ie: not smooth surfaces... obviously I'm 100% wrong as I've seen your weather station box.
That Prusa printer, are you happy with it? All good?
I'm a total noob when it comes to 3D printers :blush:
6 years 2 months ago #22227

Please Log in or Create an account to join the conversation.

Time to create page: 1.310 seconds