×

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
Looks like your INDI library is outdated. Please update to the latest version 1.8.8.
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
2 months 16 hours ago #67377

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

  • Posts: 144
  • Thank you received: 5
Could be necessary to change the wifi options in any case, like default accesspoint die or any other case.
A quick way to change the SSID is better than have to reupload the code just for change the wifi station settings
2 months 3 hours ago #67394

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

  • Posts: 8
  • Thank you received: 0
Tank you Wolfgang, I've updated Indi Libray and installed weatherradio.
Now all works great!

Matteo
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
2 months 1 hour ago #67398

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

  • Posts: 732
  • Thank you received: 197

Could be necessary to change the wifi options in any case, like default accesspoint die or any other case.
A quick way to change the SSID is better than have to reupload the code just for change the wifi station settings

This is indeed possible, but only through the serial interface using the following command:
s?ssid=<SSID name>&passwd=<password>
The easiest way for sending commands via the serial interface is using the serial monitor of the Arduino IDE.

HTH
Wolfgang
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: xthestreams
1 month 4 weeks ago #67414

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

  • Posts: 173
  • Thank you received: 3
Hello
since I can't find the txt file when it crashed, I tried its commands to see what it looks like.

Here are two useful commands for you to try to monitor the situation

Check that indi is working
====================
$ ps aux | grep indiserver

You should see a line saying that indiserver is working, it will include the command including indi_weatherradio

Check the output of the logfile
=======================
$ tail -f /tmp/logfilename.txt


nafa@NAFABox:~$ ps aux | grep indiserver
nafa 704 0.0 0.0 1836 1364 ? Ss févr.11 0:14 /usr/bin/indiserver -v indi_weatherradio >> /tmp/weatherradio_output.txt
nafa 736 0.0 0.0 0 0 ? Z févr.11 0:00 [indiserver] <defunct>
nafa 27566 0.0 0.0 4196 548 pts/0 S+ 09:13 0:00 grep --color=auto indiserver
nafa@NAFABox:~$ tail -f /tmp/logfilename.txt
tail: impossible d'ouvrir '/tmp/logfilename.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$ tail -f /tmp/weatherradio_output.txt
tail: impossible d'ouvrir '/tmp/weatherradio_output.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$
Last edit: 1 month 4 weeks ago by constant1462.
1 month 4 weeks ago #67438

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

  • Posts: 89
  • Thank you received: 16
You may not have permission to view the file as your normal user.

Check the file is present with
% sudo ls -l /tmp/weatherradio_output.txt

The -l flag will give you the permissions for the file along with the user and group.

Then if it there you can read it using
% sudo tail /tmp/weatherradio_output.txt
1 month 4 weeks ago #67441

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

  • Posts: 173
  • Thank you received: 3
Hello
no I can't find the folder with the "sudo" command
nafa@NAFABox:~$ sudo ls -l /tmp/weatherradio_output.txt
[sudo] Mot de passe de nafa : 
ls: impossible d'accéder à '/tmp/weatherradio_output.txt': Aucun fichier ou dossier de ce type
nafa@NAFABox:~$ 

I think the function didn't work when the weather crashed.
1 month 4 weeks ago #67445

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

  • Posts: 89
  • Thank you received: 16
It looks like the file does not exist.

You showed the output of % ps aux | grep indiserver as
nafa 704 0.0 0.0 1836 1364 ? Ss févr.11 0:14 /usr/bin/indiserver -v indi_weatherradio >> /tmp/weatherradio_output.txt

Which indicates that the server is running so it should be outputting something to the file in /tmp/weatherradio_output.txt

1. Check that the tmp directory exists
$ sudo ls -l /tmp
It should exist

Check if the indiserver is running again with the ps aux command
$ ps aux | grep indiserver

If the indiserver is running and there is no /tmp directory kill the indiserver
$ sudo killall indiserver

Start indiserver as your normal user in the terminal
$ indiserver -v indi_weatherradio > ~/logfile.txt

Leave it running and monitor ~/logfile.txt in your home directory
1 month 4 weeks ago #67456

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

  • Posts: 189
  • Thank you received: 47
Instead of
$ ps aux | grep indiserver
may I suggest using
$ ps aux | grep indi_
that way, you will know if indeed the indiserver is running, but also what INDI drivers are running thus, if indi_weatherradio is still/truely running. May help figure out the problem.

$ ps aux | grep indi_
is what I use to make sure my INDI distributed environment is functionnal.

Good luck
1 month 4 weeks ago #67458

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

  • Posts: 173
  • Thank you received: 3
hello
so I made all the orders in order
and now I get to this.
so I can't start the server anymore.
$ sudo service indi-weatherradio status
● indi-weatherradio.service - INDI server for weather radio
   Loaded: loaded (/etc/systemd/system/indi-weatherradio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2021-02-18 19:26:04 CET; 35s ago
  Process: 17439 ExecStart=/usr/bin/indiserver -vv indi_weatherradio >> /tmp/weatherradio_output.txt (code=exited, status=1/FAILURE)
 Main PID: 17439 (code=exited, status=1/FAILURE)
 
févr. 18 19:26:04 NAFABox systemd[1]: Started INDI server for weather radio.
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: startup: /usr/bin/indiserver -vv indi_weatherradio >> /tmp/weatherradio_output.txt
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver indi_weatherradio: pid=17442 rfd=3 wfd=6 efd=7
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver >>: pid=17443 rfd=4 wfd=9 efd=10
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver /tmp/weatherradio_output.txt: pid=17444 rfd=5 wfd=12 efd=13
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: bind: Address already in use
févr. 18 19:26:04 NAFABox indiserver[17439]: Child process 17444 died
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: good bye
févr. 18 19:26:04 NAFABox systemd[1]: indi-weatherradio.service: Main process exited, code=exited, status=1/FAILURE
févr. 18 19:26:04 NAFABox systemd[1]: indi-weatherradio.service: Failed with result 'exit-code'.
nafa@NAFABox:~$
1 month 3 weeks ago #67526

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

  • Posts: 732
  • Thank you received: 197
You can see the problem in the job log:

févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: bind: Address already in use
févr. 18 19:26:04 NAFABox indiserver[17439]: Child process 17444 died
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: good bye

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
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 3 weeks ago #67527

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

  • Posts: 8
  • Thank you received: 0
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!
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
1 month 3 weeks ago #67580

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

Time to create page: 0.963 seconds