×

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
It's even easier, you can calibrate the sensor parameters directly through the INDI interface:
github.com/sterne-jaeger/indi-3rdparty/b...g-weather-parameters

For explanation about K1..K5, see the section "Tuning Sky Temperature Parameters" in lunatico.es/aagcw/enhelp/

HTH.
3 years 5 months ago #61539

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Weather radio


neat B)
3 years 5 months ago #61540

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

  • Posts: 1185
  • Thank you received: 370
For tweaking the parameters I have an Excel so that I can import CSV data from a RRD export - see attachment. With some Excel knowledge it should be possible to understand how it works. For questions, send me a PN.

File Attachment:

File Name: sensors.xlsx.zip
File Size:122 KB
3 years 5 months ago #61541
Attachments:

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

  • Posts: 108
  • Thank you received: 4

Replied by Gunter on topic Weather radio

Rain Sensor RG-11,

Hi Wolfgang,
What do you think, will we order such a Sensor? I send out a request to an international company, so let’s wait until I get an answer.
Can you please advise how to install Weather radio, including the web pages? I could not find it in the readme’s. Thanks
3 years 5 months ago #61582

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

  • Posts: 1185
  • Thank you received: 370
Hi Gunter,
the documentation is here: github.com/sterne-jaeger/indi-3rdparty/b...adme-WeatherRadio.md

Regarding the RG-11: If we order three items, it should work with customs and the shipping costs are reasonable. I'll send you a PN.

Wolfgang
3 years 5 months ago #61603

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

  • Posts: 250
  • Thank you received: 3
Hello,
So I've read the links you've put, but it's more for the setting of kstars, that's OK.
On the other hand, how to configure the code, to have a good value in the web page.
Because if the sensor marks sky temperature -7C° it tells me no clouds, whereas the right value would be more -23C°.

So I can adjust this value in the weather radio code.
3 years 5 months ago #61614

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

  • Posts: 1185
  • Thank you received: 370
That's a misunderstanding, it's not about KStars configuration.

What you need is an INDI client so that you can change the parameters of the INDI device - KStars has one, but if you have another one, fine. Parameter calibration is done through INDI configuration, there is no need to change the code.

HTH
Wolfgang
3 years 5 months ago #61617

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

  • Posts: 250
  • Thank you received: 3
OK, but unfortunately I couldn't find in the configuration tab of weatherradio or change the temperature.
3 years 5 months ago #61623

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

  • Posts: 1185
  • Thank you received: 370
Weather Radio > Calibration > Sky Temp calibr. > clear sky (°C)
3 years 5 months ago #61624

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

  • Posts: 250
  • Thank you received: 3

That's in Kstars, but I want to change the tolerance in the Weather Radio web page.

So is it possible to do it, and if so, how do we do it?
3 years 5 months ago #61678

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

  • Posts: 1185
  • Thank you received: 370
The web page accesses the Arduino through the INDI service, therefore you need to access the INDI service for changing the calibration. And don’t forget to save the parameters, otherwise they will be lost after a restart.
3 years 5 months ago #61731

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

  • Posts: 89
  • Thank you received: 16
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....
3 years 4 months ago #63160

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

Time to create page: 0.794 seconds