@Dnpwwo
The code can be found on:
https://github.com/Xorfor/Domoticz/tree ... ndcentrale
Nslookup gives:
Code: Select all
nslookup zep-api.windcentrale.nl
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
zep-api.windcentrale.nl canonical name = zep-prod-lb-https-167027908.eu-central-1.elb.amazonaws.com.
Name: zep-prod-lb-https-167027908.eu-central-1.elb.amazonaws.com
Address: 54.93.73.206
Name: zep-prod-lb-https-167027908.eu-central-1.elb.amazonaws.com
Address: 52.29.46.1
Name: zep-prod-lb-https-167027908.eu-central-1.elb.amazonaws.com
Address: 52.59.60.130
Name: zep-prod-lb-https-167027908.eu-central-1.elb.amazonaws.com
Address: 52.29.184.187
Curl gives me exactly the result I want:
Code: Select all
curl https://zep-api.windcentrale.nl/production/1/live
{"powerProducerId":"f588ce00-92ee-45ee-b480-f7d6df204034","windSpeed":5.0,"windDirection":"ZO","powerAbsTot":764.0,"powerAbsWd":78.0,"powerRel":33.0,"diameter":41.0,"rpm":17.5,"pulsating":false,"kwh":4434603.0,"kwhForecast":4955000.0,"hoursRunThisYear":8264.0833333333,"runPercentage":94.4425778631072,"windSpeedForecast":5.0,"windDirectionForecast":"ZW","timestamp":"2017-12-29T17:53:37"}
At this moment I get timeouts:
Code: Select all
2017-12-29 17:56:07.407 (De Grote Geert) onHeartbeat called, run again in 17 heartbeats.
2017-12-29 17:56:08.259 (De Grote Geert) Calling message handler 'onConnect'.
2017-12-29 17:56:08.260 (De Grote Geert) onConnect called (110): Connection timed out
2017-12-29 17:56:08.260 Error: (De Grote Geert) Failed to connect (110) to: zep-api.windcentrale.nl with error: Connection timed out
2017-12-29 17:56:17.381 (De Grote Geert) Calling message handler 'onHeartbeat'.
2017-12-29 17:56:17.381 (De Grote Geert) onHeartbeat called
Please let me know if you need more information.