Author Topic: Lua HTML GUI creator for Luup release 1.0.862  (Read 5235 times)

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Lua HTML GUI creator for Luup release 1.0.862
« on: August 21, 2009, 03:58:50 pm »
I wrote a small Lua application which parses the user_data and creates a compact HTML GUI for Vera. This is just a proof of concept, far from being a complete implementation, and requires firmware 1.0.862 (may work with 1.0.843). Source code attached.

@MiCasaVerde:
I am going to implement this GUI creator as a Luup device. The user should be able to
recreate the HTML GUI code by pressing the "Configure node right node" button - but
as far as I know such a button (and a corresponding hook) is not available for Luup
devices (at least in the current Luup release).

Offline micasaverde

  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +15/-1
Re: Lua HTML GUI creator for Luup release 1.0.862
« Reply #1 on: August 27, 2009, 09:08:00 pm »
Did you see how the 'smartphone' plugin works?  Look at L_sPhoneUI.lua.  You can use the same hooks to directly bring up your own custom GUI.