We have moved at community.getvera.com

Author Topic: Veralite doesn't get scene id from controller  (Read 12183 times)

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Veralite doesn't get scene id from controller
« on: April 21, 2013, 05:17:58 pm »
Hello! I'm very new at z-wave and I need help.

I have Veralite, lamp with z-wave and Duwi scene controller 05443.

I've successfully added my two z-wave devices to Verlite, created two scenes - to switch lamp on and off. When I run these scenes from Veralite everything works fine.

But when I try to add triggers to scenes there is a problem. Vera gets only two scenes ID from scene controller - 0 and 1. But my scene controller has about 12 different scenes:

Scene 1: Single Click on Upper Part of Paddle
Scene 2: Single Click on Lower Part of Paddle
Scene 3: Single Click Dim Up
Scene 4: Single Click Dim Down
Scene 5: Single Click Dim Up Stop
Scene 6: Single Click Dim Down Stop
Scene 11: Double Click on Upper Part of Paddle
Scene 12: Double Click on Lower Part of Paddle
Scene 13: Double Click Dim Up
Scene 14: Double Click Dim Down
Scene 15: Double Click Dim Up Stop
Scene 16: Double Click Dim Down Stop

I added two configuration settings to scene controller as it said in http://en.z-wave.me/docs/ZME_06443_UserManual.pdf, but it didn't help.
Veralite only understand scene 1 (Single Click on Upper Part of Paddle), but all other are scene 0 for Veralite.

Then I tried to watch the logs of Veralite, and I figured out that my scene controller is actually sending right scene ID.

Code: [Select]
02 04/21/13 13:47:04.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:47:04.236 <0x2c1ff680>
02 04/21/13 13:48:34.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:48:34.236 <0x2c1ff680>
02 04/21/13 13:50:04.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:50:04.236 <0x2c1ff680>
02 04/21/13 13:51:34.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:51:34.266 <0x2c1ff680>
08 04/21/13 13:52:24.698 JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: LogIpRequest <0x2d3ff680>
08 04/21/13 13:52:24.699 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x2d3ff680>
08 04/21/13 13:52:24.699 JobHandler_LuaUPnP::HandleActionRequest argument action=LogIpRequest <0x2d3ff680>
08 04/21/13 13:52:24.699 JobHandler_LuaUPnP::HandleActionRequest argument IpAddress=192.168.1.34 <0x2d3ff680>
08 04/21/13 13:52:24.700 JobHandler_LuaUPnP::HandleActionRequest argument MacAddress=5c:0a:5b:9f:2f:95 <0x2d3ff680>
02 04/21/13 13:53:04.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:53:04.236 <0x2c1ff680>
08 04/21/13 13:53:18.557 JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: LogIpRequest <0x2ddff680>
08 04/21/13 13:53:18.558 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x2ddff680>
08 04/21/13 13:53:18.558 JobHandler_LuaUPnP::HandleActionRequest argument action=LogIpRequest <0x2ddff680>
08 04/21/13 13:53:18.558 JobHandler_LuaUPnP::HandleActionRequest argument IpAddress=192.168.1.34 <0x2ddff680>
08 04/21/13 13:53:18.558 JobHandler_LuaUPnP::HandleActionRequest argument MacAddress=5c:0a:5b:9f:2f:95 <0x2ddff680>
02 04/21/13 13:54:34.103 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:54:34.236 <0x2c1ff680>
02 04/21/13 13:56:04.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:56:04.266 <0x2c1ff680>
02 04/21/13 13:57:34.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:57:34.236 <0x2c1ff680>
02 04/21/13 13:59:04.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 13:59:04.266 <0x2c1ff680>
06 04/21/13 13:59:21.785 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: sl_SceneActivated was: 0 now: 0 #hooks: 2 upnp: 0 v:0xbaaf10/NONE duplicate:0 <0x2c1ff680>
07 04/21/13 13:59:21.786 Event::Evaluate 1 11 scene Lamp on is false repeat 0/-1 <0x2c1ff680>
07 04/21/13 13:59:21.786 Event::Evaluate 2 2 scene Lamp off is false repeat 0/-1 <0x2c1ff680>
06 04/21/13 13:59:21.786 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneID was: 11 now: 11 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2c1ff680>
06 04/21/13 13:59:21.787 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneTime was: 1366576295 now: 1366577961 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
08 04/21/13 14:00:04.617 JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: LogIpRequest <0x2d3ff680>
08 04/21/13 14:00:04.617 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x2d3ff680>
08 04/21/13 14:00:04.617 JobHandler_LuaUPnP::HandleActionRequest argument action=LogIpRequest <0x2d3ff680>
08 04/21/13 14:00:04.618 JobHandler_LuaUPnP::HandleActionRequest argument IpAddress=192.168.1.34 <0x2d3ff680>
08 04/21/13 14:00:04.618 JobHandler_LuaUPnP::HandleActionRequest argument MacAddress=5c:0a:5b:9f:2f:95 <0x2d3ff680>
02 04/21/13 14:00:34.102 ZW_Send_Data node 2 NO ROUTE (nil) <0x2c3ff680>
04 04/21/13 14:00:34.246 <0x2c1ff680>
06 04/21/13 14:01:02.735 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: sl_SceneActivated was: 0 now: 0 #hooks: 2 upnp: 0 v:0xbaaf10/NONE duplicate:0 <0x2c1ff680>
07 04/21/13 14:01:02.736 Event::Evaluate 1 11 scene Lamp on is false repeat 0/-1 <0x2c1ff680>
07 04/21/13 14:01:02.736 Event::Evaluate 2 2 scene Lamp off is false repeat 0/-1 <0x2c1ff680>
06 04/21/13 14:01:02.736 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneID was: 11 now: 14 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
06 04/21/13 14:01:02.737 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneTime was: 1366577961 now: 1366578062 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
06 04/21/13 14:01:03.725 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: sl_SceneActivated was: 0 now: 0 #hooks: 2 upnp: 0 v:0xbaaf10/NONE duplicate:0 <0x2c1ff680>
07 04/21/13 14:01:03.726 Event::Evaluate 1 11 scene Lamp on is false repeat 0/-1 <0x2c1ff680>
07 04/21/13 14:01:03.726 Event::Evaluate 2 2 scene Lamp off is false repeat 0/-1 <0x2c1ff680>
06 04/21/13 14:01:03.726 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneID was: 14 now: 16 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
06 04/21/13 14:01:03.727 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneTime was: 1366578062 now: 1366578063 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
06 04/21/13 14:01:05.775 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: sl_SceneActivated was: 0 now: 0 #hooks: 2 upnp: 0 v:0xbaaf10/NONE duplicate:0 <0x2c1ff680>
07 04/21/13 14:01:05.776 Event::Evaluate 1 11 scene Lamp on is false repeat 0/-1 <0x2c1ff680>
07 04/21/13 14:01:05.776 Event::Evaluate 2 2 scene Lamp off is false repeat 0/-1 <0x2c1ff680>
06 04/21/13 14:01:05.776 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneID was: 16 now: 12 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>
06 04/21/13 14:01:05.777 Device_Variable::m_szValue_set device: 4 service: urn:micasaverde-com:serviceId:SceneController1 variable: LastSceneTime was: 1366578063 now: 1366578065 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2c1ff680>

I can see in logs that LastSceneID is changing through the time to the right button combination that I use one my scene controller. But triggers for these scenes doesn't work.

Maybe it is somehow connected with sl_SceneActivated variable in logs, I don't know.

Does anyone have any ideas what can I do?

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Veralite doesn't get scene id from controller
« Reply #1 on: April 25, 2013, 09:44:00 am »
@thedeadstone,

Welcome!

I have no experience with the Duewi scene controller. Does it actually show as a scene controller in Vera?
Dezwaved at the moment...

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #2 on: April 28, 2013, 05:14:58 am »
Yes, it is scene controller


Offline RexBeckett

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3891
  • Karma: +483/-13
Re: Veralite doesn't get scene id from controller
« Reply #3 on: April 28, 2013, 05:40:25 am »
How did you setup your scene triggers?  What you need to do is:

Under Automation tab, click New scene and enter an appropriate name (instead of New scene). Go to TRIGGERS tab and click Add trigger. Select your controller in the Device pull-down and in the What type of event is the trigger? pull-down, select A scene is activated. Give your trigger a catchy name and enter the controller scene number (1-16) in Which scene number. Click  Confirm changes, click Save/Reload and refresh your browser page. The new scene should show up in your scene controller's UI. You may need to repeat the Reload and browser refresh.


Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #4 on: April 28, 2013, 10:59:21 am »
It was done absolutely as you said.

Here is screenshop of my trigger

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #5 on: May 02, 2013, 06:42:14 am »
I've found similar problem here:
http://forum.micasaverde.com/index.php?topic=9182.5
As far as is understand it is Vera problem.

It is told in this post http://forum.micasaverde.com/index.php/topic,9182.msg79140.html#msg79140 that you have to change Vera firmware.
download.mios.com/brcm_betafirmware/wl500gP_Luup_ui5-1.5.401-en-mios.squashfs
But it is for Vera2. And firmware is too old.
Can I try to use this old firmware?

Offline garrettwp

  • Master Member
  • *******
  • Posts: 6371
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Veralite doesn't get scene id from controller
« Reply #6 on: May 02, 2013, 06:57:58 am »
You can not use Vera2 firmware with VeraLite or Vera3. They are different platforms and will not work. Also 1.5.401, even though it had the changes for the scene controllers, there have been a lot of changes from 1.5.401 to 1.5.622.

- Garrett

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #7 on: May 03, 2013, 01:49:32 am »
Do you have any ideas what I can do?

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #8 on: May 08, 2013, 04:11:25 pm »
I will ask again..

My switch is working ok with two scenes - 0 and 1. It really turns on and turn off my lamp. Strange thing is that double click up button also turns off my lamp.

Here are my settins:
http://i48.fastpic.ru/big/2013/0508/b5/7e8ee2dff7bbb07ea2776e75a137d0b5.png

http://i47.fastpic.ru/big/2013/0508/c6/17e15cbf2f32551f97adcc2f3011b8c6.png

http://i47.fastpic.ru/big/2013/0508/3b/fda44414f72721487c9db7d89d62023b.png

And here is logs, where the first red block - it is when i press up button, second red block - down button.

http://i47.fastpic.ru/big/2013/0508/96/15fa2a8a1b00633af4aaf6110cc21a96.png

And this is logs when i use long press down:
http://i47.fastpic.ru/big/2013/0508/f8/e121eaed0396883c7bafb7e3641dc1f8.png
I can see here than variable LastSceneID is changed to 4, but trigger for this scene number doesn't work.

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #9 on: May 16, 2013, 10:45:18 am »
Please someone help!

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Veralite doesn't get scene id from controller
« Reply #10 on: May 17, 2013, 12:33:59 pm »
Is this your only type of scene controller, or do you have others? If so, what brand/model are they?
Dezwaved at the moment...

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #11 on: May 21, 2013, 06:08:06 am »
This is only type I have.

Offline oTi@

  • Community Beta
  • Master Member
  • ******
  • Posts: 4041
  • Karma: +32/-6
  • UI what ?!
Re: Veralite doesn't get scene id from controller
« Reply #12 on: May 24, 2013, 09:07:47 am »
Are you interested in a small experiment? (Requires making a backup, access to the log files, and executing a few lines of Luup code.)
Dezwaved at the moment...

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #13 on: May 28, 2013, 01:24:45 pm »
Are you interested in a small experiment? (Requires making a backup, access to the log files, and executing a few lines of Luup code.)

Absolutelly!

Offline thedeadstone

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Veralite doesn't get scene id from controller
« Reply #14 on: June 03, 2013, 03:46:13 pm »
oTi@, i'm still waiting for experiment. You can access me via Skype (thedeadstone). And I can give you remote access to Veralite interface.