Skip to main content

Posts

Using ESPEasy with Home Assistant via MQTT

Preface: I've just started playing around with Home Assistant on a Raspberry Pi and exploring the world of MQTT to control devices on the network. Learning curve is a bit steep but worth the effort as MQTT is very fast. The hardware and software tools I'm using are as follows: 2 x Sonoff relay units 2 x NodeMCU Boards ESPEasy firmware (must be version 121 or above as that contains the MQTT 'retain' flag option. Home Assistant software on Raspberry Pi2 MQTT Test Software: PC: MQTT.fx Android: MQTT Dashboard

My views on using Trakt with Kodi

I've been a long time user of Kodi (+10yrs) and recently started exploring Trakt weighing up the pro's and cons as I look after a few Kodi Pi's for friends. I have an Intel NUC in my lounge and a Pi in another room but as I use a Synology NAS to serve up my library, I already had synced watched states. I must say, the learning curve for Trakt is pretty steep. I was a TV Technician by trade so I pick things up pretty quickly but I didn't find the Trakt website all that intuitive. Here is what I've found to be the pros and cons over the last eight weeks or so.

Windows 10 search doesn't show results from Settings or Control Panel

Run Lpksetup /u and uninstall any possible duplicate language you find there, restart Windows and wait a few minutes. Worked for me after scouring the Internet for hours. This also provided some users with relief but did not work for me. %LOCALAPPDATA%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState Right-click the Indexed folder → Properties → Advanced → Check Allow files in this folder to have indexed in addition to file properties . Click Apply and Exit. If it is already checked, uncheck it → apply → recheck it → apply and wait a few minutes for the folder to be reindexed. Reference machine was a Lenovo T400 with a clean install of Windows 10. Source :

How to rename photos using the date and time the photo was taken as the filename

So you have thousands of photos with random file names. What's the best way to sort them? Although it would be nice to have every photo contain the event name and the date is was taken, managing this is a nightmare. Also, to make the photos cross-platform compatible, the photos should ideally be in folders. To have them sort chronologically, the photos name should start with the year it was taken, then the month, day, hour, minute and second. That makes Kodi very happy as having too many photos in one folder will freeze things up. Other programs like iPhoto don't really care about the folder structure and file name anyway as photos can be sorted using the EXIF data embedded in each photo.

How to enable a GPIO IR Receiver on LibreELEC 7.x.x

Getting this to work is actually pretty easy now. Login to your Pi using SSH and perform the following commands in order. mount -o remount,rw /flash nano /flash/config.txt On the last line, paste in the following text device_tree_overlay=lirc-rpi CTRL + X to exit and choose 'Y' save. mount -o remount,ro /flash reboot (Or you could remove the MicroSD card and edit the config.txt in Windows).

Preserving 'Watched State' when re-organising your Kodi Library

I have lots of friends with various Kodi devices (NUC, Pi, Zbox etc.) and most with Synology NAS boxes but unfortunately, many also with media libraries that are a mess. Asked to get a house with three Kodi devices onto one central Synology based database, I wanted a way to export the media library preserving the watched state and another way to organise the media into separate folders.

Can't ping Kodi after being plugged into a wired network

Had this recently. Connected my Kodi 16 Raspberry Pi to a wired network once to download some updates then after unplugging, could not reach the Pi via Samba or SSH or even ping the device via wireless even though the device had an IP and it said it was connected.. Go to Programs > OpenELEC/LibreELEC Configuration and under Networks > Wired Networks, uncheck this button and reboot. That worked for me.