Automatic Fullscreen after 23 Seconds

 

Custom_FullscreenMusic.xml

cat .kodi/userdata/addon_data/skin.titan.kryptonbeta/settings.xml |grep -i "fullscreen"


: <.setting id=”FullscreenMusic” type=”bool”>true

Advertisements

OSX & Samba… hate-it! but…

there’s a little workaround…

The Situation: all my music is stored on a Openelec Mediasystem and when i want to edit the ID3Tag or copy to my Phone, i always have to use the samba share on OE… it always would take “hours” to navigate through directory, ’cause every folder takes like 5mins to load, except you now, rather expect, what is inside.

i started organizing my music though iTunes, meaning ./Artist/Album/[Number] [NAME].mp3

so, i press “apple+shift+g” to navigate to a folder and when inside the musicfolder, enter the artistname, and then the folder appears; the best, it’s case insensitive…. following inside the artistfolder “apple+shift+g” to navigate to the album, or the “Unknown Album” folder and so on.

LibreELEC, OpenELEC experience

After nearly a year after moving from OE to LE, i moved back. I Don’t really know, if there’s a real difference, except LE still uses lirc or if it’s just a newly built system.

i’m using

  • OE8.0.3(official)
  • Titan Beta Skin
  • 3X0DU5 ūüėČ
  • 3 Instances of Hyperion ESP01w/ws2812b and Arduinow/TM1829 and SPIw/ws2812b plus forwarder

OpenELEC (official) 8 LIRC dropped

You don’t need Lircmap.xml in your userdata or yout lirc.cfg anymore, but you need to create an other keytable via ir-keytable… have a look here

furthermore i had to change the config.txt via
mount -o remount,rw /flash && nano /flash/config.txt
from:

dtoverlay=lirc-rpi

to:

dtoverlay=gpio-ir

and change autostart

systemctl stop eventlircd.service
ir-keytable -a /storage/.config/rc_maps.cfg

where rc_maps.cfg consists of ” * * NAME” which is pointing to
“.config/rc_keymaps/NAME” which looks as follows:

# table NAME, type: NEC
0x813712 BTN_TRIGGER_HAPPY
0x813755 KEY_INFO
0x81370f KEY_UP #Up
0x81370b KEY_DOWN #Down
0x813728 KEY_RIGHT #right
0x813727 KEY_LEFT #left
0x81370a KEY_PLAY #play_pause
[…]
0x813759 KEY_MENU #menu

[SOURCE]

 

everything else, linke longpress feature works as in the old days with lircd. [SOURCE]

flickering hyperion

hyperion Wall Light in RPI b+ with Arduino-TM1829 anti flicker, strobe etc.

change service user (pi) to¬†lesser¬†restricted user (root) cause libreelec/openelec/OSMC uses root privileged hyperion forwarder….
: $ sudo service hyperion status

hyperion.service – Hyperion Systemd service
Loaded: loaded (/etc/systemd/system/hyperion.service; enabled)

: $ sudo nano /etc/systemd/system/hyperion.service

change line 6:

User=pi

to:

User=root

: $ sudo systemctl daemon-reload
: $ sudo service hyperion restart

MQTT Raspbian error ‘Nicht gen?gend Hauptspeicher verf?gbar’

a little workaround: the message is wrong, it should mean, “can’t extract file, because i’m too stupid to see a gzipp format and use the proper ¬†command”

here’s the full message:

sudo cpan install Net::MQTT:Constants
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
 Database was generated on Mon, 13 Feb 2017 02:17:02 GMT
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
 Database was generated on Tue, 14 Feb 2017 12:17:02 GMT
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Net::MQTT::Constants'
Checksum for /root/.cpan/sources/authors/id/B/BE/BEANZ/Net-MQTT-1.163170.tar.gz ok
Uncompressed /root/.cpan/sources/authors/id/B/BE/BEANZ/Net-MQTT-1.163170.tar.gz successfully
Using Tar:/bin/tar xf "Net-MQTT-1.163170.tar":
Couldn't untar Net-MQTT-1.163170.tar: 'Nicht gen?gend Hauptspeicher verf?gbar' <--wrong Error!
'YAML' not installed, will not store persistent state
 BEANZ/Net-MQTT-1.163170.tar.gz
 Had problems unarchiving. Please build manually
  • i switched to root via
     sudo -s
  • went to
    /root/.cpan/sources/authors/id/B/BE/BEANZ/
  • did a
    tar xzf Net-MQTT-1.163170.tar.gz
  • then again forcing cpan again:
    cpan install Net::MQTT:Constants

worked! s0n1c3!

NFS on MAC OSX 10.11.6 El Capitan

slowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowslowetc…not!

use NFS Manager to mount your NFS shares. To get the correct options, login to your NFS via ssh and execute:

cat /etc/exports

should look somethin like

/home           *.galaxis.de(rw,no_subtree_check,insecure)
/usr/share      *.galaxis.de(ro,all_squash)
/nfs/Data *(rw,all_squash,sync,insecure,anonuid=65534,anongid=65534)

i also use nolocks and noatime.

Past: 5.6MB/s Now: 13.2MB/s

grant fhem root privileges on libreelec via ssh

on libreelec machine:

login via password is libreelec (or openelec)
ssh root@”hostname”
create ssh Directory:

mkdir .ssh

on fhem machine:

allow fhem user login via:

sudo nano /etc/passwd

change Path “/false” to “/bash” (exit nano via “ctrl+x” and confirm changes)

fhem:x:999:20::/opt/fhem:/bin/false
fhem:x:999:20::/opt/fhem:/bin/bash

generate password for user fhem via:

sudo passwd fhem

log in user fhem:

su fhem

generate ssh keys:

ssh-keygen -t rsa -b 4096

copy keys to libreelec:

ssh-copy-id -i /opt/fhem/.ssh/id_rsa.pub root@kodi

test connection (still logged in as fhem user):

ssh root@kodi && exit

exit fhem user session:

exit

disable fhem user login:

change Path “/bash” to “/false” (exit nano via “ctrl+x” and confirm changes)

fhem:x:999:20::/opt/fhem:/bin/bash
fhem:x:999:20::/opt/fhem:/bin/false

delete password for user fhem via:

sudo passwd -d fhem

SPf3EVO & HC05

I managed to get the HC05 Bluetooth Module (on a ZS-040 Adapterboard) working on my  Seriously Pro Racing F3 Evolution flight Controller.

i had to pull PIN34 on the HC05 to HIGH to get into “Full AT+Mode” change the UART Baudrate to 115200 via

at+uart=115200,0,0

Then connect

(HC05) RXD-T1 (SPf3 UART1)
(HC05) TXD-R1 (SPf3 UART1)
(HC05) VCC-5V (SPf3 5V RAIL)
(HC05) GND-GND (SPf3 GND RAIL)

finally go into Cleanflight, Port tab and activate MSP on Port1 with 115200

Full AT+COMMAND List for HC05

[Sources: http://blog.dronetrest.com & http://www.martyncurrey.com]