Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Building the induino MeteoStation with 3d printed housing

Building the induino MeteoStation with 3d printed housing 2 months 2 weeks ago #23928

  • kalda
  • kalda's Avatar
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Karma: 1
  • Thank you received: 2
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. ;)

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

Last Edit: by kalda.

Building the induino MeteoStation with 3d printed housing 2 months 2 weeks ago #23930

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61
issue command
locate meteostation_sk.xml
Im thinking it might be in
/usr/local/share/indi

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 2 months 2 weeks ago #23932

  • kalda
  • kalda's Avatar
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Karma: 1
  • Thank you received: 2

locate meteostation_sk.xml

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"

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

Building the induino MeteoStation with 3d printed housing 2 months 2 weeks ago #23933

  • kalda
  • kalda's Avatar
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Karma: 1
  • Thank you received: 2
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

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

Building the induino MeteoStation with 3d printed housing 2 months 2 weeks ago #23934

  • kalda
  • kalda's Avatar
  • Away
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Karma: 1
  • Thank you received: 2
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.

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

Building the induino MeteoStation with 3d printed housing 2 months 1 week ago #24263

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
Attachments:

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

Last Edit: by Florian.

Building the induino MeteoStation with 3d printed housing 2 months 1 week ago #24302

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61
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.
The following user(s) said Thank You: Florian

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 2 months 1 week ago #24368

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

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

Building the induino MeteoStation with 3d printed housing 1 week 5 days ago #26021

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?

heidenrod@heidenrod-obs:~/meteostationWEB$ indiserver_weather: no process found
2018-05-15T19:18:09: startup: indiserver_weather -f /tmp/indi_weatherFIFO -p 7625
2018-05-15T19:18:09: Driver indi_duino: Indiduino driver start...
2018-05-15T19:18:09: Driver indi_duino: Building from /usr/share/indi/meteostation_sk.xml skeleton
2018-05-15T19:18:09: Driver indi_duino: Using INDISKEL /usr/share/indi/meteostation_sk.xml
Starting GRAPHER
Starting MinMax



Starting internet data downloader
Retriving SKEW-T diagrams from: 10548
2018 05 1512
Starting UPDATER
CONNECT INDI Server host:localhost port:7625 device:MeteoStation
2018-05-15T19:18:09: Driver indi_duino: State 0 is on
2018-05-15T19:18:09: Driver indi_duino: State 1 is off
2018-05-15T19:18:09: Driver indi_duino: ARDUINO BOARD CONNECTED.
2018-05-15T19:18:09: Driver indi_duino: FIRMATA VERSION:h??????x
2018-05-15T19:18:09: Driver indi_duino: Setting pins behaviour from <indiduino> tags
2018-05-15T19:18:09: Driver indi_duino: Meteo.T pin 24 set as ANALOG INPUT
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 1073, in run
self.function(*self.args, **self.kwargs)
File "/home/heidenrod/meteostationWEB/indiclient.py", line 2135, in _receiver
self._receive()
File "/home/heidenrod/meteostationWEB/indiclient.py", line 2460, in _receive
self.expat.Parse( self.data,0)
ExpatError: not well-formed (invalid token): line 129, column 151

2018-05-15T19:18:09: Driver indi_duino: numiopin:0
2018-05-15T19:18:09: Driver indi_duino: Meteo.HR pin 18 set as ANALOG INPUT
2018-05-15T19:18:09: Driver indi_duino: numiopin:1
2018-05-15T19:18:09: Driver indi_duino: Meteo.P pin 16 set as ANALOG INPUT
2018-05-15T19:18:09: Driver indi_duino: numiopin:2
2018-05-15T19:18:09: Driver indi_duino: Meteo.DEW pin 20 set as ANALOG INPUT
2018-05-15T19:18:09: Driver indi_duino: numiopin:3
2018-05-15T19:18:09: Driver indi_duino: Meteo.clouds pin 22 set as ANALOG INPUT
2018-05-15T19:18:09: Driver indi_duino: numiopin:4
2018-05-15T19:18:09: Driver indi_duino: Meteo.SkyT pin 23 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:5
2018-05-15T19:18:10: Driver indi_duino: Meteo.Irradiance pin 21 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:6
2018-05-15T19:18:10: Driver indi_duino: STATUS.clouds pin 3 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:7
2018-05-15T19:18:10: Driver indi_duino: STATUS.dew pin 4 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:8
2018-05-15T19:18:10: Driver indi_duino: STATUS.frezzing pin 5 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:9
2018-05-15T19:18:10: Driver indi_duino: STATUS.daylight pin 6 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:10
2018-05-15T19:18:10: Driver indi_duino: BACK_LIGHT.ON pin 13 set as DIGITAL OUTPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:11
2018-05-15T19:18:10: Driver indi_duino: IR.IR pin 14 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:12
2018-05-15T19:18:10: Driver indi_duino: IR.T pin 15 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:13
2018-05-15T19:18:10: Driver indi_duino: Presure.P pin 16 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:14
2018-05-15T19:18:10: Driver indi_duino: Presure.T pin 17 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:15
2018-05-15T19:18:10: Driver indi_duino: HR.HR pin 18 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:16
2018-05-15T19:18:10: Driver indi_duino: HR.T pin 19 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:17
2018-05-15T19:18:10: Driver indi_duino: LIGHT.LIGHT pin 21 set as ANALOG INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:18
2018-05-15T19:18:10: Driver indi_duino: FAIL.IR pin 7 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:19
2018-05-15T19:18:10: Driver indi_duino: FAIL.HR pin 8 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:20
2018-05-15T19:18:10: Driver indi_duino: FAIL.P pin 9 set as DIGITAL INPUT
2018-05-15T19:18:10: Driver indi_duino: numiopin:21
Generating 3 hours graph
Generating day graph
Generating weekly graph
Generating monthly graph
2018-05-15T19:18:14: Client 5: read: Connection reset by peer
2018-05-15T19:18:15: Client 5: read: Connection reset by peer

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 week 5 days ago #26022

root@heidenrod-obs:~# indi_getprop -p 7625
MeteoStation.Meteo.T=0
MeteoStation.Meteo.HR=0
MeteoStation.Meteo.P=0
MeteoStation.Meteo.DEW=0
MeteoStation.Meteo.clouds=0
MeteoStation.Meteo.SkyT=0
MeteoStation.Meteo.Irradiance=0
MeteoStation.STATUS.clouds=Idle
MeteoStation.STATUS.dew=Idle
MeteoStation.STATUS.frezzing=Idle
MeteoStation.STATUS.daylight=Idle
MeteoStation.CONNECTION.CONNECT=On
MeteoStation.CONNECTION.DISCONNECT=Off
MeteoStation.DEVICE_PORT.PORT=/dev/Weather
MeteoStation.BACK_LIGHT.ON=Off
MeteoStation.BACK_LIGHT.OFF=On
MeteoStation.IR.IR=3.8500000000000227374
MeteoStation.IR.T=14.949999999999988631
MeteoStation.Presure.P=0
MeteoStation.Presure.T=0
MeteoStation.HR.HR=0
MeteoStation.HR.T=0
MeteoStation.LIGHT.LIGHT=0
MeteoStation.FAIL.IR=Idle
MeteoStation.FAIL.HR=Idle
MeteoStation.FAIL.P=Idle
MeteoStation.DRIVER_INFO.DRIVER_NAME=Arduino
MeteoStation.DRIVER_INFO.DRIVER_EXEC=indi_duino
MeteoStation.DRIVER_INFO.DRIVER_VERSION=0.3
MeteoStation.DRIVER_INFO.DRIVER_INTERFACE=0
MeteoStation.CONFIG_PROCESS.CONFIG_LOAD=Off
MeteoStation.CONFIG_PROCESS.CONFIG_SAVE=Off
MeteoStation.CONFIG_PROCESS.CONFIG_DEFAULT=Off
MeteoStation.USEJOYSTICK.ENABLE=Off
MeteoStation.USEJOYSTICK.DISABLE=On
MeteoStation.USEJOYSTICK.ENABLE=Off
MeteoStation.USEJOYSTICK.DISABLE=On
root@heidenrod-obs:~#

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 week 5 days ago #26023

interesting, the last update of indi-duino is just the day before it stoped recording stuff.

root@heidenrod-obs:/var/log/unattended-upgrades# zgrep indi-duino * | grep 2018-04
unattended-upgrades.log.1.gz:2018-04-09 07:02:44,204 INFO Packages that will be upgraded: indi-aagcloudwatcher indi-apogee indi-armadillo-platypus indi-asi indi-bin indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-full indi-gphoto indi-gpsd indi-gpsnmea indi-maxdomeii indi-mgen indi-nexdome indi-nexstarevo indi-qhy indi-sbig indi-sx libfishcamp libfli2 libindi-data libindi-dev libindi1 libqhy libqsi7 libsbig
unattended-upgrades.log.1.gz:2018-04-25 07:02:45,980 INFO Packages that will be upgraded: indi-aagcloudwatcher indi-apogee indi-armadillo-platypus indi-asi indi-bin indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-full indi-gphoto indi-gpsd indi-gpsnmea indi-maxdomeii indi-mgen indi-nexdome indi-nexstarevo indi-qhy indi-sbig indi-sx libapogee3 libfli2 libindi-data libindi-dev libindi1 libqhy linux-libc-dev
root@heidenrod-obs:/var/log/unattended-upgrades#

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 week 4 days ago #26049

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?

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+
Time to create page: 0.146 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica