We have moved at community.getvera.com

Author Topic: Notifications coded as global scenes ...  (Read 1721 times)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Notifications coded as global scenes ...
« on: January 05, 2011, 09:35:02 am »
While testing my LOUIS4Vera Luup plugin, I came across some inconsistencies in scenes:

Code: [Select]
for u,v in pairs(luup.scenes)
 do

  luup.log('AAA'..u..'*'..v.room_num..'*'..v.description..'*'..tostring(v.hidden))

 end

lists all scenes, but UI4 doesn't display all of them. The missing scenes are from room 0 (global scenes), not hidden and have the following user_data structure

Code: [Select]
{
            "name": "K tripped",
            "notification_only": 16710,
            "id": 71,
            "Timestamp": 1281046281,
            "room": 0
        },

Obviously, they are notifications coded as global scenes ...

Is there a Luup way (without parsing user_data ...) to identify these 'notification scenes'?

BTW, the Smartphone plugin has the same problem ...
« Last Edit: January 05, 2011, 09:41:07 am by Ap15e »

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1088
  • Karma: +1/-0
Re: Notifications coded as global scenes ...
« Reply #1 on: January 05, 2011, 01:52:29 pm »
I was looking into Smartphone plugin to filter those annoying scenes out... :)
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.