Commit Graph

54 Commits

Author SHA1 Message Date
f13ee65ead
Added light sensor
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-23 01:16:46 +01:00
780f633c90
Updated .drone.yml to include oauth url
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 04:07:20 +01:00
6f5b3d13f7
Made the url used to check the token a config option
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 03:33:00 +01:00
501775654f
More refactoring, made zigbee2mqtt prefix a config option
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 23:47:15 +01:00
4227bd92b5
Url is now actually passed to the computer struct for wol
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 21:58:22 +01:00
301551596a
Fixed topic for overall presence automation
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 04:54:12 +01:00
5aefcf0157
More refactoring, moved kettle auto off out of the kettle implementation and into a seperate automation
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 04:48:05 +01:00
20e7e830a6
Renamed output binary to avoid conflict
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-19 03:57:44 +01:00
c091ad0782
Finished major refactor
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-19 03:50:12 +01:00
01b2d492ba
All devices are now stored in a central map, part of large refactor
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-18 21:12:09 +01:00
6368fce40d
Pass parameters directly instead of through a config struct 2022-11-18 20:09:52 +01:00
2df59cdb17
Started work on significant refactor of the codebase 2022-11-18 19:51:58 +01:00
c49ee841fd
Added timestamp to presence state and use mqtt instead of channel for overall presence
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-18 18:50:36 +01:00
07fa5fc986
Added caching for authorization
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-18 05:30:21 +01:00
4c023ad933
Did some groundwork for setting up more complex interactions
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-18 04:27:43 +01:00
2aff4d937a
Made the kasa integration more robust and added GetState function to get the current state 2022-11-18 04:05:13 +01:00
028ede0721
The current state of the kettle is now retained on mqtt, so we do not have to ask for it anymore 2022-11-18 03:43:34 +01:00
3dac6c66f6
Updated mqtt address to the correct address
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 05:39:45 +01:00
32f3d013f8
Fixed Dockerfile and build script
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 05:33:09 +01:00
9f4be2d76e
Implemented better config system
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-16 05:20:59 +01:00
644f038732
Turn off speakers and mixer when no one is present
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-15 04:42:32 +01:00
656b040cdc
Turn off all devices that we manage if no one is present 2022-11-15 04:00:48 +01:00
bfeedece77
Added new device: computer
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-15 03:16:08 +01:00
ad5b8f9d29
Fixed network setup for docker deploy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-15 01:10:52 +01:00
dd03ae56ee
Reorganized code, added google home intergrations and added zigbee2mqtt kettle
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-15 01:03:30 +01:00
dace0eba29
Refactored code and added support for kasa smart plugs
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-24 00:42:42 +02:00
76a8c5e620
Added hue bridge discovery and check to make sure we are connected
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-18 04:03:58 +02:00
8b9e139b36
Fixed ntfy not working when deployed
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 03:55:10 +02:00
748e12b1e3
Added debugging prints
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-17 03:53:00 +02:00
c8a61c0a8a
Fixed missing newline
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 22:35:02 +02:00
0936242a41
Fixed wrong symbol in drone config
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 22:30:59 +02:00
c6bf97c3db
Added error check
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 22:29:11 +02:00
e5a6b75f62
Added notifcation when presence state changes
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 22:24:32 +02:00
e3edee3e09
Added missing leaving home code
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 21:40:36 +02:00
b4031e4198
Refactored code to make it more readable
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-16 21:34:19 +02:00
ba0fbd4f9c
Simplified things even more, now all the logic is done on the hue bridge and we just update a virtual sensor
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-14 17:57:13 +02:00
3dbac64e0a
Fixed drone file
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-14 03:31:02 +02:00
c97a3c03bd
Directly use the hue api v2 as this gives more control
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-14 03:24:18 +02:00
f015629d47
Switched from OwnTracks to a more generic mqtt solution that supports multiple devices
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-13 00:27:09 +02:00
cba9d0a596
Hopefully fixed state being out of sync
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-22 22:14:12 +02:00
ae6e43da56
Added debug prints to hopefully figure out why the lights do not turn on properly
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-21 22:17:20 +02:00
f5388125cf
Possible fix for lights not turning on
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-10 21:44:35 +02:00
12033aab60
Forgot to stop the timer again
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 18:18:54 +02:00
dc0a309b41
Fixed light flicker at start and lights do not get turned of when they are already on
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-24 18:14:23 +02:00
e9e26b9623
Prevent the lights from dimming when they get turned on early
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-06 23:49:15 +01:00
f61c919734 Apply the offset everywhere
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 16:57:49 +01:00
ffec84eda2 Make sure the light does not flash on before gradually turning on
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 17:20:51 +01:00
d38989ff54 Add 30 minute offset to sunset 2022-01-26 17:06:03 +01:00
01b39410e9 Removed println that printed out mqtt credentials
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-25 19:30:19 +01:00
da299f57cd Slight refactor and set color temperature when turning the light on
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-25 19:27:53 +01:00