Monday, 23 September 2024

HDMI Clearout

I recently purchased a 4x4 HDMI extender Matrix to distribute video signals around the house. (blog post to follow0. This consolidates a number of discrete devises I'd previously used and tested for this task. In retiring some of them, I took inventory of all the HDMI switches, splitters and distributors I have, and it turned out to be quite a collection, some of which were languishing totally unused.

I've listed a lot of them for sale on a reputable local classifieds site if anyone is interested. (likely best suit people in EU as otherwise import duties will apply).



Friday, 20 September 2024

Updates to announcing Reolink doorbells on Alexa

A while back, I wrote a post on how I build a Node-Red flow to allow me ask specific echo devices to announce visitors pressing my ReoLink doorbell. This worked great, but there were a couple of shortcomings; 
 
  • The list of registered devices would last only as long as Node-Red was active. If I needed to restart the Node-Red docker for any reason, I would also need to re-register announcement devices. 

  • The ONVIF node the flow relies on is a little flaky, and will occasionally just disappear from Node Red. 

I've added functionality to store the list of devices in a text file, so it persists between Node-Red restarts. I also added some notes on how to recover from the self-destructing ONVIF nodes, bring this all up to v1.1.1.


The device list saving is managed automatically as part of the voice registration process, but there's also a manual trigger that can be used in testing. If you use this, you might need to adjust the save and read file locations, particularly if you're not running Node-Red in a docker, like me.

The full flow is pasted below;

Wednesday, 7 August 2024

VirtualHere on piCorePlayer

This is niche...

I'm in the middle of building a DIY music streamer based around piCorePlayer on a Raspberry Pi with a HiFiBerry Digi+ Pro HAT. This will live in my main AV rack and output to my AV Processor.

I selected PiCorePlayer as I already run a Logitech Media Server (LMS) and have a few squeezebox devices, so that OS is a good fit for me.

I also have an Elgato StreamDeck that I purchased some time ago that I'd like to use in my Home Cinema. This device has a bunch of customisable buttons that I intend to configure with shortcuts for lighting, av system power etc. 

The issue I have is that the StreamDeck needs to be plugged in to a PC via USB for configuration and operation. I don't have a PC nearby, and would ideally like to manage it from a Virtual Windows machine, but that runs on my Unraid server in a different building.

It would be great to be able to use the Pi in my DIY streamer to somehow relay the StreamDeck to my VM.

I came across some VirtualHere software that appeared to do just that. This runs a 'server' on a computer that you can plug USB devices into, and a 'client; on a remote machine. The client can connect to the USB devices as if they were local. 

There is a linux/arm server for PIs available, and a Windows client. The problem is how to install it on PiCorePlayer, which is based on Tiny Core Linux (TCL), and while it supports extensions and the like, is fairly locked down, and ultimately runs in RAM with no persistent storage out of the box.

It took a while, but I finally came up with a somewhat bodged solution.....

Tuesday, 11 June 2024

Migrating Deprecated Unifi Docker on unRaid

I've been using LinuxServer's Unifi-Controller docker for a long time to manage my unifi devices. However, this has been deprecated and to keep up with new releases, there is a requirement to install a Mongo database docker and a newer Unifi docker. This sounded like a bit of a faff but I thought I'd give it a try before succumbing to a physical controller device. The process did not go well, and I couldn't seem to get the systems to work together.

However, in searching around for solutions, I saw there was a new 'all in one' option, the Unifi-Controller-Reborn docker from PeteAsking. (find it in the Apps tab). I gave it a whirl and was able to get my old setup running in a shiny new Docker. Along the way were a few learnings that I thought I'd log here for posterity.

Saturday, 4 November 2023

Announce ReoLink Doorbell on Echo Devices

I recently installed a Reolink POE Video Doorbell, and like it a lot. Its got great picture, doesn't require web connectivity, and integrates really well with my Unraid.html">Blue Iris set up
. The only issue I have is that notifications on my mobile are poor and often missed. The bundled chime works OK inside the house, but when I'm in my detached office, I can often miss visitors.


I thought it would be nice to have the doorbell ping my office Alexa when pressed. Of course, there's a skill for that, but as someone with a penchant for Node-Red automations and too much time on my hands, a project was born....

Thursday, 24 August 2023

Backing up unRAID to Stabelebit Drivepool using Kopia

Since I retired Mediaserver 8.1 and  Mediaserver 8.2 in favour of Mediaserver 8.3, I've had a spacious ThermalTake Core X9 case and AMD FX-8320 based motherboard sitting around. I also have a selection of hard drives ranging from 500GB to 4TB that are retired from my main unRAID system. I'd been hankering to turn all of this into a backup server and, in fact, had made a few attempts that never really made it past proof of concept. It was time to attack the project seriously....


Monday, 7 August 2023

Alexa Music Playback through Marantz / Denon Heos

Arising from a query on reddit, I revisited something I'd set up quite some time ago and forgotten all about: using Alexa to play music on my HT system. It works;


As can be seen, the processor is on CD input to start. When I ask it to play music, it switches to the HEOS input and plays. If the processor had been in standby, it would have been woken and switched to the correct input.

Also, only the music content plays through the speakers,, the Alexa responses come from the echo device itself.

Sunday, 30 July 2023

Set up Reolink Doorbell video with BlueIris


I recently purchased a Reolink Video Doorbell PoE on Amazon prime day to replace the Comfort intercom thats going on 20 years old. I selected this item over others as it supposedly integrates with BlueIris which I use for all my other surveillance cameras.

There's no distinct guide for setting this up that I could find, so here's what I did, for posterity.

Friday, 21 July 2023

Best Triple Monitor USB-C Dock I've used


I've bought my fair share of docks and peripherals over the years as I love multi-monitor work set ups. My main workstation comprised a client issued HP corporate laptop that I used with a couple of older Dell U3014 30" displays. This was nice, but I was itching to add a third display that I had lying around and found an adapter that works perfectly.

It's a 'Selore' branded USB C to Dual HDMI Adapter,7 in 1 USB C Docking Station to Dual HDMI Displayport VGA Adapter,USB C to 3USB 2.0, Multi Monitor Adapter. I'm sure there are plenty of versions and brands of this, but this one does the job.

It's got 2x HDMI outputs and a Display Port. I connected up my 3x 30" panels, et volia!


Unfortunately, this only works its magic with Windows as it seems to be able to mirror on Macs, but not span. For now, though, I'm happy with it and can multitask happily.

Wednesday, 19 July 2023

Building an UnRaid Home Server for Media Storage and Automation

Are you looking to create a versatile and efficient home server that can handle your media storage needs while seamlessly integrating with your home automation system? If so, building an unRaid home server might be the solution you've been searching for. In this post, we'll explore the benefits of unRaid and provide practical advice on building your own home server for media storage and automation.

I've been using unRaid for home storage and automation for about 10 years now, and have been blogging about it here for almost as long. A lot of my posts are quite specific, so I thought I'd try a high level guide for those starting out. Let me know what you think, or if there are other specific topics you'd like to see covered.

Tuesday, 7 March 2023

Tidal not playing through Squeezebox with LMS in Docker

Starting to rebuild my whole-house audio playback system based on LMS as Roon, while nice, is not as free as LMS. Plus, I can get my LMS to access and play not only local files and Tidal, but also Spotify, which is missing from Roon.

Anyway, in getting back into this, I came across a frustrating issue - I could not get Tidal to play on any client device.

There's a few posts out there on things to check, like Tidal plugin setup in mysqueezebox.com, use FLAC file format etc., but nothing worked for me.

I had a look in the LMS server log file and came across a bunch of these errors;

fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x563293263068)
[23-03-07 11:43:22.4710] Slim::Networking::IO::Select::__ANON__ (130) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Error in tempfile() using /config/cache/tmp/XXXXXXXXXX: Parent directory (/config/cache/tmp/) is not writable at /lms/Slim/Formats/FLAC.pm line 950.
I run my LMS as a docker in unRaid. When I checked my mapped paths in the docker, I see 'config' maps to my appdata/LogitechMediaServer/. Inside there, I used chmod via SSH to set permissions on the /cache/tmp/ directory and instantly the Tidal stream started right up.

Friday, 29 July 2022

Forcing HDR / Dolby Vision when not supported

 I came across VideoProcessor.org through a thread on AVSForums. From their own description, this sounded like something that might be of use for me to see how far I could push HDR on my venerable JVC X500 projector;

VideoProcessor turns a computer into a 4k HDR capable live video processor by connecting a video capture card to a renderer and taking care of details such as conversion, timing and HDR metadata.

This allows advanced renderers to do things like 3D LUT, HDR tone mapping, scaling, deinterlacing and much more which can significantly improve image quality on most displays and beamers.

It turned into quite the adventure, and when I finally got it working, I thought I'd write up the settings for posterity....

Monday, 23 May 2022

Mapping additional and network drives inside an unRaid Windows VM

On the unRaid forums recently, I was responding to a user who was asking why his VM gcow2 image did not shrink when files are removed (thread here). I advised that auto-shrink is not standard behaviour, and in the discussion, it became clear that the use case was security camera footage. The user figured out that perhaps saving video files to a network share would be better than to the VM boot / system drive, and I mentioned that I do this with my BlueIris setup. I promised a quick guide, so here it is....

Monday, 11 April 2022

Streamer, with benefits

I've spent a while refining my a/v setup and finally got around to building a decent home for all the kit. It now all rests on a DIY pull-out and swivel rack that allows for access as needed. However, one of the problems with any rack is the proliferation of devices and cables. 

In the spirit of consolidation that underpins this blog,  I thought there must be a way of tidying all that up. So I started with a svelte computer case and starting adding stuff in until I was happy. 

Wednesday, 8 December 2021

Serial Perl Revisited

I'd posted this item on creating a custom serial driver / interface in  PERL a few years ago, and needing to revisit it for another project, I found that there was now an issue with running the Win32::Serial module on 64-bit Windows, Windows 10 specifically.

The problem was, when I ran some Perl that previously worked for me, it now failed when querying a serial port with an error like this;

error: Second Read attempted before First is done at xantech.pl line 47.

Some Google-Fu later, I found a reference to the issue on PerlMonks, and a link by user cr8josh to the fix by Christopher Oicles which is published here.

It looks like there's a risk that the rt.cpan site will close, so I'm reproducing the fix here for my own future sanity;

Tuesday, 6 April 2021

The Good Schiit

Through a long and winding path that started with an offer on Readly, which allowed me access some Australian Hifi magazines I would not otherwise read, one of which contained a review of this book, I picked up 'Schiit Happened' by Jason Stoddard & Mike Moffat.

I'd been somewhat aware of the Schiit brand from reading reviews and online, but never paid all that much attention, and don't own any of their products. However, learning this book was a blend of business startup and audio engineering, it very much appealed to me.

It's very very easy to read. The writing style is informal, laid back and yet wildly informative. It gets very technical at times, and at other times is filled with riveting anecdotes and business insights. The overall impression is of a smart team who very much have their Schitt together, but we learn that they weren't always so efficient & switched on!

If you have even a passing interest in the audio industry, marketing, business, startups or how to deal with intrusive homeowner associations,  you can't really go wrong with this entertaining read.


Saturday, 13 March 2021

Solving HDMI Long Run Dropout

My Sky TV box feeds three displays throughout the house; a JVC projector in the Home Theatre, a Panasonic 58DX800 in one living room and a Samsung 7 Series TV in another All are more or less 4k , (the JVC is a Faux-K unit), but all support UHD resolution, which the Sky box outputs.

I don't see much value in the additional multi-room subscription for Sky as we really don't use more than one TV at a time, and on the odd occasions we do, we can run the Sky app on a playstation or other device.

So the challenge is how to route the signal to each device. All are reasonably proximate to the Sky box with runs from 7M for the projector to 15M for the two TVs.

I have the system set up as follows;


 The SkyQ box feeds an HDMI Splitter via a single HDMI cable. This serves 2 key functions; It allows me route to the 3 devices, but also strips HDCP, without which my JVC won't display an image.

One splitter output has a run of 20M Fibre 4K cable direct to the Panasonic TV, while the other goes to the Marantz AV8805 Cab/Sat input, to connect to the JVC projector as needed (Zone 1) and permanently routed to the Samsung TV (Zone 2)

This mostly works, except that the HDMI connection to the Panasonic TV is unstable, (red arrow above).. From time to time there are merge visual artefacts (green lines), some audio drop-out and fairly frequent re-syncs where the screen blanks and resets, resulting in a 1-2 second interruption.

I'm on my second or maybe third cable and thought that this Fibre version would resolve the problem, but unfortunately not. I've also tried all sorts of configurations including testing direct cable connection between the SkyQ box and the TV, but the problem always exists. Some combination of this TV model and the cable run length is problematic.

Before considering purchase of an expensive 8K Fibre cable, I thought I'd try HDMI over ethernet as I had a spare AVAccess HDBaseT extender kit I'm not using. The configuration now looks like this;


And this works perfectly. The AVAccess devices are rated at 4K60Hz over 40M Cat5e, which is more than enough for my needs. Been watching UHD content all through the day without any hiccups so, problem solved!

I've written before about these devices for routing virtual computers, but they really are very flexible pieces of kit. If you're having trouble with lengthy HDMI runs, you could do worse than look at this solution.

Monday, 18 January 2021

Worth a Watch: DCX MMXVI



I don't really do content reviews on this blog, but this weekend I rewatched the live concert Blu-Ray included with The Dixie Chicks DXC MMXVI Live CD set and it blew me away all over again, so I thought I'd share!

I wouldn't call myself a Dixie Chicks fan per se, (or 'The Chicks' as they are now known). I have one of their CDs and know a few of the songs, but I don't know very much about them, their names, background etc. However, being a fan of live music videos, I picked up this set a few years on the basis that it included the concert blu ray, and was I pleasantly surprised.

Sunday, 17 January 2021

User Presence Detection using Node-Red and Unifi


A big challenge in Home Automation is implementing a reliable mechanism for presence detection - figuring out who's home, and tailoring logic accordingly.

Here's how I do it using Node-Red, Unifi and MQTT.

Many approaches to presence detection rely on interacting with the device itself, either by way of software running on the mobile handset, or having the mobile ping or poll an external service. None of these approaches really appealed to me as they are fiddly, rely on handset configuration & maintenance and need to be reset every time someone gets a new phone.

The approach I've taken here is to rely on the fact that all the families' mobile phones are configured to connect to home WiFi (to save on data charges!). This method interrogates the home network to see what phones are present - a good indication that the person is home.

In short, I have a Node-Red flow that polls the network on a schedule, looks for named devices, and updates presence status in MQTT based on that.

I could have used a database, or flat file storage for storing state, but as I have an MQTT broker running anyway, it's a convenient and flexible approach for me.

Monday, 14 December 2020

Maybe the best gadget I've ever bought?

 

Fairly insidiously, Amazon has taken over my house.  I now have various iterations of FireTVs connected to each TV, and almost every room has an echo device.

I'm not complaining really, these are great pieces of technology, and voice control is a lot more useful that I would have envisaged a few years ago. 

And the FireTV is excellent - easy to use and supports everything I use on a regular basis; Netflix, Kodi, Spotify, Emby Amazon Video and more. However, there's one thing that' been bugging me -  it's lack of true bit-streaming of extended sound formats. I use Kodi quite a bit for my media library, and there are many titles in there with fancy surround formats that just don't make it out to my AV system unscathed.

This is only an issue in my Home Cinema which has a full 7.1.4 system that can make best use of such soundtracks (everywhere else is plain old stereo).

I've been reading about the nVidia Shield for a while and finally bought one to see if it could replace the FireTV in this room. Here's how I got on with it...