×

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
Hello group,
MeteoStation I have built and tested for about a month. It works well. Good work.

Just a few little things.

1. Water penetrated the electronics. Problem solved with silicone sealant.

2. I do not start automatically at startup. I've already tried all the syntax. The readme is written :
(Test startupMETEO.sh and put on rc.local if you want a automatic startup.)

What do you have in
rc.local
?

3. After switching off and on after a few minutes, the cloud chart rendering has changed. See the screenshot.

Do not you know why? I've already tried to stop the script and run it again, another restart, nothing works.

Thanks.

Tomas
6 years 2 months ago #22806
Attachments:

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

  • Posts: 2255
  • Thank you received: 223
>the cloud chart rendering has changed

I also get this on restart of the scripts, it does come back to normal after a few hours. Do not worry.
6 years 2 months ago #22817

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

  • Posts: 271
  • Thank you received: 72
2. I do not start automatically at startup. I've already tried all the syntax. The readme is written :

I think that is for older ubuntu systems. You could make a meteostationWEB.service and enable it.

However I think the easyest way is to use cron.

Create a file in /etc/cron.d with the followin content
@reboot yourUserName cd /home/yourUserName/meteostationWEB/ && startMETEO.sh

I usually make symlinks to apps in my home directory in /srv . That way I can swap versions by changing the symlink, and not worry about paths changing.
sudo ln -s /home/yourUserName/meteostationWEB /srv/meteostationWEB
(If you get a error with no directory named /srv/meteostationWEB then swap places for dir and symlink. I often get those swapped on the first try)

Then change the cron file to
@reboot yourUserName cd /srv/meteostationWEB/ && startMETEO.sh
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 2 months ago #22819

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

  • Posts: 62
  • Thank you received: 12

He draws a poor graph for almost 1 week. :-(
Last edit: 6 years 2 months ago by Tomas Kalisch.
6 years 2 months ago #22900
Attachments:

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

  • Posts: 62
  • Thank you received: 12
Thanks Magnus_e. I did not remember Cron.

I have Ubuntu Mate 16.04, Raspberry Pi3.

Not working. Some bugs.

I added the entry to:
/ etc / crontab
This is working.:)

Once again, thank you Magnus_e.
Last edit: 6 years 2 months ago by Tomas Kalisch.
6 years 2 months ago #22902

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

  • 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 2 months 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 2 months 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 2 months 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 1 month ago by Tomas Kalisch.
6 years 1 month 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 1 month 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 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.

Time to create page: 0.380 seconds