Do you think it might be possible to provide a way to use domoticz.sms with a phone number as extra parameter?
Right now the function works fine, getting the credentials from the domoticz settings but there are some downsides:
* an sms can only be sent to the preset phone number (and only that number)
* as a concequence there is no way to send to different numbers when different condicions apply
* when using domoticz.notify, all activated notifications are used, so also sms
I have been trying to 'port' BakSeeDaa's methode ( viewtopic.php?t=7387) to dzvents, and also tried to call the function he provides from within a dzvents script but it fails a several levels
For now I use this method which allows me to deactivate Clickatell Sms in the Domoticz settings and thus avoiding an Sms being sent every time a notification is sent:
Code: Select all
It also lacks the advantage of the smsencode function that BakSeeDaa created for this.
I think would be useful to have such functions also available in dzVents, but without the need of all the uservariables (so maybe a config file would be needed, containing the needed parameters)