×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Building the induino MeteoStation with 3d printed housing

3 years 3 weeks ago
rdw4176
Fresh Boarder
Fresh Boarder
Posts: 3
More
Building the induino MeteoStation with 3d printed housing #18812
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
Attachments:

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

3 years 2 weeks ago
Magnus_e
Gold Boarder
Gold Boarder
Posts: 267
Karma: 4
More
Topic Author
Building the induino MeteoStation with 3d printed housing #18863
@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 rdw4176

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

3 years 2 weeks ago
rdw4176
Fresh Boarder
Fresh Boarder
Posts: 3
More
Building the induino MeteoStation with 3d printed housing #18895
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

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

3 years 6 days ago
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19322
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).

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19407
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 :(

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago 3 years 3 days ago by Magnus_e.
Magnus_e
Gold Boarder
Gold Boarder
Posts: 267
Karma: 4
More
Topic Author
Building the induino MeteoStation with 3d printed housing #19411
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

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

3 years 3 days ago
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19412
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 :(

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago 3 years 3 days ago by Magnus_e.
Magnus_e
Gold Boarder
Gold Boarder
Posts: 267
Karma: 4
More
Topic Author
Building the induino MeteoStation with 3d printed housing #19415
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

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

3 years 3 days ago
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19416
oh I see, right got it :D :D :D

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19418
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.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago 3 years 3 days ago by Gonzothegreat.
Gonzothegreat
Administrator
Administrator
Posts: 1809
Karma: 6
More
Building the induino MeteoStation with 3d printed housing #19419
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.

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer

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

3 years 3 days ago
Magnus_e
Gold Boarder
Gold Boarder
Posts: 267
Karma: 4
More
Topic Author
Building the induino MeteoStation with 3d printed housing #19421
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

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

Time to create page: 0.462 seconds