FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
306 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 anonymous
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 anonymous
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.