×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Weather radio don't want connect

  • Posts: 8
  • Thank you received: 0
Rrd tool has been installed.
I try to run the script in the IDE: unsing mu I've the same error but using Geany it goes... so strange.
But now I've the following error running rdd_update from Geany
File "wr_rrd_update.py", line 17, in <module>
from indiclient import *
File "/usr/share/weatherradio/bin/indiclient.py", line 205, in <module>
import queue
ImportError: No module named queue

Could it be a problem about the python release uset (I've installed 2.7, 3.x)
Ekos running on RPI4
Telescope apo triplet 90/600
Camera Canon Eos 1100D
Mount Skywatcher HEQ5 pro
Giudescope 50/180
Guidecamera Magzero 5M
Focuser Arduino clone of Moonlite

Remote observatory - work in progress
7 months 3 days ago #67589

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

  • Posts: 201
  • Thank you received: 14
ESP8266 boards like the Wemos D1 seems lack the support for the FreqMeasure library that is is necessary for managing the TSL237 sendo for the SQM measurement.
Do you have somethings to suggest to solve the problem?


In file included from E:\user\Dropbox\Arduino\arduino-1.8.12\libraries\FreqMeasure\FreqMeasure.cpp:27:0:
E:\user\Dropbox\Arduino\arduino-1.8.12\libraries\FreqMeasure\util/FreqMeasureCapture.h:81:4: error: #error "Unknown chip, please edit me with timer+counter definitions"

#error "Unknown chip, please edit me with timer+counter definitions"
^
7 months 3 days ago #67593

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

  • Posts: 2066
  • Thank you received: 193
On Ubuntu 20.04.2 LTS there is no longer a python-rrdtool package

root@heidenrod-obs:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
root@heidenrod-obs:~# apt-cache search python-rrdtool
root@heidenrod-obs:~#

There is however a python3-rrdtool

root@heidenrod-obs:~# apt-cache search python3-rrdtool
python3-rrdtool - time-series data storage and display system (Python3 interface)
python3-rrdtool-dbg - time-series data storage and display system (Python3 debug interface)
root@heidenrod-obs:~#


Is the code python3 aware/compatible?
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
6 months 2 weeks ago #68210

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

  • Posts: 841
  • Thank you received: 252
Jepp, since weather radio V1.11, it's python 3.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
The following user(s) said Thank You: Gonzothegreat
6 months 2 weeks ago #68214

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

  • Posts: 2066
  • Thank you received: 193
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
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
6 months 2 weeks ago #68333

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

  • Posts: 841
  • Thank you received: 252
Could you give more details here? Which script creates the problem and where?
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
6 months 2 weeks ago #68340

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

  • Posts: 2066
  • Thank you received: 193
The following code is not python3 compatible github.com/sterne-jaeger/indi-3rdparty/t...d-on/meteostationWEB
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
6 months 2 weeks ago #68342

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

  • Posts: 841
  • Thank you received: 252
That’s right, I was talking of weather radio.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
6 months 2 weeks ago #68345

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

  • Posts: 2066
  • Thank you received: 193
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
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
6 months 2 weeks ago #68347

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

  • Posts: 841
  • Thank you received: 252
You may send me a PN if you need help.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
The following user(s) said Thank You: Gonzothegreat
6 months 2 weeks ago #68348

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

  • Posts: 2066
  • Thank you received: 193
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
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
6 months 2 weeks ago #68355

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

  • Posts: 841
  • Thank you received: 252
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 | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC with Raspbian 10
6 months 2 weeks ago #68356

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

Time to create page: 0.664 seconds