×

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: 2247
  • Thank you received: 223
A tip for everyone thinking of using a DHT22 sensor:
do NOT get it wet, if you do then you will kill the sensor and no matter what you try to do to fix it, you'll end up buying another one...

This is now my 4th one....
The following user(s) said Thank You: Eric
6 years 3 months ago #21534

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

  • Posts: 62
  • Thank you received: 12
Hi gentlemen,
I have a little configuration problem.

I did the test, OK.

I entered the console:
killall indiserver; rm /tmp/INDIFIFO; mkfifo /tmp/INDIFIFO; indiserver -f /tmp/INDIFIFO & echo start indi_duino -n \"MeteoStation\" -s \"/usr/local/share/indi/meteostation_sk.xml\" >/tmp/INDIFIFO

and it gives this error:
indiserver: no process found
[1] 11266
2017-12-13T11:49:16: startup: indiserver -f /tmp/INDIFIFO
tkalisch@rpi-test:~$ 2017-12-13T11:49:16: Driver indi_duino: Indiduino driver start...
2017-12-13T11:49:16: Driver indi_duino: Building from /usr/local/share/indi/meteostation_sk.xml skeleton
2017-12-13T11:49:16: Driver indi_duino: Using INDISKEL /usr/local/share/indi/meteostation_sk.xml
2017-12-13T11:49:16: Driver indi_duino: Unable to build skeleton. Error loading file /usr/local/share/indi/meteostation_sk.xml: No such file or directory

Connection from Kstars will fail.

When I killed the indiserver and started using the INDI WEB MANAGER, it was possible to join the Kstars. Sensor reads values but disconnects.

Please some help.

Thank you

Kalda
6 years 3 months ago #21607

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

  • Posts: 271
  • Thank you received: 72
Most likely the indi config dir is /usr/share/indi/ on your system, not /usr/local....

Try
killall indiserver; rm /tmp/INDIFIFO; mkfifo /tmp/INDIFIFO; indiserver -f /tmp/INDIFIFO & echo start indi_duino -n \"MeteoStation\" -s \"/usr/share/indi/meteostation_sk.xml\" >/tmp/INDIFIFO
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
Last edit: 6 years 3 months ago by Magnus.
6 years 3 months ago #21608

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

  • Posts: 271
  • Thank you received: 72

Thats anoying!

Are you sure they are dead 'forever'?
I ask because mine have gotten wet three times, and eventually it comes back to life.
I will add some caps to to the sensor ducts on the printable version when I get time, so the sensors are protected better.

Now everything is frosty here, so no worries! I was imaging, and learning to use the mosaic job creator last night in -14C :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 months ago #21609

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

  • Posts: 62
  • Thank you received: 12
It works! Thank you!

The wrong path is in meteoconfig.py. I also had to edit.

The wrong path is in the tutorial, see: indilib.org/support/tutorials/177-howto-...tml?showall=&start=1
The following user(s) said Thank You: Magnus
6 years 3 months ago #21610
Attachments:

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

  • Posts: 2247
  • Thank you received: 223
Magnus, you can sort of "revive" them by drying them up (hairdryer) , but.... they become very sensitive and freak out very quickly.
I think I know what happened this time, I'll make sure my box is sealed correctly this time.
6 years 3 months ago #21612

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

  • Posts: 62
  • Thank you received: 12
Hi gentlemen,
I have a MinMax FAIL.
+++++@rpi-test:~/meteostationWEB$ ./startMETEO.sh 
RRD file exists.
+++++@rpi-test:~/meteostationWEB$ 2017-12-14T20:03:52: startup: indiserver -f /tmp/INDIFIFO -p 7624 
2017-12-14T20:03:52: Driver indi_duino: Indiduino driver start...
2017-12-14T20:03:52: Driver indi_duino: Building from /usr/share/indi/meteostation_sk.xml skeleton
2017-12-14T20:03:52: Driver indi_duino: Using INDISKEL /usr/share/indi/meteostation_sk.xml
Starting GRAPHER
Starting internet data downloader
Retriving SKEW-T diagrams from: KLMT
2017 12 1412
Starting MinMax
 
MinMax FAIL
Starting UPDATER
2017-12-14T20:03:52: Driver indi_duino: State 0 is on
2017-12-14T20:03:52: Driver indi_duino: State 1 is off
CONNECT INDI Server host:localhost port:7624 device:MeteoStation
2017-12-14T20:03:52: Driver indi_duino: ARDUINO BOARD CONNECTED.
2017-12-14T20:03:52: Driver indi_duino: FIRMATA VERSION:indiduinoMETEO.ino-2.5
2017-12-14T20:03:52: Driver indi_duino: Setting pins behaviour from <indiduino> tags
2017-12-14T20:03:52: Driver indi_duino: Meteo.T  pin 24 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:0
2017-12-14T20:03:52: Driver indi_duino: Meteo.HR  pin 18 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:1
2017-12-14T20:03:52: Driver indi_duino: Meteo.P  pin 16 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:2
2017-12-14T20:03:52: Driver indi_duino: Meteo.DEW  pin 20 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:3
2017-12-14T20:03:52: Driver indi_duino: Meteo.clouds  pin 22 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:4
2017-12-14T20:03:52: Driver indi_duino: Meteo.SkyT  pin 23 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:5
2017-12-14T20:03:52: Driver indi_duino: Meteo.Irradiance  pin 21 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:6
2017-12-14T20:03:52: Driver indi_duino: STATUS.clouds  pin 3 set as DIGITAL INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:7
2017-12-14T20:03:52: Driver indi_duino: STATUS.dew  pin 4 set as DIGITAL INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:8
2017-12-14T20:03:52: Driver indi_duino: STATUS.frezzing  pin 5 set as DIGITAL INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:9
2017-12-14T20:03:52: Driver indi_duino: STATUS.daylight  pin 6 set as DIGITAL INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:10
2017-12-14T20:03:52: Driver indi_duino: BACK_LIGHT.ON  pin 13 set as DIGITAL OUTPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:11
2017-12-14T20:03:52: Driver indi_duino: IR.IR  pin 14 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:12
2017-12-14T20:03:52: Driver indi_duino: IR.T  pin 15 set as ANALOG INPUT
2017-12-14T20:03:52: Driver indi_duino: numiopin:13
2017-12-14T20:03:52: Driver indi_duino: Presure.P  pin 16 set as ANALOG INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:14
2017-12-14T20:03:53: Driver indi_duino: Presure.T  pin 17 set as ANALOG INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:15
2017-12-14T20:03:53: Driver indi_duino: HR.HR  pin 18 set as ANALOG INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:16
2017-12-14T20:03:53: Driver indi_duino: HR.T  pin 19 set as ANALOG INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:17
2017-12-14T20:03:53: Driver indi_duino: LIGHT.LIGHT  pin 21 set as ANALOG INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:18
2017-12-14T20:03:53: Driver indi_duino: FAIL.IR  pin 7 set as DIGITAL INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:19
2017-12-14T20:03:53: Driver indi_duino: FAIL.HR  pin 8 set as DIGITAL INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:20
2017-12-14T20:03:53: Driver indi_duino: FAIL.P  pin 9 set as DIGITAL INPUT
2017-12-14T20:03:53: Driver indi_duino: numiopin:21
Generating 3 hours graph
Generating day graph
Generating weekly graph
Generating monthly graph
 
MinMax FAIL

Thanks for the help.

Kalda
6 years 3 months ago #21634

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

  • Posts: 271
  • Thank you received: 72
Well.. Both paths are correct. I think it's /usr/local/share if you compile from source, and /usr/share if you install trough apt.
Not sure if that is correct, but depending on how you install, you would have one of the paths.
Usually on ubuntu things are placed in usr/local if it's not managed by the package manager (apt).

I have this to.
It's from the original code, that I did not write.
I might get around to checking if I can do something about it, but I don't know any python, so...

I have however not been able to find anything that does not work, and would be explaned by this error.
So you should be good to go, I think...
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 months ago #21636

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

  • Posts: 62
  • Thank you received: 12
Thank you Magnus_e.

I'm sorry, the enthusiasm for the functionality was premature. Data is not updated and horizontal lines in charts.

I do not know Linux very much. I am a fan of astronomy.
Where should I find a bug or logs?
6 years 3 months ago #21638
Attachments:

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

  • Posts: 62
  • Thank you received: 12
Good evening gentlemen.

I have solved the problem.

Invalid USB to TTL converter .
The connection was resumed and after some time it was interrupted. The sensor values are still the same.

The converter replaced with high-quality original TFDI.

The last problem is in measuring pressure. We'll see.;)

Kalda
6 years 3 months ago #21676

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

  • Posts: 62
  • Thank you received: 12
Hi gentlemen.
The pressure sensor problem is complete. It's destroyed.

I used all the parts listed in point 9 of this part.

Adafruit Pro trinket is 5V but link to BMP180 from Banggood has a supply voltage of max 3.6V. The sensor will be destroyed. My case.

The Adafruit Pro trinket 5V does not have 3.3V for the BMP180 power supply.

Solution:

1) use the step down 5V to 3.3V link

or

2) use the original Adafruit BMP180, which has power supply of 5V and 3.3V
He was sold out, but I had him at home.

Now MeteoStation works perfectly !!!, but the font in the charts is poorly readable.

When I made screenshots on RPI 3 Ubuntu Mate, the font was nice. Now I have Raspbian Stretch and the font is wrong. See screenshots (nice and bad)

Font missing?

Thanks for the tutorial and for the help in the forum.

Kalda
Last edit: 6 years 3 months ago by Tomas Kalisch.
6 years 3 months ago #21713
Attachments:

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

  • Posts: 62
  • Thank you received: 12

Min Max Fail is OK now.

The problem was in the wrong ID SOUNDINGSTATION.

It remains to solve the badly readable fonts in the charts. :unsure:
6 years 3 months ago #21726

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

Time to create page: 0.495 seconds