Create a new Eventlog source

If you want to use a new “Source” in the Windows event log, you cannot simply start to use a new text.

A new Event-log source has to be created first – BEFORE you start to use it.

Run this command as an administrative user to create a new source – here named “NEW SOURCE”

eventcreate /l application /id 100 /t information /so "NEW SOURCE" /d "Creation of a new Event Source"

To create a new “Source” in the Windows event log, you need administrative privileges

Run a Windows scheduled task by hand

If you have created several scheduled Tasks in Windows, you may from time to time want to run some of them manually

The obvious solution is to open the Windows “Task Scheduler”, locate the proper scheduled task, right-click it and “run now”

An alternative is to copy the name you have given the scheduled task. Then you can always run the following command in a command-line

SCHTASKS /Run /TN "Start SQL Management Studio"

if the name of you scheduled task is “Start SQL Management Studio”

Maginon SP-2 Smart Plug – Part 1

The Maginon SP-2 Smart Plug could be purchased at Aldi for some time

The official page for them can be found here: www.supra-electronics.com

As so often today, the only intended way to interact with the plug is to use an Android or a IOS app.
The Android app is rather poor – I have not seen the IOS one.

The userguide claims that the GPL sourcecode can be downloaded from the supra website at sp-gpl.net, but there you can only find the source for the Maginon SP-1E

So – the quest – how can these plugs be utilized without using an app – specifically how to (with own code):

  1. Make the socket associate and connect to my own Wifi network
  2. Make the socket turn on and off

It is, in fact, relatively easy to program them directly – when you first find out how to do it.