I bought some Kasa Smart WiFi Plug Mini, Model: HS103 last year and I created a small flow to control the string of LED's I have on our Christmas tree. It is a small flow:
You just need the IP address of the Smart Plug and enter the Lat/Lon of your location and add the start and stop times for when the lights should be on.
You can also use the dashboard (dashboard 1, I need to do a dashboard 2 version) switch to turn the lights on or off.
Here is the flow if anyone wants to use it.
[{"id":"269fb1c8360b2bd0","type":"smalltimer","z":"9b047591bc61cbf5","name":"Small timer","position":"fe79e9bbdb1298e5","startTime":"5108","endTime":"1380","startOffset":0,"endOffset":0,"topic":"","sendEmptyPayload":false,"onMsg":"true","onMsgType":"bool","onTimeout":"0","minimumOnTime":0,"offMsg":"false","offMsgType":"bool","offTimeout":"1440","rules":[{"type":"include","month":"12","day":"0"}],"repeat":false,"repeatInterval":60,"wrapMidnight":false,"injectOnStartup":false,"debugEnable":false,"outputs":1,"timeout":1440,"x":550,"y":180,"wires":[["957dc8c5def893ad","e87cc436b7dc48b9"]]},{"id":"fe79e9bbdb1298e5","type":"position","name":"Foxboro","latitude":"42.09091052","longitude":"-71.22795671"}]
