Glad it’s useful to others. We are also using it daily to wake up the whole family.
I’m in Australia and I want to buy a Vera2 controller and a dimmer module just to use this app. I’ve wanted a sunrise simulator for a few years and I bought one from the US but it wouldn’t keep time due to the frequency difference - 50Hz/60Hz.
Anyway, the z-wave stuff here uses a different frequency (for the wireless) and I can get a Vera2 controller easily enough but I’m not sure on the dimmers available. One has a minimum dimming level of 25% which is a bit high, another has a minimum of 10% with 10% intervals and a couple of others the sellers aren’t sure about.
Just wondering what the minimum level and the dimming interval is on the modules you guys have over there? 1% minimum with 1% interval? Does anyone know of the bespoke range like the one here:
smarthome com au/en/13-lighting-control
That’s the one I’m thinking about getting but they don’t know what the minimum level and intervals are.
Thanks for any advice
Oh and thanks alot ZMaF for sharing this!
Hello,
There is several online stores in Australia that you can investigate to find what you are looking for.
Smarthomes.com.au
ZWave.com.au
Diyhomeautomation.com.au
The incremental setting is 1% on the bespoke dimmers; however, it will depend on your lights and transformers.
I use the wakeup ramp plugin with the Aeon Labs in-line dimmer (“Z-Wave Plug-In Dimmer Controller” on the smarthome site) and a 28 W incandescent lamp. I am on 240 V/50 Hz.
With this dimmer, 0% is definitely off, 1% is definitely not off, and 2%, 3% and 4% are all progressively brighter.
If I have any complaint, it’s that 1% is “too bright” as a first step. I do believe that it truly is 1%, but that’s still 280 mW, and the eye’s logarithmic response makes it seem like it’s quite a jump from 0%.
Thanks!
My Philips Wake-up-Light was broken… Replaced all electronics for a Zwave/dimmer/controller, and your app!
Hope that tomorrow I’ll wake up again
It was a bit difficult to find the correct setttings. In the device form Í had to fill an id. Maybe you can change the text from “Device” to “Device_Id”
Based on ZMaF great works, i just released a new plugin to sunny wake up : [url=http://apps.mios.com/plugin.php?id=2268]MiOS Apps
- with it you can add many timers directly on the plugin without using scenes.
- Like on Wake-up-Light, you put your wake up time and the plugin start dimming at the duration ramp time before. So the ramp ending at your wake up time.
screen-shoot are avalaible here : http://translate.google.fr/translate?sl=fr&tl=en&js=n&prev=_t&hl=fr&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.antor.fr%2F2012%2F10%2F24%2Ftransformer-votre-lampe-de-chevet-en-reveil-lumineux%2F&act=url
hello I just installed the app called wake up light, but I cannot find the description on how it works. I get that is possible to set the levels to decrease or increase, but I do not get how to associate a plug or light. I was going to use the alarm clock to activate this scene so I have the opportunity of turning it on an on when I would like. would someone creator please that knows how to app works give me a heads up.
See if @Antor’s post helps. (Your question is now merged into this topic.)
I can’t seem to get it to work I have tried does settings that you refer to. I’ve been trying to set it up directly i the app I cannot figure out if it is the alarm I have set wrong or if it is the association. I have attached a picture of the settings that I made. Maybe you can see if I have done something wrong
So nobody able to give me a hand with the settings I just can’t seem to find the right setting
I don’t think it works with UI5 at this point in time.
@Shotgun
It works on my Vera Light with UI5.
At “Devices” you should fill in the device # of the device you want to control. If you don’t have a lot of devices your number 34 is probably wrong.
Can anyone else confirm that this works on UI5? The author has stated that rampupdown is UI4 only.
Yeah, I’m using it on UI5. Here’s my Advanced tab.
I made three improvements to the WakeupRamp plugin which I’m sharing here.
- Resume ramping after system reboot (restart timer in init).
- Abort ramping of one device if the device status is changed outside of vera, i.e. with a hardware button on the device itself like the fibaro dimmer (check LoadLevelStatus instead of LoadLevelTarget).
- Abort the timer if all lights have been changed externally to avoid any light manually set to less than max level to eventually be “caught up” and continue being ramped.
function initWakeupRamp:
[code]
– to initialize the variables
readSettings(lul_device)
if (status == "1") then
log("wakeupramp restarting after system restart")
luup.call_timer("SlowlyDimOn", 1 , 1, "", tostring(lul_device))
end
log("WakeupRamp device started " .. tostring(lul_device))[/code]
in function SlowlyDimOn:
-- now increase the light level
local oldDimLevel = data.currentBrightness
local newDimLevel = math.min(math.ceil(oldDimLevel + data.delta), 100)
writeVariable(lul_device, "CurrentBrightness", newDimLevel)
local hasSetLevel = 0
for index = 1, #data.devices, 1 do
local device = data.devices[index]
if (device) then
-- leave it alone if user changed it
local currentLevel,timeOfCurrentLevel = luup.variable_get("urn:upnp-org:serviceId:Dimming1", "LoadLevelStatus", device)
--log( "Device Number: " .. device .. " currentLevel: " .. tostring(currentLevel) .. " oldDimLevel: " .. tostring(oldDimLevel) .. " newDimLevel: " .. tostring(newDimLevel) )
if (oldDimLevel == 0 or tonumber(currentLevel) == oldDimLevel) then
-- Detect if any light is still affected by the ramp
hasSetLevel = 1
luup.call_action("urn:upnp-org:serviceId:Dimming1", "SetLoadLevelTarget", { newLoadlevelTarget=newDimLevel }, device)
end
end
end
if (newDimLevel < data.maxLevel) and hasSetLevel == 1 then
luup.call_timer("SlowlyDimOn", 1 , data.interval, "", tostring(lul_device))
else
-- turn off wakeup
luup.variable_set("urn:upnp-org:serviceId:SwitchPower1","Status",0,lul_device)
end
Modified file is attached, simply upload it in Vera. Hope this helps.
Antor, I discovered an issue with inhibiting devices in your WakeUpLight plugin. Your plugin is expecting inhibiting devices to be “urn:upnp-org:serviceId:SwitchPower1”. But my “Not Home” flags are using the Virtual Switch plug-in, which has a different device type.
I edited the I_WakeUpLight.xml file to change the line:
local SWT_SID = “urn:upnp-org:serviceId:SwitchPower1”
to
local SWT_SID = “urn:upnp-org:serviceId:VSwitch1”
and now it’s working as expected.
I’m a poor programmer at best, so I have no suggestions on how to make the code work with both device types. Hopefully you can figure out a fix for the next release.
ChrisAZ, one workaround that doesn’t require any coding is to make a Combination Switch, and give it one condition (the virtual switch status). Then use the Combination Switch device id as the inhibitor. This has the effect of “converting” the service id to the one needed by Wakeup Ramp.
I can’t get the OP’s or Antor’s app to work either…
[quote=“ZMaF, post:1, topic:167666”]Now, create a scene that will turn this wakeup ramp device on at the time you want the lights to start up. Since we get up at 6am, I have a scene that triggers weekdays at 5:30 and turns on my bedroom ramp device.
The code sends target levels to all devices in the list every 30 seconds or so, based on your ramp time and MaxLevel. You can set the MinInterval to something larger than 30 seconds.
The device will turn off automatically when the final light level is reached.[/quote]
I am new to all this…
I got the new device added but I am clueless on how to create a scene to work with this. Can someone walk me through creating on in UI5 please?
I created a scene, clicked run but it doesn’t turn the light on
EDIT…now works!
That is it. The other app with similar function is virtual clock
http://apps.mios.com/plugin.php?id=2838