How can i make my owne sms utilities return commands like:
Analog Current Loop (6,9) - %g0Analog Input (6,9) - %g1Input (3) - %g2Digital Input (1) - %g3Output (4) - %g4Isolated Output (3,4,8) - %g5Isolated Input (2,7) - %g6Relay (5,10) - %g7Time stamp - %tsRouter name - %rnSerial number - %snMobile IP addresses - %miSignal strength - %ssCurrent FW version - %fcWAN IP address - %wiLAN IP address - %liMonitoring status - %msOperator name - %onNetwork type - %ctData connection state - %csNetwork state - %nsIMSI - %imIMEI - %ieModem model - %mdModem serial number - %isSIM pin state - %psSIM state - %stRSCP - %cpECIO - %ecICCID - %icCELLID - %ciNetwork serving - %svNew line - %nlSIM slot in use - %suRSRP - %rpSINR - %srRSRQ - %rqNeighbour cells - %nbNetwork info - %niRMS error message - %er
so if i for an example send and SMS with ‘Frame’ it return ‘Your status of Frame is 34’ (So how can i make it replace %LFW with my value either from http or MQTT)
Could you please clarify what information are you trying to receive via SMS?
What do you mean by “replace %LFW with my value either from http or MQTT”? Are you trying to obtain some information from a different device (not router)?
The values from SMS utilies are the ones from the router. If you are looking to obtain information from the server, then it may be possible with some additional scripting. SMS utilities can be configured to execute scripts when SMS message is received.
This will depend on your implementation.
There is a Modbus example here. In your case, if the server is using HTTP, you can try using ‘wget’ or ‘curl’ commands to obtain data instead of Modbus commands in the script.