Tide LUA script

Moderator: leecollings

Post Reply
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Tide LUA script

Post by alexsh1 »

Hello,

I have been trying to find a good service with API to have tides (high and low) for Thames, but so far only been able to come up with the following:
https://www.worldtides.info/apidocs

I am not sure if it is precise. For example, it shows the tide as

Code: Select all

..."date":"2016-11-03T13:57+0000","height":1.856,"type":"High"},...
The tide table give me different time and higher value. (1.8m is too small as the tide could be anything up to 5-6m in the high water).

Before I proceed with LUA, any suggestions? Anyone knows a better service please?
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Tide LUA script

Post by Derik »

looks great option...
I live near a river...
What are the options with this script?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Tide LUA script

Post by alexsh1 »

Derik wrote: What are the options with this script?
So far there is no script - I need to understand why there is a difference between the tables (which are available in the internet in PDF) and the API call.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest