Florian Wesch

info-beamer hosted 9 released

Posted Jul 10 2018 by Florian Wesch

<p>The info-beamer hosted operating system gets a new major release.</p><h2 class="doc-header" id="updatingtothelatestrelease">Updating to the latest release</h2> <p>You don't have to do anything manually. Within the next couple of weeks, your devices will be upgraded automatically. Please get in <a href="/doc/about">contact with support</a> if you have any questions.</p><p>If you want to upgrade manually, you can click on the <tt>Activate stable channel</tt> option in the <tt>Manage</tt> menu on the device page of the device you want to upgrade. This will install the (probably already downloaded) new version and reboot the device once.</p><p><img class="blog-image" loading="lazy" src="https://cdn.infobeamer.com/s/5c843e/img/blog-hosted-manual-upgrade.png" title="manually upgrading" /></p><h2 class="doc-header" id="newfeatures">New Features</h2> <h3 class="doc-header" id="supportforthecm3panelhardware">Support for the CM3-PANEL hardware</h3> <p><img class="blog-image" loading="lazy" src="https://cdn.infobeamer.com/s/5c843e/img/cm3-panel.jpg" title="The CM3 PANEL" /></p><p>info-beamer hosted now supports the CM3 Panel. Learn more about it in an earlier <a href="info-beamer-on-cm3-panel">blog post</a>. Installation is as easy as unzipping a single ZIP file to an empty SD card and powering up the device.</p><h3 class="doc-header" id="pi3support">Pi3+ support</h3> <p><img class="blog-image" loading="lazy" src="https://cdn.infobeamer.com/s/5c843e/img/pi3b-plus.jpg" title="Raspberry Pi3 B+" /></p><p>The Pi3+ has been supported for a while using the <tt>testing</tt> version of the info-beamer hosted OS. With this release, the <tt>stable</tt> version of the OS now supports the Pi3+ as well, so there's no need to choose between different install.zip version while setting up a new device.</p><h3 class="doc-header" id="rapiddevelopmentmodedevmode">Rapid development mode (dev-mode)</h3> <p>This release adds a new feature that allows you to rapidly write new packages. You can instantly see changes made to a package on an info-beamer device of your choice. So every time you save in your editor, you instantly see the changes on the screen. There will be a dedicated blog post about this feature soon. Stay tuned!</p><h3 class="doc-header" id="experimentaldnsoverhttpsdohsupport">Experimental DNS over HTTPS (DoH) support</h3> <p>Security is something we put a lot of work into. As a result we don't use plaintext protocols unless there's no other option. As an example: All transfers of content and configuration to your devices are always encrypted. You can read more about this in our <a href="/doc/device-setup#settinguphosted">security documentation</a>.</p><p>Lately there has been a push for using <a href="https://en.wikipedia.org/wiki/DNS_over_HTTPS" rel="external,noopener">DNS over HTTPS</a> (DoH). This replaces the plaintext DNS protocol with an encrypted way to query DNS servers. We now support encrypted DNS queries to the <tt>1.1.1.1</tt> and <tt>8.8.8.8</tt> resolvers. Just put an empty file <tt>/config/dnscrypt</tt> on your SD card and start your device. We use the <a href="https://github.com/jedisct1/dnscrypt-proxy" rel="external,noopener">dnscrypt-proxy</a> daemon for that and all local DNS query will use encrypted queries once this feature is enabled.</p><h3 class="doc-header" id="allowaccesstothepicamera">Allow access to the Pi camera</h3> <p><img class="blog-image" loading="lazy" src="https://cdn.infobeamer.com/s/5c843e/img/pi-camera.jpg" title="Raspberry Pi Camera Module" /></p><p><a href="/doc/package-services">Package services</a> now have access to a connected Pi camera module. This allows your package service to use the camera for capturing videos/image. We put together a privacy friendly proof of concept using this to detect people looking at the device using only on-device software.</p><h3 class="doc-header" id="fullcecsupport">Full CEC support</h3> <p>We now have an additional service running on the device that interfaces with any connected CEC compatible screen. The service forwards button presses on your TV remote to the running info-beamer code. This allows you to build packages that use the remote control as input without writing additional code yourself. See this <a href="info-beamer-hosted-adds-cec-support">blog post</a> for more information or try the "Live Streaming" package that uses the remote to switch between streaming sources you define:</p><p><a href="/use?url=https%3A%2F%2Fgithub.com%2Finfo-beamer%2Fpackage-livestream.git"><img loading="lazy" src="https://cdn.infobeamer.com/s/5c843e/img/import.png" /></a></p><h3 class="doc-header" id="pushsyncforevenfastersyncing">Push Sync for even faster syncing</h3> <p>Previously a configuration change to any of your <a href="/setups">setups</a> resulted in the following sequence of events:</p><ul class="circle"> <li>We generate a new sync file that describes the new device state.</li> <li>We upload this file to our storage servers.</li> <li>We notifiy your device.</li> <li>Your device downloads the sync file and applies the changes.</li> </ul> <p>We optimized this so the sequence is now:</p><ul class="circle"> <li>We generate a new sync file that describes the new device state.</li> <li>We upload this file to our storage servers.</li> <li>We notifiy your device and directly push the new configuration to it. The device can apply the changes directly without an additional network request.</li> </ul> <p>In addition we also optimized the way changes are applied. Switching a setup or changing its configuration is now even faster than before and almost immediate in most cases.</p><h3 class="doc-header" id="encryptedsyncfiles">Encrypted sync files</h3> <p>Related to the previous improvements we now also encrypt sync files using a per-device key. Of course sync files were always transferred using HTTPS, so an outside observer couldn't look into them. But they were still stored unencrypted on the storage server. We felt like this could be improved and now sync files are stored encrypted so we don't have to trust the storage server. The next step will be to also encrypt all asset and package content as well. That way it's completely irrelevant that we use S3 as our storage service as they only ever see encrypted content. Stay tuned.</p><h3 class="doc-header" id="moreiooptimizationstominimizesdcardwrites">More IO optimizations to minimize SD card writes</h3> <p>We already did have lots of optimizations on how we use the SD card in your device. This release now adds a few more to minimize SD card write access and should increase the durability of your SD cards even more:</p><ul class="circle"> <li>We now accept 10 minutes of lost writes. If you power cycle a devices directly after it downloaded a lot of new content, that content might be lost. Of course the robust syncing mechanism of info-beamer hosted makes sure that those files are downloaded again if required.</li> <li>We accept more dirty pages. <a href="/doc/package-services">Package services</a> that generate a lot of local files will result in a lot less actual IO requests. A services that overwrites the same file constantly almost generates no IO now.</li> </ul> <h3 class="doc-header" id="fixedservicenetworkpermissionsproblem">Fixed service network permissions problem</h3> <p>Under certain circumstances, switching between setups that included <a href="/doc/package-services">package services</a> prevented those services from using the network despite having the <a href="/doc/package-reference#nodepermissions">network permission</a> configured. This bug is fixed now and networked services now reliably work.</p><h3 class="doc-header" id="devicesensorinfoincludesmacaddress">Device sensor info includes MAC address</h3> <p>The MAC address of the used network interface is now included in the <a href="/doc/api#devicesensorinfo">sensor</a> response in <tt>.net.mac</tt>.</p><h3 class="doc-header" id="processmemorymonitoring">Process memory monitoring</h3> <p>All major processes running on a device are monitored for IO and memory usage. These numbers are returned in the <a href="/doc/api#devicesensorinfo">sensor</a> response. There will be a new visual way to interpret these values on the device detail page in the future.</p><h3 class="doc-header" id="restartingapackageservicenowdeletesallitsfiles">Restarting a package service now deletes all its files</h3> <p><a href="/doc/package-services">Package services</a> can place files anywhere in the info-beamer monitored path at <tt>/space/root</tt> as well as <tt>/tmp</tt>. Previously only locally created files in the current node directory as well as file in <tt>/tmp</tt> would be deleted when replacing a running package service. Now all files in <tt>/space/root</tt> and childs created by the package service will be removed. This allows more interesting interactions between different node directories and their package services.</p><h3 class="doc-header" id="aprocessregardingfutureincompatibleinfobeamerchangesforpackagedevelopers">A process regarding future incompatible info-beamer changes for package developers</h3> <p>We got some feedback regarding future incompatible changes happening to the info-beamer pi player software. This stable release originally included the following change to info-beamer pi as noted in the <a href="/download/player">info-beamer pi release notes</a>:</p><pre class='raw'> * POTENTIAL INCOMPATIBILITY: Previously it was possible to 'resource.open_file' directories. This made no sense as the resulting openfile object could not be consumed in any way. This version now throws an error if you try to open_file a directory.</pre><p>We didn't expect this change to have any effect on running packages. It seems we were wrong and a single device didn't show its content after upgrading. Obviously this isn't acceptable. So in the future, we'll do a better job at making sure package developers are aware and have plenty of time to implement required changes should any kind of incompatible change happen to info-beamer pi again:</p><ul class="circle"> <li>The stable release announcement blog post will include a section detailing any upcoming incompatible change in the following stable release.</li> <li>The stable release will run a compatible info-beamer pi version that generates log warnings if an incompatible feature is used in a package.</li> <li>We'll actually implement the change in the following stable release, so there's a lot of time to test packages in the testing release of info-beamer hosted.</li> </ul> <p>Since the whole process is a bit annoying for everyone involved, we try to avoid any incompatible changes, just like we did before: Since info-beamer hosted has been released, we only made three changes in total that might have triggered problems for some edge cases. Only the <tt>open_file</tt> change actually caused a problem.</p><p>As for now, we've rolled back the <a href="/doc/info-beamer#resource.open_file">resource.open_file</a> change for this stable release and since it's now being implemented in the next release, here's the section about that:</p><h3 class="doc-header" id="futureincompatiblechangestoinfobeamerpi">Future incompatible changes to info-beamer pi</h3> <p>We'll implement the following change to info-beamer pi in the next stable release:</p><pre class='raw'> * POTENTIAL INCOMPATIBILITY: Previously it was possible to 'resource.open_file' directories. This made no sense as the resulting openfile object could not be consumed in any way. This version now throws an error if you try to open_file a directory.</pre><p>As a package developer, make sure that you only call <a href="/doc/info-beamer#resource.open_file">resource.open_file</a> on actual files and not on directories. Trying to <tt>open_file</tt> a directory will result in a runtime error in the next stable release 10 of info-beamer hosted.</p><p><a class="btn-lg btn btn-primary" href="/product/info-beamer-hosted">Get started with info-beamer hosted</a></p>

Read more...


info-beamer.com offers the most advanced digital signage platform for the Raspberry Pi. Fully hosted, programmable and easy to use. Learn more...


Get started for free!

Trying out the best digital signage solution for the Raspberry Pi is totally free: Use one device and 1GB of storage completely free of charge. No credit card required.


Follow @infobeamer on twitter to get notified of new blog posts and other related info-beamer news. It's very low traffic so just give it a try.

You can also subscribe to the RSS Feed RSS feed.


Share this post:

Share using Twitter


Questions or comments?
Get in contact!