{{:projects:codi-project_v3.png?|}} ...project "made & run(s)" by **mecci**@c-base.org & **zet**@c-base.org (since/ano **2022**) ==== codi-project target ==== **//"build next level systemterminal for each spacestation zone to get sensors & infoscreens data, play music like the "mpd"-stations, play videos from lan, play stream(s) & media from local network & different internet sources... --> one central terminal per zone (with a full linuxserver behind every codi instance & low power use, ~29W max@running PoC)!"// ** the codi-project is inspired by the spacestation Babylon 5's **Babcom** System: {{:projects:babcom_01.jpg?200|}} {{:projects:babylon-5.png?200|}} {{:projects:babcom2.jpg?200|}} "Babcom was (Spacestation) Babylon 5's internal communications network. Public terminals were available in most public areas including the Passenger Lounges, Zocalo as well as modest and better quarters and can link in to StellarCom." ---- ** tribute & thanks @ these opensource projects & software that we use: ** {{:projects:kodi-logo-with-text.svg?200|}} {{:projects:raspberry_pi_os_logo.png?200|}} {{:projects:batocera-image.png?200|}} {{:projects:libreelec_logo.png?200|}} {{:projects:jellyfin.png?200|}} {{:projects:freebsd.jpg?150|{{:projects:freebsd-trans.jpg?150|}} {{:projects:mysql.jpg?150|}} {{:projects:archiveorg.png?150|}} {{:projects:ffmpeg2.jpg?200|}} {{:projects:mediamtx.png?150|}} {{:projects:tinymm.png?150|}} ---- ====== codi-project showcase@38c3: ====== ** codi showcase setup for 38c3 congress: autoboot / offline useable / 6x rpi3 with rasberian OS (bookworm), 5x [[projects:codi_project#codi_terminal_s_frontend|codi-terminal]](s) / remote controllable setups (z.b. android core) + 1x rpi3 (server) 4lan-service [[projects:codi_project#codi-base_lan_service_4_syncronized_terminal_video_playing|codi-base]] 🥳 (remote syncronized content play service): ** {{:projects:image1.jpeg?400|}} {{:projects:img_9529.jpg?400|}} {{:projects:image-20241220-133621-355.jpeg?400|}} {{:projects:img_9471.jpg?400|}} {{:projects:img_9472.jpg?400|}} {{:projects:img_9543.jpg?400|}} {{:projects:image4.jpeg?400|}} {{:projects:image-20241220-133622-458.jpeg?400|}} {{:projects:image-20241220-133625-883.jpeg?400|}} ====== codi-project showcase@40c3: ====== codi showcase tower for the 40c3 congress (2026-12-27 .. 30): 5x rpi3 codi-terminal(s) stacked as a tower + 1x rpi3 as server, autark: runs without uplink & without www in its own lan. ==== the tower (top to bottom), planned setup ==== ^ # ^ terminal ^ will show ^ lan address (planned, fixed) ^ | 1 | rpi3-15 | picture show | 10.0.66.15 | | 2 | rpi3-16 | picture show | 10.0.66.16 | | 3 | rpi3-17 | video loop (local file) | 10.0.66.17 | | 4 | rpi3-19 | picture show | 10.0.66.19 (today still 10.0.66.15: the pi is a clone of rpi3-15) | | 5 | rpi3-22 | picture show | 10.0.66.22 | | server | rpi3-12 | picture set, uploads on site, optional codi-base | 10.0.66.x | * all five terminals: rpi 3b+, raspberry pi os (debian 12), kodi 21.2, 1920x1080@60 * the four picture screens run the kodi picture slideshow screensaver; target: every screen shows a different picture * the middle screen plays a local video in a loop (kodi video screensaver, already so today) * the server (rpi3-12, rpi 3b, debian 13) will keep the picture set, take uploads on site and can run codi-base for synchronized playback on all five ==== autark setup (target) ==== * own lan 10.0.66.0/24 on a switch inside the tower, fixed addresses, no gateway, no dns * nothing from the c-base net may be needed on site: no mfs share, no mariadb, no ctreamer stream, no mqtt, no wifi ''c-base-botnet'' * nothing from the internet may be needed: addon updates, weather and repositories get switched off * pictures and videos get stored locally on the sd cards (terminals) and on the server * the pis have no real time clock: after power on the clock shows the last saved time unless the server acts as time server ==== state 2026-11-30 (inventory at c-base) ==== * the tower runs at c-base on wifi; lan cables are not plugged yet * the picture shows still load their pictures from the mfs share (''%%smb://mfs/mfs/kodi-sync/infoscreens/...%%''); local copies are on every pi in ''/home/kodi/Bilder/infoscreens/'' * picture set with the 39c3 logo: 59 jpg, all 1080 px high, 25 of them portrait, on mfs in ''%%kodi-sync/infoscreens/39c3/%%'' * video on rpi3-17: ''/home/kodi/Videos/c-base_vids/c-base-loop-720p.mp4'' (h264, 1280x720, 25 fps, 40 min) * four of the five terminals are throttled to 600 mhz because of undervoltage (''throttled=0x50005''); rpi3-17 is fine. the power supply of the tower comes first, before any software change * old synchronizing tool from 2022 (''codis'' + ''pyramide.cfg'', talks to kodi json-rpc websocket on port 9090 of every terminal) is still on all five, but not running * backup of the kodi settings of all six pis: zet (project folder, ''backup-40c3'') details in german: [[projects:codi_project:howto]] ---- ==== alpha documentation notes: ==== {{:projects:image3.jpeg?500|}} ---- ====== codi-project (components) ====== ---- ==== codi terminal(s) (frontend) ==== {{:projects:codi-terminal-qr-big.png?600|}} (customized multios kodi client @ central mediadb) : device list @ "\\mfs\mfs\kodi-sync\codis-tribution-system\all-mac-codi-project-devices.txt" {{:projects:img_8770.png?500|}} {{:projects:img_8769.png?500|}} {{:projects:img_8772.png?500|}} ** custom codi terminal stations (logo identify) overview: ** * {{:projects:all-logo-devices.png?400|Unordered List Item}} ---- ==== codi @ rasberianOS (arm64) ==== * {{:projects:vendor_logo-c6_berry.png?300|Unordered List Item}} * {{:projects:img_9598.jpg?400|}} {{:projects:img_9599.jpg?400|}} {{:projects:img_9600.jpg?400|}} {{:projects:img_9601.jpg?400|}} * running@spacestation on many rpi3 + some rpi4 + some p400 + 2 rpi5: plain rasberian0s (without X) & kodi21 plain installed... '' //ws://10.0.0.152:9090/; # leuchtetisch win # ws://10.0.1.168:9090/; # libreelec zet # ws://10.0.1.171:9090/; # kodi20 zet # ws://10.0.1.170:9090/; # kodi20 zet ws://10.0.1.173:9090/; # brückenecke # ws://10.0.1.167:9090/; # nerdcouch # ws://10.0.1.176:9090/; # p400z ws://10.0.1.169:9090/; # scratecke # ws://10.0.0.69:9090/; # brückenecke # # UNTERDECK POC # ws://rpi3-12OS:9090/; ws://rpi3-17OS:9090/; ws://rpi3-19OS:9090/; # ws://10.0.0.75:9090/; # ws://rpi3-22OS:9090/; # ws://10.0.0.250:9090/; #wlan rpi3-22 # # ws://10.0.0.156:9090/; # # ws://10.0.1.176:9090/; # ws://10.0.1.168:9090/; # ws://10.0.0.197:9090/; # # ws://10.0.0.108:9090/; # # # ws://10.0.0.160:9090/; # # ws://10.0.0.181:9090/; # # # ws://10.0.0.245:9090/; # # ws://10.0.1.170:9090/; #brückenecke # # ws://10.0.1.178:9090/; # # ws://10.0.0.210:9090/; # # ws://10.0.0.251:9090/; # # ws://10.0.0.115:9090/; # ws://10.0.0.234:9090/; # ws://10.0.1.172:9090/; # // '' ---- ==== codi terminals @ rpi3: status & ops notes (2026-11) ==== working notes by zet (full howto + scripts: zet's codi-project folder). no passwords here. * full howto (german, all details, kept in sync with zet's project folder): [[projects:codi_project:howto]] * access: ssh as user ''kodi'' with the codi ssh key, only from inside the c-base lan (10.0.0.0/23) * checked terminals run debian 13 (trixie) + kodi 21.3 as ''kodi.service''; several share the image hostname ''rpi3-trixie'', so identify them by address / dns name * before touching a terminal: check model, screen resolution, network and ''vcgencmd get_throttled'' first, they differ more than the common image suggests ^ name ^ address ^ hardware / place ^ state 2026-11-16 ^ | rpi3-trixie | 10.0.1.166 (wlan) | pi 3b, monitor 1680x1050 | tuned, warm-up addon 1.0.2, render direct to plane, screensaver = nerdstatus stream + watchdog | | rpi3-23OS | 10.0.1.179 (lan) | pi 3b+, 1920x1080 | tuned, warm-up addon 1.0.2, screensaver = nerdstatus stream + watchdog, undervoltage | | rpi3-24 (dns rpi3-24OS = lan address) | 10.0.0.137 (wlan, dynamic), 10.0.1.180 (lan, only with cable) | pi 3b+, no screen connected on 2026-11-16 21:20 | tuned, warm-up addon 1.0.2, screensaver = nerdstatus stream + watchdog, wlan profile + wlan fix, undervoltage | | rpi3-20 (dns rpi3-20OS) | 10.0.1.175 (lan) + wlan | pi 3b+, samsung 24" 1920x1080 | tuned, warm-up addon 1.0.2, screensaver = nerdstatus stream, wlan fix, undervoltage | | rpi3-09 (dns rpi3-9OS) | 10.0.1.163 (wlan) | pi 3b, bigscreen mainhall (hisense 65") | tuned, warm-up addon 1.0.2, wlan fix, c-base loop, fixed 1080p edid | | rpi3-piss (dns rpi3-13OS) | 10.0.1.168 (wlan) | pi 3b, samsung tv mainhall above the wc | tuned, warm-up addon 1.0.2, c-base loop | | rpi3-16 / rpi3-15 / rpi3-22 | wlan, dynamic | pi 3b+, debian 12 (older image) | only looked at, nothing changed, undervoltage | {{:projects:codi-rpi3-09-bigscreen-mainhall-20261116.jpg?300|rpi3-09 @ bigscreen mainhall}} {{:projects:codi-rpi3-09-bigscreen-nah-20261116.jpg?300|rpi3-09 @ bigscreen mainhall (hisense 65)}} {{:projects:codi-rpi3-piss-mainhall-20261116.jpg?300|rpi3-piss @ mainhall above the wc}} (photos 2026-11-16: rpi3-09 @ bigscreen mainhall, rpi3-piss above the wc, both playing the c-base loop) * 10.0.1.166 restarted hard on 2026-11-16 19:47 (power loss, undervoltage suspected; files copied just before were filled with zeros): run sync right after copying files to a pi === video screensaver === * addon ''screensaver.videosaver'' plays ''/home/kodi/Videos/c-base-loop-720p.mp4'' (or the nerdstatus stream, see infoscreen section) after 1-3 min idle * bug "first screensaver start after a kodi start stays black": with render method "direct to plane" the video plane gets the size 0x0 if the first playback after a kodi start is a windowed one (the screensaver plays windowed). kodi reports "playing" as usual * fix A (preferred): addon ''service.codi.warmup'' plays the local loop ~3 s fullscreen at every kodi start, after that the plane is right. install without root: copy the folder to ''~/.kodi/addons/'', send builtin ''UpdateLocalAddons'', enable via json-rpc ''Addons.SetAddonEnabled'' * fix B: prime render method EGL. works too but costs frame rate (~20 fps at 1680x1050, only 14 at 1920x1080) * warm-up addon versions: 1.0.1 uses the local loop if the screensaver is a stream (.strm / url); 1.0.2 always stops the playback it started itself (1.0.0 left a stream running fullscreen). since 2026-11-16 fix B is switched back everywhere, all set up terminals use fix A * check from remote (root): the ''crtc-pos'' of the video plane must show the screen size, not ''0x0+0+0'': sudo sh -c 'cat /sys/kernel/debug/dri/*/state' | awk '/^plane\[86\]/{f=1} /^plane\[98\]/{f=0} f&&/crtc-pos/' === scripts === copy to the pi, run with ''sudo bash