more G-Labs products

Author Topic: Z-wave switch not updating state  (Read 7066 times)

November 26, 2015, 01:05:11 PM
Reply #15

Gene

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

so try waking them up and see what happen. HG should be able to retrieve the node info and then you won't see those errors anymore.

g.

November 26, 2015, 01:07:37 PM
Reply #16

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
also if you want a switch to be updated when you locally act on it, you have to configure automatic status report on your device.
this is done by changing some variables from the setup page. the configuration variables may vary from brand to brand, so consult your dev docs.

g.

November 26, 2015, 01:10:39 PM
Reply #17

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
this is an example settings for having an AEON multilevel switch report its status and watt metering.

g.
« Last Edit: November 26, 2015, 01:12:18 PM by Gene »

November 26, 2015, 01:31:48 PM
Reply #18

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
This has been working before that hg checked the device status when the device woke up. Which happens when you pressed the button on the device.

Screenshots of the devices not working.

The one reporting as a lampsocket isn't, it's a power switch.

As you can see there isn't much to setup for making it report. Reporting back it's state would in my eyes be a very important feature always turned on. If not having it reporting back would make the device as useless as the telldus.

November 26, 2015, 01:47:48 PM
Reply #19

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
This has been working before that hg checked the device status when the device woke up. Which happens when you pressed the button on the device.

Screenshots of the devices not working.

The one reporting as a lampsocket isn't, it's a power switch.

As you can see there isn't much to setup for making it report. Reporting back it's state would in my eyes be a very important feature always turned on. If not having it reporting back would make the device as useless as the telldus.

for node 25 you have to set association of group 1 to node 1 (enter number 1 in the association panel and click set, then click get to ensure it is associated to node 1).

node 24 is not supporting Association class, so I don't see any way to make it report status rather than activate polling or having the wake-up program in hg poll its status.

so from what I can understand, all of those issues are just a matter of configuration.

g.


November 26, 2015, 01:53:39 PM
Reply #20

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
Yes, the wakeup program is the one updating it before so that is what I had in mind for the switches but it's not working.

November 26, 2015, 01:58:04 PM
Reply #21

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
For node 25 your solution worked. Now only the switches and don't register wake up

November 26, 2015, 01:58:31 PM
Reply #22

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
so the wake up program might need a fix. can you paste the log of what happen when you press the local button on the device?
so I can have a look at the wake up program and see how to fix this.

g.

November 26, 2015, 02:10:20 PM
Reply #23

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
Well I thinks thats the problem.. nothing happens when I press the button on the device. The logs dont register anything.

November 26, 2015, 02:37:39 PM
Reply #24

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
So the device does not have this functionality I guess. You might work-around this using the LevelPoll program.

g.

November 26, 2015, 03:00:37 PM
Reply #25

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
well, had this working in an earlier version of homgenie and you fixed the wakeup program then.
see http://www.homegenie.it/forum/index.php?topic=181.msg1000#msg1000

November 26, 2015, 03:10:22 PM
Reply #26

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
but you said that nothing happen in the logs when you press the button? so how can the wake up program know that the device is trying to communicate?

g.

November 26, 2015, 03:12:08 PM
Reply #27

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
It's detecting the wrong device from pepper.. I have this http://www.pepper1.net/zwavedb/device/53
but its detected as http://www.pepper1.net/zwavedb/device/57
« Last Edit: November 26, 2015, 03:52:07 PM by maxflax »

November 26, 2015, 03:54:34 PM
Reply #28

maxflax

  • ***
  • Information
  • Full Member
  • Posts: 90
yes nothing in the homegenie.log file when pressing the button on the device. This has been working before that it send a wakeup with the exact same device. So nothing is hindering the wakeup comming trough or something.

November 26, 2015, 03:57:55 PM
Reply #29

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
try associating the node manually by calling the url:

http://hg_address/api/HomeAutomation.ZWave/node_number/Association.Set/1/1

g.