Posts by frownbreaker

    Hi there I've a few Rasberry Pis running LE all fine.

    Sometimes one of the Pis with a SAT tuner can lock up.

    I have an Orange Pi with Armbian that I use for stuff like node-red for home automation

    I can set up Alexa to so I can say Alexa turn on Tuner and that will kick of a process in Node Red

    What I want to do is link a task in node red to restart the LE instance ideally I'd like to call a static URL eg REBOOT

    I could ssh to the box using keypairs / sshpass etc but I thought a URL if it existed or could be added would be better.

    What I'd like is the ability to restart any of the RP so I can just say Alexa turn on X where X is the name of one of the units.

    Like I explained I can can invoke a script from node red if needed but a URL on other protocol with no remote dependencies and ideally no local dependencies (like SSHPASS) would be good.

    +One. there seems to be a lack of disambiguation between

    1) Adding Kodi "Skills" to an existing Alexa instance
    2) Creating an Alexa instance using a Rasberry Pi + USB Mic + Linux distro (e.g. Pixel)

    I think the latter sometimes called "homebrew" is mistaken for the former. Is there a recommended existing thread for item 2 above?
    As suggested I did search for both the github location URL and "AlexaPi" neither yielded results beyond this post.

    EPG data is broadcast on transponders / freq pair. You need to find the location of your EPG data for these channels. I use TVH not VDR

    For example Channel 4 HD one of the new TP's on the Astra 1N satellite recently launched.
    http://nl.kingofsat.net/find.php?quest…&Submit=Zap

    Note: When scanning the TP (11127V; DVB-S2, 8PSK, 22K 2/3), you will get back the service name "21200".
    Maybe this is why the EPG didn't get picked up for me. I think I changed the service name with the DB Bouquet Editor and then it worked for a while.

    There should be EPG data on Astra for most channels this is not the case on other Sats. Sorry I could not provide mode info.

    Great little tuner good picture quality. Nice HD recordings no encryption. This is ideal for FreeView. For FreeSAT the Gianatech HD Star unit (around £34) will co-exist with a DVB-T / DVB-T2 stick so you can mix Freeview and FreeSAT. If you have the Rev3 board in the HD Star (e.g a new unit made in 2015-2017 you need LE Beta 3 as this had the Rev3 support built in.
    [hr]

    Can you give us more information about it?

    Its a USB TV tuner so you can watch Live TV in Kodi the stick in question is a DVB-T2 which is what you need for FreeView HD in the UK.
    The server is called TVHeadend (part of LE) and the client is also part of LE both are turned OFF by default. There are also USB tuners for SAT.
    I've a range of these tuners running on LE on Rasberry Pi.

    I've assumed by "wireless remote" you mean RF not IR. Most of the RF remotes I have are 2.4gHz remotes all work fine with OE beta3 and earlier. I find the BT ones are much more reliable than 2.4mHz ones better chipsets / less interference I suppose.

    Beyond new batteries, trying another USB socket etc, Disabling Wifi on the RP3 (just to see if its interference), trying another RF remote, Rolling back to a prior version of OE that you know works just to rule out hardware problems. I can't think of what might be wrong. I've seen some key not mapped in OE but these tend to be the unusual keys not basic stuff - that always seems to work. I'd take the batteries out of the remote and unplug the USB receiver, just to check your remote has not got stuck in mouse only mode - sorry if this does not apply to your model / type of RF remote.

    What model do you have? I've the cheap Apple TV remote and the mini keypad R7 units all working fine.

    Is it one like this

    Buy Products Online from China Wholesalers at Aliexpress.com

    or this

    Buy Products Online from China Wholesalers at Aliexpress.com

    or this

    Buy Products Online from China Wholesalers at Aliexpress.com

    Hi

    Quick Question about the recommend route for home automation / AV automation for LE? I realise the software has to be reduced to allow reliable playback etc so wanted to know how best to integrate LE with remote control for powered devices (e.g. AV Amps, powered speakers etc) I have several devices to power up / down ideally directly or indirectly from LE (eg. socket call to a remote server 433mHz link etc)

    Background (Simpler working example)
    I've a Kodi (On Orange Pi) set up in the kitchen TV and a couple of speakers. I used a Belkin Wemo to turn the speakers on via 1) The keymap add on to 2) the Wemo Toggle add on 3) The Audio Profile add on to adjust volume for TV Vs the Studio Speakers. Its all working fine. Downside is the Wemo switch cost me £30!

    Project (More complex as there are more devices)
    I want to use this kind of automation in the AV room the set up there is similar, just a more kit. I've already got the 7.1 speakers, TV, AMP running off 433mHz controlled sockets 9 in total. Rather than pay for >10 Wemos. The setup uses active studio monitor speakers and a sub so thats 9 speakers, the TV and the AMP. I want to use the 433Mhz transmitters that link up via the GPIO pins of the Rasberry Pi. I'm using LibreELEC (Krypton) v7.95.3 BETA as this now has support for the Rev3 HD Star Tuner so I'd like to stick with this version as the RP2 in the AV room is working well with that.

    I want to do the same with the LibreELEC (Krypton) v7.95.3 BETA running in the Gym to power up the AMP / TV in there and optionally the running machine again that's setup with 433Mhz controller.

    Option 1 (all the software and hardware on the RP2 running LibreElec)
    The most direct way to get this working would be to use 1) LIRC 2) wiringPi 3) rcswitch-pi all installed on Kodi as Kodi is running as root this should all be ok. (Refer to this guide Raspberry Pi • View topic - Controlling 433MHz RF outlets with Android devices )

    Option 2 (Put the remote control stuff on a separate unit and get Kodi to signal the second box not sure the best way to do this TCP / Web page request?)
    Of course its not possible I could slap the controller onto a Orange Pi and use Diet Pi on that just to operate the radio unit or Arduino and then get the RP to call the remote server.

    I'm also happy to use the Fauxdunio type control where a seperate linux box is used to manage Amazon Echo to controll the 433Nhz model rather than the raw relays in this example Turn ESP8266 wifi module into fake WeMo switch for Amazon Echo - Melbourne Makerspace

    I get that LibreElec is a specialised distro so we can't have lots of software added etc. However this is lightweight in terms of CPU / Memory it might be possible to do option 1? Any pointers from anyone who has done this type of thing before is welcome as well as advice from the LibreElec sages.


    yes it includes dw2102: Combine SU3000 (and OEM) support

    Hi CvH thanks for all the work. The links you provided for the the RP2/RP3 files are stale which is to be expected as its a test version from months ago. I grabbed the LE 8 Beta 3 which has the code from your test and this seems to work fine with the HD Star V3 PCB. I'm still waiting for the tuning to complete / map services but I could watch SD TV fine. HD had some buffering but its on a low spec box (Rasberry Model B) that is still tuning in new channels in background

    Thanks Again

    Seth.

    Hi I was thinking about an add-on for Librelec to add RSS feeds Comparison of BitTorrent clients - Wikipedia to transmission I've set up a some RSS feeds for my mum and dad to push content to them video and audio e.g. recipes and Libravox audtio books taken from Archive Torrents : Free Audio : Download & Streaming : Internet Archive

    I have read the Transmission team do not want to include RSS in their project. Some folk in the Librelec community have suggested containers to add this kind of add-on, however on low end hardware such as the single board computers a native approach may have some merit. Additionally there is an misconception that all RSS feed using bittorrent are not legal. I have this script set up and working in a minimal ARM based distro (DietPi on Orange Pi One) I understand that all the code is Open source (GPL) GitHub - lupus78/feedtransmission: feedtransmission is a python script to read RSS/Atom feeds of torrents and add them to Transmission to download as are the 2 packages


    I've had a quick scan of the Wiki for developing script and video add ons (I think this would be the former) from a GUI standpoint a single page with the following setting would be fine

    Transmission settings (Optional would default to localhost no auth)
    IP of Transmission server, Port, Username, Password - These values if present would be passed as arguments to the feedtransmission script via a crontab entry

    Poll Frequency (Optional)
    Integer in the range 5-60 to allow poll interval in crontab to be set, defaults to 15minutes

    Delete Local Items file (Optional)
    The script logs items that have been processed in a local text file to prevent duplicate downloads. This button would delete the local file if present used for testing

    I realise some changes will be needed to port this to an add-on

    1) Include the the Python script and packages in the add-on. I think the script will just be part of the ZIP file that is the add-on though I'm unclear on how / if the packages can / should be included
    2) XML file for the GUI should be part of the ZIP I've read the setting examples on the getting started page of the Video add-on Wiki assume the same is true for a script add-on?
    3) The script logs processed RSS entries to a local text file need guidance on what I should use as the default directory for the add-on to store data. I understand there is an add-on local storage area

    Any guidance advice would be welcome. I've not written an add-on before but from what I've read to complete this work I will need to develop some Python scripts and add the items into an add-on

    Specific questions

    1) From a licensing standpoint if all the code contributed is GPL would that be Ok?
    2) What is the best practice to add / edit crontab from Python in a Libreelect Environment?
    3) What is the best practice to delete add-on specific local files from Python in a Libreelect Environment?
    4) What is the best practice to include Python packages in an add-on in a Libreelect Environment?
    5) What is the best practice to support cross platform support in an add-on in a Libreelect Environment (e.g I'm developing on ARM so my file separator would be / etc)?
    6) Does this seem like a viable approach for an add-on to add this type of functionality: Librelelec script add-on or would a program or service add-on be better?

    Hi soder thanks for the reply. I did look at the repo that thoradia mentioned there is a lot of good stuff on there: I installed Headphone and that's working really well. Never heard of some of the items in the repo I'm going to try some more today!

    The add ons mensioned in the Orginal Post were GitHub - nning/transmission-rss: Adds torrents from rss feeds to transmission web frontend. (Python) this is the one I tried to install, it needs a couple of packages and I could not install the first packaige it needed: TransmissionRPC. I downloaded the gzip of the package unzipped and ran the command to install the package and it gave me the error. I'm assuming that I have to install the 2 packages it needs before installing TransmissionRSS? TV Torrent RSS Downloader download | SourceForge.net is another one that as mension this is one of the 2 Java based tools to add RSS support to transmission.

    I'm after the something like this (first 2 are the most important)

    • Periodically check an RSS feed e.g. every 15 minutes and download any new items via transmision
    • Able to run on Raspberry Pi2 (LibreElec Millhouse build Bov15, Krypton Beta)
    • Opensource / lightweight / Simple to install ;)

    I wanted to use transmission with an addon for RSS feeds. I've a private RSS feed that works fine on my PC but I'm migrating my always on set up to Rasberry Pi
    I've transmission running an a RPi and this works really well.

    I've looked at the addon for RSS support for transmission and thought I might install one on Libre Elec (Millhouse build Bov15, Krypton Beta)
    This thread seems to cover many options Feed Transmission via RSS - Transmission

    Such as GitHub - lupus78/feedtransmission: feedtransmission is a python script to read RSS/Atom feeds of torrents and add them to Transmission to download (This needs two Python packages:


    I download transmissionrpc-0.11.tar.gz from GitHub - lupus78/feedtransmission: feedtransmission is a python script to read RSS/Atom feeds of torrents and add them to Transmission to download and I tried to install it but got errors


    On inspection the issue might the version on Python

    Pi2:~ # python -V
    Python 2.7.11


    There are ruby clients as well GitHub - nning/transmission-rss: Adds torrents from rss feeds to transmission web frontend. and others mensioned in this post Feed Transmission via RSS - Transmission

    Which is the simplest option to install RSS capabilities to Transmission? I'd like to get my showRSS feed working in Tranmission running on LibreElec.

    Any help guidance appreciated :)


    There is another way to make it work with new builds.
    SSH int libreelec then execute:

    Enable/Disable addon or. just restart LibreElec.

    I set up transmission for the first time on the Millhouse (Oct 31) build of LibreElect (Krypton Beta) using the instructions above. All working fine
    I wanted to set up transmission on another Raspberry Pi also running LibreElect (Krypton Beta)
    However when I install, stop the service, create the directory and restart, there is no web interface on port 9091
    I compared the output of ps on both RasPi (there are the same spec RP2s both on the same wired ethernet network) and there is no transmission daemon running on the second box even though the addon manger says the Transition Services is installed and enabled.
    Invoking the damon from the command line (I used the output of PS on the first Pi where its all working fine)

    Pi2:~ # transmission-daemon -f -w /storage/downloads --incomplete
    transmission-daemon: error while loading shared libraries: libcrypto.so.35: cannot open shared object file: No such file or directory
    Pi2:~ # find / | grep librtmp.so.0
    /usr/lib/librtmp.so.0

    I'm not sure why the service is not working, but I think the installation is not working, its an OpenElec stock installed, updated using a tarball to the Krypton Beta and I'm using the Millhouse build Nov15

    Pi2:~ # uname -or
    4.8.7 GNU/Linux
    Pi2:~ # lsb_release -irc
    LibreELEC (Milhouse) - Version: devel-20161115022155-#1114-g055384b [Build #1114]

    The unit that will not successfully install Transmission is a TV Headend server (USB DVB2 Tuner) but that's the only difference in terms of what's installed. The other unit with transmission working is a TVSP client for the TV Headend server.

    Found this post Torrenting on LibreELEC 7.0.2 with RPi3 : libreELEC I was missing this last commend after the mkdir command

    cp /usr/lib/libcrypto.so.37.0.0 /storage/.kodi/addons/service.downloadmanager.transmission/lib/libcrypto.so.35

    A couple of errors (Forbidden 403) etc but a restart and it all seems fine!

    Thanks for posting the code and your fix I've reused the code you posted. Thanks!

    I have a device that pairs via bluetooth and the BT connection survives a reboot. Though if a another device connects to the BT audio adaptor the adaptor will reconnect to that.
    After some testing the BT Audio adaptor seems to remember the last 2 connected BT devices and searches for these in order of last connection.
    If a third device connects then the BT address used that was not used for the longest time is forgotten.

    I looked at your script and the connect can be run without checking if the Audio Profile is in mode 1 or 2 you can unconditionally invoke the BT connect as if the device is already connected the command has no effect: All you need is the line call('echo -e "connect ##YOUR-BT-MAC##\nexit" | bluetoothctl', shell=True)

    The code you have to switch audio profiles uses the zero parameter this toggles the audio profile (so if its 1 it becomes 2 and if its 2 it becomes 1) not sure why you want to flip the status on boot?

    I have a set up where 1 is the TV speakers and 2 is the BT so on boot I use the parameter 1 to force the sound out of the TV when the device boots: xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)')

    My thinking for keeping the pair and the connect in the start up is that should the pairing be lost I can press the pair button on the BT Audio adaptor and then reboot the RasPi the start script will repair and reconnect.

    Code
    import xbmc
    import os
    xbmc.executebuiltin('XBMC.RunScript(script.audio.profiles,1)')
    call('echo -e "pair xx:xx:xx:xx:xx:xx\nexit" | bluetoothctl', shell=True)
    call('echo -e "connect xx:xx:xx:xx:xx:xx\nexit" | bluetoothctl', shell=True)

    Hi there, I was looking at using Pulse audio to stream to a pair of active speakers connected to a low cost Pi device over Wifi.
    Did you ever get your setup working?

    I noticed a recent update in the Wiki that showcases a number of use cases. The text looks really well written with examples, perhaps some of what you want to do is covered?

    Pulseaudio - LibreELEC

    Regarding your ask for FPU perhaps installing htop might be an option? Using htop to monitor system processes on the Raspberry Pi | Tafkas' Blog

    GuruCoding.com - Raspberry Pi (Wheezy) Cross-Compiler Guide - The Difference Between HardFP and SoftFP Notes how the generic builds tend to avoud Hardware FP and opt for Software FP. As this post shows adding hardware support is an option Floating point performance of the Raspberry Pi – darrenjw's blog but you noted very low CPU usage so I think your assumption is correct that LE is using Hardware FP.

    I'm new to LibreElec just migrated all 4 of my home installation from OpenElec to the Bleeding Edge Millhouse LE. I have TV headend servers and clients and lots of other add on all working fine after the upgrade. Even the old Ras Pi B (Model 1) seems to fly with the Millhouse build. Saw your post had no replies and as I was thinking of using Pulse audio thought I'd reach out to you.

    I wanted to use a set up like this - to avoid cables :) wifi - Using Pi to stream all audio output from my pc to my stereo - Raspberry Pi Stack Exchange