more G-Labs products

Author Topic: Can NOT see the status Door Open or Closed...  (Read 4169 times)

February 17, 2014, 10:25:49 PM
Read 4169 times

nevenante

  • *
  • Information
  • Newbie
  • Posts: 4
Hello Generoso

I am new at this also. Am learning the HomeGenie User Interface. Have been at it for a week now with some minor success.
The User Interface would be more user friendly if all functionalities were presented in a categorized fashion using branching.

I have purchased from Aeotec;
   One - Z-Wave stick Series 2.
   Five - Door/Window (2nd edition) Sensors.
   One - Multi Sensor.
And one Raspberry Pi.

Hello Hemal

So far HomeGenie is recognizing the presence all 6 devices through the Z-Wave Stick.
When I click the following sequence... Home/Configure/Groups and Modules/"Monitoring Devices"(I named this)/Z-Wave Node 17/ZWave 17 - Settings/the [Setup] button, I do get this... "Manufacturer Specific = 0086:0002:001D" displayed in the first line of the page that pops in. The same code is displayed for all 6 devices. The second line shows this "Sensor Binary, Battery, Wake Up, Alarm, Configuration, Association".

This is where I am stuck.

What can I do next, to somehow, on some page display the Opened or Closed status for each device? And all four status conditions from the Multisensor?

Kind regards,
Neven.

February 18, 2014, 12:34:51 AM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi,

you have to associate node 1 (the controller) with the sensor group 1, so the sensor will report tamper/doorwindow values to HG as well. Wake Up the sensor before associating.
See the attacched pic.

Cheers,
g.

February 18, 2014, 03:38:18 AM
Reply #2

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi Neven,

while checking into this, I found out major bug in z-wave node adding/removing.
I went to remove my aeon d/w sensor and then, when trying to re-add it, I add lot of problems... actually the node was being added but no manufacturer specific nor nodeinfo was showing up.
Now I fixed this and uploaded a new release (r333).
Let me know if it solves the problem.

Thanks for reporting.

Cheers,
g.

February 18, 2014, 05:14:53 PM
Reply #3

hemaltandel

  • *
  • Information
  • Newbie
  • Posts: 8
Its fixed the problem for me... Thanks Gene.

February 18, 2014, 09:54:16 PM
Reply #4

nevenante

  • *
  • Information
  • Newbie
  • Posts: 4
Hello Generoso...

Glad to have uncovered a bug in v329 for Raspberry Pi. I went to look for the v333 and v329 started downloading from page http://www.homegenie.it/download.php to the right of the Raspberry Pi icon.

Where can I find v333?

By the way, is including the Z-Wave devices using  the Z-Stick and walking with it from device to device and using its button the same as using your inclusion software in Homegenie UI?

Where can I find the documentation for the devices mentioned above that shows all the parameters that your UI reads and writes to?

Kind Regards,
Neven.

PS, glad to be on the "team" debugging this thing you created. I am currently employed as a test engineer for embedded applications, so testing is my thing :-)

February 18, 2014, 11:01:54 PM
Reply #5

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi nevenante,

you can download r333 from http://sourceforge.net/projects/homegenie .
In an hour or so I will be uploading r334.
If you're using it on raspberry, you'll have to manually upgrade from tgz archive.

Inclusion with the stick is just the same as inclusion from HG.
There is only one difference about nodes that supports WakeUp, and that so may be "sleeping" at the time you connect the stick to HG.
So HG may miss some useful info about new nodes like manufacturer specific and nodeinfo frames.
In this case, when you connect the stick, you have to go to the node setup page, wake up the node and force a manual manufacuter specific get from there.

For devices documentation you can look at pepperdb site:
http://www.pepper1.net/zwavedb/

Thanks for helping with debugging the HG thing =)

February 19, 2014, 12:14:30 AM
Reply #6

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hey nevenante,

r334 is now available for download.
Please feel free to give any direction and suggestion about making testing more efficient.
On the counterpart I've got no clue about testing =)
I'm glad people appreciate this little work and hope it will get better and better with time.

Cheers,
g.

February 19, 2014, 06:38:52 AM
Reply #7

nevenante

  • *
  • Information
  • Newbie
  • Posts: 4
My latest dilemma... I am most likely doing something wrong...

I downloaded the r334 and placed a copy of it in "/home/pi/Desktop/HomeGenie_for_RP/homegenie-beta_1.00.334_all.deb" folder.

Then I went into the terminal Window and experienced the following...
-----------------------------------------------------------------------------------------------------------
pi@raspberrypi ~/Desktop/HomeGenie_for_RP $ sudo apt-get install gdebi-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gdebi-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
pi@raspberrypi ~/Desktop/HomeGenie_for_RP $ sudo gdebi homegenie-beta_1.00.334_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: libmono-system-servicemodel4.0-cil

pi@raspberrypi ~/Desktop/HomeGenie_for_RP $
-----------------------------------------------------------------------------------------------------------
I am attempting to install r334 onto the existing r329. Is that OK?
I also tried installing r334 into the regular Raspbian without the preexisting installation of Homegenie, but when I entered the command "sudo gdebi homegenie-beta_1.00.334_all.deb" the installation process was not able to locate the needed files at the "http://.... some raspbian website..."

HELP!!!
Kind regards,
Neven.

February 19, 2014, 08:44:40 AM
Reply #8

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi,

to install over the HG prebuilt sdcard image you have to use the tgz archive, not the deb package. This is because HG sd card is shipped with a custom mono-runtime version.
Rename old HomeGenie folder to HomeGenie_old and decompress the tgz file that will create the new HomeGenie folder.

If you want to use the official raspbian image, ensure you're using the latest raspbian release which support mono 3 on armhf debian.
There you can install HG with gdebi and deb package. Note that in this case hg will be installed into the /usr/local/bin folder.

g.


February 19, 2014, 09:18:00 AM
Reply #9

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Well... the libmono-system-servicemodel4.0 package has been renamed to libmono-system-servicemodel4.0a, that was causing the error.
I recompiled hg package without this dependency that seem to be not needed anymore for HG to run.
So this is a good chance for testing that everything is still working without that dependency.

I uploaded again r334 deb package on sourceforge. So download it again and repeat the installation procedure.

I tried myself and it seems to be working.
Also, before installing, to fix the 404 not found errors, do a

Code: [Select]
sudo apt-get update


g.
« Last Edit: February 19, 2014, 09:26:51 AM by Gene »

February 20, 2014, 04:20:13 AM
Reply #10

nevenante

  • *
  • Information
  • Newbie
  • Posts: 4
Hi Gene,

Thanks for the advice... will try it in a few days.
Right now I am focusing on updating the HG on my 4 computers
1. the Raspbery Pi.
2. a MacAir 11 inch laptop.
3. a Windows 7 (64 bit) desktop PC
4. a Windows XP (32 bit) laptop.

By the way, my WinXP laptop HG is stock in the "please wait..." loop while updating. And each time I stop the update after about 30 minutes and restart the HG the same amber color down pointing arrow i the upper right hand corner shows up telling me that for waht ever reason the updating process does not work with the Win XP laptop.
I have not yet tried the Auto=update on the other platforms.
Any suggestions?
 
In every one of these four platforms I am using the same Z-Stick.
When I can not make something work on one platform I will be trying the other. That helps narrow down the issues I am experiencing. I hate those "operator errors" :-)

Kind regards,
Neven

February 20, 2014, 09:50:22 AM
Reply #11

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Hi Neven,

please read the README FIRST topic. This will help saving some time for already known issues.

Cheers,
g.