2021-01-04, 17:31
(2020-12-08, 11:11)noggin Wrote:Thanks Noggin, I left this thread for a while of relatively good behaviour from Kodi, but it's "worn out" again and so I had to rebuild it.(2020-12-07, 20:23)ChrisKlondike Wrote:(2020-12-07, 19:08)noggin Wrote: A Pi is absolutely fine as a standalone single and dual tuner TV Headend server if correctly set-up. If you also want to run Kodi on it - then a Pi 4B+ properly set-up should also be fine if you aren't hammering it, recording everything to the internal SD card etc.Thanks again. Yes, I'm running those things. I disabled the "Switch to Kodi when it wakes up" entry in the UI already but this happens anyway when it reboots.
Personally I'd be fine with my Pi 4B as a combined TV Headend+Kodi solution for non-intensive use cases (travel etc.) but I'd alway recommend separating the TV Headend backend from the front-end. (Even 2 Raspberry Pis for instance)
The Pi 4B with a Pi Foundation TV Hat is a really neat solution as a single tuner TV Headend back-end server for instance.
My guess is that your TV is coming on because for some reason your Kodi PVR client is losing connection with your TV Headend server (running on the same board at local host 127.0.0.1) and that's triggering a 'Connection Lost' warning (these can be turned off). That connection lost warning is causing your Kodi to come out of screen standby and trigger the TV to come on via CEC. Disabling Connection Lost warnings - which is Settings option for TV / Live TV - will stop that - though I don't know why it would lose connection.
I take it you're running LibreElec with the TV Headend Service Add-on and the TV Headend PVR Client ?
Anyway, I'm not upgrading hardware. Next time it sh*ts on me, I'll install something other than TVH.
So you have disabled the CEC entry to switch back to the Pi when the Pi comes out of screen saver mode - but your Pi is rebooting (which it shouldn't). The reboot will assert a CEC switch-over as standard I think - so that UI entry can't change that behaviour.
The question is why your Pi is rebooting - that's not normal. Most spontaneous reboots are usually caused by power issues.
1. Are you using an official Raspberry Pi foundation PSU - most of the recent Pi models need more current than most basic third part USB PSUs will supply (particularly phone chargers)
2. Are you using an external hard drive for storage - and is that powered separately (either as a mains powered solution or via a powered USB hub if the drive is bus-powered)
I am using a 2amp power supply though it is not the Raspberry Pi model, and a beefy cable to the Pi.
I am using a powered USB hub, which powers the tuner dongle and the HDD.
Logs never show anything about why any reboot happened.