legrego / HSPI_TwilioMessaging

HomeSeer Plugin to enable SMS messaging via Twilio
MIT License
6 stars 0 forks source link

Support multiple phone numbers allowed to send command or to send text #22

Open mrizzo123 opened 4 years ago

mrizzo123 commented 4 years ago

I think currently you can only send a text to one number at a time. It would be good if you could send a text to multiple people. It does not need to be MMS, just have the plugin call Twilo and send a copy of the message to each number in the 'To' line of the event action. (I think HS does this by delimiting with ';' and no spaces between e-mail addresses)

Separately it would be cool to be able to set a group of numbers who are authorized to send text commands to HomeSeer.

legrego commented 4 years ago

I like the idea of sending the message to multiple numbers. I actually have this need myself, but it was easier for me to just duplicate the event action in HS than it was to implement the feature inside the plugin 😄

I'll consider this once I port to the upcoming HS4 version.

Separately it would be cool to be able to set a group of numbers who are authorized to send text commands to HomeSeer.

You can sort of do this today, on a per-event basis. You can create an event that only responds to a specific phone number, but it would be cumbersome to write your event conditions to support multiple today in HS.

mrizzo123 commented 4 years ago

Thanks, let me know if you need any help with testing, etc.