{"id":4437,"date":"2022-09-16T06:55:25","date_gmt":"2022-09-16T06:55:25","guid":{"rendered":"https:\/\/www.petecodes.co.uk\/?p=4437"},"modified":"2022-09-16T21:20:19","modified_gmt":"2022-09-16T21:20:19","slug":"octoprint-for-the-seeed-studio-reterminal-live-blog-day-11","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/octoprint-for-the-seeed-studio-reterminal-live-blog-day-11\/","title":{"rendered":"OctoPrint for the Seeed Studio reTerminal – Live Blog – Day 11"},"content":{"rendered":"\n
This post is a series of posts in which I detail my journey to bring OctoPrint to the Seeed Studio reTerminal.<\/p>\n\n\n\n
In today’s post we’ll be digging in to how to use the reTerminal User Buttons with OctoPrint and the TouchUI Plugin.<\/p>\n\n\n\n
As I pointed out yesterday, the first place to start is the GitHub repo for the Seed Studio reTerminal Python Library<\/a>.<\/p>\n\n\n\n This repo is described as;<\/p>\n\n\n\n This is a Python library which enables you to use the onboard hardware on the reTerminal<\/a> and reTerminal Bridge<\/a>. <\/p> Currently the accelerometer, user LEDs, user buttons and buzzer<\/strong> can be accessed using this Python library on reTerminal, and the fan, RS232, RS485, CAN<\/strong> can be accessed by using this Python library on reTerminal Bridge.<\/p><\/blockquote>\n\n\n\n Again, this is a Python Library, so that’s handy for us as OctoPrint is written in Python. However, we need to figure out primarily how we integrate this Python Library and OctoPrint from a BackEnd \/ FrontEnd perspective.<\/p>\n\n\n\n Of course, we do know that it’s possible to develop directly on a Raspberry Pi with OctoPrint installed. Further, the CM4 is a very capable devices, so it’s possible we’ll have a reasonable experience to be fair.<\/p>\n\n\n\n I think the first thing we should do though is to make sure the User Buttons work on our reTerminal…<\/p>\n\n\n\n We can actually see the buttons working already using the reTerminal App that comes preinstalled on the device;<\/p>\n\n\n\nThe reTerminal App<\/h2>\n\n\n\n