Error opening url: http://192.168.1xx.xx/livedata.htm
Publié : 12 mars 2024, 13:18
Bonjour,
J'ai ce message d'erreur toutes les 10' et je ne trouve pas d'ou ça vient. Déjà plusieurs heures de recherche et pas trouvé !
J'ai les fonctions suivantes dans mon script :
Une idée ?
J'ai ce message d'erreur toutes les 10' et je ne trouve pas d'ou ça vient. Déjà plusieurs heures de recherche et pas trouvé !
Code : Tout sélectionner
2024-03-12 08:07:51.396 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:07:52.041 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:07:52.059 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 08:17:52.050 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:17:52.497 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:17:52.528 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 08:27:52.696 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:27:53.317 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:27:53.337 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 08:37:53.257 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:37:53.840 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:37:53.859 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 08:39:01.105 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: An error occurred when calling event handler observer-5
2024-03-12 08:40:01.548 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: An error occurred when calling event handler observer-5
2024-03-12 08:41:01.180 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: An error occurred when calling event handler observer-5
2024-03-12 08:47:53.783 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:47:54.382 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:47:54.402 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 08:52:01.225 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: An error occurred when calling event handler observer-5
2024-03-12 08:57:54.334 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 08:57:54.933 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 08:57:54.952 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 09:07:54.925 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 09:07:55.531 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 09:07:55.551 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xx
2024-03-12 09:17:55.501 Error: Error opening url: http://192.168.1xx.xx/livedata.htm
2024-03-12 09:17:56.094 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: HTTP/1.1 response: 56 ==>> Failure when receiving data from the peer
2024-03-12 09:17:56.112 Error: dzVents: Error: (3.1.8) ObserverIP_5 - 0.201911091100: Could not get (good) data from 192.168.1xx.xxCode : Tout sélectionner
-- this function will call the webpage
local function getWeatherStationData()
local url = 'http://' .. weatherStationIP .. '/livedata.htm'
dz.openURL ({ url = url, callback = scriptVar })
end
Code : Tout sélectionner
local function checkWebpageResponse()
local deltaSeconds = dz.time.dDate - dz.data.previousRainSample
if ( maxResponseSeconds > 0 ) and ( deltaSeconds > maxResponseSeconds ) then
--dz.notify(scriptVar, 'weatherStation did not respond within ' .. tostring(maxResponseSeconds) .. ' seconds.')
end
end
Code : Tout sélectionner
-- main
if item.isTimer or item.isDevice then
checkWebpageResponse()
getWeatherStationData()
elseif item.ok then -- statusCode == 2xx
updateDevices(processHTM(item.data))
else
dz.log('Could not get (good) data from ' .. weatherStationIP,dz.LOG_ERROR)
dz.log(item.data,dz.LOG_DEBUG)
end