I am using CumulusMX to send data to PWS_Dasboar . Configured with reatime.txt. All modules are working except the AQ sensor (I have a wh41 from ecowitt). What file do I have to send with CumulusMX to read it? extra_sensors.txt ? How do you generate it ?
Sorry but I am with translator.
For extra-sensor files go to
Heading Downloads for new users
- Extra sensor (f.i. soil) files (version 2024-05-10) for some weather-programs can be downloaded here.
When you download that file and unzip the folder contains also a Cuimulus example file extra_cu.txt > cumulus extra tags # 2024-05-10 corrected swapped temp hum tags
Leave the first 3 lines as is.
Remove all unneeded lines with other sensors you do not have or do not want to use.
Line 58 → 62 has 1 line for each PM sensor
Warning:
This is the first Cumulus user with a PM2.5 sensor.
So it is not tested yet.
You have to instruct Cumulus to proces that file and FTP-upload that file to your website.
There is a setting in easyweather were you have to write the folder/filename.
Alternative upload:
You were already uploading your ecowitt data.
It is just a setting in easyweather to use that file.
Succes,
]Wim
Download the file. Delete everything unnecessary (not the first 3 lines). Configure CumulusMx and send it to my server. I enter in the file manager of my server and the file is loaded correctly with the data. Configure easyweather for this file. When I set the file to read the web only loads up to the AQ window. It stops loading. When I remove it all loads fine. any suggestions?
Hi,
When you are testing new features, it is better to use _test.php and not index.php
The _test.php shows all errors and warnings.
As said, I have no Cumulus program. Therefor, what is the link to that uploaded file on your website?
I will copy / test it on my server.
You can also test each block by using the debug-console
. . ./pwsWD/PWS_module_test.php
That way you can test new blocks and new features without errors on your main dashboard.
All messages (and more) are displayed.
You can also check the contents of your uploaded files
Succes,
Wim
This is the file it generates.
extra_cu.txt (154 Bytes)
Your realtime.txt uses a decimal point.
The extra_cu.txt file uses a comma as decimals separator.
Maybe you can change that first.
This is the error
Fatal error : Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float,
Could you be so kind to NOT use the AQ block in easyweather setup.
Than change the settings to point to that extra_cu.txt file
So I can test and see the error messages.
Your screenshot shows no errors
Use https://meteodosrius.es/pwsWD/_test.php
when testing.
Without access to run the block I can not find the cause.
Please post the link to that extra_cu.txt file on your server. So I can copy it.
I will use your file tomorrow to test
Wim.
There is also an easier solution.
Change the word text in the Cumulus extra data file line for the AQ
|pm25_crnt1|text|fsasfsfsff|!
to nmrc
|pm25_crnt1|nmrc|fsasfsfsff|!
The scripts will adapt the comma to a point.
Problem solved,
Wim
You have also selected to use ecowitt upload as extra data.
loaded_from] => /home/u797566621/domains/meteodosrius.es/public_html/pwsWD/…/Cumulus/realtime.txt
./ecowitt/ecco_lcl.arr
…/Cumulus/extra_cu.txt
That file is 3 days 10 hours old.
As it has also AQ data the AQ-time of that file is used.
That is why you have the Desconectado message in the block.
Please unselect ecowitt as your dat comes from Cumulus rtealtime and the extra data file.
That way the “old” ecowitt array is not used.
Wim
Switched to NMRC works correctly. Now the problem is that it appears as disconnected, but it is connected and receiving data. any solution?
Before I was sending data with the console, with custom server. Now I only want to send with cumulusMX.
Please read my previous answer. Your weatherdata is loaded from:
loaded_from] => /home/u797566621/domains/meteodosrius.es/public_html/pwsWD/…/Cumulus/realtime.txt
./ecowitt/ecco_lcl.arr
…/Cumulus/extra_cu.txt
The first file is used for all data
The ecowitt local array (which is old) is still used for extra sensors, such as AQ
The third file only has the AQ-value which is displayed in the block
In your easyweather settings you set you instructed to use ecowitt for extra-sensors.
So the dashboard reads the old ecowitt file and fetches the AQ-measurement and the AQ-time.
After processing the etxra upload file the AQ-measurement is corrected with the Cumulus extra data.
The AQ-time is not in the extra Cumulus upload so the old time from the old ecowitt data is used
If you remove the easyweather setting for extra ecowitt extra sensors the time will be correct.
If you do not want to do this yourdself, sent me a private message with your easyweather password and I can do that.
I sent you a private message
Out of curiosity and to learn. where did you change the configuration ?. because the easyweathersetup.php panel looks the same.
Thanks and good job
ahhh ok. I look in data. Thanks
Good afternoon
Since I changed to extra_cu.txt the AQ grid measurements are not consistent, before with ecowitt they were. now with a ppm of 37 it resolves an AQ of 104 and it should be 37. As the official station shows if it gives good data.
Before with custom server (sending ecowitt) the results were correct.
Any solution?
Answered here: