ZWave class library

Tell about your Z-Wave projects

ZWave class library

Postby fpe123 on Mon Jan 25, 2010 11:05 am

Hi

I'm making a ZWave Class Library, named OpenZWave. It is based on Henrik Jørgensen Leidecker code :D and LinuxMCE.

Currently all code from digiWave.dk (Henrik) and part of the constants from LinuxMCE is made.

I have also move up the Level to then ZWaveNode class, so if you press the button on swicth, it automatically refresh level of the real switch (current not the Dimmer).

My idea is to create a project on CodePlex so that others can contribute to this. I am also open to other proposals which it can be saved.

Where are some who want to help, so give me a hint.

I have programs in C# using Visual Studio 2008. Expect to move to Visual Studio 2010.

I've created under the following license, but it can change

Code: Select all
/*
*   Copyright (C) 2010- digiWave.dk
*   http://www.digiwave.dk/
*
*  This Program is free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2, or (at your option)
*  any later version.
*   
*  This Program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*  GNU General Public License for more details.
*   
*  You should have received a copy of the GNU General Public License
*  along with GNU Make; see the file COPYING.  If not, write to
*  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*  http://www.gnu.org/copyleft/gpl.html
*
*/


/ Flemming
Last edited by fpe123 on Tue Jan 26, 2010 4:16 pm, edited 3 times in total.
fpe123
 
Posts: 21
Joined: Tue Jan 12, 2010 11:40 pm

Re: ZWave class library

Postby Chiwauwa on Mon Jan 25, 2010 11:00 pm

Hi Flemming,

Sounds interesting and I'm happy to see that my articles are being used. I receive emails from people interested in joint Z-Wave development projects from time to time - I will let them know about your initiative.

Best regards,
Henrik
Chiwauwa
 
Posts: 15
Joined: Tue Jan 12, 2010 3:18 pm
Location: Denmark

Re: ZWave class library

Postby fpe123 on Mon Jan 25, 2010 11:12 pm

Hi

I expect to add my project on CodePlex, when I saw Henry next article introduces a producer / consumer pattern for sending messages. I add 2 new variables to a ZWaveNode. genericClass and a list of the commandClass.

I have some problems to decode message from the dimmer, so I can set the correct level, there are some who have an idea. I have always only the following message:
01 0C 00 49 84 06 06 03 11 00 26 27 75 58 (on, off or dæmping).

/Flemming
fpe123
 
Posts: 21
Joined: Tue Jan 12, 2010 11:40 pm

Re: ZWave class library

Postby Chiwauwa on Tue Jan 26, 2010 7:57 am

Hi,

If I remember right (I don't have my implementation at hand right now) then this is a notification from the device - that it has been updated and you need to ask for the status.

You can figure out how to ask for the status by using e.g. HomeSeer to poll the device and watch what is happening on the serial port.

Best regards,
Henrik
Chiwauwa
 
Posts: 15
Joined: Tue Jan 12, 2010 3:18 pm
Location: Denmark

Re: ZWave class library

Postby fpe123 on Tue Jan 26, 2010 8:10 am

Hi Henrik

I do not have a Homeseer. I start with an Electronic Housekeeper I have 2 Switch 2 Wire Keeper and Keeper of more than 2 years ago.
I bought an Aeon - Z-stick and ACT HOMEPRO ZDP200 - Dimmer (Shuko) from Homestore.

Pt. I test my class bibiotek with a Switch Keeper, ACT HOMEPRO and Aeon.

/Flemming
Last edited by fpe123 on Wed Jan 27, 2010 10:01 am, edited 1 time in total.
fpe123
 
Posts: 21
Joined: Tue Jan 12, 2010 11:40 pm

Re: ZWave class library

Postby fpe123 on Tue Jan 26, 2010 4:17 pm

Hi

I had now create the project on codeplex.com. look at http://openzwave.codeplex.com

the project is not yet public but I can add you to it as developer.

/Flemming
fpe123
 
Posts: 21
Joined: Tue Jan 12, 2010 11:40 pm

Re: ZWave class library

Postby Chiwauwa on Tue Jan 26, 2010 11:31 pm

Hi Flemming,

Please add me as a developer - so I can see what you are working on. My account id on CodePlex is 'Chiwauwa'.

Best regards,
Henrik
Chiwauwa
 
Posts: 15
Joined: Tue Jan 12, 2010 3:18 pm
Location: Denmark

Re: ZWave class library

Postby emran on Wed Jan 27, 2010 1:00 am

Hi Flemming !!

Very interesting project :)

the values your dimmer transmit for some communication should be changed according to its state i.e,(on,off)

according to my experience (which is not sufficient enough :D ) , one "command" should have atleast two changes in consecutive transmission.
emran
 
Posts: 4
Joined: Mon Jan 25, 2010 11:34 am

Re: ZWave class library

Postby fpe123 on Wed Jan 27, 2010 9:14 am

Hi Henrik

You is add to OpenZWave on Codeplex as a developer. http://openzwave.codeplex.com/

/Flemming
fpe123
 
Posts: 21
Joined: Tue Jan 12, 2010 11:40 pm

Re: ZWave class library

Postby Chiwauwa on Wed Jan 27, 2010 10:13 am

Hi Flemming,

I just checked the CodePlex repository and I can now access the source files.

I have also finalized the considerations related to the license aspect of the source code. I have updated all the existing articles with a comment regarding this topic: "You are free to use the code in any manner you like."

As a consequence I ask you to modify the license paragraph so digiWave.dk is replaced with OpenZWave (or something else).
The main reasons for this is that I do not want to pose any limitations to the spin-offs of the articles and that the various projects might prefer different license models - it might cause a conflict if digiWave.dk indirectly publishes the 'same' software under various licenses.

You are of course more than welcome to let people know that parts of the source code is based on the articles at digiWave.dk.

Did you figure out the part about retrieving the 'Dimmer' value from the node?

Best regards,
Henrik
Chiwauwa
 
Posts: 15
Joined: Tue Jan 12, 2010 3:18 pm
Location: Denmark

Next

Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest