(02-01-2021, 02:19)Werk_AG Wrote:Sorry then , I think I don’t know how to see that debug messages from the P2C , but I un commented that line you said then I opened the serial monitor to see something. Just this .(31-12-2020, 15:07)xxDvDxx Wrote: The test I made was what u said to do, modified that line uncommenting then after compiling end uploading the changes I open the serial monitor ... the txt file I sent previously was this .
Hi,
The file you sent me is the result of activating the ESP2866 Debug on the Arduino IDE, which I never asked, what I asked for was the Debug produced by the WeatherDuino code.
I'm trying to help, but this way we will not go to anywhere. I'm absolutely sure that the Pro2 Compact code is receiving data from Auriol H13726 transmitters without any issue. If my word isn't enough, you can check the user bombenm data at WU: http://www.wunderground.com/dashboard/pw...11-2/daily
As much as I know he is also using a Pro2 Compact to intercept data from an Auriol weather station.
Can you post your Config_Options.h file, exactly as you are using it now?
Rgs
will send the config file as you asked . I just see the yellow dot appeared yesterday for an update I guess.
This is the link of my WU https://www.wunderground.com/dashboard/pws/IBRDAM1
this is the Config_Options.h file tha still runnung
Code:
// --------------------------------------------------------------------------------------
// WeatherDuino Pro2 Compact RF Receiver
// Version: P2ESP8266_RX_v4.1_b001
//
// --------------------------------------------------------------------------------------
// If you need help about any of the user configurable settings, please first do a search
// at the WeatherDuino support forum. If you don't find any relevant info, then post
// a new thread.
//
//
// >>> DON'T FORGET THIS <<<
// If you are upgrading from a software version prior to v4.x,
// upload the fonts and icons to SPIFFS using the
// "ESP8266 Sketch Data Upload" menu option in the IDE.
//
// If you don't see this option on your Arduino IDE,
// just copy to your Sketchbook location (on Windows, usually C:\Users\xxxxxx\Documents\Arduino)
// the "tools" directory, included in the software package (look in utilities folder).
//
// Close the IDE and open again to see the new menu option.
//
// Unless clearly indicated, this operation only needs to be done 1 time.
// On regular software upgrades, or when reprogramming there is no need to re-upload the graphics to the Flash memory.
// *******************************************
// * User configurable settings start here *
// *******************************************
// --------------------------------------------------------------------------------------
// Define Name and URL for this weather station
// This data is used list your Weather Station on the WeatherDuino Online Weather Station Map
// --------------------------------------------------------------------------------------
const char* WeatherStation_Name = "DragonClips WS"; // Put here your Weather Station name or Location name - DON'T LEAVE EMPTY
const char* WeatherStation_URL = "https://www.wunderground.com/dashboard/pws/IBRDAM1"; // If you have an URL to your Meteo Website put it here (can be the WU URL). URL should start with http or https
// --------------------------------------------------------------------------------------
// Define ID's for this weather station
// --------------------------------------------------------------------------------------
#define Station_ID 0xA1 // Station_ID, use the same value in all TX units
#define Relay_ID 0xA3 // Relay_ID, use the same value in all WD units
// --------------------------------------------------------------------------------------
// Define your Weather Station location
//
// >>> THIS SETTING IS VERY IMPORTANT! <<<
//
// The more precise you define your location, the more accurate will be the 4 Days Forecast.
// Use decimal format for Latitude and Longitude with at least 4 decimal places (preferably 5)
// LATITUDE: 90.00000 to -90.00000 (negative for Southern hemisphere)
// LONGITUDE: 180.000 to -180.000 (negative for West)
// --------------------------------------------------------------------------------------
#define LATITUDE 46.00611 // Put here your Station Latitude (up to 5 decimal places, don't use less than 4 decimal places)
#define LONGITUDE 13.47805 // Put here your Station Longitude (up to 5 decimal places, don't use less than 4 decimal places)
#define ELEVATION 90 // Put here your Station height above sea level in Meters (no decimal places)
// --------------------------------------------------------------------------------------
// 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 IST = {"IST", Last, Sun, Mar, 2, 120}; //Italian Summer Time - "UTC + 2" or GMT + 2
TimeChangeRule CET = {"CET", Last, Sun, Oct, 3, 60}; //Italian Winter Time - "UTC + 1" or GMT + 1
Timezone myTZ(IST, CET);
// --------------------------------------------------------------------------------------
// Define User Interface Language
// --------------------------------------------------------------------------------------
// Change the language code according to your preference.
// Currently available languages: en_GB, fr_FR, de_DE, pt_PT, es_ES, cs_CZ, nl_NL, it_IT, pl_PL
#define en_GB
// --------------------------------------------------------------------------------------
// Define Roll Over Hour for Meteorological Day
// --------------------------------------------------------------------------------------
const byte MeteoDay_HStart = 0; // Use values from 0 to 23
// --------------------------------------------------------------------------------------
// Define BigClock Settings
// --------------------------------------------------------------------------------------
const byte AutoBigClock_time = 15; // Time in minutes (1 to 255) to automatically show the Big Clock. 0= Disable auto BigClock
#define BIGCLOCK_COMLEDS 1 // 0= No, 1= Yes - Show comunication (RX and USB) activity in two simulated Led's on the TFT
// --------------------------------------------------------------------------------------
// Define data display units
// --------------------------------------------------------------------------------------
#define DATE_TIME_FORMAT 0 // 0 for dd-mm-yyyy, 1 for yyyy/mm/dd
#define TEMP_DISPLAY_UNIT 0 // 0 for ºC, 1 for ºF
#define ATM_DISPLAY_UNIT 0 // 0 for mBar, 1 for inHg
#define RAIN_DISPLAY_UNIT 0 // 0 for mm, 1 for inches
#define WIND_DISPLAY_UNIT 0 // 0 for Km/h, 1 for mph, 2 for m/s, 3 for Knots
// --------------------------------------------------------------------------------------
// Fine adjusts for Inside Temperature and Barometer
// --------------------------------------------------------------------------------------
const int TemperaturaInt_offset = -40; // Inside Temperature Fine Adjust in Tenths of Degree (-4 = -0,4ºC)
const float pressure_offset = -3; // Pressure Fine Adjust in mB
// --------------------------------------------------------------------------------------
// Define Wind Speed and Wind Gust resolution
// --------------------------------------------------------------------------------------
// This setting only have effect when the software is used in Davis VP emulation mode
#define VP2_WIND_RESOLUTION 2 // If set to 2, set Cumulus Wind Speed and Wind Gust multipliers to 0.448. Wind Resolution 0.72 Km/h
// If set to 1, set Cumulus Wind Speed and Wind Gust multipliers to 0.224. Wind Resolution 0.36 Km/h
// WARNING !!! Setting this variable to 1 allows a better wind speed and gust resolution,
// but also limits both of them, to a maximum reading of just 91.8 Km/h
// If set to 0, system uses Standard Davis wind resolution (1 mph or 0.1mph with LOOP2).
// Weather Display users should set this option to 0 - Standard Davis wind resolution
// --------------------------------------------------------------------------------------
// Define use of Wind Gust Spike prevention routines (mostly for FO anemometers)
// --------------------------------------------------------------------------------------
#define WIND_SPIKECONTROL 1 // 0= Disable, 1= Enable
// --------------------------------------------------------------------------------------
// Define the source of your main outside sensors
// --------------------------------------------------------------------------------------
// ---- If you are using just one TX board, the source for all items should be equal to your single TX Unit ID (most likely zero).
// ---- Define the source of your main Temperature / Humidity sensor
#define TH_SOURCE 3 // 0= Temp/Hum sensor connected to TX_Unit 0, 1= for TX_Unit 1, ..., 3 for Auriol RF Temp / Hum
// ---- Define the source of your Main Wind sensor
#define WIND_SOURCE 3 // 0= Wind instruments connected to TX_Unit 0, 1= for TX_Unit 1, ..., 3 for Auriol RF Wind Speed & Dir
// ---- Define the source of your main Rain Gauge
#define RAIN_SOURCE 3 // 0= Rain Gauge connected to TX_Unit 0, 1= for TX_Unit 1, ..., 3 for Auriol RF Rain Gauge
// ---- Define the source of your main Solar Radiation sensor
#define SOLAR_SOURCE 9 // 0= Solar Radiation sensor connected to TX_Unit 0, 1= for TX_Unit1, ..., 9 for not used
// ---- Define the source of your main UV sensor
#define UV_SOURCE 9 // 0= UV sensor connected to TX_Unit 0, 1= for TX_Unit1, ..., 9 for not used
// --------------------------------------------------------------------------------------
// Each TX unit can send data from two Temp / Hum sensors.
// Here you must define which one will be used as your main outside Temperature / Humidity Sensor
// SENSOR_0 can be any of the supported I2C T/H sensors (SHT31, SHT21 or HTU21D), SENSOR_1 can be an SHT1x or DHT22
// --------------------------------------------------------------------------------------
#define MAINOUT_TH_SENSOR 0 // 0 for SENSOR_0, 1 for SENSOR_1
// --------------------------------------------------------------------------------------
// Define the type of your Solar Radiation sensor
// --------------------------------------------------------------------------------------
// 1= Solar Cell "Pyranometer"
// 2= Apogee SP-110 Pyranometer
// 3= Reserved
// 4= Apogee SQ-110: Photosynthetically Active Radiation Sensor (Support for this sensor is experimental)
#define SOLAR_SENSOR 2
// --------------------------------------------------------------------------------------
// Define the type of your UV sensor
// --------------------------------------------------------------------------------------
// 1= UVM-30A
// 2= VEML6075
// 3= Reserved
// 20= Rika RK200-04 (MODBUS)
#define UV_SENSOR 1
const byte UV_Transmission = 65; // UV Transmission percentage of UV sensor cover material.
// --------------------------------------------------------------------------------------
// If you have an WeatherDuino Air Quality Monitor the setting bellow MUST be defined
// The value of this setting MUST match the value defined on the Air Quality Monitor device
// --------------------------------------------------------------------------------------
#define AQI_STANDARD 1 // 0= USA (AQI-EPA), 1= EUROPE (EAQI), 2= UK (DAQI), 3= AUSTRALIA (AQC - NSW)
//---------------------------------------------------------
// Enable / Disable getting Temperature / Humidity from WiFI sensors (Usually the local T/H sensor on Wireless Display units)
//---------------------------------------------------------
#define GETDATA_FROM_WIFISENSORS 0 // 1= Enable, 0= Disable
#define WIFISENSORS_WEBSERVER_PORT 80 // WebServer Port defined on WD units
const char* WIFIunit_address [][4]= { "" // IP address of first WiFi sensor
, "" // IP address of second WiFi sensor
, "" // IP address of third WiFi sensor
, "" // IP address of fourth WiFi sensor
}; //
// --------------------------------------------------------------------------------------
// Extra Sensors Settings and Mapping
// --------------------------------------------------------------------------------------
// ---- Define the source and sensor type (number) for each of the seven extra sensors, insert 9 if not used.
// Sensors SHT31, SHT21 or HTU21D are type 0, sensors SHT1x or DHT22 are type 1
//
// ---- Source 0 means TX unit0, 1 means TX unit1...
// ---- Source 6 (Reserved)
// ---- Source 7 is for BIOS Sensor (Only Temperature is shown)
// ---- Source 8 is for Temperature/Humidity from the Air Quality Monitor
//
// ---- First field = Sensor source, Second field = Sensor type (0 or 1 for TX units)
// ---- Example:
// ---- ES0 ES1 ES2 ES3 ES4 ES5 ES6
//#define EXTRASENSORS_SOURCE { {0,1},{1,1},{1,0},{5,0},{5,1},{9,9},{8,0} }
// {0,0} - First extra sensor (ES0), will be sensor 0 from TX unit0
// {0,1} - Second extra sensor (ES1), will be sensor 1 from TX unit0
// {1,0} - Third extra sensor (ES2), will be sensor 0 from TX unit1
// {5,0} - Fourth extra sensor (ES3), will be T/H data from the first WiFi Sensor defined at WIFIunit_address (first IP address)
// {5,1} - Fifth extra sensor (ES4), will be T/H data from the second WiFi Sensor defined at WIFIunit_address (second IP address)
// {9,9} - Sixth extra sensor (ES5), not use - not mapped
// {8,0} - Seventh extra sensor (ES6), will be Temperature / Humidity from the Air Quality Monitor
//
//----- ES0 ES1 ES2 ES3 ES4 ES5 ES6
#define EXTRASENSORS_SOURCE { {9,9},{9,9},{9,9},{9,9},{9,9},{9,9},{8,0} }
// --------------------------------------------------------------------------------------
// Define personalized names for each Extra Sensor. Attention, maximum 12 chars
// --------------------------------------------------------------------------------------
// [- Max. Size ]
// [- 12 chars -]
const char ESname_1[] PROGMEM = "";
const char ESname_2[] PROGMEM = "";
const char ESname_3[] PROGMEM = "";
const char ESname_4[] PROGMEM = "";
const char ESname_5[] PROGMEM = "";
const char ESname_6[] PROGMEM = "";
const char ESname_7[] PROGMEM = "Dust TH";
// --------------------------------------------------------------------------------------
// BIOS soil moisture sensor settings
// --------------------------------------------------------------------------------------
// ---- Please use the included BIOS_ID_Scanner sketch to find you BIOS Device ID
#define BIOS_SENSOR_ID 0 // Device ID in HEX format, or 0 not used
// --------------------------------------------------------------------------------------
// Soil / Leaf Interface Settings and Sensors Mapping
// (The mapping logic is the same than used with the Extra Sensors)
// --------------------------------------------------------------------------------------
// 0 = Soil Leaf Interface not used
// 1 = Soil Leaf Interface connected to a TX unit
#define SOIL_LEAF_INTERFACE 0 // 0, 1,
// ---- For Soil & Leaf data from SoilLeaf_Interface wired to a TX unit, use TX Unit number as source
// ---- For BIOS Soil Temp / Moisture use 7 as source
// ---- To disable use 9 in both fields
// S1 S2 S3 S4
#define SOILTEMPSENSORS_SOURCE { {9,9},{9,9},{9,9},{9,9} }
#define LEAFTEMPSENSORS_SOURCE { {9,9},{9,9},{9,9},{9,9} }
#define SOILMOISTSENSORS_SOURCE { {9,9},{9,9},{9,9},{9,9} }
#define LEAFWETSENSORS_SOURCE { {9,9},{9,9},{9,9},{9,9} }
// --------------------------------------------------------------------------------------
// Define personalized names for each Soil and Leaf Sensor. Attention, maximum 12 chars
// --------------------------------------------------------------------------------------
// [- Max. Size ]
// [- 12 chars -]
const char SSname_1[] PROGMEM = "1";
const char SSname_2[] PROGMEM = "2";
const char SSname_3[] PROGMEM = "3";
const char SSname_4[] PROGMEM = "4";
// [- Max. Size ]
// [- 12 chars -]
const char LSname_1[] PROGMEM = "1";
const char LSname_2[] PROGMEM = "2";
const char LSname_3[] PROGMEM = "3";
const char LSname_4[] PROGMEM = "4";
// Define VWC calculation method
// Method 1 applies only for VH400 soil moisture sensor
//
// METHOD 1 - Conversion from voltage to VWC (volumetric water content) is done using the piecewise regressions provided by the manufacturer
// at http://www.vegetronix.com/Products/VH400/VH400-Piecewise-Curve.phtml
//
// METHOD 2 - Used for any sensor which have a linear output between voltage and VWC (0V=0VWC, maxV=100VWC) .
#define VWC_CALCMETHOD 1 // 1 or 2
// Max and Min output voltage of the analog sensors connected to Soil / Leaf Interface
// Default value for Decagon Devices LWS Leaf Wetness Sensor (3.3V power): Max. Output Voltage - 1395mV (max wetness), Min Output Voltage - 530mV (dry)
// ADC1 ADC2 ADC3 ADC4
const uint16_t AnalogSensor_MaxVoltOut[4] = { 3000, 1395, 5000, 5000 }; // Values in miliVolts
const uint16_t AnalogSensor_MinVoltOut[4] = { 0, 530, 0, 0 };
// --------------------------------------------------------------------------------------
// Define type of your Weather Software
// --------------------------------------------------------------------------------------
#define WEATHERSOFT 0 // 0= CumulusMX, 1= Any other (Cumulus 1, WeewX, Weather Display, etc.)
// --------------------------------------------------------------------------------------
// Easyweather format data Output
// --------------------------------------------------------------------------------------
#define EASYWEATHER_OUT 0 // 0= Disable (defaut) 1= Enable
// --------------------------------------------------------------------------------------
// Enable / Disable WiFi connection
// --------------------------------------------------------------------------------------
#define ENABLE_INTERNET 1 // 1= Enable Internet connection, 0= Disable
// --------------------------------------------------------------------------------------
// Broadcasting data to Wireless Display Units using WiFi
// --------------------------------------------------------------------------------------
#define BROADCAST_DATA 0 // 0= Disables Data Relay, 1= Enables Data Relay
#define UDP_BROADCAST_PORT 9889 // Define the UPD broadcast port
// --------------------------------------------------------------------------------------
// Enable / Disable time sync with an NTP server
// --------------------------------------------------------------------------------------
#define ENABLE_NTP 1 // 1= Enable Sync time with NTP servers, 0= Disable
// --------------------------------------------------------------------------------------
// NTP Servers - Enable only one
// --------------------------------------------------------------------------------------
#define TIMESERVER "pool.ntp.org"
//#define TIMESERVER "time.nist.gov" // ntp1.nl.net NTP server
//#define TIMESERVER "80.96.196.58" // timp.mcsi.ro
//#define TIMESERVER "193.79.237.14" // ntp1.nl.net NTP server
// --------------------------------------------------------------------------------------
// Enable / Disable data transmission to Weather Wunderground
// --------------------------------------------------------------------------------------
#define ENABLE_WU_UPLOAD 1 // 1= Enable upload to Wunderground, 0= Disable
#define WU_UPLOAD_INTEMP 0 // 1= Enable upload of Inside Temperature / Humidity, 0= Disable
byte WU_upload_period = 5; // Period in minutes between uploads to WU. (Should be >= 3 minutes, if less defaults to 3 minutes)
// --------------------------------------------------------------------------------------
// Enable / Disable data transmission to ThingSpeak
// --------------------------------------------------------------------------------------
#define ENABLE_TS_UPLOAD 0 // 1= Enable, 0= Disable
// --------------------------------------------------------------------------------------
// Air Quality Monitor - Upload and insert data in a SQL table at your own server ----
// Be sure you have already created the database and table. See AirQuality_LogToSQL.php script for info
// --------------------------------------------------------------------------------------
#define ENABLE_AQM_TO_MYSERVER 0 // 1= Enable, 0= Disable
// --------------------------------------------------------------------------------------
// Enable / Disable internal Web Server
// --------------------------------------------------------------------------------------
#define ENABLE_WEBSERVER 1 // 1= Enable 0= Disable
#define WEBSERVER_PORT 80 // WebServer port (default 80)
//---------------------------------------------------------------------------------------
// Enable / Disable getting the 12 Hours Forecast from OpenWeather
// IMPORTANT: Sign up for an account at Open Weather to get your free API Key,
// then put it in Credentials.h
//---------------------------------------------------------------------------------------
#define ENABLE_FORECAST 1 // 1= Enable, 0= Disable
// --------------------------------------------------------------------------------------
// Define data screens order
// Use numbers from 1 to 5 to define a personalized order for the data screens
// --------------------------------------------------------------------------------------
#define AIRQUALITY_DATA 1
#define TXINFO_DATA 2
#define EXTRASENSORS_DATA 3
#define SOILLEAF_DATA 4
#define FORECAST_DATA 5
// --------------------------------------------------------------------------------------
// Test Mode : Never run a live system in test mode
// --------------------------------------------------------------------------------------
bool Test_Mode = false; // false= Normal working mode, true= Test mode only (no usb connection)
// --------------------------------------------------------------------------------------
// Transmitter Software Version
// --------------------------------------------------------------------------------------
#define TX_SOFTWARE_VERSION 7 // Use main version number only (This setting affects VBat readings)
// Hint: TX software versions released prior to Dec 2018 are all < 7
/*************************************************************************************
Hardware Settings
*************************************************************************************/
// --------------------------------------------------------------------------------------
// Define PCB Version Number
// --------------------------------------------------------------------------------------
// Take particular attention to this setting.
// Your system may not work properly if you define a wrong pcb version number.
// In case of doubt check what is printed in your pcb.
//
#define PCB_VERSION 10 // PCB version number, without the decimal point Ex: PCB v1.3 = 13 (integer number)
// --------------------------------------------------------------------------------------
// 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_UPDATE // 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
// ---------------------------------------------------------------------------------------------------
// End of user configurable options
// ---------------------------------------------------------------------------------------------------
#ifdef pt_PT
#include "_lang/pt_PT_UTF8.h"
#endif
#ifdef en_GB
#include "_lang/en_GB_UTF8.h"
#endif
#ifdef fr_FR
#include "_lang/fr_FR_UTF8.h"
#endif
#ifdef de_DE
#include "_lang/de_DE_UTF8.h"
#endif
#ifdef es_ES
#include "_lang/es_ES_UTF8.h"
#endif
#ifdef cs_CZ
#include "_lang/cs_CZ_UTF8.h"
#endif
#ifdef nl_NL
#include "_lang/nl_NL_UTF8.h"
#endif
#ifdef it_IT
#include "_lang/it_IT_UTF8.h"
#endif
#ifdef pl_PL
#include "_lang/pl_PL_UTF8.h"
#endif
