A look at Labview Code

For those of you wanting to see what the code looks like…here you go:
The code consist of a front panel that contains the variables plus text boxes and the Back panel has the actual code which looks more like a wiring diagram. This code then becomes an icon with input terminal and output terminals that can be called on the same way you call a DLL or similar. Let me know if you want more information. I will post the dimmer panel when I am finished later today.
Tim Alls
AllSeas Yachts

This is really cool. I’m going to have to look into doing this myself. I just installed Labview and Wireshark last night. Now, I just need to the find the time to play with it. Keep posting your progress and good luck!

I didn’t think there were any Labview usres out there!
I am more than happy to share the code with any Vera Users…just drop me a message and I will give you what I have. I am running a very old version 5.1 so it will most likely import right into any of the newer versions.

With WireShark I can now copy volume controls commands for the Sonos! They would not give them to me…argggggg

Here is a screenshot of my first Touchscreen Panel…this is just a starting point.
Dimmers, Doors, Scenes, and volume for my Sonos Music.

Tim Alls
AllSeas Yachts

Really good work here Tim. I am impressed with how much progress you have made in such a short amount of time working with it. What’s more, it sounds like you are having a lot of fun while you are at it.

Is the UI that you have posted fully functional at this point? I’m very interested in keeping up with your progress, but it nothing else you’ve inspired me to experiment with labview.

Me too, I’m on-board. The UI is simple, smart, and straight to the point. Good for controlling purposes. I’ve installed Labview 2010 and Wireshark last night. I really can’t wait to mess around with it. I might take you up on that offer to see what your code is like to get familiar with what you did.

The lighting panel is fully functional…works great, the response and feel is just like the SQ Remote IPad version.
The scene controls will be working later today…I just finished the communication module for it. The Door Position will work when I get the new plugin for the DSC Alarm online…it has been on hold waiting for the wiring to catch up with my software!
The Sonos volume control would not have been possible if it weren’t for the WireShark…thanks again Guessed…Now I can copy any TCPIP commands easily.

With things coming online it has inspired me to charge ahead…I was really getting discouraged due to my ignorance…I didn’t even know what HTTP was!

At this point my mian focus has been make it work so the code I will gladly share but it will have to be customized to match your device numbers. Later when I am done I will create a universal version that can import labels and tags. I still see this as a great tool in a home!

Tim Alls
AllSeas Yachts

Is LabView not a commercial application anymore?

Labview has traditionally been used in Labratories, factories, testing facilities, Etc. but there are a ton of folks out there like me that use for non-commercial applications.
Compiling and distribution reqires a special licsense.
I hope that answers your question.
Free 30 day trial for version 10!
Tim Alls

Labview is still comercial, and quite expensive ($1249 - $4299 depending on version according to their site). I’ve used it in the past for some data collection in a lab environment, so I have access to an (albeit old) license.

I definitely don’t see labview as a mass market solution for vera users, but then again neither is anything else that would require people to code in their own device control. I think it’s just pretty cool to see someone that is relatively new to vera, and didn’t know anything about the HTTP protocol forging ahead and creating a custom UI with the tools available to them.

+1 for TimAlls


I never expected my labview work to be useful to anyone because of the cost. What I do see is the ability for me to push a touchscreen interface forward very quickly and hopefully inspire some skilled Guru to publish one written in a real language!
I would never been able to put a five monitor program displaying Engine Data, HVAC Data, Cameras, Alarms, and more without Labview…so I give it two thumbs up for those who need it. Rapid development is what it is best at!

Hope that clears up my intentions…I am not promoting Labview…too much money for this type of application.

Tim Alls

AllSeas Yachts

attached is code for setting scenes…tested and working

Tim - for the sonos commands look at this post:


I have not had time to do the vera implementation. But it works in a web browser.

I just finished my scene controller and Sonos Volume and Shuttle control was next on my list…thank you!

If possible can you share your sonos code if you get it working?

No problem…the Labview code I am posting is pretty simple. I think you can recreate my code pretty easily in other languages. If you are unfamiliar with Labview programing just remember that everything on the front panel is represented by a small block on the wiring diagram…I will try to make the names visible so you can properly associate the objects.
Tim Alls

One way or another I will have Sonos working tomorrow, I promise!

If you’re willing to use the latest beta (1.1.1234), I’d recommend using UPnP via Scene -> ‘Advanced tab’ to control the volume of your Sonos devices (http://forum.micasaverde.com/index.php?topic=5260.msg36400#msg36400), because the UPnP interface for your Sonos system may be more stable than a reverse engineered (non-?)UPnP interface.

Disclaimer: :slight_smile:
I don’t own a Sonos system, so my suggestion may not work at all.

It appears there are no controls set up for this. If you use a direct URL such as:


ERROR: No Control URLs for Device

http://#.#.#.#:1400/support/review (where #.#.#.# is a ZP’s IP) provides a consolidated, browsable view of the diagnostics across all the devices. It includes the controllers if they are awake at the time.

http://#.#.#.#:1400/status provides a page of links to each of the diagnostic pages on the specific device targeted.


Check out: http://sonority.codeplex.com/SourceControl/changeset/view/46507#175915

It appears there are no controls set up for this. If you use a direct URL such as:

Are you using the latest firmware (1.1.1234)? Importing the Sonos devices as UPnP devices into MiOS won’t work for firmware versions < 1.1.1234.