Magento Commerce: Product attachment upload

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.Magento bietet standardmäßig keine komfortable Möglichkeit Dokumente für...
Read More

Solving IIS 502.5 Process Failure Error (ASP.NET Core)

Scenario You try to publish your ASP.NET Core site to another Windows server running IIS. Error messages: Event 1000 / IIS AspNetCore Module: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:\inetpub\wwwroot\' failed to start process with...
Read More

Mikrotik: WAN failover with e-mail notification

Scenario 2x WAN, both having a static public IP (called WAN_p1 and WAN_p3 in this example) 1x LAN You want to use WAN_p1 by default and the backup connection only if the main one fails. In both cases, the current IP should be updated to an external DDNS service, so...
Read More

Amazon Echo Dot (Alexa) with OpenHAB 2: Controlling Squeezebox, KNX, send HTTP and SSH commands

Amazon's Echo Dot is a great way to control your smart home via voice. If you are already using a visualization tool like OpenHAB for your smart home, it's quite easy to get it running. Because every smart home installation is configured very individually, I will only...
Read More

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

Solving IIS 502.5 Process Failure Error (ASP.NET Core)

Scenario You try to publish your ASP.NET Core site to another Windows server running IIS. Error messages: Event 1000 / IIS AspNetCore Module: Application 'MACHINE/WEBROOT/APPHOST/DEFAULT WEB SITE' with physical root 'C:\inetpub\wwwroot\' failed to start process with...
Read More

ASP.NET Core: Get User ID

Using Microsoft.AspNetCore.Identity, you might miss a method like GetUserId() which was available for previous .NET frameworks by default. As a workaround, use this extension method: [crayon-58d2f4f4a0a6e564943161/] Usage: [crayon-58d2f4f4a0a7f141343895/]  
Read More

jQuery val() stays empty

If you use jQuery to fetch the current value of a field like [crayon-58d2f4f4a0eae189339386/] 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

Amazon Echo Dot (Alexa) with OpenHAB 2: Controlling Squeezebox, KNX, send HTTP and SSH commands

Amazon's Echo Dot is a great way to control your smart home via voice. If you are already using a visualization tool like OpenHAB for your smart home, it's quite easy to get it running. Because every smart home installation is configured very individually, I will only...
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

Share This: