Moon phase

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
elmortero
Posts: 142
Joined: Sunday 29 November 2015 21:46
Target OS: Raspberry Pi
Domoticz version: 2.3852
Location: Spain
Contact:

Re: Moon phase

Post by elmortero » Wednesday 13 September 2017 22:50

You could also skip the second IF.
If moonriseHour is nil then moonriseMinutes is also nil so:

Code: Select all

if moonriseHour == nil then 
moonriseHour = '--'
moonriseMinute = '--'
end

timyboyb
Posts: 8
Joined: Friday 11 August 2017 21:12
Target OS: -
Domoticz version:
Contact:

Re: Moon phase

Post by timyboyb » Saturday 23 December 2017 23:49

Hello,

Try to get this moonphase script working but the script is not reading the API. When I call it the results are OK but Domoticz is not adjusting the virtual devices. Any ideas?
Domoticz.png
Domoticz.png (190.35 KiB) Viewed 120 times

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests