UPS Battery Service

Just re-published an older project on Github. UPS Battery Service runs a Windows service which watches local battery events, which are then logged in local and/or Event Log where you can further proceed with custom actions, like informational emails, shutdowns etc....
Read More

Remote controlling Mikrotik RouterOS with SSH and OpenHAB 2

  In a previous post, I explained how to set up Mikrotik Routerboards as a VPN gateway. This post is about how to remotely switch the VPN on and off via Smart Home visualization OpenHAB 2, so it affects your whole LAN. You can even switch to other VPN servers,...
Read More

Windows 10 v1703 does not save the default browser when opening Outlook link

Using Windows 10 1703, it seems to be impossible to persistantly use a combination of IE11 and Outlook 2010. Even if both applications are set as default, if you click an HTTP link in an Outlook email, the user is asked to choose a browser. Even if the user chooses to...
Read More

Solving “Request exceeded limit” (Error 500) after WordPress updates

After updating WP's plugins, themes or WP itself, sometimes an error 500 appears, especially for multilanguage sites. Error 500 can have many causes, so first have a look in your Apache log file, e.g. /var/log/apache2/error.log You might encounter a line like this:...
Read More

Correct permissions of Windows Folder Redirection

Folder Redirection is a useful feature often used by enterprises to shring the users' profiles. A server-sided user profile itself is always fully copied at user logon and logoff. Redirected folders are only linked to, so this can save a lot of time and sync issues....
Read More

HP Universal Printer driver does not recognize color feature

Sometimes HP's universal printer driver does not fully recognize color printers at first time. It only prints grayscale and the settings dialog does not show the color tab. Solution Open Windows Print Management, choose your printer and open its properties. Go to tab...
Read More

Magento Commerce: Restrict customer email addresses at checkout / Limit admin access

Fake orders by guest customers (or robots) in Magento shops can become quite annoying, some bots are even able to solve or skip the shop's captcha codes. Decline disposable email domains To add another obstacle for bots and to make the checkout process not more...
Read More

Windows 10: Extend System Drive / Delete Recovery Partition

Scenario You might have created a too small system partition or VHD when you installed or upgraded to Windows 10. With older Windows editions, this was no problem, you could simply extend the partition via Disk Management GUI if space was available on the disk. With...
Read More

Distributing LetsEncrypt SSL certificates in LAN

Scenario You have some webservers or mailservers in your LAN which you want to work with the Let's Encrypt SSL service. It provides the creation of free SSL certificates which are known by most browsers. The only drawback is, they are valid for only 90 days. So if you...
Read More

IPVanish VPN with Mikrotik RouterOS

Internet providers in many countries are forced to store all your created data for a certain time, and no one knows what exactly is saved actually and what really happens with it, e.g. if someone steals the data. One way to get securer internet access is to redirect...
Read More

UPS Battery Service

Just re-published an older project on Github. UPS Battery Service runs a Windows service which watches local battery events, which are then logged in local and/or Event Log where you can further proceed with custom actions, like informational emails, shutdowns etc....
Read More

Bayes classifier library for .NET Core

Because there was no Bayes classification library available on Github yet, I just ported one from this repository. You can find my .NET Core version source here, and the Nuget package here. Latest commits: [github-commits username="DXSdata" repository="nBayes"...
Read More

Correct permissions of Windows Folder Redirection

Folder Redirection is a useful feature often used by enterprises to shring the users' profiles. A server-sided user profile itself is always fully copied at user logon and logoff. Redirected folders are only linked to, so this can save a lot of time and sync issues....
Read More

Using Bower in .NET Core Console Application

Web package manager Bower is well-integrated in Visual Studio project templates like ASP.NET Core, but not for .NET Core console applications at the moment. However, it would be useful if you are using e.g. a self-hosted webserver in your application, like Nancy, and...
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-599922c344097543651957/] Usage: [crayon-599922c3440a4013137840/]  
Read More

jQuery val() stays empty

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

Remote controlling Mikrotik RouterOS with SSH and OpenHAB 2

  In a previous post, I explained how to set up Mikrotik Routerboards as a VPN gateway. This post is about how to remotely switch the VPN on and off via Smart Home visualization OpenHAB 2, so it affects your whole LAN. You can even switch to other VPN servers,...
Read More

OpenHAB 2 does not update its items on KNX bus events

Scenario openHAB is basically working, but does not always update items when they change (e.g. when a window contact closes or opens). However, testing via ETS works. Reason openHAB, especially version 2.x, offers a new option for the KNX interface configuration,...
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

Share This: