7141 questions

8568 answers

13830 comments

10608 members

0 votes
60 views 2 comments
by
Hi Teltonika Community,

I'm a beginner with Cellular technology please excuse me in advance if I'm asking about basics.

We have TRB145s that we want to connect with energy meters via RS485. I have set up APN and RS485 over_ip  and it works perfectly with our telemetering system. We also need to enable 2G calls and serial console  RS485 for our older backup metering system that has no TCP/IP support. The SIM card has this service enabled. I 've made two profiles and managed to switch them via sms rule, but SMS cannot be automated in our older system. Is there a way to detect a 2g call and change  profile (or network and RS485 serial parameters to console?).

Thank you in advance

1 Answer

0 votes
by
Hi,

Unfortunately, right now, there's no feature in call utilities to change profile, network or RS485 parameters on call.

EB.
by
Thank you. To make it clear, in a configuration where Network is Auto/ RS485 over_ip if normal 4g connection is lost (signal variations in mountainous areas)  and there is a 2G connection, I can only manually (SMS) change RS485 over_ip to RS485 console to get meter data?Can we make a script?

Eleni
by
You can do the script that changes the configuration file and then restarts the service, but of course, it would require you to do some research and learn before the script is done right. So take your time and read about OpenWRT scripting.

Place to start: https://openwrt.org/docs/guide-developer/write-shell-script#automated_shell_script_checking

EB.