]> pere.pagekite.me Git - homepage.git/commitdiff
Add new blog posts.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 30 Jun 2018 08:34:25 +0000 (10:34 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 30 Jun 2018 08:34:25 +0000 (10:34 +0200)
blog/data/2018-06-26-kodi-projector.txt [new file with mode: 0644]
blog/data/2018-06-30-stone-power.txt [new file with mode: 0644]

diff --git a/blog/data/2018-06-26-kodi-projector.txt b/blog/data/2018-06-26-kodi-projector.txt
new file mode 100644 (file)
index 0000000..f6d09c8
--- /dev/null
@@ -0,0 +1,57 @@
+Title: Add-on to control the projector from within Kodi
+Tags: english, video, multimedia
+Date: 2018-06-26 23:55
+
+<p>My movie playing setup involve <a href="https://kodi.tv/">Kodi</a>,
+<a href="https://openelec.tv">OpenELEC</a> (probably soon to be
+replaced with <a href="https://libreelec.tv/">LibreELEC</a>) and an
+Infocus IN76 video projector.  My projector can be controlled via both
+a infrared remote controller, and a RS-232 serial line.  The vendor of
+my projector, <a href="https://www.infocus.com/">InFocus</a>, had been
+sensible enough to document the serial protocol in its user manual, so
+it is easily available, and I used it some years ago to write
+<a href="https://github.com/petterreinholdtsen/infocus-projector-control">a
+small script to control the projector</a>.  For a while now, I longed
+for a setup where the projector was controlled by Kodi, for example in
+such a way that when the screen saver went on, the projector was
+turned off, and when the screen saver exited, the projector was turned
+on again.</p>
+
+<p>A few days ago, with very good help from parts of my family, I
+managed to find a Kodi Add-on for controlling a Epson projector, and
+got in touch with its author to see if we could join forces and make a
+Add-on with support for several projectors.  To my pleasure, he was
+positive to the idea, and we set out to add InFocus support to his
+add-on, and make the add-on suitable for the official Kodi add-on
+repository.</p>
+
+<p>The Add-on is now working (for me, at least), with a few minor
+adjustments.  The most important change I do relative to the master
+branch in the github repository is embedding the
+<a href="https://github.com/pyserial/pyserial">pyserial module</a> in
+the add-on.  The long term solution is to make a "script" type
+pyserial module for Kodi, that can be pulled in as a dependency in
+Kodi.  But until that in place, I embed it.</p>
+
+<p>The add-on can be configured to turn on the projector when Kodi
+starts, off when Kodi stops as well as turn the projector off when the
+screensaver start and on when the screesaver stops.  It can also be
+told to set the projector source when turning on the projector.
+
+<p>If this sound interesting to you, check out
+<a href="https://github.com/fredrik-eriksson/kodi_projcontrol">the
+project github repository</a>.  Perhaps you can send patches to
+support your projector too?  As soon as we find time to wrap up the
+latest changes, it should be available for easy installation using any
+Kodi instance.</p>
+
+<p>For future improvements, I would like to add projector model
+detection and the ability to adjust the brightness level of the
+projector from within Kodi.  We also need to figure out how to handle
+the cooling period of the projector.  My projector refuses to turn on
+for 60 seconds after it was turned off.  This is not handled well by
+the add-on at the moment.</p>
+
+<p>As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
diff --git a/blog/data/2018-06-30-stone-power.txt b/blog/data/2018-06-30-stone-power.txt
new file mode 100644 (file)
index 0000000..d14bed5
--- /dev/null
@@ -0,0 +1,19 @@
+Title: The worlds only stone power plant?
+Tags: english
+Date: 2018-06-30 10:35
+
+<p>So far, at least hydro-electric power, coal power, wind power,
+solar power, and wood power are well known.  Until a few days ago, I
+had never heard of a stone power.  Then I learn about a quarry in a
+mountain in
+<a href="https://en.wikipedia.org/wiki/Bremanger">Bremanger</a> i
+Norway, where
+<a href="https://www.bontrup.com/en/activities/raw-materials/bremanger-quarry/">the
+Bremanger Quarry</a> company is extracting stone and dumping the stone
+into a shaft leading to its shipping harbour.  This downward movement
+in this shaft is used to produce electricity.  In short, it is using
+falling rocks instead of falling water to produce electricity, and
+according to its own statements it is producing more power than it is
+using, and selling the surplus electricity to the Norwegian power
+grid.  I find the concept truly amazing.  Is this the worlds only
+stone power plant?</p>