Skip to content

danward79/SunrisesetMQTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SunrisesetMQTT

Simple mqtt client that publishes topics that count down the sunset or sunrise..

Sunrise and Sunset MQTT events at -2, -1, 0, +1 hours. So an MQTT event at 2 hours, 1 hour before, at sunrise or sunset and one hour after.

home/sunrise/state -2
home/sunrise/state -1
home/sunrise/state 0
home/sunrise/state 1

Command Line

The tool takes the command line switches below:

  • x decimal longitude default is set for Melbourne, Australia
  • y decimal latitude default is set for Melbourne, Australia
  • s server IP:Port eg. 192.168.0.7:1883 default is ":1883"
  • r retain MQTT state default is set to false

As an example, the following could be used as command lines

SunrisesetMQTT
SunrisesetMQTT -r -s 192.168.0.7:1883

About

MQTT Client that generates events around sunrise and sunset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages