Temporary email/mqtt/sms/telegram scripts for Docker container joshuacox/mkdomoticz
Posted: Saturday 07 March 2020 21:47
I installed the Docker container joshuacox / mkdomoticz and found that I could not send emails. This is a problem experienced by others and the author is working on a solution.
As a temporary measure I have written a bash & python scripts to send emails from Blockly but I guess it can be used wherever a script can be called. The scripts provide some flexibility to use arguements to override the default settings so one script can be used to send different messages or subjects to different addresses.
In fact there are 2 sets of scripts, one for emails and one for mqtt messages.
More details at my github respository: [https://github.com/alan-rpi/domoticz-em ... s-telegram]
Note that neither script supports SSL so it will not work with some email / mqtt hosts.
This is my first github repository; a little thank you to all those who have provided lots of free resources that I have used.
Alan
PS. I'm new to Domoticz so others may well have produced similar solutions, but it has help me to refresh my python skills.
PS. It would be nice if Domoticz Blockly could have these mqtt templates included https://github.com/Gr4vity4/MQTT-BLOCKLY
As a temporary measure I have written a bash & python scripts to send emails from Blockly but I guess it can be used wherever a script can be called. The scripts provide some flexibility to use arguements to override the default settings so one script can be used to send different messages or subjects to different addresses.
In fact there are 2 sets of scripts, one for emails and one for mqtt messages.
More details at my github respository: [https://github.com/alan-rpi/domoticz-em ... s-telegram]
Note that neither script supports SSL so it will not work with some email / mqtt hosts.
This is my first github repository; a little thank you to all those who have provided lots of free resources that I have used.
Alan
PS. I'm new to Domoticz so others may well have produced similar solutions, but it has help me to refresh my python skills.
PS. It would be nice if Domoticz Blockly could have these mqtt templates included https://github.com/Gr4vity4/MQTT-BLOCKLY