Posts Tagged ‘myro:home’
Tuesday, August 3rd, 2010
Russound RNET to Sonos Bridge (Arduino MEGA) – Part 2
While it was possible to use an Arduino duemilanove (Atmel 328 chipset) for this project (See Part 1), I was really limited due to the 2K of RAM. It was fun trying to optimize code to get things to run in that amount of memory, however, it caused me to not be able to expand on functionality and features. I have upgraded the project to an Arduino MEGA (Atmel 1280 chipset). This platform gives me up to 8K of RAM — which should be more than enough memory (famous last words).
A lot of people have asked me to explain what exactly I’m doing with the Arduino. It’s pretty simple. First, I’m using a RS232 shield (not shown) to capture RS232 commands from the Russound Controller. When a key is pressed on the Russound keypads I read the RS232 data and either ignore or react to the events. Currently, I’m looking for +, -, Next, Previous, Play/Pause, Menu events. I plan on using the Menu button to offer deeper content browsing menus (need to sniff the RS232 or wait for Russound to publish protocol). The + & – buttons will allow to scroll playlists and the rest of the transport buttons are self explanatory.
// Example RNET Next Track Event: F0 0 7D 7 0 0 7F 5 2 1 0 2 1 0 E 0 0 1 7 0 1 2A F7
Since the Sonos is a uPnP based system there is no IR or way to traditionally control it. Everything needs to be done via HTTP calls. I’m using an Ethernet Shield to translate the RS232 events to uPnP messages. The biggest challenge has been parsing the huge amounts of VERY VERBOSE SOAP-based notification messages. I parse the data real time, looking for strings that I want to store (things like playstate and metadata).
To make matters worse, Sonos is URL encoding XML data inside of an XML structure. So writing a simple XML parser is not possible. You have to look for things like &lt; for a less-than bracket (<). There were times I wanted to scrap the whole project because of this due to the limited RAM and string utilities — it really makes things a lot harder to deal with.
// Example of nested URL encoded XML: <e:property><LastChange><Event xmlns="urn:schemas-upnp-org:metadata-1- 0/AVT/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-10/
Wednesday, January 27th, 2010
Myro:Home Automation Controller Running In Apple iPad Simulator
Just downloaded the newest iPhone SDK (3.2) and ran the Myro:Home iPhone app in the iPad Simulator. It works (you can press the 2x to zoom it, seen in the second image) Once I release the iPhone app, I will be focusing on making a native version for the iPad. This should be fun! A $499 home automation controller is perfect — the iPad is Myro Control’s wireless home controller!…
Monday, January 4th, 2010
SNEAK PEAK: Myro:Home for iPhone (HAI Controller)
Here is a sneak peak of the Myro:Home iPhone application. As you can see, progress has been coming along. I’ve been getting the design finalized and now I’m just tweaking the look and feel a bit. The mobile framework has also been set in the core Myro:Home application which acts as a server on your home network. The iPhone version connects into Myro and loads and controls the HAI panel via a secure channel.
The key focus has been getting control of your home via the iPhone in the quickest time possible. As it works now, I can load and control in less than 3 seconds (if on WIFI).
- MYRO CONTROL – Myro:Home…
Monday, September 7th, 2009
Myro:Home iPhone Application In Development
I’ve been learning Objective-C and have been working on a few iPhone apps… one of which will be the official Myro:Home iPhone application which will allow you to control your HAI panel and view IP cameras. This application will only be available to users of the Myro Control 8″ In-Wall Panel (MYRO:8W). The application is in early BETA and should be ready for release beginning of November.…
Wednesday, July 22nd, 2009
Myro Control Releases 8″ In-Wall Touchpanel and v1.5 of Myro:Home
Myro Control has announced the availability of their 8″ in-wall touchscreen panel and version 1.5 of the Myro:Home interface control software. The in-wall touchscreen panel features a fan-less design that is both energy efficient and elegant looking while the latest software release adds support and features from HAI’s new firmware 3.0 (or greater) release. If you have a HAI OmniPro Home Automation system running firmware 3.0 (or greater) you should do yourself a favor and check out Myro Control today.
The 8″ in-wall panel with software retails for $1999 and the software only option retails for $249 and $498 depending on features needed.
About the archives
Welcome to the archives here at MAVROMATIC.
These are a collection of our previous posts. If you'd like to read about the latest and greatest, click here.