×
INDI Library v1.8.8 Released (09 Jan 2021)

Here are the changes from v1.8.7 to v1.8.8

Weather radio

1 month 2 weeks ago
sterne-jaeger
Platinum Member
Platinum Member
Posts: 700
Karma: 6
More
Weather radio #63561

# INDI server delivering weather data
INDISERVER="192.168.178.29"
...
pi@allsky:/usr/share/weatherradio $ ./bin/wr_rrd_update.py
Updating data from "Weather Radio"@192.168.178.20:7624 FAILED!


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

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

1 month 2 weeks ago 1 month 2 weeks ago by procras. Reason: ggtux
procras
Premium Member
Premium Member
Posts: 81
More
Weather radio #63579
Hi ggtux

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

pi@allsky:~ $ indiserver -m 100 -vv indi_weatherradio


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.

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

1 month 2 weeks ago
ggtux@gmx.net
Senior Member
Senior Member
Posts: 69
More
Weather radio #63580
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.

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

1 month 2 weeks ago 1 month 2 weeks ago by procras. Reason: added terminal /
procras
Premium Member
Premium Member
Posts: 81
More
Weather radio #63584
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.

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

1 month 2 weeks ago
ggtux@gmx.net
Senior Member
Senior Member
Posts: 69
More
Weather radio #63586
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: ""

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

1 month 2 weeks ago
sterne-jaeger
Platinum Member
Platinum Member
Posts: 700
Karma: 6
More
Weather radio #63598
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

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

1 month 2 weeks ago
constant1462
Premium Member
Premium Member
Posts: 155
More
Weather radio #63600
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

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

1 month 2 weeks ago
constant1462
Premium Member
Premium Member
Posts: 155
More
Weather radio #63601
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

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

1 month 2 weeks ago
ggtux@gmx.net
Senior Member
Senior Member
Posts: 69
More
Weather radio #63612
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

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

1 month 2 weeks ago
sterne-jaeger
Platinum Member
Platinum Member
Posts: 700
Karma: 6
More
Weather radio #63631
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

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

1 month 2 weeks ago
ggtux@gmx.net
Senior Member
Senior Member
Posts: 69
More
Weather radio #63642
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

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

1 month 2 weeks ago
ggtux@gmx.net
Senior Member
Senior Member
Posts: 69
More
Weather radio #63661
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>

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

Time to create page: 0.457 seconds