Posts: 50
Threads: 5
Joined: Sep 2019
Weather Station: WeatherDuino Pro2C+AURIOL H13726A
Country:
hi, i just uploaded the last SW version using the upload Tool, after verifing , compilin show this error:
[font]Timezone.h: No such file or directory
How to fix it and where to find that file missing from libraries?[/font]
Posts: 520
Threads: 22
Joined: Jan 2017
Weather Station: Wetterstation Engolling
Country:
Hi xxDvDxx,
I just compiled the program here it compiles fine. Also the timezone.h is included in the download.
Be sure you copied all the library files in the Arduino Library folder and to avoid conflicts delete all of the other libraries from the folder.
Moreover be sure to have the correct version of the Arduino board version - it is unfortunately a problem that here are sometimes bugs or backwards compatibility is broken:
IMPORTANT:
Always compile using the provided libraries.
Tested with Arduino IDE 1.8.9 and ESP8266 boards manager 2.4.2. Not working with versions newer than 2.4.2
For additional info visit the Pro2 Compact Wiki here: ?https://www.wiki.weatherduino.com/pro2_compact_receiver
Regards,
engolling
Posts: 50
Threads: 5
Joined: Sep 2019
Weather Station: WeatherDuino Pro2C+AURIOL H13726A
Country:
(02-11-2019, 20:52)engolling Wrote: Hi xxDvDxx,
I just compiled the program here it compiles fine. Also the timezone.h is included in the download.
Be sure you copied all the library files in the Arduino Library folder and to avoid conflicts delete all of the other libraries from the folder.
Moreover be sure to have the correct version of the Arduino board version - it is unfortunately a problem that here are sometimes bugs or backwards compatibility is broken:
IMPORTANT:
Always compile using the provided libraries.
Tested with Arduino IDE 1.8.9 and ESP8266 boards manager 2.4.2. Not working with versions newer than 2.4.2
For additional info visit the Pro2 Compact Wiki here: ?https://www.wiki.weatherduino.com/pro2_compact_receiver
Regards,
engolling
Hello, thanks for ur reply, I got Arduino IDE 1.8.10 that’s the latest release.. will try uninstall all and check if I can find that version u suggested . But the problem is that the file was missing in the library don’t know why . Will try first to delete all library and see why it doesn’t copy that file .
Posts: 50
Threads: 5
Joined: Sep 2019
Weather Station: WeatherDuino Pro2C+AURIOL H13726A
Country:
03-11-2019, 10:52
(This post was last modified: 03-11-2019, 11:03 by xxDvDxx.)
i just checked in the compressed file downloaded in october ( WeatherDuino_Pro2_Compact_v3.1_20191004 ) the timezone folder doesn't contains any file named timezone.h . This is the reason. I downloaded it again an i confirm its not present. Can anyone add that file and send it to me thanks?
Posts: 50
Threads: 5
Joined: Sep 2019
Weather Station: WeatherDuino Pro2C+AURIOL H13726A
Country:
03-11-2019, 15:49
(This post was last modified: 03-11-2019, 15:54 by xxDvDxx.)
I solved the problem, reinstalling all libraries overwriting folders, i confirm everything working with Arduino IDE 1.8.10 (last release) and ESP8266 boards manager 2.4.2. . It needed some time to get all sensors and actually the only thing i can't get working is the WIND direction, but i think its cause the sensor unit is stuck to same position.
Now i see its connected on my Wlan also, but the current time is not right, will try to change by OTA.
Posts: 1.306
Threads: 32
Joined: Apr 2015
Weather Station: B/L Weather Station
Country:
Congratulations!
Best Regards
Zdenek
![[Image: banner.php]](https://brandys.my-meteo.net/banner.php)
My outdoor AQM-I: here
Posts: 4.559
Threads: 275
Joined: Apr 2014
Weather Station: MeteoCercal, Cercal CDV Portugal
Country:
(03-11-2019, 10:52)xxDvDxx Wrote: i just checked in the compressed file downloaded in october ( WeatherDuino_Pro2_Compact_v3.1_20191004 ) the timezone folder doesn't contains any file named timezone.h . This is the reason. I downloaded it again an i confirm its not present. Can anyone add that file and send it to me thanks?
Hi,
Please check it again, because I can assure you that the required files are included on the software package ( WeatherDuino_Pro2_Compact_v3.1_20191004 ).
Inside the Timezone folder there is a folder called src, the timezone.h file is there.
You just need to copy the entire Timezone folder to you libraries folder.
Rgs
Werk_AG
Posts: 4.559
Threads: 275
Joined: Apr 2014
Weather Station: MeteoCercal, Cercal CDV Portugal
Country:
(03-11-2019, 15:49)xxDvDxx Wrote: ...
Now i see its connected on my Wlan also, but the current time is not right, will try to change by OTA.
If the time is not right, check this settings:
Code: // --------------------------------------------------------------------------------------
// Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660}; //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600}; //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);
TimeChangeRule PST = {"PST", Last, Sun, Mar, 1, 60}; //Portuguese Summer Time - "UTC + 1" or GMT + 1
TimeChangeRule GMT = {"GMT", Last, Sun, Oct, 2, 0}; //Portuguese Winter Time - "UTC + 0" or GMT
Timezone myTZ(PST, GMT);
Time is set automatically even when it changes due to Summer / Winter Time
Posts: 50
Threads: 5
Joined: Sep 2019
Weather Station: WeatherDuino Pro2C+AURIOL H13726A
Country:
(04-11-2019, 02:47)Werk_AG Wrote: (03-11-2019, 15:49)xxDvDxx Wrote: ...
Now i see its connected on my Wlan also, but the current time is not right, will try to change by OTA.
If the time is not right, check this settings:
Code: // --------------------------------------------------------------------------------------
// Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660}; //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600}; //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);
TimeChangeRule PST = {"PST", Last, Sun, Mar, 1, 60}; //Portuguese Summer Time - "UTC + 1" or GMT + 1
TimeChangeRule GMT = {"GMT", Last, Sun, Oct, 2, 0}; //Portuguese Winter Time - "UTC + 0" or GMT
Timezone myTZ(PST, GMT);
Time is set automatically even when it changes due to Summer / Winter Time
Ok I will check this , thanks , but wanted to know how OTA programming works and I didn’t find how to .
Posts: 520
Threads: 22
Joined: Jan 2017
Weather Station: Wetterstation Engolling
Country:
04-11-2019, 20:36
(This post was last modified: 04-11-2019, 20:36 by engolling.)
Hi,
find a tutorial here: https://wiki.weatherduino.com/programmin...rogramming
If you have further questions or need some more information feel free to ask.
engolling
|