LED lighting

Posted in Intelligent home on March 22nd, 2012 by Michał Jonik – Be the first to comment

Nowadays everyone knows what LED is. A light emitting diodes are everywhere in many different factors. From an ultra small SMD diodes soldered directly to a PCB boards to a high power diodes used in lighting and illumination systems.

After EU started to gradually eliminate energy inefficient light bulbs alternatives including LED lights became more and more popular.

read more »

A brain of LCN-based intelligent home

Posted in Intelligent home on February 28th, 2012 by Michał Jonik – Be the first to comment

Some time ago I wrote about decision to choose LCN system as a foundation for my intelligent house. The LCN alone although rock solid does not provide many features modern building automation is expected to offer. The company from my home country DOMIQ delivers products which not only fill a gap between LCN network and other automation systems but also put automation integration into a completely new level. read more »

Mobotix cameras for smart home security systems

Posted in Intelligent home on February 20th, 2012 by Michał Jonik – Be the first to comment

Some time ago I discovered a company called Mobotix which offers exceptional IP cameras for video monitoring and surveillance systems. Products which brought my attention included Allround M24, Hemispheric Q24 and IP Video Door Station T24. read more »

How to install a shortcut on Android home screen

Posted in Android on February 10th, 2012 by Michał Jonik – Be the first to comment

While developing on an Android application I came across a problem of generating a new home shortcut programmatically. The purpose of the shortcut was to open a specific activity in my application directly from a home screen. Quick look into Intent class documentation and a few lines of Java code was ready for a final test…. Unfortunately it turned out to be not a trivial task. After about two hours I eventually made it working but I had to learn several things worth remembering. read more »

Amazon bills after DDoS

Posted in Others on February 7th, 2012 by Michał Jonik – Be the first to comment

Amazon Web Services bring my attention more and more often recently. They provide a full infrastructure for cloud applications of any kind. However from the very beginning I was concerned about financial consequences of unexpected incidents like distributed denial-of-service attack. It can lead to a huge resource usage in a very short period of time and at the end generate an astronomic bills.

As far as I know there is no solution so far to protect against it. And of course I am not the only one noticing the problem:

ADB over network

Posted in Android on February 4th, 2012 by Michał Jonik – Be the first to comment

As the Android development tools come with an emulator creating and testing applications does not require a physical device. However in some situation it can be beneficial to use a real Android phone instead of emulator:

  • testing applications which use hardware sensors
  • testing applications which initiate or control phone calls
  • on some machines an emulator can be slower then a real device
  • a device touchscreen is much more convenient than a mouse

It was really annoying for me to use a USB cable each time I had to install or debug an application on my phone – especially while sitting with a laptop on a sopha with no cables at all :) .

It was until I found adbWireless. That small application makes it possible to connect development tools to a phone over a WIFI network.

After running the application and pushing a big red button you have to run the following command on your machine to connect:

adb connect 192.168.2.11:5555

with appropriate IP and port copied from the application screen.

Note that the application requires a rooted phone to operate.

WebSphere Portal Enable vs Extend

Posted in Portal, Websphere on June 3rd, 2011 by Michał Jonik – 4 Comments

As you may have already known there are three types of WebSphere Portal licenses: Express, Enable and Extend. Once you have installed it you may find it difficult to determine what type of installation you deal with.

You would probably think about <PORTAL_ROOT>/bin/WPVersionInfo[.sh|.bat] script but unfortunately it will not tell you which product you’ve got installed. Having an installation images the portal was installed from does not help either because the same files are used for both Enable and Extent.

My own solution to quickly determine what product you have is to look into vpd.properties file. Its location depends on a platform:

  • Windows: c:\windows\vpd.properties or c:\winnt\vpd.properties
  • Linux, Solaris and HP-UX: /vpd.properties or /root/vpd.properties
  • AIX: /usr/lib/objrepos/vpd.properties

In the file you will find either PortalEnableLicenseFiles or PortalExtendLicenseFiles:

Home automation with LCN

Posted in Intelligent home on April 5th, 2011 by Michał Jonik – Be the first to comment

I always wanted to develop an inexpensive yet powerful home automation system. I actually spent a lot of late night hours during last two years learning, designing and prototyping both hardware and software to build intelligent modules.

However at some point of time I realized that I will not be able to spend enough time to finish everything before I actually need the system in my newly built house. Also I figured out that there are tons of issues I would need to deal with implementing the system and at many of them are really hard to address. From some technical issues like interferences resistance, shock protections to some legal and responsibility questions. Consider a fire accident. Not certified devices connected to the mains could be used as an argument by insurance company to avoid compensation payment. read more »

Tibco as a JMS provider within WebSphere

Posted in Websphere on March 22nd, 2011 by Michał Jonik – 14 Comments

In my last post I wrote about integrating WebSphere with WebLogic messaging system.

My next exercise involved Tibco Enterprise Message Service. Tibco resources were already created but to make things a little bit more challenging (and fulfill customer requirements…) the messaging system had security enabled. So lets start from the beginning: read more »

WebLogic as a JMS provider within WebSphere

Posted in Websphere on March 6th, 2011 by Michał Jonik – 5 Comments

Its been already four and a half years since I moved from one corporation to another. Now I have three blue letters on my business card instead of two ;) .

At the same time I switched from BEA WebLogic application server to IBM WebSphere. Although these products competes against each other I had recently an excellent opportunity to make them play together. The goal was to configure WebLogic server as an external JMS provider in WebSphere server. Suprisingly it was much easier then I expected. Here are the steps needed to expose a single WebLogic queue within WebSphere server. read more »