Hi
Thanks for this awesome device, I love it!
I'm trying to get SIM data usage using command line (and later with JSON api etc.) from the device. Googling doesn't help as the system has changed. The following link explains to use ubus (https://community.teltonika-networks.com/43132/mdcollectdctl)
ubus call mdcollect get '{"iface_name":"wwan0","conn_period":"month","sim":1}'
But when I try to get todays data usage, it returns the same data
ubus call mdcollect get '{"iface_name":"wwan0","conn_period":"day","sim":1}'
The console output is
[email protected]:~# ubus call mdcollect get '{"iface_name":"wwan0","conn_period":"month","sim":1}'
{
"tx": 54426430,
"rx": 424320849
}
[email protected]:~# ubus call mdcollect get '{"iface_name":"wwan0","conn_period":"day","sim":1}'
{
"tx": 54426430,
"rx": 424320849
}
How can I get the traffic with different days? Could you please update the wiki, it would be super helpful!
And also one question related to MQTT. If I wanted to share for example this mobile data usage to an existing MQTT broker I have, is it possible with your system out-of-the-box? I installed MQTT package but still having problems to understand if this is possible.
Thanks!
Edit: My firmware is RUT2_R_00.07.02.1