×

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: 837
  • Thank you received: 246

That looks weird. Did you really post the correct config file? Your config file claims that the indiserver is running on ...29, in fact the script connects to ...20.

Maybe there is another config file hanging around somewhere that has the correct INDISERVER, but has an incorrect device configuration.
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
9 months 3 weeks ago #63561

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

  • Posts: 89
  • Thank you received: 16
Hi ggtux

I may not understand your setup correctly but;
if you are running

on allsky (192.168.178.20)

Then wr_config.py on allsky should be
INDISERVER="192.168.178.20"
or
INDISERVER="localhost"

and not

INDISERVER="192.168.178.29"


The python scripts in
pi@allsky:/usr/share/weatherradio/bin
will then contact the server on allsky and update the rrd file.

If you want to contact the server on allsky from another box you can chain servers by adding
Remote:Weather Radio@allsky
in addition to your connection to stellarOS connected to your other gear
to the EKOS profile, thats if you are using kstars.
Last edit: 9 months 3 weeks ago by Adrian. Reason: ggtux
9 months 3 weeks ago #63579

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

  • Posts: 76
  • Thank you received: 1
Hi Wolfgang,
you Shaw ist. I tricked a bit with the indiserver log. As I wrote this today I could not copy the log from RPI41. But be sure the indiserver is running and perfectly reporting sensor data.
The config file is the correct one and my description of the setup is also ok.
When I change the IP the error reports the exactly this IP back.
9 months 3 weeks ago #63580

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

  • Posts: 89
  • Thank you received: 16
Dear Wolfgang

Regarding using lighttpd instead of apache

I was able to serve weatherradio on my box by adding
server.modules += ("mod_alias")
alias.url =("/weatherradio/"=>"/usr/share/weatherradio/html/")

to the lightttpd.conf file which is
/etc/lighthttpd/lighttpd.conf
on this box.

Then the url for weatherradio on the box is
http://localhost/weatherradio/
Note the / after weatherradio

Someone might find this useful.

I have put my nice camera back on the telescope and will try with the raspberry pi camera on weatherradio next.
Last edit: 9 months 3 weeks ago by Adrian. Reason: added terminal /
9 months 3 weeks ago #63584

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

  • Posts: 76
  • Thank you received: 1
Hi everybody,

I attache the log file from my indiserver RPI41 (192.168.178.29) after issueing:
pi@allsky:/usr/share/weatherradio $ ./bin/wr_rrd_update.py
Updating data from "Weather Radio"@192.168.178.29:7624 FAILED!

stellarmate@RPI41:~ $ tail -f ~/.local/share/kstars/logs/2020-11-29/log_20-36-15.txt

[2020-11-29T20:44:08.495 CET DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-11-29T19:44:08: Client 30: new arrival from 192.168.178.20:39780 - welcome!"
[2020-11-29T20:44:08.495 CET DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-11-29T20:44:08.525 CET DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-11-29T19:44:08: Client 30: read EOF"
[2020-11-29T20:44:08.526 CET DEBG ][ org.kde.kstars.indi] - INDI Server: ""
[2020-11-29T20:44:08.527 CET DEBG ][ org.kde.kstars.indi] - INDI Server: "2020-11-29T19:44:08: Client 30: shut down complete - bye!"
[2020-11-29T20:44:08.527 CET DEBG ][ org.kde.kstars.indi] - INDI Server: ""
9 months 3 weeks ago #63586

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

  • Posts: 837
  • Thank you received: 246
Gunter, there was a bug in version 1.8 - see here: www.indilib.org/forum/ekos/7287-weather-...html?start=108#63263
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
9 months 3 weeks ago #63598

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

  • Posts: 179
  • Thank you received: 3
Maybe additionally you could start indiserver with "-v -v" obtaining more informations.
 
HTH
Wolfgang

Sorry for my ignorance, but what do you mean by "-v-v".
When should I put this on?
In the line that launches the server?

Best Regards
Christophe
9 months 3 weeks ago #63600

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

  • Posts: 179
  • Thank you received: 3
Maybe additionally you could start indiserver with "-v -v" obtaining more informations.
 
HTH
Wolfgang

Sorry for my ignorance, but what do you mean by "-v-v".
When should I put this on?
In the line that launches the server?

Best Regards
Christophe
9 months 3 weeks ago #63601

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

  • Posts: 76
  • Thank you received: 1
Hi Wolfgang,

Thanks again.
Does it mean to download and compile the whole 3rdParty drivers again? I don’t know how to exchange the binaries on a working system. Is it so simple just to exchange the indi_weatherradio in /use/bin ?

Gunter
9 months 3 weeks ago #63612

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

  • Posts: 837
  • Thank you received: 246
not necessary, simply update the python files from
indi-3rdparty/indi-duino/add-on/weatherradio/bin
(and be careful with overwriting the config file).
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
9 months 2 weeks ago #63631

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

  • Posts: 76
  • Thank you received: 1
Hi Wolfgang,

thank you. I copied the files like: git clone --depth=1 github.com/indilib/indi-3rdparty

but how to make sure to get the right branche? I'm not familiar with GitHub, sorry.

Bye Gunter
9 months 2 weeks ago #63642

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

  • Posts: 76
  • Thank you received: 1
Hi guys,

I doubt the file exchange I did because the indiserver log shows still the V1.7! look:

2020-12-01T06:24:50: Driver indi_weatherradio: read defSwitchVector Weather Radio CONNECTION Idle rw
CONNECT='Off'
DISCONNECT='On'
2020-12-01T06:24:50: Client 0: queuing <defSwitchVector device='Weather Radio' name='CONNECTION'>
2020-12-01T06:24:50: Driver indi_weatherradio: read defTextVector Weather Radio DRIVER_INFO Idle ro
DRIVER_NAME='Weather Radio'
DRIVER_EXEC='indi_weatherradio'
DRIVER_VERSION='1.7'
DRIVER_INTERFACE='128'
2020-12-01T06:24:50: Client 0: queuing <defTextVector device='Weather Radio' name='DRIVER_INFO'>
2020-12-01T06:24:50: Client 0: sending msg copy 1 nq 2:
<defSwitchVector device="Weather Radio" name="CONNECTION" label="Connection" group="Main Control" state="Idle" perm="rw" rule="OneOfMany" timeout="60" timestamp="2020-12-01T06:24:50">
<defSwitch name="CONNECT" label="Connect">
Off
</defSwitch>
<defSwitch name="DISCONNECT" label="Disconnect">
On
</defSwitch>
</defSwitchVector>
9 months 2 weeks ago #63661

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

Time to create page: 0.699 seconds