×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Indiduino MeteoStation trouble with TSL2591

  • Posts: 294
  • Thank you received: 54
That looks great Wolfgang! I will take a look at the code as it seems to do what I intended to implement in a new driver, and more. I assume I could flash my current MeteoStation with the firmware provided by the Weather Radio. May I assume that the word 'Radio' implies that it makes use of an ESP8266 or similar WiFi device?

Thanks,

Gilles
4 years 3 weeks ago #50502

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

  • Posts: 1185
  • Thank you received: 370
If you are using the weather radio firmware, you need to select the Weather Radio driver. It is not compatible to Arduino MeteoStation SQM.
The following user(s) said Thank You: ALESSANDRO PENSATO
4 years 3 weeks ago #50503

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

  • Posts: 1185
  • Thank you received: 370
You are right, the intention is to use an ESP8266 or similar. But currently, it is implemented in a classical way using the serial USB connection. But the next version will be one using the HTTP web server of an ESP8266 so that the INDI driver sends an HTTP request and receives a JSON document.

- Wolfgang
The following user(s) said Thank You: Gilles Gagnon
4 years 3 weeks ago #50504

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

  • Posts: 294
  • Thank you received: 54
Wolgang, I installed/flashed the Weather Radio firmware in my MeteoStation hardware. Great work! I will adopt Weather Radio as my weather information device from now on as its much easier to use than the indiduinoMeteo with which I had connection problems in a distributed INDI environment; most often INDI would connect to the indi_duino driver not as a weather station but as the "simple switcher" driver IIRC, not much useful.

Thanks again.

Gilles
The following user(s) said Thank You: Wolfgang Reissenberger
4 years 3 weeks ago #50507

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

  • Posts: 333
  • Thank you received: 23
Actually in your project, can I disable Wind stuff and do not get Weather warnings?
4 years 3 weeks ago #50527

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

  • Posts: 1185
  • Thank you received: 370
Hm, I'm afraid you need to change the code a little bit. Simply comment lines 138-139 and 146-147.
   // addParameter(WEATHER_WIND_GUST, "Wind gust (m/s)", 0, 15, 50);
   //  addParameter(WEATHER_WIND_DIRECTION, "Wind direction (deg)", 0, 360, 10);
    ...
    // setCriticalParameter(WEATHER_WIND_GUST);
    // setCriticalParameter(WEATHER_WIND_SPEED);
4 years 3 weeks ago #50528

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

  • Posts: 333
  • Thank you received: 23
I am running some test, and in the standard indi-duino meteo, warnings does not have any effect on the image scheduler
4 years 3 weeks ago #50529

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

  • Posts: 333
  • Thank you received: 23
With your code warnings works properly, but you use the TSL2591 sensor for the SQM, but now I am using the TSL237, and I have to change your arduino code to replace the TSL2591 code
4 years 3 weeks ago #50530

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

  • Posts: 1185
  • Thank you received: 370
Here I can't help, I have no experience with the TSL237. But you can use the pattern for TSL2591. If you need help, feel free...
The following user(s) said Thank You: ALESSANDRO PENSATO
4 years 3 weeks ago #50531

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

  • Posts: 333
  • Thank you received: 23
I changed the TSL2591 code with the code for the TSL237, I also changed the SQM formula and the weathercalculator.h because actually I pass directlly the calculated SQM as lux value
4 years 3 weeks ago #50533

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

  • Posts: 333
  • Thank you received: 23
I also have a reference value in the SQM formula that can i change to respect the sqm values that come our from unihedron device
4 years 3 weeks ago #50534

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

  • Posts: 1185
  • Thank you received: 370
Sounds good. What about creating a PR so that I can merge your changes?
4 years 3 weeks ago #50535

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

Time to create page: 1.029 seconds