Page 1 of 1

Python Schedule Script - DomoMatic

Posted: Sunday 21 January 2018 2:56
by moengiant
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.

Re: Python Schedule Script - DomoMatic

Posted: Sunday 21 January 2018 6:46
by moengiant
I added a daily task feature - format time in the schedule as DAY HH:MM