×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • 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 1 month 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 1 month 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 1 month 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 month ago by Florian Schmidt.
6 years 1 month 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 month 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 4 weeks ago #24368

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

  • Posts: 2255
  • 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 11 months ago #26021

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

  • Posts: 2255
  • Thank you received: 223
5 years 11 months ago #26022

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

  • Posts: 2255
  • Thank you received: 223
interesting, the last update of indi-duino is just the day before it stoped recording stuff.

5 years 11 months ago #26023

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

  • Posts: 2255
  • Thank you received: 223
Total mystery, I was able to get it all working again by doing nothing at all. I've restarted it today (startmeteo) and it worked !!! What the fudge?
5 years 11 months ago #26049

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

  • Posts: 62
  • Thank you received: 12
Hello to everybody,

I would like to ask how you have set up AAG Cloudwatcher formula.
I have great differences between winter and summer.
In winter, the corrected sky temperature of the clear sky was -25 and now it is -13 in summer.
The URL link to the AAG Cloudwatcher formula is not working.
Formula Tcorrection = (K1 / 100) * (Thr - K2 / 10) + (K3 / 100) * pow((exp (K4 / 1000* Thr)) , (K5 / 100))

Do you know the meaning of the K1-K5 constant?
#define  K1 33.
  #define  K2 0.
  #define  K3 4.
  #define  K4 100.
  #define  K5 100.
 
  //Clear sky corrected temperature (temp below means 0% clouds)
  #define CLOUD_TEMP_CLEAR  -13
  //Totally cover sky corrected temperature (temp above means 100% clouds)
  #define CLOUD_TEMP_OVERCAST  0
  //Activation treshold for cloudFlag (%)
  #define CLOUD_FLAG_PERCENT  30
#endif //USE_IR_SENSOR

Thanks.
Last edit: 5 years 10 months ago by Tomas Kalisch.
5 years 10 months ago #26646

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

  • Posts: 62
  • Thank you received: 12
Time to create page: 0.573 seconds