×

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: 4
  • Thank you received: 0
Thanks Magnus for sharing your progress! I just started putting together a MeteoStation and I am using the modified code your shared above.
For now, I just have the dht22 connected to the Arduino. The induino test code work well and I can see the temperature in the serial monitor.
The arduino is connected to my raspberry pi running indiserver.
After updating the arduino with the meteostation code, when I connect to the raspberry pi remotely from Ekos, the control panel doesn't show the temperature, instead it is only showing a long list of sockets, any idea what am i doing wrong?
Thank for your help,
-remy
6 years 7 months ago #18812
Attachments:

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

  • Posts: 271
  • Thank you received: 72
@rdw4176 !?
Sounds like you are starting the indi_duino driver without specifying skeleton file, thus starting the default simple_switcher_sk.xml

Check if your skeleton files is in /usr/share/indi or /urs/local/share/ind (most likely local), and try this one-liner.
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
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: Remy
6 years 6 months ago #18863

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

  • Posts: 4
  • Thank you received: 0
Yes, the loading the right skeleton was the step I was missing, thanks for pointing that out! The meteostation panel is now showing in Ekos. No value is updating, all showing 0. I guess, I might have some more configuration to do in order to see the temperature from the DHT22, I'll keep debugging
6 years 6 months ago #18895

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

  • Posts: 2247
  • Thank you received: 223
right, I have ordered the electronic components off fleebay, just need to pick the solar cell and an enclosure. This meteostation was a great addition to my observatory, hence it's coming back in.
Previous one was also my all-sky camera (I will build one again).
6 years 6 months ago #19322

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

  • Posts: 2247
  • Thank you received: 223
Magnus, can you please let me know how to get the latest code for this please, as in with all your updates?
My brain isn't computing all this github wizardry today :(
6 years 6 months ago #19407

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

  • Posts: 271
  • Thank you received: 72
At the moment it's only in my fork, and the changes for the meteostation, meteo test and meteo web is in their own branch.

So
git clone https://github.com/magnue/indi.git magnueINDI
cd magnueINDI
git checkout induino-meteotest-updates # This will give you the changes for Firmwares/meteoTEST
git checkout induino-meteo-updates # This gives you the Firmwares/induinoMETEO changes (meteoTEST is reverted...)
git checkout induino-meteoweb-updates # Updates to add-ons/meteostationWEB (mostly the meteoconfig.py with ssh tunnel connection options)

I'll hopefully get to write the HOWTO this weekend. I just have to test the meteo web updates, and make pull requests to indi
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last edit: 6 years 6 months ago by Magnus.
6 years 6 months ago #19411

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

  • Posts: 2247
  • Thank you received: 223
ok... I think i should put the laptop down and watch some TV instead :(
$ git clone https://github.com/magnue/indi.git magnueINDI
Cloning into 'magnueINDI'...
remote: Counting objects: 34266, done.
remote: Total 34266 (delta 0), reused 0 (delta 0), pack-reused 34266
Receiving objects: 100% (34266/34266), 128.36 MiB | 2.69 MiB/s, done.
Resolving deltas: 100% (26058/26058), done.
Checking out files: 100% (1951/1951), done.
$ cd magnueINDI/
 
$ git checkout induino-meteotest-updates
Branch induino-meteotest-updates set up to track remote branch induino-meteotest-updates from origin.
Switched to a new branch 'induino-meteotest-updates'
 
$ git checkout induino-meteo-updates
Branch induino-meteo-updates set up to track remote branch induino-meteo-updates from origin.
Switched to a new branch 'induino-meteo-updates'
 
$ git checkout induino-meteoweb-updates
Branch induino-meteoweb-updates set up to track remote branch induino-meteoweb-updates from origin.
Switched to a new branch 'induino-meteoweb-updates'

I've done all of that, can't see the updates applied. Today I'm really brain dead :(
6 years 6 months ago #19412

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

  • Posts: 271
  • Thank you received: 72
Well.. you should have the changes for meteo web.

The way branches work is that you only get the changes of the branch you have checked out an all it's parrents.
master | - induino-meteo-updates
       | - induino-meteotest-updates
       | - induino-meteoweb-updates
As they are all based on master, and not on eachother then the changes in meteo updates will be gone when you checkout meteotest or meteoweb updates.

So do
git checkout induino-meteotest-updates
then check the meteoTEST firmware for changes, and so on,
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: Gonzothegreat
Last edit: 6 years 6 months ago by Magnus.
6 years 6 months ago #19415

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

  • Posts: 2247
  • Thank you received: 223
6 years 6 months ago #19416

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

  • Posts: 2247
  • Thank you received: 223
Hopefully all of your changes will be soon merged in the main branch.
Nice work on the updates, I have not tested it yet as I need to finish building the meteostation, but the updates were overdue I believe.
6 years 6 months ago #19418

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

  • Posts: 2247
  • Thank you received: 223
Is the following something I should be concerned?
/Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:160:0: warning: "TOTAL_ANALOG_PINS" redefined
 #define TOTAL_ANALOG_PINS       11
 ^
In file included from /Users/stephanelucas/Documents/Arduino/libraries/Firmata/Firmata.h:17:0,
                 from /Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:137:
/Users/stephanelucas/Documents/Arduino/libraries/Firmata/Boards.h:476:0: note: this is the location of the previous definition
 #define TOTAL_ANALOG_PINS       12
 ^
/Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:161:0: warning: "TOTAL_PINS" redefined
 #define TOTAL_PINS              25
 ^
In file included from /Users/stephanelucas/Documents/Arduino/libraries/Firmata/Firmata.h:17:0,
                 from /Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:137:
/Users/stephanelucas/Documents/Arduino/libraries/Firmata/Boards.h:477:0: note: this is the location of the previous definition
 #define TOTAL_PINS              30 // 14 digital + 12 analog + 4 SPI (D14-D17 on ISP header)
 ^
Sketch uses 21350 bytes (74%) of program storage space. Maximum is 28672 bytes.
Global variables use 1298 bytes (50%) of dynamic memory, leaving 1262 bytes for local variables. Maximum is 2560 bytes.
Last edit: 6 years 6 months ago by Gonzothegreat.
6 years 6 months ago #19419

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

  • Posts: 271
  • Thank you received: 72
Did you include the Firmata library manually?
I know the Wiki says something about it, but there is a Custom Firmata copied into the induinoMETEO.ino file, so no need to include.
Just open induinoMETEO.ino and compile.

The firmwares, web config or anything else Meteostation was not updated for the last five years, so could not hurt :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 6 months ago #19421

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

Time to create page: 0.546 seconds