×

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: 8
  • Thank you received: 0
Thanks Wolfgang for the good news!
I tried to install the wetherradio release that you linked to me but, not being very familiar with Linux, I failed.
I will wait for the official release.

Matteo
Ekos running on RPI4
Telescope apo triplet 90/600
Camera Canon Eos 1100D
Mount Skywatcher HEQ5 pro
Giudescope 50/180
Guidecamera Magzero 5M
Focuser Arduino clone of Moonlite

Remote observatory - work in progress
8 months 6 days ago #67325

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

  • Posts: 212
  • Thank you received: 14
I am testing it on my Wemos D1 mini. I am using the TSL2591 sensor for the SQM and this is the measeurement in a stable dark conditions. I do not know if other people use this sensor for his SQM calculation and how they are stable and if they are copared they with a real SQM device.



So regarding to the WiFi, actually it is configured to connect to my home router, but if I go out it switch to be an AccessPoint with some defaults data? Thereis a way to change the wireless settings via a webpage?
8 months 5 days ago #67354
Attachments:

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

  • Posts: 857
  • Thank you received: 257
Version 1.12 is released, but as I just saw, the water sensor is already present in version 1.11.

Wolfgang
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
Last edit: 8 months 5 days ago by Wolfgang Reissenberger. Reason: Water sensor already implemented with 1.11
8 months 5 days ago #67363

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

  • Posts: 857
  • Thank you received: 257
I'm not sure what you want to achieve using the Arduino as access point. If you want to use it in the field, I would recommend one of these two options:
  • Use a WiFi access point in the field and connect all your devices including the Wemos to it. This way you simply span a local network without internet connection.
  • Connect your Wemos with the USB cable directly to the server (Raspberry or whatever you are using)
HTH
Wolfgang
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
8 months 5 days ago #67365

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

  • Posts: 8
  • Thank you received: 0
Hi Wolfgang, i try to instal the version 1.12 but i get some errors like the following:
/home/pi/Projects/weatherradio/indi-3rdparty/indi-duino/weatherradio.cpp:1119:21: error: ‘defineProperty’ was not declared in this scope
defineProperty(deviceProp);
^~~~~~~~~~~~~~
/home/pi/Projects/weatherradio/indi-3rdparty/indi-duino/weatherradio.cpp:1119:21: note: suggested alternative: ‘deleteProperty’
defineProperty(deviceProp);
^~~~~~~~~~~~~~
deleteProperty

What am I doing wrong?
Matteo
Ekos running on RPI4
Telescope apo triplet 90/600
Camera Canon Eos 1100D
Mount Skywatcher HEQ5 pro
Giudescope 50/180
Guidecamera Magzero 5M
Focuser Arduino clone of Moonlite

Remote observatory - work in progress
8 months 5 days ago #67376

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

  • Posts: 857
  • Thank you received: 257
Looks like your INDI library is outdated. Please update to the latest version 1.8.8.
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
8 months 5 days ago #67377

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

  • Posts: 212
  • Thank you received: 14
Could be necessary to change the wifi options in any case, like default accesspoint die or any other case.
A quick way to change the SSID is better than have to reupload the code just for change the wifi station settings
8 months 4 days ago #67394

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

  • Posts: 8
  • Thank you received: 0
Tank you Wolfgang, I've updated Indi Libray and installed weatherradio.
Now all works great!

Matteo
Ekos running on RPI4
Telescope apo triplet 90/600
Camera Canon Eos 1100D
Mount Skywatcher HEQ5 pro
Giudescope 50/180
Guidecamera Magzero 5M
Focuser Arduino clone of Moonlite

Remote observatory - work in progress
8 months 4 days ago #67398

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

  • Posts: 857
  • Thank you received: 257
This is indeed possible, but only through the serial interface using the following command:
s?ssid=<SSID name>&passwd=<password>
The easiest way for sending commands via the serial interface is using the serial monitor of the Arduino IDE.

HTH
Wolfgang
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
The following user(s) said Thank You: Paul Muller
8 months 4 days ago #67414

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

  • Posts: 194
  • Thank you received: 3
Hello
since I can't find the txt file when it crashed, I tried its commands to see what it looks like.


nafa@NAFABox:~$ ps aux | grep indiserver
nafa 704 0.0 0.0 1836 1364 ? Ss févr.11 0:14 /usr/bin/indiserver -v indi_weatherradio >> /tmp/weatherradio_output.txt
nafa 736 0.0 0.0 0 0 ? Z févr.11 0:00 [indiserver] <defunct>
nafa 27566 0.0 0.0 4196 548 pts/0 S+ 09:13 0:00 grep --color=auto indiserver
nafa@NAFABox:~$ tail -f /tmp/logfilename.txt
tail: impossible d'ouvrir '/tmp/logfilename.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$ tail -f /tmp/weatherradio_output.txt
tail: impossible d'ouvrir '/tmp/weatherradio_output.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$
Last edit: 8 months 3 days ago by Porchet.
8 months 3 days ago #67438

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

  • Posts: 89
  • Thank you received: 16

Replied by Adrian on topic Weather Radio - info channel

You may not have permission to view the file as your normal user.

Check the file is present with
% sudo ls -l /tmp/weatherradio_output.txt

The -l flag will give you the permissions for the file along with the user and group.

Then if it there you can read it using
% sudo tail /tmp/weatherradio_output.txt
8 months 3 days ago #67441

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

  • Posts: 194
  • Thank you received: 3
Hello
no I can't find the folder with the "sudo" command
nafa@NAFABox:~$ sudo ls -l /tmp/weatherradio_output.txt
[sudo] Mot de passe de nafa : 
ls: impossible d'accéder à '/tmp/weatherradio_output.txt': Aucun fichier ou dossier de ce type
nafa@NAFABox:~$ 

I think the function didn't work when the weather crashed.
8 months 3 days ago #67445

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

Time to create page: 0.734 seconds