Small Web-UI, dockerized

390 views
Skip to first unread message

Matthias Kallenbach

unread,
Apr 13, 2023, 1:34:08 AM4/13/23
to rtl_433
Hi dudes and duderinas,

have done a little Web-UI for my needs:

- simply map a value from a device to a mqtt topic
- exclude models or a specific device
- forget unmapped devices after a given time
- translateable

Works well on a raspberry pi 4, dockerized.


Screenshot 2023-04-13 at 07-31-05 raspiscan.pngScreenshot 2023-04-13 at 07-31-19 raspiscan.png

greets from germany.

Christian Z.

unread,
Apr 13, 2023, 3:40:20 AM4/13/23
to rtl_433
Very nice. Be sure to list this on the https://github.com/merbanan/rtl_433/wiki page.

Matthias Kallenbach

unread,
Apr 13, 2023, 8:21:14 AM4/13/23
to rtl_433
ok. done.

Matthias Kallenbach

unread,
Apr 14, 2023, 9:02:49 AM4/14/23
to rtl_433
Now you can order by time or signal count.

Screenshot 2023-04-14 at 14-59-39 raspiscan.png 

Matthias Kallenbach

unread,
Apr 14, 2023, 1:51:49 PM4/14/23
to rtl_433
Now you can enable or disable dropping unmapped devices from list by a given livetime in seconds. Define the livetime in the config file or with an environment variable.

Screenshot 2023-04-14 at 19-47-23 raspiscan.png 

Screenshot 2023-04-14 at 19-47-35 raspiscan.png

Christian Z.

unread,
Apr 14, 2023, 1:59:29 PM4/14/23
to rtl_433
This is making leaps forward, very nice. I was hoping for some kind of elegant Web UI to come along, thanks!

Matthias Kallenbach

unread,
Apr 14, 2023, 3:52:03 PM4/14/23
to rtl_433
Thanks. joah... have time at the moment ;)

Here a video:
https://www.youtube.com/watch?v=uaaDtUsMjKc

David Powell

unread,
Apr 14, 2023, 4:41:04 PM4/14/23
to rtl_433

Very nice, I like it. 

Is this going to replace the one that you get at http://localhost:8433 when you use the -F http flag?

--
You received this message because you are subscribed to the Google Groups "rtl_433" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtl_433+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rtl_433/ac4f006d-2f5f-4681-a531-af18bc34b916n%40googlegroups.com.

Christian Z.

unread,
Apr 15, 2023, 2:37:15 AM4/15/23
to rtl_433

Is this going to replace the one that you get at http://localhost:8433 when you use the -F http flag?

The built-in Web UI is meant to control the rtl_433 instance and tune settings. It will focus on that.

 

Matthias Kallenbach

unread,
Apr 15, 2023, 8:09:24 AM4/15/23
to rtl_433
i saw it the first time: now ;) looks good. but, i didn't saw it in the documentation. have you some api documentation?

Christian Z.

unread,
Apr 15, 2023, 8:19:59 AM4/15/23
to rtl_433
It's still incomplete and the only docs so far is the doc-comment here: https://github.com/merbanan/rtl_433/blob/master/src/http_server.c

Matthias Kallenbach

unread,
Apr 15, 2023, 8:27:25 AM4/15/23
to rtl_433
ahh. your dark theme is also green... haha. nice.

Just add the mapping feature to map a value to a mqtt topic.
That was the only reason why i build that piece of code.
I want to do it user guided at runtime. Not per config-file or scripting.

David Powell

unread,
Apr 15, 2023, 8:50:28 AM4/15/23
to rtl_433
It's a great feature. Seems pretty complete to me,  I use it all of the time and have never seen a problem.  I think it should be deemed complete and added to the documentation. 

On April 15, 2023 7:20:02 AM "Christian Z." <chri...@zuckschwerdt.org> wrote:

It's still incomplete and the only docs so far is the doc-comment here: https://github.com/merbanan/rtl_433/blob/master/src/http_server.c

--
You received this message because you are subscribed to the Google Groups "rtl_433" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtl_433+u...@googlegroups.com.

Christian Z.

unread,
Apr 15, 2023, 4:57:21 PM4/15/23
to rtl_433
Thanks, now that #1978 is merged we can really move forward with a web API.

Matthias Kallenbach

unread,
Apr 16, 2023, 3:39:27 AM4/16/23
to rtl_433
Hm. There are two things with the "official" web ui

- the web statics are not embedded in the binary. they are distributed by a web-server. this means: no offline use
- and please: no tracking ;) saw it here: https://triq.org/rxui/

For the web statics a suggestion: place the production frontend-build inside the binary. and make it possible, that you can use a newer frontend-bundle in a configurable folder.
If the consideration was, that the user can use the newest frontend build: this is possibe. but the user must use the newest frontend bundle. if the binary where not updated, the versions runs out of date and the frontend can not be used.

you have to establish a workflow, before continuing.

Maybe a github action for the frontend production bundle. or other ci things like travis...

Matthias Kallenbach

unread,
Apr 16, 2023, 1:51:55 PM4/16/23
to rtl_433
use a github action like that:

https://github.com/seekwhencer/node-rtl433-ui/blob/master/.github/workflows/build_and_deploy.yml

This does:
- create a new frontend production build on a push
- publish only the bundle on a second branch

And with github pages you can distribute the production bundle from github.io


This could be the alternative for your selfhosted solution... with an actual frontend production bundle ...

Christian Z.

unread,
Apr 16, 2023, 2:15:01 PM4/16/23
to rtl_433
Thanks for the good examples. This should be inspiration or even a template once things settle with the API and UI.

The bundled UI was present earlier (see the doc-comment about included files, currently not true though), but moved out to allow development at a different pace. I think the bundle-at-build rules are still in some branch. Worth looking into, maybe later this year.

Matthias Kallenbach

unread,
Apr 17, 2023, 4:52:45 PM4/17/23
to rtl_433

add something when a pull_request happens ;) this is only for a push

Matthias Kallenbach

unread,
Apr 25, 2023, 1:09:19 AM4/25/23
to rtl_433
Hi Volks,

have done a public docker image. Just use it like:


It's a multi-arch build and runs on a raspberry pi 4.

Reply all
Reply to author
Forward
0 new messages