Author Topic: Control Panel disappears when Notification Set  (Read 179 times)

Offline Stuart

  • Hero Member
  • *****
  • Posts: 723
  • Karma: +71/-2
Control Panel disappears when Notification Set
« on: October 03, 2018, 03:36:12 pm »

I'm doing some stress testing with GCal3 on AltUI and openluup - no vera.
Using the latest releases but unregistered AltUI.
When I set a notification for the device - the Control Panel no longer displays.

This could easily be operator error as I'm new to AltUI and openluup.  Or the fact that AltUI is not registered (although I would expect some sort of error). Or maybe I have a bug in GCal3. or .....  ?
What can I do to assist in resolving ?

Here are the repeatable steps.
1.  Fresh install of GCal3 from Alt App Store - verified working with test calendar
2. Open ControlPanel displays normally, Create Notification for "Event start or finish"
3. In Scene panel - just click submit.  Note that I cannot select a user as nothing displays for that button.
3. Return to devices tab, Open Control Panel -- nothing displays, no tabs no nothing.

This is the relevant portion of the openluup log file
Code: [Select]
2018-10-03 19:15:16.891   openLuup.http:: GET /data_request?id=scene&action=create&json=%7B%22timers%22%3A%5B%5D%2C%22triggers%22%3A%5B%7B%22name%22%3A%22Notification%20from%20Google%20Calendar%203%22%2C%22enabled%22%3A1%2C%22template%22%3A%223%22%2C%22device%22%3A18%2C%22arguments%22%3A%5B%7B%22id%22%3A1%7D%5D%2C%22lua%22%3A%22%22%7D%5D%2C%22groups%22%3A%5B%7B%22delay%22%3A0%2C%22actions%22%3A%5B%5D%7D%5D%2C%22name%22%3A%22Notification%20from%20Google%20Calendar%203%22%2C%22lua%22%3A%22%22%2C%22room%22%3A0%2C%22notification_only%22%3A18%2C%22modeStatus%22%3A%220%22%2C%22paused%22%3A0%2C%22triggers_operator%22%3A%22OR%22%7D HTTP/1.1 tcp{client}: 0x55e370306768
2018-10-03 19:15:16.892   openLuup.http:: request completed (2 bytes, 1 chunks, 1 ms) tcp{client}: 0x55e370306768
2018-10-03 19:15:17.397   openLuup.http:: request completed (358 bytes, 1 chunks, 19050 ms) tcp{client}: 0x55e37040d578
2018-10-03 19:15:17.402   openLuup.http:: GET /data_request?id=user_data&output_format=json&DataVersion=593381258&_=1538594093598 HTTP/1.1 tcp{client}: 0x55e37040d578
2018-10-03 19:15:17.408   openLuup.http:: request completed (64593 bytes, 5 chunks, 5 ms) tcp{client}: 0x55e37040d578
2018-10-03 19:15:19.382   openLuup.http:: GET /data_request?id=lu_status2&output_format=json&DataVersion=593381634&Timeout=60&MinimumDelay=1500&_=1538594093599 HTTP/1.1 tcp{client}: 0x55e37040d578

Offline Stuart

  • Hero Member
  • *****
  • Posts: 723
  • Karma: +71/-2
Re: Control Panel disappears when Notification Set
« Reply #1 on: October 04, 2018, 11:07:10 pm »
As a follow up.  I turned on vera bridge and now (in step 3 above) can select a user ( the one defined in vera).

After submitting the scene, the device tab displays normally.

So - without a vera, it's not happy.

Is there a "usual" way to send email notifications if vera is not in the mix?  I've searched the forums (ALtUI and openluup) but do not see a consensus.  I thought of installing Vera Alerts to openluup but of course, those files are encrypted :-(

Offline amg0

  • Moderator
  • Master Member
  • *****
  • Posts: 3057
  • Karma: +206/-8
Re: Control Panel disappears when Notification Set
« Reply #2 on: October 05, 2018, 03:06:24 am »
As a follow up.  I turned on vera bridge and now (in step 3 above) can select a user ( the one defined in vera).

After submitting the scene, the device tab displays normally.

So - without a vera, it's not happy.

Is there a "usual" way to send email notifications if vera is not in the mix?  I've searched the forums (ALtUI and openluup) but do not see a consensus.  I thought of installing Vera Alerts to openluup but of course, those files are encrypted :-(
I do not think openluup supports this because setting a notification requires to select a user from the VERA' user list in user_data data structure

Offline Stuart

  • Hero Member
  • *****
  • Posts: 723
  • Karma: +71/-2
Re: Control Panel disappears when Notification Set
« Reply #3 on: October 05, 2018, 12:46:05 pm »
I do not think openluup supports this because setting a notification requires to select a user from the VERA' user list in user_data data structure

I have no problem with that if that's the way it works.   I was surprised though that the Control Panel for the plugin was affected (went away).

Still, my understanding is that folks use ALTUI and openluup without vera.  If that's the case (maybe I imagined it?) then what's the method used for notification? or don't they?

Part of where this is going is that eventually, ideally,  replacing the vera altogether (with a z-wave dongle or whatever).  Which I also may have imagined threads discussing :-)

P.S. This is my first adventure into the world of ALTUI and openluup.

Online akbooer

  • Master Member
  • *******
  • Posts: 6179
  • Karma: +276/-69
  • "Less is more"
Re: Control Panel disappears when Notification Set
« Reply #4 on: October 05, 2018, 01:42:07 pm »
Is there a "usual" way to send email notifications if vera is not in the mix?  I've searched the forums (ALtUI and openluup) but do not see a consensus.

It's easy enough to write a snippet of code which sends email?
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 Stuart

  • Hero Member
  • *****
  • Posts: 723
  • Karma: +71/-2
Re: Control Panel disappears when Notification Set
« Reply #5 on: October 05, 2018, 03:09:43 pm »
Is there a "usual" way to send email notifications if vera is not in the mix?  I've searched the forums (ALtUI and openluup) but do not see a consensus.

It's easy enough to write a snippet of code which sends email?

Sure, not a problem.  I thought you did not like osExecute  8) 8) 8)

Online akbooer

  • Master Member
  • *******
  • Posts: 6179
  • Karma: +276/-69
  • "Less is more"
Re: Control Panel disappears when Notification Set
« Reply #6 on: October 05, 2018, 03:13:12 pm »
No, no!  I meant pure Lua.
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 Stuart

  • Hero Member
  • *****
  • Posts: 723
  • Karma: +71/-2
Re: Control Panel disappears when Notification Set
« Reply #7 on: October 05, 2018, 03:13:59 pm »
No, no!  I meant pure Lua.

just teasing