×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] Weather data not computed when indiserver run as a service

  • Posts: 12
  • Thank you received: 0
Hello,

@Porchet and I are facing an issue with weatherradio.
We have installed it following the documentation and have configured the sensors under Kstars/EKOS as required.
The installation is made on a Tinkerboard (32 bit CPU) running Ubuntu 22.04 and indi 1.9.8 (protocol 1.7).

The point is that weather data (computed from the sensors connected to the arduino) are all equal to 0 when indiserver is run from the command line or as a service, while they are correct if indiserver is run through Kstars/EKOS.

The attached screenshots show the problem:
- one can see in weather_data.png that weather data are 0 when indiserver is run as a service and that records become realistic as soon as we stop indiserver and launched it with EKOS. Values drop back to 0 if we stop EKOS and relaunch the indiserver service.
- in sensor_data.png we can see that sensor data are correct whatever the indiserver running.

In both cases /usr/bin/indiserver is launched so it is the same program with the same options running (except that under EKOS it is run with FIFO option for dynamic launch of drivers).
Maybe there is an issue when reading the configuration but logging messages show that it is ok, while not mentioning which configuration file is read though, e.g.:

2023-04-05T11:49:02: Weather Radio: [INFO] Loading device configuration...
2023-04-05T11:49:02: Weather Radio: [INFO] Device configuration applied.
2023-04-05T11:49:02: Weather Radio: [INFO] Waiting for 5 seconds the communication to Arduino to settle.
2023-04-05T11:49:07: Weather Radio: [INFO] Firmware version: 1.5
2023-04-05T11:49:07: Weather Radio: [INFO] Weather Radio is online.
2023-04-05T11:49:07: Weather Radio: [INFO] Temperature sensor selections added.
2023-04-05T11:49:07: Weather Radio: [INFO] Pressure sensor selections added.
2023-04-05T11:49:07: Weather Radio: [INFO] Humidity sensor selections added.
2023-04-05T11:49:07: Weather Radio: [INFO] Luminosity sensor selections added.
2023-04-05T11:49:07: Weather Radio: [INFO] Sky temperature sensor selections added.
2023-04-05T11:49:07: Weather Radio: [INFO] Raw sensors added.
2023-04-05T11:49:07: Weather Radio: [INFO] Weather update is in progress...
2023-04-05T11:49:07: Weather Radio: [WARNING] Caution: Parameter Pressure (hPa) value (0) is in the danger zone!
2023-04-05T11:49:07: Weather Radio: [WARNING] Caution: Parameter SQM value (0) is in the danger zone!
2023-04-05T11:49:09: Weather Radio: [WARNING] Caution: Parameter Pressure (hPa) value (0) is in the danger zone!
2023-04-05T11:49:09: Weather Radio: [WARNING] Caution: Parameter SQM value (0) is in the danger zone!


Would you have any idea on this strange behaviour of indi not computing weather data?

Clear skies!
1 year 1 week ago #92036
Attachments:

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

  • Posts: 1187
  • Thank you received: 370
It could be that the sensors aren't configured.
If this happens, try to connect with KStars to your running INDI service. Then check on the Options tab that the sensors you want to use are all selected. It should look like this:



When this is done, close KStars directly, don't disconnect from the INDI server since this will disconnect the device as well.

HTH
Wolfgang
1 year 1 week ago #92088
Attachments:

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

  • Posts: 12
  • Thank you received: 0
Hello Wolfgang,
Thank you very much for your support! Connecting Kstars to the indi server already running solved the issue.

Clear skies.
1 year 1 week ago #92094

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

Time to create page: 0.411 seconds