×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 1185
  • Thank you received: 370
You can see the problem in the job log:There is an indiserver instance already running. To stop it, call
sudo killall indiserver
You could also try to stop the service:
sudo service indi-weatherradio stop
3 years 1 month ago #67527

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

  • Posts: 10
  • Thank you received: 2
Hello,
I'm now having problem to install the web interface.
When I'm running the command "./bin/wr_rrd_create_sensorfile.py" it give me an error:
File "./bin/wr_rrd_create_sensorfile.py", line 20, in <module>
import rrdtool
ModuleNotFoundError: No module named 'rrdtool'

I've already installed the rrdtool but it dosen't work!
3 years 1 month ago #67580

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

  • Posts: 1185
  • Thank you received: 370
It sounds like the python module rrdtool is missing.
pip install rrdtool
If you run the scripts with a different user, you could install it for all users with
sudo pip install rrdtool
3 years 1 month ago #67583

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

  • Posts: 10
  • Thank you received: 2
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)
3 years 1 month ago #67589

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

  • Posts: 333
  • Thank you received: 23
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"
^
3 years 1 month ago #67593

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

  • Posts: 2247
  • Thank you received: 223
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?
3 years 3 weeks ago #68210

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

  • Posts: 1185
  • Thank you received: 370
Jepp, since weather radio V1.11, it's python 3.
The following user(s) said Thank You: Gonzothegreat
3 years 3 weeks ago #68214

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

  • Posts: 2247
  • Thank you received: 223
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.
3 years 3 weeks ago #68333

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

  • Posts: 1185
  • Thank you received: 370
Could you give more details here? Which script creates the problem and where?
3 years 3 weeks ago #68340

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

  • Posts: 2247
  • Thank you received: 223
3 years 3 weeks ago #68342

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

  • Posts: 1185
  • Thank you received: 370
That’s right, I was talking of weather radio.
3 years 2 weeks ago #68345

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

  • Posts: 2247
  • Thank you received: 223
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
3 years 2 weeks ago #68347

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

Time to create page: 0.573 seconds