((.venv) ) soundcork@pi3:~/soundcork/soundcork $ fastapi run main.py
FastAPI Starting production server 🚀
Searching for package file structure from directories with __init__.py files
2026-05-07 22:42:18,863 [soundcork.datastore] INFO: Initiating Datastore
2026-05-07 22:42:19,034 [soundcork.datastore] INFO: Initiating Datastore
2026-05-07 22:42:20,059 [soundcork.datastore] INFO: Initiating Datastore
Importing from /home/soundcork/soundcork
module 📁 soundcork
├── 🐍 __init__.py
└── 🐍 main.py
code Importing the FastAPI app object from the module with the following code:
from soundcork.main import app
app Using import string: soundcork.main:app
server Server started at http://0.0.0.0:8000
server Documentation at http://0.0.0.0:8000/docs
Logs:
INFO Started server process [67449]
2026-05-07 22:42:25,142 [uvicorn.error] INFO: Started server process [67449]
INFO Waiting for application startup.
2026-05-07 22:42:25,146 [uvicorn.error] INFO: Waiting for application startup.
INFO Application startup complete.
2026-05-07 22:42:25,150 [uvicorn.error] INFO: Application startup complete.
INFO Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2026-05-07 22:42:25,156 [uvicorn.error] INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO 192.168.178.48:61900 - "GET /docs HTTP/1.1" 200
INFO 192.168.178.48:61900 - "GET /openapi.json HTTP/1.1" 200
INFO 192.168.178.48:61903 - "GET / HTTP/1.1" 500
ERROR Exception in ASGI application
Traceback (most recent call last):
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 1002, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/soundcork/soundcork/soundcork/main.py", line 142, in read_root
for speaker in speakers.all_devices().values():
^^^^^^^^^^^^^^^^^^^^^^
File "/home/soundcork/soundcork/soundcork/ui/speakers.py", line 85, in all_devices
account_ids = self._datastore.list_accounts()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/soundcork/soundcork/soundcork/datastore.py", line 651, in list_accounts
for account_id in next(walk(self.data_dir))[1]:
^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 421, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 56, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1159, in __call__
await super().__call__(scope, receive, send)
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/starlette/applications.py", line 90, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/home/soundcork/soundcork/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 88, in __call__
await self.app(scope, receive, send)...
define UI FHEMWEB 8083 global
define allowedUI allowed
attr allowedUI validFor UI
attr allowedUI allowedCommands ,
define dummy Dummy
@@ -769,6 +769,10 @@
FULLY_ExecuteNB ($hash, ['deviceInfo'], undef, 1);
RemoveInternalTimer ($hash, 'FULLY_UpdateDeviceInfo');
my $interval = AttrVal ($hash->{NAME}, 'pollInterval', $hash->{fully}{interval} // $FULLY_POLL_INTERVAL);
+ if( $interval == 0 ) {
+ $hash->{nextUpdate} = 'off';
+ return;
+ }
$interval = maxNum($FULLY_POLL_RANGE[0],minNum($interval,$FULLY_POLL_RANGE[1]));
# FULLY_Log ($hash, 2, 'Polling activated') if exists $hash->{nextUpdate} && $hash->{nextUpdate} eq 'off';
$hash->{nextUpdate} = strftime "%d.%m.%Y %H:%M:%S", localtime (time+$interval);Zitat von: DerD am 06 Mai 2026, 09:03:04So ganz habe ich das nicht kapiert was du damit sagst. War das eine manuelle Anpassung der Streamdaten oder der Auswerteparameter?Das war eine manuelle Anpassung der Streamdaten, da bleibt nur eine Empfangsverbesserung.
ZitatDa wollte ich eh mal fragen warum es den überhaupt gibt. Die Parameter sind nämlich auch etwas seltsam, short low fast so lang wie long high.Die id 218.1 gibts damit auch diese MU Nachrichten mit den seltsamen Pulszeiten erkannt werden.
CW000D,022D,0307,04D3,0591,063D,0704,0832,0D21,0E6B,0FF6,1057,1143,1200,1323,14B9,1531,1700,1818,1914,1B07,1C00,1D90,23E9,242A,2500,2611,3D00,3E00,4045,4162,4249,436E,4473,4574,4661,4774Zitat von: JoWiemann am 13 Mai 2025, 08:43:11Hallo Sailor,
ich möchte mal einen von vielen Artikeln zu Thema KI, OpenSource und Rechte verlinken: https://ki-kanzlei.de/probleme-bei-ki-programmierung
Da wir unter GPL veröffentlichen und man davon ausgehen kann, das die LLM auch durch Fhem Sourcen trainiert worden sind, würde ich sagen, der erzeugte Code ist auch unter die GPL zu stellen und kann nicht mit einer anderen Lizenz versehen werden.
Grüße Jörg