×

INDI Library v1.8.9 Released (01 Mar 2021)

INDI monthly update. In addition to driver improvements, major code refactoring is in progress by @pawel-soja to modernize and improve INDI aging code.

New forum users, please go here first: indilib.org/forum/new-forum-users.html

Weather radio don't want connect

  • Posts: 732
  • Thank you received: 197
Jepp, since weather radio V1.11, it's python 3.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
The following user(s) said Thank You: Gonzothegreat
1 month 1 week ago #68214

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

  • Posts: 2010
  • Thank you received: 186
Not sur what happened to my previous reply earlier, anyway I was thinking of recycling my original meteostation and reflash the arduino, I think your code would work well.
At the moment, I had to python3 the code and there is a memory leak I think... it crashes too often now.
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
1 month 5 days ago #68333

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

  • Posts: 732
  • Thank you received: 197

At the moment, I had to python3 the code and there is a memory leak I think... it crashes too often now.

Could you give more details here? Which script creates the problem and where?
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
1 month 5 days ago #68340

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

  • Posts: 2010
  • Thank you received: 186
The following code is not python3 compatible github.com/sterne-jaeger/indi-3rdparty/t...d-on/meteostationWEB
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
1 month 5 days ago #68342

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

  • Posts: 732
  • Thank you received: 197
That’s right, I was talking of weather radio.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
1 month 5 days ago #68345

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

  • Posts: 2010
  • Thank you received: 186
I will reflash my arduino as the sensors are the same (or similar) from what I remember. At the moment I have no weather station and it's really frustrating as the observatory is in a different country so I can't just open the window and check if there is a clear night or not... lol
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
1 month 5 days ago #68347

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

  • Posts: 732
  • Thank you received: 197
You may send me a PN if you need help.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
The following user(s) said Thank You: Gonzothegreat
1 month 5 days ago #68348

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

  • Posts: 2010
  • Thank you received: 186
Doesn't look it's going to be easy to do it remotely.... so I'll build a new weatherstation here at home :)

root@heidenrod-obs:/home/Weather_radio/weatherradio# ino build
Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ... 1.0.5 (2:1.0.5+dfsg2-4.1)
Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino standard libraries ... /usr/share/arduino/libraries
Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino/variants
Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objcopy
src/weatherradio.ino
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ... 1.0.5 (2:1.0.5+dfsg2-4.1)
Scanning dependencies of src
Scanning dependencies of arduino
/usr/share/arduino/libraries/ArduinoJson/extras/tests/FailingBuilds/write_long_long.cpp:13:2: error: #error This test requires C++11
#error This test requires C++11
^
make: *** [.build/uno/Makefile.deps:849: .build/uno/ArduinoJson/extras/tests/FailingBuilds/write_long_long.d] Error 1
Make failed with code 2
root@heidenrod-obs:/home/Weather_radio/weatherradio# gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@heidenrod-obs:/home/Weather_radio/weatherradio#
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
1 month 5 days ago #68355

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

  • Posts: 732
  • Thank you received: 197
Not sure what you are aiming for. Is this the output from your remote machine?
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
1 month 5 days ago #68356

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

  • Posts: 2010
  • Thank you received: 186
I have this tool called "ino" which allows you to program an Arduino from the command line, it's going to be more hassle this time so do not worry about it.
Going to build the weather box here and get it working before I ship it to its final destination :)

Are the Wemos better than Arduino clone boards?
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
1 month 5 days ago #68357

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

  • Posts: 2010
  • Thank you received: 186
by the way, I think there's a mistake in the doc github.com/sterne-jaeger/indi-3rdparty/b...adme-WeatherRadio.md
instead of
DBE280 for temperature, humidity and air pressure
should not that be
BME280 for temperature, humidity and air pressure
Kstars Mac osx
Incoming soon:
Odroid C4 / Takahashi 130ED / CEM25p / QHY268M / and more...

old:
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
Megrez72 / HEQ5 pro / QHY5L-II-M (OAG) / Atik 314L+ / Gerd Neumann drawer
The following user(s) said Thank You: sterne-jaeger
1 month 5 days ago #68358

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

  • Posts: 732
  • Thank you received: 197
I'm really happy with the Wemos. Small, plenty of memory on board, WiFi present, and this for less than 10€.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
1 month 5 days ago #68359

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

Time to create page: 0.317 seconds