We have moved at community.getvera.com

Author Topic: scene not triggered  (Read 1485 times)

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
scene not triggered
« on: March 10, 2017, 01:15:57 am »
I have a scene which is triggered by a light sensor level.  I have more and more cases where this scene is no longer executed.  My impression is that this is the case since I pushed the light level value to datayours.  In the cases where the scene is not executed  I see the following in the log
Code: [Select]
                 luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-07 18:42:56.572   openLuup.scenes:: LL Dusk is currently paused
2017-03-07 18:42:56.576   luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-07 18:42:56.597   openLuup.server:: GET /data_request?id=user_data&output_format=json&DataVersion=614102142&_=1488614136606 HTTP/1.1 tcp{client}: 0xd6b620
2017-03-07 18:42:57.861   openLuup.server:: request completed (792805 bytes, 50 chunks, 1263 ms) tcp{client}: 0xd6b620
2017-03-07 18:42:57.868   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay
2017-03-07 18:42:57.872   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay
2017-03-07 18:43:00.172   openLuup.server:: GET /data_request?id=lu_status2&output_format=json&DataVersion=614205968&Timeout=60&MinimumDelay=1500&_=1488614136607 HTTP/1.1 tcp{client}: 0xd6b620

2017-03-09 18:48:56.160   luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-09 18:48:56.160   openLuup.scenes:: LL Dusk is currently paused
2017-03-09 18:48:56.163   luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-09 18:48:56.180   openLuup.server:: GET /data_request?id=user_data&output_format=json&DataVersion=614104653&_=1488908731677 HTTP/1.1 tcp{client}: 0xe890f8
2017-03-09 18:48:57.425   openLuup.server:: request completed (792997 bytes, 50 chunks, 1244 ms) tcp{client}: 0xe890f8
2017-03-09 18:48:57.454   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay
2017-03-09 18:48:57.457   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay

while when the scene is executed

Code: [Select]
2017-03-07 18:54:56.622   luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-07 18:54:56.623   openLuup.scenes:: LL Night is currently paused
2017-03-07 18:54:56.625   luup.call_action:3: 0.urn:micasaverde-com:serviceId:HomeAutomationGateway1.RunScene
2017-03-07 18:54:56.626   luup.scenes:: scene 76, LL Night, initiated by command

So I think the condition is triggered as should and HomeAutomationGateway1.RunScene is executed but then the error
No handler for data_request?id=lr_DataWatcherRelay interferes and the scene is not executed.
Could it be datayours is interfering with the execution?(Happened now 4 times)


« Last Edit: March 10, 2017, 03:44:19 pm by akbooer »

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: scene not triggered
« Reply #1 on: March 10, 2017, 03:03:24 am »
There's two things amiss here:

Scene is paused:

The log says so...
Code: [Select]
2017-03-07 18:42:56.572   openLuup.scenes:: LL Dusk is currently paused

...so simply enable it by clicking the 'power' button on the scene.

DataYours configured wrongly:

As you point out, no handler.  So if it looks to be working otherwise, you are probably running the wrong version.  If it's not working at all, then there's a different issue.

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
Re: scene not triggered
« Reply #2 on: March 12, 2017, 07:17:34 am »
sorry, forgot to mention that I created a new version of that scene with the same name.  The first version was indeed paused.  I also know I have errors on datayours though everything seems working fine for me.  If it happen once more I deactivate datayours to see this helps

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
Re: scene not triggered
« Reply #3 on: March 13, 2017, 02:14:08 pm »
since I had the problem once more I uninstalled the datayours plugin.  The altui plugin screen show the the plugin is uninstalled.  Though I still see the same entries on the log
2017-03-13 18:51:51.423   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay
2017-03-13 18:51:51.427   openLuup.server:: No handler for data_request?id=lr_DataWatcherRelay
When looking at the device variables I see they're still pushed to datayours and it seems I cannot undo the push.  How can I completely uninstall the plugin?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: scene not triggered
« Reply #4 on: March 14, 2017, 03:14:02 am »
Looks like you used AltUI to push the variables to the DataYours storage provider.  You would have to disable those data pushes from AltUI itself.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
Re: scene not triggered
« Reply #5 on: March 14, 2017, 05:20:43 am »
That's my problem, I cannot disable it via ALTUI . I'll ask the question to amg0
Could that be the reason the DataWatcher is still triggered?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: scene not triggered
« Reply #6 on: March 14, 2017, 05:43:38 am »
Yes, I think it's the only thing which uses the DataWatcherRelay request.

Why can't you disable it with AltUI?  Each watched variable should be on the Watched Variables table and should have a red 'graph' icon.  You should only need to untick the 'Enable Push to' box to stop it.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
Re: scene not triggered
« Reply #7 on: March 14, 2017, 07:18:02 am »
don't know why but the unticking of the push is not saved, nothing in the logs...
I even tried to push a new variable, same result, nothing saved.  Will retry this evening after restart

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: scene not triggered
« Reply #8 on: March 14, 2017, 08:04:44 am »
You have to press again on the red 'graph' icon after deselecting the push in order to save it.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline delle

  • Full Member
  • ***
  • Posts: 134
  • Karma: +3/-0
Re: scene not triggered
« Reply #9 on: March 14, 2017, 02:39:10 pm »
aaaah, feeling stupid, indeed clicking the graph saved the settings.  Datayours is now disabled and my scene executed as should
I'll keep on monitoring the next days.  If OK I'll try to install datayours again
Thanks!