Sunday, February 22, 2015

Raspberry Pi 2 and Motorola Lapdock

Back in October of 2012, I had tested the Motorola Lapdock with the original 256MB Raspberry Pi. Recently I was able to get my hands on a Raspberry Pi 2 and decided to see if it worked any better. It pretty much works the same in that if the Lapdock doesn't detect it, it goes to sleep and it won't try again until it turns itself off. So the only way to get past the point in boot where the display signal is lost for a second, is to power the Pi up from another power source with the HDMI connected. You must wait for it to fully boot. Then disconnect the HDMI, wait for the Lapdock to turn off, and then plug it all back in and power it up. It's quite the sequence just to get it to work.

This time around I had a hard time with audio. Last time it was a struggle too, but at least it worked. I didn't spend a lot of time on it, but only the way I could get it to work was by loading the Python games app and selecting force headphones. Then you can use the web or anything else but this is using headphones instead of the built in audio. A lot has changed in software since the 256MB version so this needs more investigating.

Raspberry Pi 2 and Motorola Lapdock
This is unfortunate since the Raspberry Pi 2 and all of its power would make a great travel companion with the Lapdock. What really needs to be done is a way to fake an HDMI signal at all times in any case it would work much smoother. Maybe if the Lapdock can be hacked to always stay awake or a longer detection timeout. At this point it will be at the bottom of the project list.

Friday, February 13, 2015

HA: Living Room Node

Just wanted to do a quick post about the node running in the living room. It's similar to the other nodes except I am using a Tiny328 and a DHT11 temp/humidity sensor. Currently, this is the only node with humidity. It's presently being powered from a 5V USB wall adapter using a USB Tester to break out the power - same one that is running the La Crosse gateway!



Here is the github link that I am using for all nodes. I have adapted it to support each sensor that a node might have. It's based on the roomNode by JeeLabs. This sketch assumes the node has been configured already with the JeeLabs rf12demo sketch.

Owncloud

Last year I decided to give freeNAS another try despite the warnings of not having ECC memory and running in a VM. Long story short, it ran great for awhile. I had freeBSD jails setup for CrashPlan and Owncloud - it was heaven! It was all running smoothly until not having ECC memory caught up to me. I began to have checksum errors, so I had to dump the data. Much faster than restoring from backup.



Wednesday, February 4, 2015

HA: DomotiGa Web Interface

DomotiGa is an open source Linux app written in Gambas which I hadn't heard about until now. As part of any good home automation or any connected project is a way to control it remotely and easily, otherwise it's easier just to hit the light switch yourself, right? I am using a Ubuntu Virtual Machine running in VMWare ESXi. VMWare offers ESXi as a free version of there enterprise bare metal hypervisor. ESXi can run on most hardware but if you have trouble there are plenty of guides out there to get drivers working.

One of the easiest ways to get a remote interface is a website. It is much easier, universal and platform independent compared to using an app. There are two types of web interfaces available in DomotiGa. I tested both out to pick the best one for my application and decided that since each one serves a different purpose I would leave both active.



Simple Web Client

DomotiGa Simple Web Client

DomotiYii


From the above screenshots I am sure you can tell the difference between the two. The simple web client is well, simple, and it is great for quickly checking sensor data or controlling switches. But for advanced management, DomotiYii fits the bill. I keep the simple web client running in a browser window on my left monitor. It can auto refresh and the changes turn green momentarily.

This would be a good interface to easily setup a Raspberry Pi with a display on the wall as a status display. DomotiGa has a JSON RPC interface so it wouldn't be hard to grab the data and pipe it into your own front end. There is another system that makes easy to design a UI and interface it with DomotiGa, one is CF iViewer https://www.domotiga.nl/projects/domotiga/wiki/CF_iViewer

Monday, February 2, 2015

Kickstarter: ArduRF

Today I received a few packages but one of them contained the ArduRF from Kickstarter. This campaign was short and sweet. I received the reward thirty-three days after it ended. You can read about the details from their Kickstarter but it's an Atmega328p (Arduino Uno) with the RFM69 embedded. One has a USB A connector that can plug directly into your PC. This can act like a base station/receiver. This will replace my node connected to an FTDI cable to my Ubuntu VM. Using the JeeNode library in compatibility mode, the RFM69 should work with the RFM12B radios until I completely transition over. The other is similar to an Arduino Pro Mini but longer with the addition of a JST LiPo battery connector with the charging circuit and a mini USB for programming. These are great boards to add to your network or to get you started with low power RF. Plus they are very well priced. I look forward to diving in and posting more about these.

Check them out! You can find them on their site http://www.ezsbc.com/ or https://www.tindie.com/stores/ddebeer Happy tinkering!