Automate Domoticz with DomoMatic-
As I wanted to make if fun on birthdays around the house I created this script to play a random birthday song using Chromecast using a schedule,
In doing so I created DomoMatic to automate some other tasks as well
As of now, it can do a couple of things - send a text message and turn on/off devices for either a set time and date or timed daily.
You can easily add an event by editing the schedule.txt file - an ini file for the script.
More or less this is a function to call other functions for a giving time and date. The way its constructed makes it easy to add more functions rather quickly. I even created a testing parameter to test new events
Here is the GitHub for the script with more information.
https://github.com/moengiant/DomoMatic/ ... chedule.py
I'll be adding some more features like adding a way to mark event as daily and desktop notification.
Have a look and let me know what you think as well any suggestions for more functions to add would be great.
Python Schedule Script - DomoMatic
Moderator: leecollings
-
- Posts: 28
- Joined: Monday 25 January 2016 6:33
- Target OS: Windows
- Domoticz version:
- Contact:
Python Schedule Script - DomoMatic
I'd rather have a bottle in front of me than a frontal lobotomy
-
- Posts: 28
- Joined: Monday 25 January 2016 6:33
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Schedule Script - DomoMatic
I added a daily task feature - format time in the schedule as DAY HH:MM
I'd rather have a bottle in front of me than a frontal lobotomy
Who is online
Users browsing this forum: No registered users and 1 guest