This page last changed on Jun 05, 2013 by petehepple.

Hi there,

I'm a complete beginner with this and could really do with some help - in the past I've managed to teach myself basic DOS shell and VB scripts and Business Object stuff, but I'm at a complete loss with this! Apologies if this is covered in tutorials anywhere, but I've found them to be a bit confusingly organised and haven't learned much from what I've read so far.

I have a few LightwaveRF light switches and plug sockets (plus the control box), and I'm trying to build a simple interface to start with, just to switch them on and off. So far, I've learned that the protocol to connect with these is UDP, but that's as far as I've got. I've added a button to a panel in the Designer, but after that I'm at a complete loss as to what to do next. I've clicked the Command button, which presents me with 2 folders (Devices and Macros, which are both empty when I try to expand them), and I've had a look in the Config for Controller section of the Building Modeler but so far come up with nothing that looks like what I think I need.

It looks like I need to be at the point where I can edit the commands, as in the screenshot here http://www.openremote.org/display/forums/LightwaveRF%2C+UDP+and+UDP+Listener+help?focusedCommentId=21858096#comment-21858096

Am I missing something blindingly obvious? I really want to learn and experiment as much as I can with this, and it's a bit disheartening being stuck this early on - I'd really appreciate some beginner steps to get a few rudimentary buttons working. I've tried looking in the Public Templates folder for inspiration but that seems to be empty too.

I'd also like to get OR running on my NAS (Western Digital LiveBook) - is that easy?

Sorry for all the questions and long first post - it looks like you don't get many complete newbies around here though, hopefully the answers to my questions could help others in future

Cheers,

Pete

Hi Pete.

Just like to say that you are not alone! I am pretty much stuck at the same point and was asking myself as well: What is it that I do not see that must be obvious to others?

I got OR running on my NAS (Synology DS 213) a few days ago. Not really easy but doable, with some trial and error.
Watch your typing! Linux is case sensitive, as I have found out the hard way. When copying lines from the tutorials, every typo matters and not all tutorials are easy to follow without a linux background.

Sorry that I can not really help, but I could need some help as well.
Hans

Posted by hansweber at Jun 05, 2013 19:38

Hi Hans,

Glad I'm not the only one!

I've managed to get a bit further forward, I don't know how far you managed to get but if you were as stuck as me, this may be of some help:

To create a button and get to the point where you can edit the command assigned to it, you will first need to be in Building Modeler.
New > New Device
Name, Vendor and Model - type anything you want here (I went with Home Test, Pete and Test) > Next
Add command
Name - anything you like (I chose HallLightsOn), Protocol - UDP

IP address - the IP address of your LightwaveRF box
Port - the port it receives commands on (I think it's 9760)
Command - this is where you'd put the coded command. Apparently the format goes R1D1F0 (where R1 is the room number, D1 is the device, and F0 (zero) is off and F1 is on) - taken from a forum post here - http://lightwaverfcommunity.org.uk/forums/topic/wifi-link-api/

I've not yet been able to make this work though, and have seen several variations on the format of the command code. In the post I linked to above, Martyn posts a screenshot with the code he says works for him (null|000,!R1D1F1\r), but I can't make that do anything!

I feel like I'm close to getting started, and once I can make the first light turn off I'll be up and away, but so this is as far as I've got so far.

Hope you've had better luck than me!

Posted by petehepple at Jun 07, 2013 21:16

Hans, I got it working! I've got 5 buttons for my lights (Off, 25%, 50%, 75% and On), and buttons to turn my wall sockets on and off.

You may have already worked it out but if not, let me know where you got up to, where you want to go next and I'll see if I can pass on what I've picked up so far.

Posted by petehepple at Jun 10, 2013 21:25

I'd also like to get OR running on my NAS (Western Digital LiveBook) - is that easy?

Have not heard anyone doing that yet, so "easy" is probably not what it will be. More like jumping into the dark pool of water without seeing what's below the surface.

However, if you do make the jump, and come back with a success, we'd be happy to include the WD as another NAS we can support if you care to document the steps.

Posted by juha at Jun 18, 2013 23:38

It looks like I need to be at the point where I can edit the commands, as in the screenshot here http://www.openremote.org/display/forums/LightwaveRF%2C+UDP+and+UDP+Listener+help?focusedCommentId=21858096#comment-21858096

Am I missing something blindingly obvious? I really want to learn and experiment as much as I can with this, and it's a bit disheartening being stuck this early on - I'd really appreciate some beginner steps to get a few rudimentary buttons working. I've tried looking in the Public Templates folder for inspiration but that seems to be empty too.

Looks like you managed to climb the mountain on this one.

It might be helpful if the steps are documented for the next person, from a newcomer's perspective is fine. If interested, let me know and I can set up a wiki page for you.

Posted by juha at Jun 18, 2013 23:40

I'd love to help out, sure! I'm incredibly busy at the minute so it may be a week or 2 before I can sit down and put anything together, but I'll definitely put something together.

I'm still looking into getting OR installed on my WD NAS, currently dissecting the TwonkyMedia startup script to see what I can learn from that (and possibly just retrofit it with the OR directory and command) - I'll let you know if I have any success.

Cheers!

Posted by petehepple at Jun 19, 2013 10:32

Ok Pete. Ping us when you've got time to get back to it.

Posted by juha at Jun 19, 2013 10:58
Document generated by Confluence on Jun 05, 2016 09:29