Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

New WeatherDuino installation in Italy
#11

Hi,

The upload to WU doesn't require any API key, just use your WU Station ID and WU Station Key. The WU Station Key have nothing to do with WU API key.
Login to your WU account, and you can see your Station Key.

Rgs
Reply
#12

(12-12-2020, 09:07)Werk_AG Wrote:  Hi,

The upload to WU doesn't require any API key, just use your WU Station ID and WU Station Key. The WU Station Key have nothing to do with WU API key.
Login to your WU account, and you can see your Station Key.

Rgs

Hi, I know that, it was working with no problems till last update .. and  I can log in in the WU account normally but on the weatherduino it seem doesn’t work anymore .. I didn’t changed key or ID . It keep red center Led (dot) and doesn’t see it is online in the WU internet page.
Another thing that stopped to work is the data received from the Rain gauge , but the auriol display still getting data from it so isn’t the battery or whatever on it . Any suggest ?
Reply
#13

Despite the WU dot not always turn green, the function to upload data to WU is working properly on latest release (you can see some post above that the user bombenm also confirmed it). The changes on latest release are only related to the Air Quality (new AQI colour bands to comply with the several standards now supported).
Please make sure you are compiling the code using ESP8266 boards manager version 2.7.4. and the WU upload is enabled on the Config_Options, it is disabled by default.
Reply
#14

(14-12-2020, 05:23)Werk_AG Wrote:  Despite the WU dot not always turn green, the function to upload data to WU is working properly on latest release (you can see some post above that the user bombenm also confirmed it). The changes on latest release are only related to the Air Quality (new AQI colour bands to comply with the several standards now supported).
Please make sure you are compiling the code using ESP8266 boards manager version 2.7.4. and the WU upload is enabled on the Config_Options, it is disabled by default.

Cant find the solution for my RX issues..   checked WU upload and is enabled  ...  plus i double compared both files " config "and " credentials " to the last version that was everything working good  ( v3.1_b012 )  and letting a part that sensors part and the new APIkey site...   everything was identical. i just found some differences on copiling syntax  in the WU Credentials  but i think is the update..    
Results:  cant see WU online with green dot and isnt online in the WU site too   (i tried making a new station too but with same results) ...  RX can't read the rain Gauce values...  .
I noticed also a low WIFI scale signal  (RSSI bars display value), and sometimes got no signal bars . Moving the RX about 2 meters from the WIFI Router , it doesnt show full scale wifi in the signal Bars. This after 1 year of use...
Any solutions?
Reply
#15

Hi,

I would like to help, but i need more specific info.

Try enabling the

Code:
//#define PRINT_DEBUG_WU_UPLOAD

removing the two "//" on that line.

you may have to remove the "//" on those two lines too

lines 122 and 123 at NET tab
Code:
//time_t UTC_time = myTZ.toUTC(now());    
//sprintf(dateutc, "%d-%02d-%02d+%02d%%3A%02d%%3A%02d", year(UTC_time), month(UTC_time), day(UTC_time), hour(UTC_time), minute(UTC_time), second(UTC_time));


Compile and upload.
Then, what you get on the serial monitor? It should output something when it tries to send data to WU.

If it isn't receiving data from the rain gauge, how the system initialize after a reboot or after programming it? At startup if it don't get data from the Rain Gauge, it will stay forever on the "gathering data from sensors" screen, unless you are running it in TEST mode. However, if it is running in TEST mode, then the WU upload function will not run (this is to prevent sending wrong or incomplete data to WU).

Just to be sure, this is the WU key you need to use:

   
Reply
#16

(29-12-2020, 04:39)Werk_AG Wrote:  Hi,

I would like to help, but i need more specific info.

Try enabling the
Code:
//#define PRINT_DEBUG_WU_UPLOAD

removing the two "//" on that line.

you may have to remove the "//" on those two lines too

lines 122 and 123 at NET tab
Code:
//time_t UTC_time = myTZ.toUTC(now());
//sprintf(dateutc, "%d-%02d-%02d+%02d%%3A%02d%%3A%02d", year(UTC_time), month(UTC_time), day(UTC_time), hour(UTC_time), minute(UTC_time), second(UTC_time));


Compile and upload.
Then, what you get on the serial monitor? It should output something when it tries to send data to WU.

If it isn't receiving data from the rain gauge, how the system initialize after a reboot or after programming it? At startup if it don't get data from the Rain Gauge, it will stay forever on the "gathering data from sensors" screen, unless you are running it in TEST mode. However, if it is running in TEST mode, then the WU upload function will not run (this is to prevent sending wrong or incomplete data to WU).

Just to be sure, this is the WU key you need to use:

Hi, about the WU key , yes I still using that part you shown in the print screen and I never changed that part anyway. About the startup on receiving rain gauge data , it still in “gathering data from sensors “ status till its timeout and go in the main view ,but obviously doesn’t show the rain data .
Will try enabling the debug part first , cause I saw u posted a “time” part that makes me think about a library update I did in the IDE updating process.
I will let you know results . Thank you in advance.
Reply
#17

Just a couple of things i dont know, what to choose In the IDE Toolsettings menu:
"Debug serial" =  serial     (before was "DISABLED" )
"Debug level"= ??????      ​​​​​​​(before was "NONE" )
Reply
#18

That thing at the NET tab, wasnt at that line number u said, and it was already not commented (without // ).. 
i didn't set that DEBUG LEVEL part yet so if somebody can help me what option its the correct to visualize the serial comunication?
Reply
#19

Ok i think i found how to do it by myself...   according that the IP final with 104 is the PC  and the 106 is the Weatherduino this is the debug results on serials, after a system reboot :

.txt DEBUG.txt Size: 31,04 KB  Downloads: 216
Reply
#20

(29-12-2020, 12:20)xxDvDxx Wrote:  Just a couple of things i dont know, what to choose In the IDE Toolsettings menu:
"Debug serial" =  serial     (before was "DISABLED" )
"Debug level"= ??????      ​​​​​​​(before was "NONE" )

(29-12-2020, 17:39)xxDvDxx Wrote:  Ok i think i found how to do it by myself...   according that the IP final with 104 is the PC  and the 106 is the Weatherduino this is the debug results on serials, after a system reboot :

Hi,

There is some misunderstood here. When I talk about debug options, I'm referring to enabling Debug options on the WeatherDuino code, not on the Arduino IDE.
If you go to the end of the Config_Option.h you will see something like this

Code:
// --------------------------------------------------------------------------------------
//   Debug helper - Print debug messages to serial monitor. For testing purposes ONLY.
//
//   !!! NEVER LEAVE ANY OF THESE DEBUG FUNCTIONS ACTIVE WHEN THE STATION IS CONNECTED BY USB TO ANY WEATHER SOFTWARE !!!
// --------------------------------------------------------------------------------------
//#define PRINT_DEBUG_WIFI
//#define PRINT_DEBUG_NTP              // Prints to serial monitor messages related to sync time with NTP server
//#define PRINT_DEBUG_WU_UPLOAD        // Prints to serial monitor messages related to Weather Underground upload.
//#define PRINT_DEBUG_TS_UPLOAD
//#define PRINT_DEBUG_MYSERVER_UPLOAD
//#define PRINT_DEBUG_VCHECK
//#define PRINT_DEBUG_TCP_SERVER
//#define PRINT_DEBUG_AURIOL
//#define PRINT_DEBUG_BIOS
//#define PRINT_DEBUG_RF_MESSAGES
//#define PRINT_DEBUG_WIFI_SENSORS_DEF
//#define PRINT_DEBUG_WIFI_SENSORS
//#define PRINT_GENERALDEBUG
//#define PRINT_DEBUG_FORECAST

In your case, enable this one:

Code:
#define PRINT_DEBUG_WU_UPLOAD

From what you said, I believe that your main problem is the unit not being receiving data from the rain gauge. Lets try to explain:

Quote:About the startup on receiving rain gauge data , it still in “gathering data from sensors “ status till its timeout and go in the main view...

There isn't any timeout for the “gathering data from sensors “ , it will remain on that screen forever until it receives data from temperature / humidity, wind and rain gauge sensors, however if you touch the screen, the unit will exit from that screen, but the initialization sequence wasn't completed, so, the condition to not upload data to WU will remain. My best suggestion is trying to put the receiver closer to the Rain Gauge, or if possible the otherwise.
Until you get a good reception from the three main sensors (T, W, R), the unit doesn't even try to upload to WU. As I said, this is done that way, to prevent sending incomplete or wrong data to WU.

Having the WeatherDuino side by side to the Auriol console, does not mean that both will be able to receive the data. Depending on the type of antenna, WeatherDuino may require to be far or closer to transmitters.

If you haven't done it yet, you may also try a "Factory reset". Go to the Menu screen, you will see an button for it.

Regards
Reply




Users browsing this thread: 1 Guest(s)