-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fancy T-Deck / SenseCAP Indicator / unPhone / PICOmputer-S3 TFT screen #3259
base: master
Are you sure you want to change the base?
Conversation
d14151e
to
dcc11ff
Compare
2084055
to
d69edc2
Compare
b8a74c6
to
7dfeedc
Compare
Is possible to test on PICOmputer S3 ? I can send sample hardware. |
To Germany? Good. I can support it when I have the actual hardware available. |
worldwide, Germany is almost a neighbor, I'm from Slovakia. Picomputer use direct gpio matrix keyboard implemented by @caveman99 cpu is bpi-PicoW-S3 + RFM95 send my your postage address to bobricius@gmail.com |
I am on the road right now but iirc the picomputer does only have 4MB flash. May be a tight fit. The TFT tracksenger may be a better fit. 8 MB is the min for an integrated device I would think. @mverch I have a picomputer prototype I can send you. Assuming @bobricius doesn't have a newer revision :-) |
That's also what I read on the ALI-Express page for the Banana-Pi. Should be fine. |
@mverch67 , by the way, I am flashing this PR to a t-deck weekly. Please let me know (weekly ;) ) if I can support, sadly it is a pretty common device. |
Issue probably related to this change in protobufs: meshtastic/protobufs#627 Edit: I think it's just a matter of pointing the dependencies to a newer commit of device-ui |
Hi Mariotti, your support is very welcome, thanks a lot ;-) Hope, you enjoy the latest updates. |
Feature request: Show distance in the node list environment telemetry. If distance is >0. Thank you for your consideration :) I had a look at the code for 320x480 but didn't know if it was straightforward as to add a _tm3 variable. |
The distance to other nodes is already shown in the node list once the own position is known and updated. |
Hi there, This is referring to the distance value in Environment telemetry protobuf, not distance between nodes - i.e. the distance measured by an ultrasonic sensor (usually a water level) |
Hi, thanks for your tests. I don't know what version you are using as there are constant updates but here is a quick answer to your findings: > We see the rebooting... overlay but the device is not rebooting [expected], The UI is ignoring the settings changes [expected], but the overlay cannot be removed: This is probably not a UI issue. The firmware must be sending a reboot message to the UI otherwise it would not be shown. > At present only on/off cycle removed the banner. > The UI usability seems heavily dependent on the power. If you set this: Cheers, |
Hoi, Quick answer: If I write here, the version will be the last commit. Unless we are very unlucky in timing :) . I'll double check for the [rebooting ...], but it happens only if the device is "remotely administered", it does not happen in other cases. Just to be sure. I'll try the long press tip. Thanks PS: ok, by flashing few devices, I might forget one in the tests :( |
Hoi, yes, the rebooting might be a firmware issue. But in the sense that the UI gets no feedback. I will check first in the old UI how this is handled. In practice this UI assumes, for all events, after reboot notification, that the device will actually reboot. I am really poor in C++ code but for example: ``
`` Assumes that a reboot will happen. Or? |
@@ -1,6 +1,9 @@ | |||
[submodule "protobufs"] | |||
path = protobufs | |||
url = https://github.com/meshtastic/protobufs.git | |||
[submodule "lib/device-ui"] | |||
path = lib/device-ui | |||
url = https://github.com/meshtastic/device-ui.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url = https://github.com/meshtastic/device-ui.git | |
url = https://github.com/meshtastic/device-ui.git | |
branch = master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As device-ui is basically master driven, I was checking if a submodule can alway point to master. [comment]
I believe this solves this particular complaint! But as far as I know you cannot specify a commit hash or tag, so this is good for keeping the HEAD of master but not going deeper.
@mverch67 I will make a PR — you are welcome to use or reject!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a good idea in general as it won't be possible to ever re-build old versions of the software. The branch tag is currently not maintened as there are no automatic builds but will be as soon as the last needed feature is implemented and running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! But sadly it will work for a short time :(
If tomorrow we will start versioning the device-ui, which will be the idea, then we have an issue.
I think it is best to leave this to the developers until it is merged.
Yes, exactly. This is to notify the user that the device will restart in a few seconds. UI and firmware have implemented the same kind of knowledge which command leads to a restart. The reboot notification that is issued by the firmware indicates to the UI/App that the device is going to reboot. If it sends this message but doesn't reboot then this is clearly a bug in the firmware. Some remote administration will lead to a reboot, some does not. There is no general rule, but only a case-by-case decision. |
Got what you mean, then it is a FW issue. |
Ok, then I will test the behaviour for the latest alpha in the standard UI, and start a ticket/issue on that. |
@mverch67 Hoi, I kept flashing t-deck's :) But I have some issues with the touchscreen that got very laggy. I am not sure it actually depends on this PR, yet it seems unresponsive only with the device-ui. It can even be hardware, but I got 2 t-deck with the issue, so I am really confused. I flashed also old commits. Do you mind if I open a discussion under: https://github.com/meshtastic/firmware/discussions for my issue and maybe generally for other flashers? Or: do you prefer less noise while developing? Or the opposite, I should report here? Cheers |
Hoi Manuel, Indeed about the "rebooting...", ( #3259 (comment) ) I had a look at the code and it looks like that all is passing by the AdminModule. In the admin module you have something like this:
Now at: https://github.com/meshtastic/firmware/blob/master/src/modules/AdminModule.cpp#L79 So it bails you out immediately if the node is managed. "if (config.security.is_managed)" I assume that the UI goes also via the AdminModule too, which is auspicabile. In that case a reboot is not going to take place. We might need to import some security settings and apply the same behaviour. If I got it right, of course. A+ PS:
You could add some fingerprint sensors :) |
Early T-Deck Plus units have a known issue of an almost unresponsive touchscreen due to incorrect programming of the GT911 touchscreen IC at the factory. Flashing it with the UnitTest firmware and then back to the TFT GUI firmware will fix it. |
Thanks both, the t-Deck-plus is back in track :) JIC, It was not that obvious, as I knew that repo, but not the actual issue so initially I did not try too hard. Flashed successfully, basic usage working. This on the last commit with both: current pointer to device-ui and device-ui updated to the last current master commit. Going to flash the other t-decks :) Thanks again |
nothing to see here, yet. Work in progress