Author
Topic: GSD/Ruby Developers Conferences (Read 20274 times)

Just to say, thanks to watching this i was able to get my Rako kit working At the moment its really basic code to "just get it to work" but will be going back over it to add checking and anything else i can think of (the blasted off commands issue for one )

I'll pop a wiki page up sometime this week with my code.

Looking forward to the next conference, i'll try and add something to it this time (got a list of why dont this works )

Sp00nhead,

That's GrEaT! I wanted that first webcast to be a primer, or a basic how-to... I'm glad it's helped!

Viewing the log is probably the most effective debugging resource, if I didn't mention it in the conference...just make sure you output to it.

and... just do you don't reinvent the wheel, here's a quicky. Put this in your Private Method Listing:

heh, I had troubles logging object inspections.. the output never made it to the log because it thought it was xml or other tags...That was also dealing with a specific bug in the code... I have since fixed that bug, but haven't changed the logging routines back...Either way, they still work, the code above is more efficient, but in no way will it affect the PLCBUS stuff.

BTW, Good eye!Now let's see if you can find some of the other hiccups!

My 4th webconference will explain the ThreadedRuby Object model I have created. PLCBUS is based on that model.

Logged

The only intuitive interface is the nipple. After that it's all learned.My other computer is your windows box. I'm out of my mind. Back in 5 minutes.Q: What's Red and smells like blue paint?

I had set another machine up to record here. However, we DID have a software crash (webconferencing software DimDIm) and I didn't get a chance to reconnect the recording PC.This is almost a 2 person job, 1 to record, and 1 to host.

Hi Dan!where could I find the record of thsi video converence,thanks in advance

on the next webcast you wanna play with a vista-15p alarm panel to demo adding support for a device like it Haha, I've been trying to get this panel working/supported for a while now, grasping at hope someone will pick it up

The panel does not directly have an ethernet or serial connection, I used a VistaICM to give the panel an ethernet connection and get it on my network. The problem now is I don't know Ruby at all and have no idea where to start writing a GSD for this panel. The VistaICM I am using provides a web interface that emulates and is connected to the panel as a keypad. When you click a number on the keypad it hits a URL that I'm assuming communicates with the panel as if you had just pressed the button on a keypad. The url's as copied from the VistaICM's web interface use the following formatting

There are logs on the VistaICM as well and the web interface shows in real time the status of the panel so it should be possible to communicate with sensors hooked to the panel as well somehow, but I have no idea where to even start with being able to arm/disarm the panel...

I just confirmed that hitting the links in the proper order for my disarm code will disarm the panel so I'm assuming that means the complexity of the panels protocol is now taken out of the equation since the VistaICM apparently has that logic built in, can you confirm if this is correct?

1.) Look at templates using HTTP like the Panasonic or the D-Link webcam. That will give you information how to do http requests

2.) Look at the Apex panel ruby code to see which commands/events are relevant for an alarm panel

3.) Create a new device template and copy and paste the ruby snippets you need

4.) ?

5.) Profit

when you get stuck, drop a line. Ruby is not all that hard in LinuxMCE. If you know any script language you should get the pieces together. If you don't, this is the time to improve :-) Start with little shell scripts.

The setup you use is not available in Germany (afaik), so I won't invest time in this. After I've finished Z-Wave I'll look into alarm panels, but I want direct serial control, reports for every zone and an intelligent (tamper resistant) alarm bus and a EU reseller.