08-06-2018, 03:15
Hi t3gathome,
Tomorrow night I should be able to send you a test version. Things are running well...
How it is implemented:
* Data from WiFi sensors (WD units) are pulled each 3 minutes. I'm still observing the impact of this on RF reception, perhaps I have to increase it to 4 minutes.
* The maximum number of WiFi sensors supported is four. I'm testing with two.
* WiFi sensors can be mapped to any Extra Sensor (1 to 7) - Usually the T/H sensor of the Air Quality Monitor will use one of them.
I'm testing it with two different receivers, pulling data from the same two Wireless Display units. Its working!
What I haven't tested:
* Getting data from an WD unit outside of my local network.
* I only can access units by the IP address, using the host name defined in the WD software isn't working
This works:
This isn't working:
Address of WiFi sensors are defined in the User_Config.h file. Perhaps instead of an IP, an external URL will work, I have no way to test it. Maybe you can test it with your friend engolling
Example:
Tomorrow night I should be able to send you a test version. Things are running well...
How it is implemented:
* Data from WiFi sensors (WD units) are pulled each 3 minutes. I'm still observing the impact of this on RF reception, perhaps I have to increase it to 4 minutes.
* The maximum number of WiFi sensors supported is four. I'm testing with two.
* WiFi sensors can be mapped to any Extra Sensor (1 to 7) - Usually the T/H sensor of the Air Quality Monitor will use one of them.
I'm testing it with two different receivers, pulling data from the same two Wireless Display units. Its working!
What I haven't tested:
* Getting data from an WD unit outside of my local network.
* I only can access units by the IP address, using the host name defined in the WD software isn't working
This works:
Code:
char *get_json = "GET / HTTP/1.1\r\nHost: 192.168.1.140 host:80\r\nConnection: close\r\n\r\n";Code:
//char *get_json = "GET / HTTP/1.1\r\nHost: ESP-17F41F host:80\r\nConnection: close\r\n\r\n";Address of WiFi sensors are defined in the User_Config.h file. Perhaps instead of an IP, an external URL will work, I have no way to test it. Maybe you can test it with your friend engolling
Example:
Code:
//---------------------------------------------------------
// Enable / Disable getting Temperature / Humidity from WiFI sensors (Usually the local T/H sensor on Wireless Display units)
//---------------------------------------------------------
#define ENABLE_TH_FROM_WIFISENSORS 1 // 1= Enable, 0= Disable
// Sequencial list of WiFi sensors IP Addresses. Don't leave holes
const char* WIFIunit_IPaddress [][4]= { "192.168.1.153" // IP address of first WiFi sensor
, "192.168.1.154" // IP address of second WiFi sensor
, "0.0.0.0" // IP address of third WiFi sensor
, "0.0.0.0" // IP address of fourth WiFi sensor
};
