MS13 goes off

Homeseer Forum in het Nederlands (DUTCH forum)

Moderator: Ruud

Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

MS13 goes off

Post by Wim2008 »

I have an Marmitek MS13 which is installed in Homeseer. This motion device MS13 turns on the light in a room when it is dark. This is working fine. The light is turning on for 10 minutes.
After 10 minutes the light is going off. But I'm still in the room. After a few seconds the light is turn on again.

Is it possible to hold on the light till I go out after 30 minutes? Or must I accept the turn off intermezzo's ?

B.R. WIm :) :wink:
Alexander
Global Moderator
Global Moderator
Posts: 1532
Joined: Sat Mar 10, 2007 11:19 pm
Location: Netherlands

Re: MS13 goes off

Post by Alexander »

30 minutes isn't possible, 32 is. (page 6 @ http://www.marmitek.com/en/manual/9053.pdf)
Or you do like i do, ignore the off-command and trigger an event after 30 minutes on activity on the device to send a off command to the device.
Alexander
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

Hi Alexander,

The time limit isn't important. Now I have a delay of 10 minutes in homeseer. After 10 minutes the light goes off. But I'm still in the room. After several seconds the light goes on again.
I like to have the light on for the time that I'm in that room when it is dark.
The motion device can see me, every time if I'm in the room. Why don't start he the event every time still I'm in the room?

B.R. Wim :) :wink:
Alexander
Global Moderator
Global Moderator
Posts: 1532
Joined: Sat Mar 10, 2007 11:19 pm
Location: Netherlands

Re: MS13 goes off

Post by Alexander »

Hopefully this time i understand you: Your lights will go out after 10 minutes eventhough there is motion? What is your trigger in the event and actions in the same event? Do you use two events to turn the light off and on or do you use one event? (please screendump the stuff)
Alexander
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

I tought is was a problem in the motion device.
Here a picture of the event.
Attachments
Bewegingsmelder.jpg
Bewegingsmelder.jpg (20.74 KiB) Viewed 8081 times
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: MS13 goes off

Post by Rene »

Wim,

Why not use the off signal from the MS13 to turn off the lights instead of a delayed event? Just configure the MS13 (on the device itself) to turn of the lights after 8 minutes (I think this is the supported period closest to your 10 minutes). These are the events I am using:
lights_on.jpg
lights_on.jpg (19.39 KiB) Viewed 8074 times
lights_off.jpg
lights_off.jpg (16.62 KiB) Viewed 8074 times
I have configured an additional condition to turn on the lights when motion is detected only when it is dark using the dusk/dawn sensor of the same MS13.
Rene.
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

Merci Rene, to night I go to introduce this.

B.R. Wim :) :wink:
Alexander
Global Moderator
Global Moderator
Posts: 1532
Joined: Sat Mar 10, 2007 11:19 pm
Location: Netherlands

Re: MS13 goes off

Post by Alexander »

I know what your problem is! The update doesn't update the change time (see last column in the device list) of the device.

I've created an event (see attachment)

The script:

Code: Select all

Sub Main(byVal Params as String)
  Dim Device as String
  Dim ParamsObj as Object

  Params = hs.LastX10
  ParamsObj = Split(Params,";")
  Device = ParamsObj(1).toString

  hs.SetDeviceLastChange(Device,now)
  'hs.writelog("status_change","The Last Change time for device " & device & " has been updated with the current time.")
End Sub

Or you can use the same trigger type like Rene is using in his screenshot.
Attachments
Untitled.jpg
Untitled.jpg (11.11 KiB) Viewed 8070 times
Alexander
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

Hallo Rene,

this event gives the same result as mine. Every 8 minutes the light goes down for several seconds, if I'm in that room.
The format of the MS13 is
Unitcode = k1; sensor day/night = 4 and delaytime = 4.

I like that the light is on, the time I'm in that room. It could be any time. The delay time could be shorter, but that is not the problem.
Attachments
Bewegingsmelder2.jpg
Bewegingsmelder2.jpg (19.86 KiB) Viewed 8071 times
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

Alexander,

I like to try your script. Can I put the script direct in Homeseer?
Can you give me a short explination how to fill out and start a script?

B.R. Wim :) :wink:
Attachments
script1.jpg
script1.jpg (30.14 KiB) Viewed 8070 times
Alexander
Global Moderator
Global Moderator
Posts: 1532
Joined: Sat Mar 10, 2007 11:19 pm
Location: Netherlands

Re: MS13 goes off

Post by Alexander »

1. Type an script name in the "existing or new script name" field (like i've named my script homeseer_status_change.vb.
2. Press the Open Script Window button
3. Paste the script in text box below that page
4. Click on the save script button (its above the text box. don't know the name exactly)
5. Click on the update button (greep one, next to the field on step 1 you have filled)
6. Click on the save event button

But: it's the best option to run this script with a trigger like i've chosen (X10 command).
Alexander
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: MS13 goes off

Post by Rene »

Wim,

The MS13 should be configured to continue detecting motion even when the lights are on, this is setting 3 (3 flashes when the motion detector is on during the day, light/dark sensor on.) The way you configured it, the lights have to out in order to detect motion again.

When I am in the office I continuously receive motion detected signals in Homeseer. Occassionally it will happen that no motion has been detected while I am in the office because I am sitting still for more than 8 minutes (for instance reading something). Waving my hands is enough to turn on the light again. I am using my setup for several years now, so I am sure it works;-)
Rene.
Wim2008
Advanced Member
Advanced Member
Posts: 718
Joined: Wed Aug 12, 2009 1:42 pm
Location: Eindhoven, Netherlands

Re: MS13 goes off

Post by Wim2008 »

Renee,
Your input is correct. The lamp burns now as long as I move in that room. The minimum time is 8 minutes. There is now no limite anymore.

But there will be another problem now, I think. The motion device will also switch the light on at day.
Perhaps I can introduce a condition between sunrise and sunset.

B.R. Wim :) :wink:
User avatar
Peterpc
Member
Member
Posts: 217
Joined: Sun Sep 30, 2007 12:54 pm
Location: Netherlands
Contact:

Re: MS13 goes off

Post by Peterpc »

I have motion sensors in all my rooms.
When I am in a room, a virtual device is set by the motion sensor of that room. (room occupied)
When motion is detected in one of the connecting rooms, the virtual device is set to off. When the virtual device is off for 30 minutes, the lights will be switched off in that room. This way the lights will always stay on in that room as long as you are there, even when you sit still for more then 30 minutes (watching TV with your eyes closed ;<) )
Only problem can be when someone else has been in the connecting room.
I use the LD11 for all my lights. It can be set to another dim level with extended code. One of this codes has an time stamp. It can change the setting in 1 second, 30 seconds 1 minute or 5 minutes to the new level.
When the event is switching off my lights, it will happen in a 5 minutes time frame. When I am still in that room, it will take 5 minutes to be dark and I will notice it in time an make a move.
Peter
http://www.pcgsm.nl/
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: MS13 goes off

Post by Rene »

Wim,

When you add the condition of the dusk/dawn sensor, like in the examples I posted, the lights will only be switched on when it is dark.
Example:
It is light (daytime) in your room, the dusk/dawn sensor (e.g M16) is off.
Motion is detected (e.g. M15), your Homeseer event is triggered but no action is initiated because the additional condition set in the trigger is not met (M16=On).

Now it becomes dark, the dusk/dawn sensor is on (M16=On)
Motion is detected (M15=On), your Homeseer event is triggered and the additional condition is met (M16=On), now the lights are turned on.

No motion is detected for more than 8 minutes, the motion sensor sends a M15=off.
You Homeseer event to turn of the lights is triggered and turnes of the light. You could add an condition that the lights are only turned off when they are actualy turned on.

Life can be so easy!
Rene.
Post Reply

Return to “Homeseer algemeen Forum”