×

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: 271
  • Thank you received: 72
I've seen that to.

Looks like the flags are sometimes set wrong after a reboot. Not easy to test as my station is remote, and I cannot flash firmware remote.

In the meteosationWEB/mereoRRD_updater.py line 67-70 you have
statusVector=indi.get_vector(INDIDEVICE,"STATUS")
cloudFlag=int(statusVector.get_element("clouds").is_ok())
dewFlag=int(statusVector.get_element("dew").is_ok())
frezzingFlag=int(statusVector.get_element("frezzing").is_ok())
So it just checks the flags from the firmware.
Not sure if it's indi_duino or the firmware that sometimes gets this wrong.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 months ago #22001

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

  • Posts: 2247
  • Thank you received: 223
At the moment, it does not bother me too much. I go with the percentage bar and the graph. But, once day I'll look into this and see if I can come up with a fix.
So far, this meteostation is a great addition and I believe many of us should have it as it's inexpensive to build.

One think that we could add is an anemometer to the board (like in the screenshot below).

And I still do like this layout but haven't been able to reproduce it:

from indilib.org/forum/general/2614-diy-all-sky-camera.html#19602
Last edit: 6 years 3 months ago by Gonzothegreat.
6 years 3 months ago #22003

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

  • Posts: 271
  • Thank you received: 72
Yes. Wind speed would be great, as it can be dangerous for our flip top observatories with high wins!!
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 months ago #22008

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

  • 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.

Time to create page: 0.288 seconds