How to restore Ubuntu’s APT sources.list

If you have, for whatever reason, destroyed your local /etc/apt/sources.list file which Ubuntu uses for packages updates, here is a useful site which can regenerate it: https://repogen.simplylinux.ch/ My recommendation is to enter country release (get it with...
Read More

Configure Kodi/OpenELEC/LibreELEC remotely

OpenELEC/LibreELEC with Kodi offers various ways for remote management. SSH (command line) Samba / CIFS Web interface Important files \\[ip]\Userdata\advancedsettings.xml Use it e.g. for centralized settings, like a central DB or substitute paths...
Read More

Raspberry Pi: Pre-enable SSH access without local monitor

Raspberry Pi combined with Raspbian Jessie Lite is often useful for networking tools (bridges, VPNs, GPIO, ...) where you do not need local user input or output devices. Unfortunately, SSH is not enabled by default so you cannot access the RPi via Putty console...
Read More

Time synchronization in Windows domain

Before Windows 10, I was using a simple batch script on my main domain controller which used w32tm (w32time service) to get the correct time from an external source. The clients in the domain got the time from the domain controllers without having set anything...
Read More

Adobe Acrobat Reader DC: Hide tools pane (persistantly)

Meanwhile it's possible to hide the vertical tools pane in newer Acrobat Reader DC versions, e.g. 15.23. In older versions, the user had to click the tools pane's arrow button every time a PDF was opened. Settings Edit -> Preferences -> Documents -> Open...
Read More

Windows 10: Restoring classic calculator

If you have deployed Windows 10 in your LAN for all your company's workstations, you might have removed or deactivated all available universal apps in your Windows image because they seem to be unnecessary in an enterprise environment. But at least one universal app...
Read More

Windows 10: Missing “Send to E-Mail recipient” entry in file context menu

In some cases, Windows 10 seems not to create "Send to e-mail recipient" context menu entries, even if Outlook (e.g. version 2010, 2013, 2016) is installed and the default Windows e-mail application is set to Outlook. Solution Run command "shell:sendto" You should be...
Read More

Windows 10: Removing recovery partition

Windows 10 Setup creates a recovery partition at the disk's "right end", as you can see in Windows hard disk management. You might not even notice that this partition exists, until you want to extend your main partition's size, e.g. after you have cloned your...
Read More

Windows 10: Remote shutdown permissions

From Windows 10, default shutdown permission policies seem to have changed. E.g. with Windows 7 or 8.1, a user with default permissions was not seeing a shutdown or reboot option when connected via RDP. Only administrator users were able to shutdown. With Windows 10,...
Read More

GPO: System -> Logon -> “Run these programs on user logon” not applying

If you run into those issue, first run gpresult /h c:\gpreport.html on your client, then open the file with your browser and search for the application you want to have started on user logon. In my case, I found out this way that one group policy object had simply...
Read More

jQuery val() stays empty

If you use jQuery to fetch the current value of a field like [crayon-58b14741b8884095740437/] you might encounter issues, even if this syntax is correct. E.g. if a number is entered, it works. If a special char is entered, you might get an empty string. Solution A...
Read More

ASP.NET EditorTemplates

ASP.NET offers a good way to keep your code clean of redundant data, e.g. Bootstrap classes you would have to assign to every visible HTML element again and again. As a .NET Core MVC sample for single elements, you would write code like...
Read More

Visual Studio 2015 Update 3 and 2017 RC, .NET Core: Issues with bower

Be careful with the usage of Bower in those VS versions in ASP.NET Core MVC web applications. It is a useful tool, but seems not to be fully reliable at the moment. Examples: Bootstrap v3.3.7 suddenly asks for tether (tether.io). When you look at the Bootstrap JS...
Read More

IP Intercom Doorbell App v2.0 published

Today we released DXSdata Intercom Doorbell v2.0 for Android. Main changes: Video and Audio stream support Several bugfixes Alternative video renderer option Layout optimization Notifications Get...
Read More

Android Studio with Windows Server User Profiles and Redirected Folders

Android Studio stores lots of data in the Windows user's profile directory, i.e. directly in %USERPROFILE% (e.g. c:\users\me), which is wrong in my opinion. If you use Windows roaming user profiles with folder redirection (which should be the default setting in a...
Read More

Deploying URL Associations via Visual Studio Setup / GPO / Registry

Scenario You have a custom application which you want to handle certain URI links, like "tel", "mailto", "xmpp" etc. In Windows 7 and below, this could be done with a single registry key, but starting from Win8 this became a bit more complex. The following tutorial is...
Read More

Bootstrap navigation tabs with dropdown menus: How to implement Next button

There are many projects on Github which implement wizard-like Next and Previous buttons for Bootstrap tabbed menus. Unfortunately, they seem not to consider there can be dropdown menus inside the tabs, which leads to errors. So here is some code to show one way how to...
Read More

ASP.Net Core MVC EF7 DB-First (database reverse engineering)

Starting with a new web project, I first chose this combination of recently available packages: Visual Studio 2015 Update 3 ASP.NET Core MVC Project with Entity Framework 7 It offers great options for using Nuget or Bower, keeping packages like bootstrap, jquery or...
Read More

ASP.Net MVC Razor: Replacement for DropDownListFor() for adding attributes to options

By default, @Html.DropDownListFor() is a convenient Razor helper to create a <select> tag containing <option> tags. But it is not possible to add custom attributes like "data-meow-xx=xxxx" to the option tags. One solution is to create the <select>...
Read More

ASP.Net MVC, Entity Framework: Show user friendly model column names (Metadata)

Databases like MySQL do not allow any special characters in table column names, so most developers use camelcase or underscores. To make it readable for the end user in your software, you often have to manually type a friendly description. As there is no way to set a...
Read More

Convert DPT5/EIS10 2-byte octal value with PHP

  Using a KNX server like eibd with PHP in combination, you might come to a point where you want to convert the DPT/EIS encoded telegram values to decimal format. For some data types, it works by simply using PHP hexbin(), but it does not for 2-byte floating...
Read More

IP Intercom Doorbell App v2.0 published

Today we released DXSdata Intercom Doorbell v2.0 for Android. Main changes: Video and Audio stream support Several bugfixes Alternative video renderer option Layout optimization Notifications Get...
Read More

Controlling a 4-Pin bipolar stepper motor with Raspberry Pi and motor shield

This tutorial gives you a quick and simple idea how to control a stepper motor via Raspberry Pi and a Python script. Parts Raspberry Pi 3 Deek-Robot Stepper Motor Shield v1 (includes an L293D motor driver) Nema 17 stepper motor, Type 42HS34-1334-04LA (4-pin, bipolar)...
Read More

Optimizing Gardena Sileno tyres

Sorry, this entry is only available in German. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.Modell: Gardena smart Sileno R100LiC Besonders bei etwas extremeren...
Read More

PHP Class for Gardena Smart System API

Gardena's robotic lawn mower "smart Sileno" (R100LiC") comes with a gateway module which is used for communication between the mower and Gardena servers. Unfortunately, at the moment there is no way to get direct API access to the gateway, so the commands have to be...
Read More

OpenELEC / Kodi: Send notifications to all stations with jsonrpc and PHP, including special characters

In a smart home environment, you may want to send various notifications to every active OE / Kodi station, e.g. a "garage door is open" information at night. This information might come from any source like KNX server or similar. To open a popup window in Kodi, you...
Read More

How to solve Java AccessControlException with LuxController heatpump (SocketPermission)

New versions of the Java JRE browser plugin seem to get even more strict and less GUI user friendly. E.g. if you try to access your LuxController 1.6 heatpump Java web interface, by default you get an exception like AccessControlException: access denied...
Read More

KNX / OpenHAB control garage doors

Sorry, this entry is only available in German. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.Szenario Garagentor mit Motor, der sich per potentialfreiem Kontakt (z.B....
Read More

DXSdata IP Intercom Doorbell

Scenario You are using an IP intercom like 2N Helios IP or a Mobotix product. You have an electronic door lock like G-U Secury Automatic which is connected to any home automation system like KNX, and you use a server system like Gira Homeserver, Loxone Miniserver,...
Read More

PoE LAN Intercom doorbell sound module

  Scenario If you are using an IP Intercom like 2N Helios IP or a similar Mobotix product, you might have seen that the variety of IP compatible sound modules for a simple internal doorbell is quite low. But something like this is necessary for many homes, as SIP /...
Read More

Share This: