In Ancient Greek religion, Hestia (/ˈhɛstiə/; Greek: Ἑστία, "hearth" or "fireside") is a virgin goddess of the hearth, architecture, and the right ordering of domesticity, the family, the home, and the state.
So, Hestia is the project which controlls the devices in home smartly. Additionally, It also supports some extended functionality which is described in the Feature (Brain Part).
This is the server, based Java language, for listening to clients, disposing the data (Brain Part), controlling the home device, responsing infomation and so on.
The hestia-server's Brain Part consists of several strategy classes which are in the com.ihuxu.hestia.server.library.brain package.
-
Send your current location which is from your Mobile Device to the Hestia Server
-
Trigger BACK HOME and LEAVE HOME event according the location from the mobile device
- BACK HOME when back home, it would turn on the light according to some factors, such the brightness in the room, the switch status of the yeelight
- LEAVE HOME when leave home, it would turn off the light according to some factors, such the brightness in the room, the switch status of the yeelight
Format the code with Google Java Style, which could be done with tool Google Java Format