×

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
Hi Kalda. I see there was a typo in my last post. You will need ./startMETEO.sh

So
@reboot yourUserName cd /home/yourUserName/meteostationWEB/ && ./startMETEO.sh

For the issue with the graph. It looks like it has skipped a few datapoints makin the line of the graph open. This results in the bottom half not being filled in.
One fix is to stop meteostationWEB delete everything in meteostationWEB/html/CHART

so
cd /home/yourUserName/meteostationWEB
./stopMETEO.sh
rm -rf html/CHART/*
./startMETEO.sh # Or just reboot, if you have the startup scripts running.

This will clear all charts, and start over on a fresh page. (You will loose the week+ of data you have)

Sorry that I'm slow to help. My MeteoStation has some connection issues, and as it's remote, I cannot really debug....

Waiting on some single cored wires, so I can sodder all sensors to my GeekCreit Arduino Nano v3 from Banggood. (Three of those was cheaper than one Adafruit Trinket PRO bought locally).
Ive printet a new case with the newest versions of the files, and it looks even cleaner than the old one :)
When I get the bugs ironed out, ill install the new one to my obsy.
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: Tomas Kalisch
6 years 1 month ago #23040

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

  • Posts: 62
  • Thank you received: 12
Hi Magnus,
thanks, I'm also busy.
I deleted everything in the CHART directory. Without changes. I tried deleting the Meteostaion directory and copying everything from github again. Still poorly draws a graph.

The top 3 lights do not work (Clouds Drawing Freezing). Now there is no light and it glows before.

I will try a new clean install on Raspberry Pi 3.


My first version was also built with Adafruit Trinket PRO. Sometimes Adafruit Trinket PRO did not communicate with Raspberry Pi. Sometimes he lost communication. I did not know the problem. I exchanged it for Arduino Nano v3 and communicates with RPi perfectly.

I'm printing a new case too. Good work with case adjustment. Free space is always good.
6 years 1 month ago #23301

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

  • Posts: 62
  • Thank you received: 12

Hey, guys.

I've solved the problem with a bad cloud chart. The problem was when you loaded the firmware into Arduino Nano. Arduino IDE did not report an error, but it did not work properly.
From another PC I uploaded the firmware and it works! :)
6 years 1 month ago #23423

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

  • Posts: 62
  • Thank you received: 12
Hello gentlemen.

I installed Raspbian on RPi Zero from deb packages (indilib.org/download/raspberry-pi.html) I did not compile as in previous cases. Zero is very slow when compiling :(

It writes this error:


./startMETEO.sh
RRD file exists.
indiserver: žádný proces nenalezen
2018-03-07T12:12:34: startup: indiserver -f /tmp/INDIFIFO -p 7624
2018-03-07T12:12:34: Driver indi_duino: Indiduino driver start...
2018-03-07T12:12:34: Driver indi_duino: Building from /usr/share/indi/meteostation_sk.xml skeleton
2018-03-07T12:12:34: Driver indi_duino: Using INDISKEL /usr/share/indi/meteostation_sk.xml
Starting GRAPHER
Starting internet data downloader
Retriving SKEW-T diagrams from: 11747
2018 03 0700
Starting MinMax
 
 
 
Starting UPDATER
2018-03-07T12:12:37: Driver indi_duino: State 0 is on
2018-03-07T12:12:37: Driver indi_duino: State 1 is off
CONNECT INDI Server host:localhost port:7624 device:MeteoStation
2018-03-07T12:12:40: Driver indi_duino: ARDUINO BOARD CONNECTED.
2018-03-07T12:12:40: Driver indi_duino: FIRMATA VERSION:indiduinoMETEO.ino-2.5
2018-03-07T12:12:40: Driver indi_duino: Unable to build skeleton. Error loading file o: No such file or directory
2018-03-07T12:12:40: Driver indi_duino: FAIL TO MAP ARDUINO PINS. CHECK SKELETON FILE SINTAX
Generating 3 hours graph
Generating day graph
Generating weekly graph

Thanks for the help. ;)
Last edit: 6 years 3 weeks ago by Tomas Kalisch.
6 years 3 weeks ago #23928

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

  • Posts: 271
  • Thank you received: 72
issue command
locate meteostation_sk.xml
Im thinking it might be in
/usr/local/share/indi
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 weeks ago #23930

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

  • Posts: 62
  • Thank you received: 12
The command will not write anything.

I found the file in
/usr/share/indi
.
pi@raspberrypi:/usr/share/indi $ ls -l
celkem 184
-rw-r--r-- 1 root root  2147 kvě 31  2016 cosmos_sk.xml
-rw-r--r-- 1 root root  1799 kvě 31  2016 digital_inputs_sk.xml
-rw-r--r-- 1 root root 14968 lis  7 12:30 drivers.xml
-rw-r--r-- 1 root root  3020 kvě 31  2016 focuser_sk.xml
-rw-r--r-- 1 root root 12103 zář 10  2015 indi_aagcloudwatcher_sk.xml
-rw-r--r-- 1 root root   281 zář 10  2015 indi_aagcloudwatcher.xml
-rw-r--r-- 1 root root  2995 kvě 31  2016 indi_align_sk.xml
-rw-r--r-- 1 root root   250 úno 28  2014 indi_apogee.xml
-rw-r--r-- 1 root root   471 lis 21 21:00 indi_asi.xml
-rw-r--r-- 1 root root   423 říj 22 18:37 indi_atik.xml
-rw-r--r-- 1 root root   281 lis 14 11:00 indi_dsi.xml
-rw-r--r-- 1 root root  1812 kvě 31  2016 indi_duino.xml
-rw-r--r-- 1 root root  2773 kvě 31  2016 indi_eqmod_scope_limits_sk.xml
-rw-r--r-- 1 root root  2682 kvě 31  2016 indi_eqmod_simulator_sk.xml
-rw-r--r-- 1 root root 11453 kvě 31  2016 indi_eqmod_sk.xml
-rw-r--r-- 1 root root   256 kvě 31  2016 indi_eqmod.xml
-rw-r--r-- 1 root root   263 pro  8  2014 indi_ffmv.xml
-rw-r--r-- 1 root root   242 pro 26  2013 indi_fishcamp.xml
-rw-r--r-- 1 root root   604 dub  8  2011 indi_fli.xml
-rw-r--r-- 1 root root   599 lis 14 11:00 indi_gphoto.xml
-rw-r--r-- 1 root root   221 lis 14 11:00 indi_gpsd.xml
-rw-r--r-- 1 root root   250 pro 16  2015 indi_maxdomeii.xml
-rw-r--r-- 1 root root   242 zář 13 01:01 indi_nexdome.xml
-rw-r--r-- 1 root root   246 srp 24  2017 indi_qhy.xml
-rw-r--r-- 1 root root   255 lis 15 14:30 indi_qsi.xml
-rw-r--r-- 1 root root   361 led  7  2016 indi_sbig.xml
-rw-r--r-- 1 root root   270 čen  7  2016 indi_shoestring.xml
-rw-r--r-- 1 root root   637 led  6  2014 indi_sx.xml
-rw-r--r-- 1 root root  1385 lis  7 12:30 indi_tcfs_sk.xml
-rw-r--r-- 1 root root   253 pro  3  2016 indi_usbfocus.xml
-rw-r--r-- 1 root root  4867 kvě 31  2016 meteostation_sk.xml
-rw-r--r-- 1 root root  4341 kvě 31  2016 servo_sk.xml
-rw-r--r-- 1 root root  4418 kvě 31  2016 simple_switcher_sk.xml
-rw-r--r-- 1 root root  1621 kvě 31  2016 stepper_sk.xml
-rw-r--r-- 1 root root  2571 kvě 31  2016 switcher_sk.xml
-rw-r--r-- 1 root root  2131 kvě 31  2016 various_sk.xml

meteoconfig.py is set to:
#2). Indi startup
INDIFIFODIR="/tmp/INDIFIFO"
METEOSTATIONSKELETONDIR="/usr/share/indi/meteostation_sk.xml"
KILLEXEC="killall indiserver"
INDIEXEC="indiserver$INDIVERBOSE -f $INDIFIFODIR -p"
DUINOEXEC="echo start indi_duino -n \\\"$INDIDEVICE\\\" -s \\\"$METEOSTATIONSKELETONDIR\\\" > $INDIFIFODIR"
6 years 3 weeks ago #23932

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

  • Posts: 62
  • Thank you received: 12
I've updated my database and locate works.
pi@raspberrypi:~/meteostationWEB $ locate meteostation_sk.xml
/home/pi/indi/3rdparty/indi-duino/devices/meteostation_sk.xml
/usr/share/indi/meteostation_sk.xml
6 years 3 weeks ago #23933

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

  • Posts: 62
  • Thank you received: 12
I did the compilation of
indilib
and
inddi-duino
on Raspberry Zero W and it works.

When using packages, it does not work. Why? I do not know.
6 years 3 weeks ago #23934

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

  • Posts: 11
  • Thank you received: 0
Hi,

I have some connecting problems with the MeteoStation. I used the same parts and code as described in the tutorial (Trinket Pro 3V, DHT22, Melexis, etc). I am using a MPL3115A2 Barometric Sensor and the Adafruit_MPL3115A2.h library instead of the BMP085. I did not change the Analog Pin Mapping or any other digital or analog pin. I can connect to the MeteoStation but the sensors showing me some weird results. Sometimes the Metro-Tab is showing the correct numbers but some Sensors on the Raw-Tab are showing 0 or -273. Sometimes the Raw tab is showing the correct Numbers but the Meteo-Tab is showing 0. Sometimes the cloud Sensor shows 100 but the cloudy Flag is not highlighted. It seems to be completely random. Sometimes I have to connect and disconnect sereveral times to get all the sensors running. I changed the FTDI Cable and I tried it with a Arduino Nano. Same result.

I attached some Pictures of the Indi Log and Indi configuration.

Thank you for your help!

Florian
Last edit: 6 years 1 week ago by Florian Schmidt.
6 years 1 week ago #24263
Attachments:

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

  • Posts: 271
  • Thank you received: 72
Hi Florian.

It seams to me that the firmware chrashes.

It might be that the code for reading the barometric sensor does not work with MPL3115A2, or possibly wiring / connection issues.

I would suggest using the meteoTEST firmware untill everything is up to code.
The test firmware will fail in a spesific point in the code, making it easyer to debug.

If you get the test firmware up and running without errors, then try to squeeze / pull on the soddered and other connection points, to se if you can make it crash from communication error.
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: Florian Schmidt
6 years 1 week ago #24302

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

  • Posts: 11
  • Thank you received: 0
Hi Magnus,

Thanks for your help!

The MPL3115A2 is the culprit. If I start the Meteostation without the MPL everyting works fine. If Istart it with the MPL I get weird sensor readings.
This is really strange because when I run MeteoTest I get correct values for the MPL.

Anyway, I ordered a BMP180.

best regards

Florian
6 years 1 week ago #24368

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

  • Posts: 2247
  • Thank you received: 223
Hello Magnus,

Not sure exactly what's going on there, the weatherstation has been working flawlessly until the 26th of April. I think the oDroid crashed and got rebooted.
Now, I can't get anything out of the meteobox. Would you have any idea from the below info?
5 years 10 months ago #26021

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

Time to create page: 0.779 seconds