Category Domotic

Kill Chromium Browser from command line

profile picture

If you're managing a remote device that runs some kind of application on Chromium, you're probably looking to restart Chromium Browser when you deploy a new version of your application. The easiest way to that is this single command: pkill chro...

- - - - - - - - - - - - - - -

Find all corrupted mp3 files on Linux

profile picture

I encountered a small issue last week, while updating my music library. I noticed that some new mp3 files that I added were corrupted and thus could not be read by my radio. The problem is that I do not remember what song exactly is corrupted and...

- - - - - - - - - - - - - - -

Transfer files from a Raspberry Pi to your android phone over WiFi with Python

profile picture

Today I'll show a bit of python that could help you remotely manage your Android device. The goal here is to setup an SSH connection between a Raspberry Pi and an Android device in order to transfer files from your local environment (a NAS for examp...

- - - - - - - - - - - - - - -

Tidy up mp3 files in per-artist directory

profile picture

There is quite an amount of work behind my radio stream . I download lots of new music file everyday, and at some point, I need to transfer all these mp3 files to my NAS, in order to add the new songs to the pool of songs used by the Pi Radio ....

- - - - - - - - - - - - - - -

Minimum Resistance Calculation

profile picture

So if you have a LED that should be powered by 3.2v and 0.024 amps, and a 9v battery, the calculation should be: (9 - 3.2) / 0.024 And that gives you 240 ohms Bonus : Watts Calculation If you want to calculate the watts  of...

- - - - - - - - - - - - - - -

HCP #4 Control your Yamaha Home Receiver from command line

profile picture

In the previous domotic posts, we have seen how to use the Raspberry Pi like a broadcasting radio stream. Now, this is great to listen to you music from anywhere, using a computer or an audio software. But if you want to listen to your radio str...

- - - - - - - - - - - - - - -

HCP #3 Turn your Raspberry Pi into a broadcasting audio stream

profile picture

What I was attempting to do here, is to use my Pi to access the musics stored on my NAS (Synology), and play the music files, in order to stream the audio flux to an Icecast Server. Now, you may of course need the Icecast Server, and I personally...

- - - - - - - - - - - - - - -

2019 My Dynamic Production SPRL All rights Reserved.