Hi ,
at first, thank you for this project, it's exactly whhat i need
I have my station almost ready for my observatory but some minor issues need to be fixed.
i guess the problems come from me, but maybe someone could help me.
wind speed does not appear in main tab but in rain/wind yes (win11_0055 and also linux version) , also does not appears in nina (ascom 017). i activated the 3d anemometer in the firmware and checked if it was not because f the wind chill factor (i changed the value for test it) but it doesnt change anything
i need to use wind speed/ cloud cover / rain with a safety monitor. i know there's no version dedicated for, but i have an ipx800 and would like to send command to it for safe/unsafe situations trought mqtt. So i activated mqtt and connected it to my broker (i'm in station mode). i have messages published on it , but nothing with good values : ex : wind has no value and sqm is like that /meteo/sqm : msg.payload : number = 0 whereas value is 8.13 in ascom app
and last point : web server is activated, also management , but if i go to http: //ipofthestation:6060 i have nothing else than "file not found, " and a homepage button
sometimes a credentials popup, but nothing i set in /defines/management_defines work
ipofthestation/t1 (for exemple) responds correctly
what have i done wrong ??
thank you in advance
Last edit: Adrien Ke 2022-09-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your firmware, ascom driver and windows app are no longer supported. You are required to update these to the latest versions available on this site. I can only give help on the latest versions. There have been a lot of fixes for mqtt, windspeed and much more between the versions you have and what is available on this site.
wind chill factor
From pg 173 of the pdf,
WIND CHILL FACTOR Only valid if there is a Windspeed sensor fitted and enabled, and if the ambient temperature is below 10° Celsius and the windspeed is above 4.8 kph. If the value is a consistent -1, this indicates that the calculated wind chill factor is invalid (the wind speed is too high or the ambient temperature is above 10° C).
You must enable both the bme280 sensor and have a windspeed sensor enabled to get any meaningful info on wind chill factor.
wind speed does not appear in main tab but in rain/wind yes (win110055 and also linux version) , also does not appears in nina (ascom 017).
That is because you are using an old unsupported version of the Windows app.
*and last point : web server is activated, also management , but if i go to http: //ipofthestation:6060 i have nothing else than "file not found, " and a homepage button *
Did you forget to upload the data sketch files immediately after programming the control with the firmware??
*i need to use wind speed/ cloud cover / rain with a safety monitor. i know there's no version dedicated for, but i have an ipx800 and would like to send command to it for safe/unsafe situations trought mqtt. So i activated mqtt and connected it to my broker (i'm in station mode). i have messages published on it , but nothing with good values : ex : wind has no value and sqm is like that /meteo/sqm : msg.payload : number = 0 whereas value is 8.13 in ascom app *
Assuming that you updated everything and still have an mqtt issue, then
I would need to have the following provided to me to investigate this further
cntlr_config.jsn
controller_config.h
the mqtt logs
the file mqttclient.cpp file as you modified it,
other things you could try is to
enable the debug server, then enable the debugging within the mqttclient.cpp file.
Once the controller is running, you can run myquery.app to log the debug messages to a file. Please read the PDF about setting up the debug server. This is the preferred method to troubleshoot any problem.
If you install the mqtt.fx application (search online. it is free), it can log the messages sent by the controller to the broker. However you will find that this option leaves out the debug information.
Not knowing a lot about your config etc, what firmware version are we discussing?
after programming the controller, did you then upload the data sketch files?
without seeing your configuration files it is a bit hard to speculate.
Providing cntlr_config.jsn would be a help.
Windspeed
The next update will fix the wind speed issues. Currently affects any windspeed valus in mqtt/web/apps etc.
But providing an ASCOM trace log from the ASCOM OC driver would also help.
If you have a sensor like 3d anemomter, then enabling it is fine, But, if you do not, then do not enable it. That applies to all other devices and sensors. For example, no bme280 sensor, no enable etc etc etc. Enabling something that is not connected to the board is a recipe for reboots and a whole lot of frustration.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi Robert , thank you for answering
I ll send some logs As soon As possible (at work now).I ll send some logs As soon As possible (at work now).
I'm on the actually last version , And uploaded the sketch (after every modifications)
Yeah, i know i Shouldn't enable Devices if i don't have them 😉
Actually i have tsl2591, mlx90614, rainsenor, and wind (bme280 Is down). I only activated those ones.
The win/linux app works fine, and through nina too, values are corrects and refresh is good.
I will take a better look into the manual, but actually didn't found anything about what i did wrong
And of course send here logs and config file 🙂
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the record, after a private discussion with Adrien, the "File not found" problem is due to the missing SPIFFS filesystem in his setup, due to the use of the 2.x version of Arduino IDE. I had the exact same issue, and after downgrading to 1.8 Arduino IDE, I could use the ESP32 Sketch Data Upload, which is still unavalaible in the 2.x version of Arduino IDE.
Regards
Sebastien
Last edit: SebBrz 2023-04-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yeah, i understand, maybe the PDF was not clear enough.
pg 97 of PDF
STEPS TO GET THE CONTROLLER RUNNIN
1 Install and configure the Arduino IDE
2 Configure the firmware settings using controller_config.h and the files in the /defines
folder
3 Upload the firmware to the controller using the Arduino IDE
4 Upload the sketch data files
5 Check and configure other settings using the Management Server
pg 98 of PDF
ARDUINO IDE SOFTWARE
To program the controller requires the Arduino IDE software application. Please download and
install the Arduino IDE (v1.8.19 is recommended) software from Arduino.cc ( Windows, Linux, Mac OS X ). Do NOT use the web editor-based version.
pg99
ADD ESP32 SUPPORT TO THE ARDUINO IDE ENVIRONMENT
We need to make some changes to the Arduino IDE so that we can use it to reprogram the
controller.
We are using version 1.8.19 of the Arduino IDE (at the time of writing – Version 2.x.x cannot
upload the sketch data files
pg 100
CONFIGURE THE ARDUINO IDE FOR SKETCH DATA UPLOAD
The data files required by the firmware are located in the data folder. After programming the
controller, these data files must be uploaded to the flash storage area of the controller
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ,
at first, thank you for this project, it's exactly whhat i need
I have my station almost ready for my observatory but some minor issues need to be fixed.
i guess the problems come from me, but maybe someone could help me.
wind speed does not appear in main tab but in rain/wind yes (win11_0055 and also linux version) , also does not appears in nina (ascom 017). i activated the 3d anemometer in the firmware and checked if it was not because f the wind chill factor (i changed the value for test it) but it doesnt change anything
i need to use wind speed/ cloud cover / rain with a safety monitor. i know there's no version dedicated for, but i have an ipx800 and would like to send command to it for safe/unsafe situations trought mqtt. So i activated mqtt and connected it to my broker (i'm in station mode). i have messages published on it , but nothing with good values : ex : wind has no value and sqm is like that /meteo/sqm : msg.payload : number = 0 whereas value is 8.13 in ascom app
and last point : web server is activated, also management , but if i go to http: //ipofthestation:6060 i have nothing else than "file not found, " and a homepage button
sometimes a credentials popup, but nothing i set in /defines/management_defines work
ipofthestation/t1 (for exemple) responds correctly
what have i done wrong ??
thank you in advance
Last edit: Adrien Ke 2022-09-03
Hi Adrien
Your firmware, ascom driver and windows app are no longer supported. You are required to update these to the latest versions available on this site. I can only give help on the latest versions. There have been a lot of fixes for mqtt, windspeed and much more between the versions you have and what is available on this site.
wind chill factor
From pg 173 of the pdf,
WIND CHILL FACTOR
Only valid if there is a Windspeed sensor fitted and enabled, and if the ambient temperature is below 10° Celsius and the windspeed is above 4.8 kph. If the value is a consistent -1, this indicates that the calculated wind chill factor is invalid (the wind speed is too high or the ambient temperature is above 10° C).
You must enable both the bme280 sensor and have a windspeed sensor enabled to get any meaningful info on wind chill factor.
wind speed does not appear in main tab but in rain/wind yes (win110055 and also linux version) , also does not appears in nina (ascom 017).
That is because you are using an old unsupported version of the Windows app.
ASCOM 017 is deprecated and not supported. The latest driver version 024. Please update the driver
https://sourceforge.net/projects/mysqmproesp32/files/APPLICATIONS/ASCOM/mySQMPLUS-ASCOMOC-024.exe/download
*and last point : web server is activated, also management , but if i go to http: //ipofthestation:6060 i have nothing else than "file not found, " and a homepage button *
Did you forget to upload the data sketch files immediately after programming the control with the firmware??
*i need to use wind speed/ cloud cover / rain with a safety monitor. i know there's no version dedicated for, but i have an ipx800 and would like to send command to it for safe/unsafe situations trought mqtt. So i activated mqtt and connected it to my broker (i'm in station mode). i have messages published on it , but nothing with good values : ex : wind has no value and sqm is like that /meteo/sqm : msg.payload : number = 0 whereas value is 8.13 in ascom app *
Assuming that you updated everything and still have an mqtt issue, then
I would need to have the following provided to me to investigate this further
cntlr_config.jsn
controller_config.h
the mqtt logs
the file mqttclient.cpp file as you modified it,
other things you could try is to
enable the debug server, then enable the debugging within the mqttclient.cpp file.
Once the controller is running, you can run myquery.app to log the debug messages to a file. Please read the PDF about setting up the debug server. This is the preferred method to troubleshoot any problem.
If you install the mqtt.fx application (search online. it is free), it can log the messages sent by the controller to the broker. However you will find that this option leaves out the debug information.
Regards
Robert
Last edit: brownrb 2023-04-01
Hi Adrien
Not knowing a lot about your config etc, what firmware version are we discussing?
after programming the controller, did you then upload the data sketch files?
without seeing your configuration files it is a bit hard to speculate.
Providing cntlr_config.jsn would be a help.
Windspeed
The next update will fix the wind speed issues. Currently affects any windspeed valus in mqtt/web/apps etc.
But providing an ASCOM trace log from the ASCOM OC driver would also help.
If you have a sensor like 3d anemomter, then enabling it is fine, But, if you do not, then do not enable it. That applies to all other devices and sensors. For example, no bme280 sensor, no enable etc etc etc. Enabling something that is not connected to the board is a recipe for reboots and a whole lot of frustration.
Regards
Robert
hi Robert , thank you for answering
I ll send some logs As soon As possible (at work now).I ll send some logs As soon As possible (at work now).
I'm on the actually last version , And uploaded the sketch (after every modifications)
Yeah, i know i Shouldn't enable Devices if i don't have them 😉
Actually i have tsl2591, mlx90614, rainsenor, and wind (bme280 Is down). I only activated those ones.
The win/linux app works fine, and through nina too, values are corrects and refresh is good.
I will take a better look into the manual, but actually didn't found anything about what i did wrong
And of course send here logs and config file 🙂
Hi,
For the record, after a private discussion with Adrien, the "File not found" problem is due to the missing SPIFFS filesystem in his setup, due to the use of the 2.x version of Arduino IDE. I had the exact same issue, and after downgrading to 1.8 Arduino IDE, I could use the ESP32 Sketch Data Upload, which is still unavalaible in the 2.x version of Arduino IDE.
Regards
Sebastien
Last edit: SebBrz 2023-04-01
yeah, i understand, maybe the PDF was not clear enough.
pg 97 of PDF
STEPS TO GET THE CONTROLLER RUNNIN
1 Install and configure the Arduino IDE
2 Configure the firmware settings using controller_config.h and the files in the /defines
folder
3 Upload the firmware to the controller using the Arduino IDE
4 Upload the sketch data files
5 Check and configure other settings using the Management Server
pg 98 of PDF
ARDUINO IDE SOFTWARE
To program the controller requires the Arduino IDE software application. Please download and
install the Arduino IDE (v1.8.19 is recommended) software from Arduino.cc ( Windows, Linux, Mac OS X ). Do NOT use the web editor-based version.
pg99
ADD ESP32 SUPPORT TO THE ARDUINO IDE ENVIRONMENT
We need to make some changes to the Arduino IDE so that we can use it to reprogram the
controller.
We are using version 1.8.19 of the Arduino IDE (at the time of writing – Version 2.x.x cannot
upload the sketch data files
pg 100
CONFIGURE THE ARDUINO IDE FOR SKETCH DATA UPLOAD
The data files required by the firmware are located in the data folder. After programming the
controller, these data files must be uploaded to the flash storage area of the controller
Regards
Robert