Micasaverde Developer Program

TwitterFacebook
Get flash to fully experience Pearltrees
http://wiki.micasaverde.com/index.php/Apps.mios_Developer%27s_Guide From MiCasaVerde apps.mios.com is the new MiOS plugins marketplace for plugins compatible with UI5. It allows developers to easily create and publish their plugins. Documentation

Apps.mios Developer's Guide

Un article de Wikipédia, l'encyclopédie libre.

What is UPnP ?

http://fr.wikipedia.org/wiki/Universal_Plug_and_Play
http://wiki.micasaverde.com/index.php/Luup_Intro

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 .
From MiCasaVerde http://wiki.micasaverde.com/index.php/Luup_Plugins

Luup Plugins

http://wiki.micasaverde.com/index.php/Install_LUUP_Plugins

Install LUUP Plugins

From MiCasaVerde HOWTO install LUUP plugins on your Vera. Prerequisites
From MiCasaVerde Description of the XML files http://wiki.micasaverde.com/index.php/Luup_Plugins_ByHand

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 trackingnewtech Aug 27

La fin explique bien comment créer un Plugin manuellement "Walkthrough to create a device" by trackingnewtech 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). http://wiki.micasaverde.com/index.php/Luup_plugins:_Static_JSON_file
From MiCasaVerde

Luup UPNP Files

http://wiki.micasaverde.com/index.php/Luup_UPNP_Files
From MiCasaVerde This document assumes you have already read Luup_Intro for a general introduction to Luup, Luup_Plugins to learn what goes into a plugin, and that you are creating the Luup plugin using either the web-based Luup plugin generator (coming soon) or are creating Luup's XML files by hand as described here: Luup_Plugins_ByHand . This document will help you debug the Lua code that you write and see what's going on with your plugins.

Luup Debugging

http://wiki.micasaverde.com/index.php/Luup_Debugging
From MiCasaVerde

Luup Somfy Walkthrough

http://wiki.micasaverde.com/index.php/Luup_Somfy_Walkthrough

Luup Configuration File

From MiCasaVerde

Luup Functions

From MiCasaVerde
From MiCasaVerde In addition to the [ Lua ] commands described in the [ Lua reference manual ], you can also reference in your Lua code variables and functions from modules which the Luup engine provides as follows:

Luup Complete API

MIOS HTTP API

From MiCasaVerde
Expressions are evaluated in order to perform calculations which may assign values to variables or pass arguments to functions.

Lua Expressions Tutorial

Luup Scenes Events

Cette page décrit le workflow d'une scène by trackingnewtech Mar 22

Luup UPNP - How to get variables

très utile pour savoir récupérer une variable by trackingnewtech Jun 4

Géolocalisation Domotique