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
Temporary email/mqtt/sms/telegram scripts for Docker container joshuacox/mkdomoticz
Moderators: leecollings, remb0
- AlanGpio
- Posts: 15
- Joined: Monday 24 February 2020 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Temporary email/mqtt/sms/telegram scripts for Docker container joshuacox/mkdomoticz
Hobbyist developing home automation on a Rasp Pi 4 under Buster off SSD.
Custom electronics to link to alarm system, doors, lights, cameras and door bell.
Running Domoticz in a Docker Container along with containers for Moquitto and Portainer.
Custom electronics to link to alarm system, doors, lights, cameras and door bell.
Running Domoticz in a Docker Container along with containers for Moquitto and Portainer.
- AlanGpio
- Posts: 15
- Joined: Monday 24 February 2020 21:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Temporary email/mqtt/sms/telegram scripts for Docker container joshuacox/mkdomoticz
1st, I have found that the telegram function is not working when run from the Docker Containers so I've written a script for that.
2nd, the Domoticz sms function used a US SMS delivery provider, so I have written a script to use a UK provider, theSMSworks. Initial use in testing gave a fast response and support was helpful.
3rd, all scripts are now configured using yml files.
Files on Github https://github.com/alan-rpi/domoticz-em ... s-telegram
2nd, the Domoticz sms function used a US SMS delivery provider, so I have written a script to use a UK provider, theSMSworks. Initial use in testing gave a fast response and support was helpful.
3rd, all scripts are now configured using yml files.
Files on Github https://github.com/alan-rpi/domoticz-em ... s-telegram
Hobbyist developing home automation on a Rasp Pi 4 under Buster off SSD.
Custom electronics to link to alarm system, doors, lights, cameras and door bell.
Running Domoticz in a Docker Container along with containers for Moquitto and Portainer.
Custom electronics to link to alarm system, doors, lights, cameras and door bell.
Running Domoticz in a Docker Container along with containers for Moquitto and Portainer.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest