×

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

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 1187
  • Thank you received: 370
Hm, strange. Please be so kind and post the logs.
3 years 9 months ago #56616

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

  • Posts: 50
  • Thank you received: 2
Yes no problem. You cn find the log in attachment.
So, it's strange but:
in version 1.3, I had the same issue with time out but I can to ckicl quicky two times on the connect button.
In the version 1.4 it's a loop which try to connec 3 times and if not responding there is theerror.
I don't knowwhy the arduino don't want to connect instantaneous it's a mystery for me....

File Attachment:

File Name: indi_weath...0947.log
File Size:1 KB
3 years 9 months ago #56627
Attachments:

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

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

for your information, Constant (in the other post) have the same issue with his nano V3.
If I can to help!

Olivier
3 years 9 months ago #56632

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

  • Posts: 50
  • Thank you received: 2
So, I've tested the firmware with the serial monitor and with the "w" sent command, serial monitor return true for the 3 sensors with associates values (and good values! )
3 years 9 months ago #56637

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

  • Posts: 1187
  • Thank you received: 370
you are using v1.5 Firmware in combination with v1.4 INDI driver, right? I can check it tomorrow, currently I do not have access to my Arduinos.
3 years 9 months ago #56648

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

  • Posts: 50
  • Thank you received: 2
Yes it’s that.
Arduino firmware 1.5 with indi driver 1.4.
If you need anything and if I can to help i will do with pleasure.
Have a nice night.

Olivier
3 years 9 months ago #56649

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

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

Do you have good news for us?
:-)
Thanks

Olivier
3 years 9 months ago #56696

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

  • Posts: 1187
  • Thank you received: 370
Well, the good news is that I can reproduce your problem...
3 years 9 months ago #56701

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

  • Posts: 50
  • Thank you received: 2
It’s already a good news.
In hope that you will find a fixe :-)
It will be cool for the comunity!
3 years 9 months ago #56702

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

  • Posts: 1187
  • Thank you received: 370
I think I could resolve the problem. It's slightly strange, it seems that for some types of Arduinos, even if the serial connection is established, you need to wait for a certain settling time before you can send a command. Therefore I added a five second delay to the initial handshake procedure.

I've pushed already a push request, so in the next few days the fix should be available. For the impatient and brave ones, you can access the version 1.5 of Weather Radio here: github.com/sterne-jaeger/indi-3rdparty/tree/weatherradio-v_1.5

Feedback warmly welcome!

All the best
Wolfgang
3 years 9 months ago #56730

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

  • Posts: 50
  • Thank you received: 2
Hi Wolfgang,
It’s with pleasure that I read that you have find a fix for us problem with the nano.
I will go to test as far as possible.

So, I’m reading your weather radio github and I found the fix (delay of 5s) in the Davis anemometer.
So, the fix is ok if I doesn’t use this station?
And to finsih, did you tested the fix with an arduino?

Thanks you very much for your great job!

Olivier
3 years 9 months ago #56731

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

  • Posts: 1187
  • Thank you received: 370
Hi Olivier,
take a look at the pull request: github.com/indilib/indi-3rdparty/pull/165/files

Here you can see that the 5sec delay is in the INDI driver, i.e. its relevant for all using the driver.

It’s tested with Arduinos (Wemos 8266, Nano and Metro Mini)

HTH
Wolfgang
3 years 9 months ago #56735

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

Time to create page: 1.401 seconds