Hi.
I have been using an Arduino Nano to upload UV data for a number of years.
Recently, I've changed website hosts and therefore have had to update where the SQL database lives.
Part of the reason for changing hosts is to go from non-secure to SSL.
I've updated my Arduino code and various script files to reflect new IP addresses.
The Arduino reads the sensor, connects to wi-fi and seems to upload but it isn't.
The result should appear here: https://weather.otronics.co.uk/html/uv_data.html but data hasn't updated since 13/02/2023.
I'm trying to work out if this is a server issue or coding issue.
See Serial Monitor output below:
Calculating sensor values...
ML8511 output: 306 | ML8511 voltage: 1.01 | UV Intensity (mW/cm^2): 0.16
Connecting to WiFi.......................
WiFi connected. SSID: OTronics Dining | Signal: -82 | IP address: 192.168.0.45
connecting to IP address - hidden from this post
Requesting URL: /UV/script.php?sensor=UV&value=0.16
Response from server:
-----------------------------------------------------------------------
HTTP/1.1 200 OK
date: Sat, 25 Feb 2023 16:20:19 GMT
content-type: text/plain
content-length: 9
cache-control: no-cache
x-cdn-cache-status: MISS
x-via: LHR1
connection: close
It works!-----------------------------------------------------------------------
Time taken: 5345
Disconnecting Wifi
Sleeping...


