×

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: 854
  • Thank you received: 255
You could see it in the JavaScript debugger, what happens. There occurs an exception in charts.js line 226
wchart.updateOptions(...)
The problem here is that my JavaScript code expects wind data, which in your case does not exist. You need to comment out everything that is related to "windspeed" and "wchart" in the JavaScript file.

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
1 year 3 months ago #56907

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

  • Posts: 50
  • Thank you received: 2
Hello,
I'm very stupid! I'm not a jedi and I should have seen that !! Arff
You are a boss!
Thank you :-)
1 year 2 months ago #56909

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

  • Posts: 50
  • Thank you received: 2
I have a last question.
Everything is OK, Web and indi.
But, if I want to use the web server 24 hours a day, I have to let kstars run.
So, is it possible to make a script that starts after each reboot?
Thank you very much
Olivier
1 year 2 months ago #56910

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

  • Posts: 854
  • Thank you received: 255
Sure, you need indiserver, not kstars. Call
/usr/bin/indiserver -v indi_weatherradio

If you are using a Debian style Linux, create the file /etc/systemd/system/indi-weatherradio.service
[Unit]
Description=INDI server for weather radio
 
[Service]
Type=simple
User=root
ExecStart=/usr/bin/indiserver -v indi_weatherradio
 
 
[Install]
WantedBy=multi-user.target

Save it, enable the service and start it:
sudo systemctl enable indi-weatherradio.service
sudo systemctl start indi-weatherradio.service

This ensures that it starts automatically after reboot. If you want to let it run under a different user, exchange "root" in the script by the user id of choice.

Good luck
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
1 year 2 months ago #56912

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

  • Posts: 50
  • Thank you received: 2
Hello Wolfgang,

sorry for the response time, it was really nice.
Everything is functional except for one detail!
I created the service and the server starts well. However, despite this I have to go through my iNDI app on my phone.
To be more cair, this application allows you to see all the INDI servers running. Except, that of weather radio is active but not connected. So I do it manually just like I would in kstars.
Suddenly, the interest of the service becomes limited.
Is there anything else to do to make sure that when the service is started it automatically connects the arduino without having to go through the phone application?

Otherwise, apart from that everything is functional and really very good !!

Many thanks for all this work!

Olivier
1 year 2 months ago #56964

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

  • Posts: 854
  • Thank you received: 255
Hi Olivier,
the script wr_rrd_update.py should automatically connect to the weather radio service. Check if this script is working as expected - you can run it with the option "-v" to get more verbose output.

Maybe there is a wrong parameter in wr_config.py.

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
1 year 2 months ago #56981

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

  • Posts: 50
  • Thank you received: 2
Thanks for you response.
I will try this.
If i don’t see pb, i will send you my file if you can to look!
I have just change the name of port (ttyUSB0 to Weather beacause I created a symlink)
And in the service I change root to nafa, this is the name of the user
1 year 2 months ago #57001

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

  • Posts: 854
  • Thank you received: 255
Olivier,
I‘ll send you a PN with my email address so that we can communicate directly.

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
1 year 2 months ago #57003

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

  • Posts: 182
  • Thank you received: 23
Wolfgang, after going through the source code for Meteostation and just having pitchased all the bits for the old project, I see you’ve done some great work to build your own updated version with an SQM, wireless and a website! I love it!

Is there a project page where we can learn how to DIY? This is a hugely important project Ithink!
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 2 months ago #57020

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

  • Posts: 182
  • Thank you received: 23
I should say I would also like to try adding a (heated) rain sensor if you haven’t already. I don’t want to shut down my observatory when cloudy as I get intermittent clouds and can image pretty well even throwing out 25-50% of frames, but I can’t afford the dome to be open in the wet.

I was thinking that perhaps the UNO generates enough heat to keep it dry enough.

My other thought was to merge into an AllSky dome and use a heater that’s relay controlled for both dew control and rain sensor.
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 2 months ago #57021

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

  • Posts: 182
  • Thank you received: 23
Ahhhh, it’s here in case anyone is looking! stargazerslounge.com/topic/347791-indi-m...loudweather-monitor/
GSO Ritchey Chretien 12" Truss | SkyWatcher ED72
ZWO ASI 2600MC Pro, 1600MM Pro, ASI290MM and ASI224MC all-sky | ZEO EFW | ZWO OAG
Moonlite V2.5 CSL | DeepSkyDad AF3
EQ8-R | Paramount ME & MX
Nexdome | SQM LE | AAG CloudWatcher and Solo | Ultimate Power Box V2 | Spike-a-Flat
Angry missus
1 year 2 months ago #57024

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

  • Posts: 854
  • Thank you received: 255
Yes, indeed, there is a documentation available here: github.com/indilib/indi-3rdparty/blob/ma...adme-WeatherRadio.md

Integrating a new sensor is not that difficult:
  • add the new driver to the firmware following the logic of the other sensors
  • changing the INDI server

One of my next steps will be a rain sensor, probably a RG-11 (rainsensors.com) or a DYI version with distance sensors.

Regarding heating: I have a wooden housing for the Arduino and the Raspberry Zero which absorbs quite well the humidity. I think the Zero produces enough heat to keep the acrylic dome clear.

But be aware that housing even without heating influences temperature and humidity sensors. My first attempt was a wooden housing with blades for air circulation was a flop, since both temperature as well as humidity was far from correct.

My current solution is a plastic housing that contains only the sensors, which is far better.

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
1 year 2 months ago #57039

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

Time to create page: 1.123 seconds