Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updated SMS Driver
#1
I found an issue with the SMS driver and was able to fix it.

Added:
  • SignalStrength - Calculated based on the RSSI
  • CallerID - extracts the caller id from the SMS message and stores it. When you clear the NewMessage or NewCommand flag, the CallerID field will be blank.
Fixed:
  • NewMessage - This was an existing a R/W Boolean field. When a new message (+M:MESSAGE) is received, this field will be True and you will see the message text in the ReceiveMessage field. The NewMessage field will remain True until you change it back to False, at which point the ReceiveMessage field will be blank
  • NewCommand - This was an existing a R/W Boolean field. When a new command (+C:COMMAND) is received, this field will be True and you will see the command text in the ReceiveCommand field. The NewCommand will remain True until you change it back to False, at which point the ReceiveCommand field will be cleared out.
These changes will allow you to set field triggers (Is Field Change For) on the NewMessage and NewCommand fields and take appropriate actions as you see fit.

The addition of CallerID will allow you to do many things, once of which is securing the processing of commands and restricting it based off of the CallerID value.


Attached Files
.cqcdrvpack   SMS.CQCDrvPack (Size: 10.23 KB / Downloads: 1)
Reply


Messages In This Thread
Updated SMS Driver - by gReatAutomation - 01-28-2021, 12:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  OpenWeatherMap Weather Driver Using OneCall API kblagron 13 5,602 02-24-2023, 02:07 AM
Last Post: kblagron
  Onkyo/Integra Receiver Driver sic0048 6 555 01-08-2023, 10:24 PM
Last Post: kblagron
  RainMachine Sprinkler Irrigation Controller Driver kblagron 60 24,231 07-17-2022, 08:36 PM
Last Post: kblagron
  SmartThings API V1 driver kfly 5 1,424 02-22-2022, 07:55 AM
Last Post: kfly
  Tesla Driver Driver kfly 14 6,838 02-21-2022, 10:11 AM
Last Post: kfly
  Help on editing existing Driver Spot 5 1,146 02-03-2022, 06:50 PM
Last Post: kblagron
  New to driver development - where to start? jokermac 2 1,018 09-22-2021, 04:01 PM
Last Post: Spot
  Yamaha RX-V673 IP control Driver jdmevo123 22 12,497 03-27-2021, 03:02 PM
Last Post: Spot
  Sage Media Server driver (beta) Fonceur 698 361,118 07-26-2020, 04:59 PM
Last Post: sic0048
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 3,272 05-24-2020, 06:23 AM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)