RNS Logo

rns.recipes

◈ 9ce92808be498e9e05590ff27cbfdfe4
Network filtering improvements https://rns.recipes/forum/general/spam-tsunamis-filtering-improvements

T-deck micropython firmware

Showcase

Started by circfruit ·

edited #1

I think I should have made this topic a while ago, but it's better late than never 😄
You probably know of the Micropython reticulum port I made a while a go. I try to keep it up to date with the new RNS versions, while omitting some to match the constraints of esp32s3.

 

As a sister project, I started T-deck V1 and Plus firmware which is based on Micropython port, but adds UI, specific for the T-deck hardware. This firmware has the following features:

 

  • TCP and LoRa client interfaces (UDP also supported, but not exposed)
  • LXMF client:
    a. image support - opens webp and jpeg
    b. voice support - send and receive codec2 (medium quality only)
  • Nomadnet client
  • rnsh client
    a. 80 cols terminal
    b. font is a bit small, but on 640x480 screen, that's the best I could do.
  • RRC client

 

Anyway, the reason for this post is actually T-deck Pro which I got today and was able to fairly easy get working with the existing firmware. There are still some e=paper specific tweaks I need to make, but it's generally working fine 😁 I'll upload the firmware probably tomorrow to the repo above and will make a showcase Youtube video.

 

tdeck.jpeg

#2

This is epically cool as is your existing T-Deck firmware (including the cyberpunk-retro DTMF interface). Excited to try it out!!

NONGKHAEM_BKK_TH e23e9a470d42f05d...
#3

Incredible. You found a way to make me spend even more money on gizmos :) :)

burger ace748e1c4e3fd4e...
#4

cool stuff, heres 2 internet points!

edited #5

I started working on accommodating the UI for the touch sensor of Pro. I've put some icons and refactored the interface to suit the finger tapping. I quite like how it turns out and might nick some of the features for the v1 and Plus version.

 

Additional improvements:

  • implemented power save mode for all version - putting esp32s3 in light sleep, not only screen off; on wifi- only screen off.
  • haptic feedback on touch - I'm still hesitating whether this should be default as it drains the battery quicker. I'll include on/off setting.
  • screen list scrolling with tap and drag on right screen side
  • RNS apps (tabs) can be changed with swipe left and right or tapping the tabs. Swipe gesture is not very responsive, but works, I'd use mainly taps.
  • node rows take two lines, better for touch and looks more contemporary
  • LXMF DM chat - I tried how would text appear in baloons but doesn't look good on this screen width and e-ink. Nevertheless I tried to make it prettier than simple irc-like ui.
  • Context menu - tapping the three dots shows a context menu of Actions on the node.

 

Once i complete it I'll post a video. Here's a teaser of the new UI
new-ui.jpg

#6

Ok I've uploaded the new 1.11.0 Release.

 

Improvements:

  • major reduction of sleep current for Pro - around 7mA (on LoRa interface)
  • improved scrolling speed
  • improved swipe sensitivity
  • haptic feedback toggle switch
  • small fixes and UI improvements.
#7

I've uploaded new 1.11.1 bug fix release

 

The power management was broken for Pro - despite being in LoRa mode, when no wifi AP was found the wifi chip kept searching and never let the device go to proper sleep, thus draining the battery. This is fixed now.

edited #8

New 1.12 Release now implements UI settings for IFAC interface (both for TCP and LoRa). Both v1 and Pro firmwares also available via Launcher.
IMG_4483 Medium.jpeg
IMG_4482 Medium.jpeg

edited #9

New 1.14 bugfix release

 

Battery drain fixed.

  • A WiFi station with nothing to do no longer keeps the deck awake. It is switched off 30 s after the screen goes dark and comes back when the screen lights.

 

  • More power savings. The Pro's radio runs its DC-DC regulator (11 mA listening asleep instead of 15 to 16), both decks drop to 80 MHz while idle, and a board-facade bug that kept the Pro's app sleep above its measured floor is fixed.

 

UI improvements

  • wifi icon now different so its not confused with Nomadnet icon
  • reorganization of Setup menu
  • fixed vertical scroll direction on swipe (on Pro).
  • improved scroll speed of node lists on busy TCP interfaces (on Pro's e-ink display)
scottyrice 29f0108d4465d570...
#10

nice app, thx for putting it on launcher. couple notes (tdeck plus version):

 

cool to see NomadNet browsing

 

combining announces with messages is a mess even with the favorite tag

 

I'm unable to enter ipv6 addresses for the backbone host

 

copy/paste from messages to other areas would be nice

#11

scottyrice wrote:

combining announces with messages is a mess even with the favorite tag

 

good point, it's a bit messy indeed, when you are connected to busy backbone. I'll see how I can separate those.

 

I'm unable to enter ipv6 addresses for the backbone host

 

afaik support for ipv6 on Micropython is not complete. I can try it but my ISP doesn't support ipv6 and I'm not really able to test on external ipv6 backbones.

 

copy/paste from messages to other areas would be nice

 

Makes sense, I'll try to add context aware copy/paste.

 

thanks for the suggestions!

 

#12

Ok, I cleaned up a bit the lists as per @scottyrice feedback. Now the announces are not cluttering the lists in the tabs. The announces can be seen and node can be selected when you search or click on +new. Also added indication how many nodes are heard and put nice tab icons on the t-deck v1/plus, which were only on the Pro firmware so far. New version 1.15

 

d1bcdbe6430e6766.jpg

Post a Reply

Supports Markdown: **bold**, *italic*, `code`, ```code blocks```, [links](url)

Log in to upload images

Quote
Copied to clipboard