Browsed by
Author: hans

Software Engineering
Website update

Website update

Website updateHet was al een tijdje nodig, maar vandaag heb ik dan de site aangepast. Enkele pagina’s die niet meer relevant waren zijn verwijderd.

Er zijn ook nieuwe secties bijgekomen: Events en Links. Bij events vindt je interessante events op gebied van Scrum, Management en Techniek.

Bij de links staan enkele links naar interessante sites.

De boeken sectie bestond al, maar is inmiddels uitgebreidt met nieuwe boeken.

Mocht je interessant links, boeken of events weten, die noemenswaardig zijn, laat dat dan weten via het contact formulier.

Homey: a first impression

Homey: a first impression

Homey Flow EditorTwo weeks ago my Homey finally arrived. It’s still in beta, but that’s fine by me :-).

Currently I have the following devices and services setup:

  • Klik-aan-klik-uit (Kaku) remote (433Mhz)
  • Nest thermostat
  • Philips Hue lighting
  • TV (infrared)
  • PVR (infrared))
  • Receiver (infrared)
  • Kodi (trigger like: ‘on movie start’, ‘on pause’)
  • Fibaro motion sensor (Z-wave)
  • #Slack (for notifications)
  • Buienradar (trigger to inform you when it starts to rain)

Adding new devices is very simple, because Homey will recognize most devices automatically. If an infrared device is not recognized automatically, you can learn Homey each key manually.

Homey devices

Homey already supports a lot of devices and Apps. Apps can be added via the Homey App store. Because Homey is open, it’s also possible to create you own Apps. So the number of Apps can grow fast if a lot people start developing themselves.

Flow Editor

Homey comes with a build in Flow Editor. The Flow Editor makes it possible to create several flows. A flow is constructed by defining the IF (trigger) and a THEN (action). Optional you can use logical expressions to fine tune the IF.

Homey Flow Editor

Below an example of a flow to turn on the TV including the PVR and receiver. The flow is trigger by pressing a button on the Kaku-remote. When the button is pressed the led-ring of the Homey will turn red and an infrared signal is send to the TV, PVR and receiver. At the end Homey will say that the TV is turned on.

Homey turn on TV

Another flow I have running is turning on the lights in the hallway when motion is detected. Another flow is turning of the light when motion is no longer detected. For detecting motion a use the Fibaro motion sensor.

Homey motion sensor

I nice feature is that you can send notifications to your mobile or to #Slack. So even when I’m not home, I still know what is happening at home.

Still in beta

There are still some flaws in the software and Homey is not always triggering the flows when it should, but hey I still love my Homey. The guys at Athom are working really hard on the software and with each update Homey works better. Most of the issues I had where solved by looking for answers on the forum or with a software update.

Only speech recognition is not working as it should, but I hope this will be improved in one of the next updates.

Windows 10 IoT Core – Change basic device configuration

Windows 10 IoT Core – Change basic device configuration

If you have a Windows 10 IoT Core device and want to change some basic settings, follow the instruction below.

First we need to set up a connection with the device

  1. Start Powershell (as administrator)
  2. First start the WinRM service by running: net start WinRM.
    Start WinRM service
  3. Now run the following command: Set-Item WSMan:\localhost\Client\TrustedHosts -Value <machine-name or IP Address>.
    Press ‘Y’ to confirm the change.
  4. Now start a session with the Windows 10 IoT Core device: Enter-PSSession -ComputerName <machine-name or IP Address> -Credential <machine-name or IP Address or localhost>\Administrator. As password use: p@ssw0rd.
Action Command
Change Administrator password

Remark: Once this is done, you’ll need to establish a new PowerShell session using Exit-PSSession and Enter-PSSession with the new credentials.

net user Administrator [new password]
Change device name

Remark: You will need to reboot the device for the change to take effect

setcomputername <new-name>
Reboot device shutdown /r /t 0
Raspberry Pi 2 with 7″ Touchscreen Display running Windows 10 IoT Core

Raspberry Pi 2 with 7″ Touchscreen Display running Windows 10 IoT Core

I while ago I bought myself a Raspberry Pi 2 to play around with. I wanted it to run on Windows 10 IoT Core. That worked fine, with a display connected to HDMI. When the official Raspberry Pi 7″ Tochscreen Display came out I wanted to buy one immediately, but I was to late. The first batch was sold out :-). So I waited for the next batch and bought one.

I directly downloaded the latest version of Windows 10 IoT Core (build 10556), but the screen was not working. Using HDMI it was working…Argh. First I thought maybe the display is not properly connected, but when I tried Raspian, it work fine (even with touch).

Raspian on Raspberry Pi 2

I’ve let it rest for a while and today I picked it up again and found a forum post, stating that build 10556, wil not work with a v1.1 of the Rasberry Pi Display, but it will work with the latest preview build 14262. So assuming that I have a v1.1 of the display, I downloaded the preview version and yes, it’s working! Even with touch 🙂

Windows 10 IoT Core on Rasberry Pi 2

Now the development can begin.

Windows 10 IoT Core - Development



Homey Clickthrough

Homey Clickthrough

I’m still waiting for the delivery of my Homey. I hope to receive mine this month. In the meantime Athom made a nice video showing what you can do with Homey. I love what you can do with it already.

Homey Clickthrough