node-red-contrib-duskdawn

Works with our ESP8266 code offering time/dusk/dawn updates daily via MQTT and/or on request

Usage no npm install needed!

<script type="module">
  import nodeRedContribDuskdawn from 'https://cdn.skypack.dev/node-red-contrib-duskdawn';
</script>

README

This software puts out a message suitable for MQTT use depending on whether a specific MQTT unit inputs a message or a daily update occurs - daily updates send message which will go to ALL ESP8266 units. specific inputs result in a message being returned to a specific unit. The information includes the time, dusk and dawn info for a given long/lat.