Adrian replied to the topic 'Weather radio don't want connect' in the forum. 3 years ago

I am a little confused, brain rot I suppose.

I am trying to run an indiserver on the raspberry pi to connect to weatherradio. I will be hosting a webpage on the pi and will also use
kstars on another box if there are any clear skys.

The problem is that unless I have ekos/kstars running on the pi locally I cannot connect to the indiserver with the python
scripts for the web page.

I am running the indiserver from systemd with the root user

[Unit]
Description=INDI server for weather radio

[Service]
Type=simple
User=root
ExecStart=/usr/bin/indiserver -v indi_weatherradio

[Install]
WantedBy=multi-user.target

I start kstars as the pi user on the device and save the configuration

I see that the xml file in /root is changed
sudo ls -l /root/.indi
total 16
-rw-r--r-- 1 root root 7897 Nov 21 13:36 'Weather Radio_config.xml'
-rw-r--r-- 1 root root 4534 Nov 18 20:08 'Weather Radio_config.xml.default'

I can see that the service is running
sudo systemctl status indi-weatherradio
● indi-weatherradio.service - INDI server for weather radio
   Loaded: loaded (/etc/systemd/system/indi-weatherradio.service; disabled; vend
   Active: active (running) since Wed 2020-11-18 20:06:52 GMT; 2 days ago
 Main PID: 1199 (indiserver)
    Tasks: 2 (limit: 2063)
   CGroup: /system.slice/indi-weatherradio.service
           ├─1199 /usr/bin/indiserver -v indi_weatherradio
           └─1200 indi_weatherradio

Nov 21 13:36:08 redpi indiserver[1199]: 2020-11-21T13:36:08: Client 5: shut dow
Nov 21 13:36:37 redpi indiserver[1199]: 2020-11-21T13:36:37: Client 5: new arri

As the pi user, if I run wr_rrd_update.py when kstars is connected I see
./bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Connection established to "Weather Radio"@localhost:7624
Weather parameters read from "Weather Radio"@localhost:7624

If I run wr_rrd_update.py when kstars is not connected I see
./bin/wr_rrd_update.py -v
Updating data from "Weather Radio"@localhost:7624
Establishing connection FAILED to "Weather Radio"@localhost:7624

The indiserver is still running fine.

I am sure I had this running last winter and don't know how I broke it.

ps. I too have ordered an RG-11 sensor from the states and am waiting....

Read More...