more G-Labs products

Author Topic: Program 'SETUP' interface  (Read 1347 times)

October 01, 2014, 01:59:07 AM
Read 1347 times

valkyrieboy81

  • *
  • Information
  • Newbie
  • Posts: 7
We need a way to add a dropdown menu to the setup screen for Hue programs, so that i can implement the PushLink API.

Also, we need an 'ADD GROUP' function that will allow us to add an options group to the dashboard, and we need to modify the ADD MODULE function to allow us to programmatically set the NAME parameter for each module (ie pull HUE based light names for modules.)

Is there a way to access the existing MODULE NAME variable?

Also, additional information on using ASYNC transactions would be very handy.

Can we add a few new RaiseEvent commands that allow us to:
   * pass string variables instead of decimal?  (ex RaiseStringEvent)
   * silently pass information unless a debug value is passed? (ex RaiseSilentEvent)

It would allow for much more precise control over Hue modules, and allow us much greater flexability.

I am in the process of updating the HUE interface (ive already added multi-hue, variable light count, and light-state checking, and Light comm verification);

November 29, 2014, 10:24:27 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
You can use the same API as the web interface does:

https://github.com/genielabs/HomeGenie/blob/master/BaseFiles/Common/html/js/api/homegenie.configure.js

this is javascript, but you can make same calls from an automation program by using the NetHelper class and pointing it to localhost.

Cheers,
g.