
Micasaverde Developer Program
Apps.mios Developer's Guide
Luup Intro
From MiCasaVerde As explained in our earlier Luup launch announcement , Mi Casa Verde is donating cash and hardware to encourage Luup development and would like to encourage makers of UPnP Control Points to add support for Vera's home automation devices. A list of notable, active Luup development efforts is here: Luup Projects .Luup Plugins ByHand
return peut avoir deux valeurs :
When you have Lua code inside a 'job' tag, Luup will return 'OK' to the Control Point in response to the action, and then queues up the job and runs the Lua in your 'job' code. The job code returns 2 values: 1) the status of the job, and 2) how long to wait before the job times out in seconds. The status can be:
0=job_WaitingToStart: In vera's UI a job in this state is displayed as a gray icon. It means it's waiting to start. If you return this value your 'job' code will be run again in the 'timeout' seconds
2=job_Error, or 3=job_Aborted: In vera's UI a job in this state is displayed as a red icon. This means the job failed. Your code won't be run again.
4=job_Done: In vera's UI a job in this state is displayed as a green icon. This means the job finished ok. Your code won't be run again.
5=job_WaitingForCallback: In vera's UI a job in this state is displayed as a moving blue icon. This means the job is running and you're waiting for return data. An by Aug 27
La fin explique bien comment créer un Plugin manuellement "Walkthrough to create a device" by Mar 28
Luup plugins: Static JSON file
From MiCasaVerde Starting in UI4, Luup plugins can specify a static JSON file. This file describes how the plugin appears in the web interface. The icon used by the plugin in the dashboard. The text that displays in the one-to-two-row status message in the dashboard. Whether the icon changes depending on the value of a variable in the device (for example, a binary light's icon changes from lit to unlit).Luup Debugging
Luup Configuration File
From MiCasaVerdeLuup Functions
From MiCasaVerdeLuup Complete API
MIOS HTTP API
From MiCasaVerdeLua Expressions Tutorial
Luup Scenes Events
Cette page décrit le workflow d'une scène by Mar 22
Luup UPNP - How to get variables
très utile pour savoir récupérer une variable by Jun 4

