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
1,547 views 4 comments
by
I recently saw TRB145 offers some memory and the SDK was released. Is there a possibility to install Python on it e.g. via OpenWRT packages or cross compilation? If yes how?

Thank you!

1 Answer

0 votes
by anonymous

Hello,

If you have knowledge and resources, you can compile your own TRB145 firmware by using our SKD package and you can add Python to the firmware. More information regarding SDK - https://wiki.teltonika-networks.com/view/Software_Development_Kit

Also this month we should release new TRB firmware (RUTOS 2.3) which will allow TRB to use opkg packages and you will be able to download and install python via opkg.

Firmware should appear here: https://wiki.teltonika-networks.com/view/TRB145_Firmware_(EU)

by

Hello Vytautas,

I got the SDK and cross compilation work yesterday after I faced glibc and musl issues with openwrt binaries. I was able to compile Python successfully.

It's a bit tricky as I now need packages like pyserial, mqtt etc. Is it planned to provide a Python API to access digital IOs for example? I have some considerations in accessing the resource parallel to the web interface... is there any concept or tutorial?

When will be the release date? :)

by anonymous
Hello,

No we do not have plans for Python API to access digital IOs.

Regarding "I have some considerations in accessing the resource parallel to the web interface... is there any concept or tutorial?" can you explain in more detail what you want to achieve and what is the issue?

And  also regarding the release date, if you talking about RUTOS 2.3 release date, it should be released this month.
by

Hello Vytautas,

Do you know when the firmware with opkg (Python) is available?

Thanks Mark

by anonymous

Hello,

The latest TRB145 firmware is already released and can be downloaded from our WiKi page: https://wiki.teltonika-networks.com/view/TRB145_Firmware_Downloads

With this firmware you should be able to use opkg commands.