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


Possibly Related Threads…
Thread Author Replies Views Last Post
  RainMachine Sprinkler Irrigation Controller Driver kblagron 60 20,234 07-17-2022, 08:36 PM
Last Post: kblagron
  SmartThings API V1 driver kfly 5 799 02-22-2022, 07:55 AM
Last Post: kfly
  Tesla Driver Driver kfly 14 5,811 02-21-2022, 10:11 AM
Last Post: kfly
  Help on editing existing Driver Spot 5 678 02-03-2022, 06:50 PM
Last Post: kblagron
  New to driver development - where to start? jokermac 2 691 09-22-2021, 04:01 PM
Last Post: Spot
  Yamaha RX-V673 IP control Driver jdmevo123 22 11,522 03-27-2021, 03:02 PM
Last Post: Spot
  Sage Media Server driver (beta) Fonceur 698 345,743 07-26-2020, 04:59 PM
Last Post: sic0048
  Russound MCA-66 on TCP driver lapointe.sc@gmail.com 5 2,740 05-24-2020, 06:23 AM
Last Post: gReatAutomation
  Samsung SmartTV Driver George M 0 963 05-20-2020, 09:04 AM
Last Post: George M
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 4,505 05-18-2020, 04:09 AM
Last Post: dlmorgan999

Forum Jump:


Users browsing this thread: 1 Guest(s)