My logs (this evening, but radio not crash this time ...) :
Don't think you will get much help without errors in your logs..try to replicate the issue..
My logs (this evening, but radio not crash this time ...) :
Don't think you will get much help without errors in your logs..try to replicate the issue..
My script for a GPIO power-on LED doesn't work reliable on LE's autostart.sh (LED goes on and off randomly). It does work stable on RPi OS as an /etc/init.d script. Maybe it's a GPIO lib problem.
Da Flex Are you on LE12? RE: Raspberry Pi Tools - GPIOZERO - LE12 Issues
https://paste.libreelec.tv/positive-cockatoo.log
Obex service is showing some errors..more errors on debug log..
Agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "AuthorizePush" with signature "o" on interface "org.bluez.obex.Agent1" doesn't exist
obex.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/obex.service; disabled; preset: disabled)
Active: active (running) since Tue 2024-02-06 18:15:01 UTC; 9min ago
Process: 643 ExecStartPre=/bin/sh -c mkdir -p $OBEXD_ROOT (code=exited, status=0/SUCCESS)
Main PID: 652 (obexd)
Tasks: 1 (limit: 4166)
CPU: 16ms
CGroup: /system.slice/obex.service
└─652 /usr/lib/bluetooth/obexd -r /storage/downloads/
Feb 06 18:16:48 LibreELEC obexd[652]: DISCONNECT(0x1), Success(0x20)
Feb 06 18:16:48 LibreELEC obexd[652]: disconnected: Transport got disconnected
Feb 06 18:17:28 LibreELEC obexd[652]: CONNECT(0x0), <unknown>(0xff)
Feb 06 18:17:28 LibreELEC obexd[652]: CONNECT(0x0), <unknown>(0x0)
Feb 06 18:17:28 LibreELEC obexd[652]: PUT(0x2), <unknown>(0xff)
Feb 06 18:17:28 LibreELEC obexd[652]: Agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "AuthorizePush" with signature "o" on interface "org.bluez.obex.Agent1" doesn't exist
Feb 06 18:17:28 LibreELEC obexd[652]: PUT(0x2), Forbidden(0x43)
Feb 06 18:17:28 LibreELEC obexd[652]: DISCONNECT(0x1), <unknown>(0xff)
Feb 06 18:17:28 LibreELEC obexd[652]: DISCONNECT(0x1), Success(0x20)
Feb 06 18:17:28 LibreELEC obexd[652]: disconnected: Transport got disconnected
Is Obex supposed to be working in Rpi5 as I can't get it to work..?
It 's enabled in LE settings and path to folder set up.
Also obex service is running with no errors..
Thanks,
Is that recommendation a "this might work" or "I've done that and I know it works"?
D.
It "should" work..just backup Rpi4 to a usb_drive..insert that in your RPi5 and restore..
"I've done that and I know it works"
As and when the RPi5 ships, I'd like to upgrade to that from my RPi4.
Is there a way I can transfer all the settings and media catalogs to the new system which will be running version 12?I don't really want to have to reconfigure everything that has been done to the old RPi4 based system (if I could even remember what was done - I've had it for some years now).
Thanks, David
Take a backup fromRpi4 and restore on the RPi5 and wish for the best..
Just in case someone is having trouble updating from older versions of syncthing from UI..mainly on older installs like LE 9.0.x
Altough the addon available on LE 9 only got an older version of Syncthing 1.4.2 you can update to 1.27.2 from UI altough after update Syncthing won't work..
quick fix,edit :
/storage/.kodi/addons/service.system.syncthing/bin/syncthing-service
line 9 from
STNODEFAULTFOLDER="y" syncthing -home=$ADDON_HOME \
to
STNODEFAULTFOLDER="1" syncthing -home=$ADDON_HOME \
Great thanks..working fine..
Updated to support both LibreELEC 9 and 10
any clue if you will be updating this addon to work with LE11 and LE12?
Thanks
Display MoreHi,
Pretty new to LibreElec, moved to a Raspberry Pi 5 recently to solve a very specific audio issue and it's working wonderfully.
On previous hardware/kodi installs the device would power on & off with the TV via CEC.
From my reading here that's not possible(to power on at least) with the Pi, it needs to remain on? Which is fine, but as I run a shared network database between multiple devices locally - what I'd like to happen is when the tv powers up, to run the ReloadSkin() function so that any database updates & recently added files are reflected, which would usually happen when a deviced boots up along with the TV.
Does anyone know is such a thing possible?
Appreciate any info/pointers, before looking to external automation solutions.
Thanks
You will have to create some script yourself listening for power status and running skin refresh...it's possible but you probably won't find anything ready..
To give you some ideas about how you check for cec power status
cec-ctl --device 0 -S | grep 'Power Status'
and to refresh skin
kodi-send --action="ReloadSkin()"
That looks complicated. Maybe I'll just stick to the cheap remote for now. Reading that thread it says kodi does not recognise the OK key and expects the enter key. That would seem like an odd omission in kodi not to responding to the OK key on a remote, rather than just treat it as the enter key by default.
The OK button works if I turn on the Air Mouse Function via a button on said remote, and stops when I turn Air mouse off via the same button. Therefore I am not fully convinced the remote is actually sending anything when I turn the Air Mouse off which would explain why I could not get the keymap editor to remap it.
Can anyone recommend a high quality 2.4G remote with dongle, with a keyboard on the rear ?
All you need to do is in post #9..shouldn't take more then 15 minutes...you have a good explanation there..
First thing I tried was the keymap editor but I still could not get it to respond to the OK button and map it to the Enter key. I will try again when I have a bit more time and hook up a regular mouse to give me mouse control as I am wrestling with the remote and the air mouse function.
Here
and here is how you do it post #9
Good catch..well done and I could never think of that..tryed lots of options which didn't work.
In the meantime I got myself a little xmas present a RPi 5 4gb which happens to have a fan pwm output and button builtin which where the 2 items I was using gpio pins for but nevertheless I will test your workoround and hopefully this post will help others till a fix comes out.
Hard to say as you didn't post your addon/script but it could be that you may be experiencing this issue https://github.com/LibreELEC/LibreELEC.tv/issues/8447 (which isn't directly related to rpi-tools/gpiozero)
so long,
Hias
Well here is one of the gpiozero scripts I m running perfectly on LE 11.0.4 It might not be perfect and I m not a coder by anyway but it just works..
https://paste.libreelec.tv/deep-rhino.log
Not a debug log but shows lots of gpio errors....fan script is in this instance ran from a script addon but same errors if ran from system.d or autostart
Look at my experience here: RE: LE 12 Nightly - RPI tools add-on issue
Looks like exactly same issue I'm having...I just got some gpiozero scripts running...fan,leds,buttons etc..any idea what's the way forward...I'm back on LE11 for now till I get a better understanding of what s going on...you don't seem you found any solutions on that thread either?
Thanks for your reply..
Now that you replyed I m testing further and it looks like the issue is something else...
Both my scripts are working on latest LE12 and rpitools 11.80.3.1..issue is they r not starting anymore neither from their system.d service I always used and even from autostart..They do start from ssh and work normally..
Is there any known issue with Raspberry Pi Tools on LE12 and gpiozero libraries...
Last working version of Raspberry Pi Tools is 11.80.3.0 and only works until LibreELEC-RPi2.arm-12.0-nightly-20231116-19d37e2.img.gz (sha256)
If you update LE to following LE12 versions it won't work...tryed all of the 7 following nightlies till today..
Following version 11.80.3.1 won't start any of my gpiozero scripts..system.d service keeps restarting.