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
214 views 2 comments
by anonymous
Greeting,

I've got the TRB245 and I've configured the modbus serial master to get two registers from a slave. Then, I need to format the register data inside the modem to get a floating point and finally sending it using the data to server service. 1# Is there a way of doing this?

2# Can I run a python script inside the TRB245? the python command is not found when log in using ssh, and the flash memory is not enough to install it.

Thanks

1 Answer

0 votes
by anonymous

Hello,

What you want to achieve is not directly possible with built-in router features, but a script may be a solution.

If you reset the router to factory defaults, you should have enough space to be able to install python successfully via CLI/SSH, using the following commands:

  • opgk update
  • opkg install python3-light

Best regards,

by anonymous
is there any documentation regarding using the modbus rs485 of the TRB245 through python?

Thanks
by anonymous
Unfortunately, there is no such documentation.