Vocational education Page Books (BD and UML) Lessons Responsibilities (education) degree in Computer Courses in mix Tickets Search Page Frames and professional projects Responsibilities (Research) Research Publications Tickets Tickets NLP Summary UIMA UIMA UIMA Tickets groupe bernard Home Automation Controllers Monitoring Modules Tutorials Linux Commands Applications Software Necessary groupe bernard LaTeX WordPress Android Wiring Material Synology FreeBox DLink Holiday Home Rental Lease Rent Tickets Taxes Miscellaneous Thoughts DIY Carto & GPS Photo & Video
The objective is to set up the remote Z-Wave Key Fob of Aeon Labs to turn on and off and adjust the brightness groupe bernard of a lamp plugged into a Z-Wave controller such as making the AD142 taken to Everspring eg .
The Key Fob is doing very well this alone using it in Group Mode as well as associating a button directly to the drive socket. However, the Group Mode does not seem compatible with Vera Lite. In addition, the Group Mode does not allow to use the flexibility scenes of home automation box.
This tutorial explains how to set the following behaviors with Vera Lite: Long press the upper left button to turn off the lamp Long press the upper right button to turn on the lamp Short press the top left button to decrease the brightness Short press on the upper right button to increase the brightness Switch on and off light
The principle is to create a scene ( AUTOMATION new scene) to turn off the light (must be set in the DEVICES tab Lights of the scene) ...
Then ... to create a trigger in this scene (to set the tab Add TRIGGERS trigger stage) associated with a long press on the upper left button Key Fob. Then you must repeat this procedure to create a scene to turn on the light. Modulate the light intensity
To modulate the light intensity, the principle is somewhat the same: we need to create two scenes, one for lower and one to increase the intensity. As before, we need to create a trigger in each of the events associated with the Key Fob scenes. The only difference is that the action is no longer defined in the DEVICES tab but in the LUUP tab. Indeed, the action is a little program Luup which reduces ...
local lightlevel luup.variable_get = ("urn: upnp-org: ServiceId: Dimming1", "LoadLevelStatus" id_lampadaire_tv) if (tonumber (lightlevel) <30) then lightlevel = tonumber (lightlevel) - 5 else lightlevel = tonumber (lightlevel) groupe bernard - 10 end if (tonumber (lightlevel) <0) then lightlevel = "0" end luup.call_action ("urn: upnp-org: ServiceId: Dimming1", "SetLoadLevelTarget" newLoadlevelTarget = {} lightlevel, id_lampadaire_tv)
local lightlevel luup.variable_get = ("urn: upnp-org: ServiceId: groupe bernard Dimming1", groupe bernard "LoadLevelStatus" id_lampadaire_tv) lightlevel = tonumber (lightlevel) + 10 if (tonumber (lightlevel)> 100) then lightlevel = "100" end Luup . call_action ("urn: upnp-org: ServiceId: Dimming1", "SetLoadLevelTarget" groupe bernard newLoadlevelTarget = {} lightlevel, id_lampadaire_tv)
In these scripts Luup, replace id_lampadaire_tv by the device number that corresponds to the drive where the connected luminaire control plug. For example, if the plug is Device # 9 (can be seen in the Settings tab of the device) must be replaced by id_lampadaire_tv 9.
These scripts can modulate the light intensity by 10. The scripts to decrease pass on a strictly no 5 below a light intensity of 30 to be able to tweak a little ambient groupe bernard light (... 30 20 15 10 5 0).
You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <b> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Product Search Search for: Popular Items Wiring telephone RJ11, RJ45 plug and T 71,946 views Wiring telephone jack T 69,447 views Import POI in its various mapping systems or n ... 15315 views 11 RJ45 Plug 081 views Selection a glue comb 8,427 views Improvement sharpener blade circular groupe bernard saw OTMT 5,913 views Electrical Outlet Type E 4654 views Synolog
No comments:
Post a Comment