+5
Voting

Schedules - let us select hours

Nikolay Rusanov 8 jaar geleden in Applications / Studio (Server editor) bijgewerkt door Truc Nguyen Van 3 jaar geleden 28

When we select Custom repeat - Month or Week - wee see days or week days, which is good.

Bu when we select Custom repeat - Day we need to be able to select hours. Like that:


Image 18055



This is to have presence imitation, irrigation and other most used automations

+3
Voting

In case of work with Hours in Schedule there should be 3 types of repetition:

  1. Every Hour
  2. Every [X] Hours
  3. Every [X] Days in [Y, Z, W] Hours


Every Hour (Template)

event will be in process from 28-th to 29-th minute of each hour, every day.

[17:28 ... 17: 29] > [18:28 ... 18: 29] > [19:28 ... 19: 29] > [20:28 ... 20: 29] > ...


Every [X] Hours (Custom > By Hours)

event will be in process from 28-th to 29-th minute of hour with some interval in hours

[17:28 ... 17: 29] > [19:28 ... 19: 29] > [21:28 ... 21: 29] > ...


Every [X] Days in [Y, Z, W] Hours (Custom > By Days > On specified hours)

event will be in process from 28-th to 29-th minute of specified hours of a day with some interval in days


22.03 --- [07:00 ... 07: 05] > [12:00 ... 12: 05] > [18:00 ... 18: 05] > [22:00 ... 22: 05]

23.03 --- no events

24.03 --- [07:00 ... 07: 05] > [12:00 ... 12: 05] > [18:00 ... 18: 05] > [22:00 ... 22: 05]

25.03 --- no events



Limitations

if the option "Finish: [ ] Specify the date" is active (start and finish of event occurs in a different days) you cannot use a repetition by Hours (as a template or periodicity option).


----

PS1: This is how we are able to do it. If you have any comments or requests please write it here

PS2: The images is made in Paint as a sample, do not search for this settings in Studio yet

+2

Also I would suggest 2 things:

- schedule time/repeat settings become available as Virtual Group channels / feedbacks, so user is able to change them

- sunrise / sunset [+ / - time] is available as start and repeat option (should have the code available for offline usage here: http://www.risacher.org/sunwait/). It would require setup of the timezone by installer.

[ 1th thing]

The first step is already planned.

You will not be able to change a global repetition pronciple, it is not possible - the list of channels (setings) cannot change on project already started on panel.

How it is planned:

// .Enabled  (always available) 
Schedule 1.Weekend // how it works right now

// Start (always available)
Schedule 1.Weekend.Start.Day 
Schedule 1.Weekend.Start.Month
Schedule 1.Weekend.Start.Year
Schedule 1.Weekend.Start.Hour
Schedule 1.Weekend.Start.Minute

// Finish (always available)
Schedule 1.Weekend.Finish.Day 
Schedule 1.Weekend.Finish.Month
Schedule 1.Weekend.Finish.Year
Schedule 1.Weekend.Finish.Hour
Schedule 1.Weekend.Finish.Minute

// End (available only when turned on in Scheduler settings)
Schedule 1.Weekend.End.Day // сами парсим значение
Schedule 1.Weekend.End.Month
Schedule 1.Weekend.End.Year

// Repeat: EveryDay, Week, Mnth, ... - doesn't have a repetition settings

// Repeat: Custom - the list of settings depends on repetition type
// Repetition types:

// By Days
Schedule 1.Weekend.Repeat.ByDays.CycleInDays // every N days
// By Weeks
Schedule 1.Weekend.Repeat.ByWeeks.CycleInWeeks  // every N weeks
Schedule 1.Weekend.Repeat.ByWeeks.Sunday // activity in some day
Schedule 1.Weekend.Repeat.ByWeeks.Monday
Schedule 1.Weekend.Repeat.ByWeeks.Tuesday
Schedule 1.Weekend.Repeat.ByWeeks.Wednesday
Schedule 1.Weekend.Repeat.ByWeeks.Thursday
Schedule 1.Weekend.Repeat.ByWeeks.Friday
Schedule 1.Weekend.Repeat.ByWeeks.Saturday
// By Months
Schedule 1.Weekend.Repeat.ByMonths.CycleInMonths // every N months
Schedule 1.Weekend.Repeat.ByMonths.Dates // 0100...01 (31) in one of 31 days, binary format
// или
Schedule 1.Weekend.Repeat.ByMonths.CycleInMonths // every N months
Schedule 1.Weekend.Repeat.ByMonths.WeekOfMonth // 1..5
Schedule 1.Weekend.Repeat.ByMonths.DayOfWeek // 1..7
// By Years
Schedule 1.Weekend.Repeat.ByYears.CycleInYears // every N yesrs
Schedule 1.Weekend.Repeat.ByYears.Months // 010...001 (12) in one of 12 months, binary format
// only if turned on:
Schedule 1.Weekend.Repeat.ByYears.WeekOfMonth // 1..5
Schedule 1.Weekend.Repeat.ByYears.DayOfWeek // 1..7

// Status of scheduler (In process / Not in process)
Schedule 1.Weekend.Status // read only

in iRidium Server driver it will be available as a folder with channels for each scheduler:

+ iRidium Server
        + Schedulers
              + Weekend
                  + Commands (19)
                      - Schedule 1.Weekend
                      - Schedule 1.Weekend.Start.Day
                      - Schedule 1.Weekend.Start.Month
                      - Schedule 1.Weekend.Start.Year
                      - Schedule 1.Weekend.Start.Hour
                      - Schedule 1.Weekend.Start.Minute
                      - Schedule 1.Weekend.Finish.Day 
                      - Schedule 1.Weekend.Finish.Month
                      - Schedule 1.Weekend.Finish.Year
                      - Schedule 1.Weekend.Finish.Hour
                      - Schedule 1.Weekend.Finish.Minute
                      - Schedule 1.Weekend.Repeat.ByWeeks.CycleInWeeks
                      - Schedule 1.Weekend.Repeat.ByWeeks.Sunday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Monday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Tuesday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Wednesday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Thursday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Friday
                      - Schedule 1.Weekend.Repeat.ByWeeks.Saturday
                  + Feedback (20)
                      - --||-- // the same as commands
                      - Schedule 1.Weekend.Status

[2th thing]

sunrise / sunset.. maybe it is better to add it like external JS modules for those who need it.

It is not about timezone, but the latitude and longitude.

We don't plan to add it in the next update of Schedulers, it is better to start with the more popular requests



Hi!

Now, I don't see repeat setting schedule by hours!

Hi!

I want to set ON lighting : 7,9,11,13,..hour 

repeat: Mon, Tu, Wen, Thu, Fri

Can you guide for me!

Hello

It will be different schedules for each hour

Yes, that's right!

Now, Iridium i3 pro is not yet developed so that my customer can edit the schedule by themselves, EX: schedule, circulate, random,..It still depends on the installer, 
it's quite complicated. So you can see the photo below:

Is this now possible? Is the server driver in place as this would be really useful on my current project 


do you have an ETA for this?


What I really am interested in is the driver, or api to code the scheduling in my script 

+1

The closest date of the beginning of the development - April 2018

Has changing schedules from user panels possible yet?

Is there any more information available. I have a weekly schedule that runs on certain days of the week and I need to be able to change/select those days from the panel.

It is not entirely clear what additional information is needed. Doesn't the example give an understanding of how this works?

Hello, I can't download demo project via link, you can check for me ? Thanks

The example show how to set for a certain day and time. I have a weekly schedule for irrigation and would like to select the days the event should run. ie 5pm to 6pm - Mon, Wed, Fri

So looking at the example I can set Start and Finish Date and Time. Am I allowed to set repeat. For example - Custom and select the days from the panel ie. every Monday, Wednesday and Friday etc. What happened to setting tokens as shown in the posts above?

Hello

Soon we will update an example with "repeat settings"

Hi

Do you have a sample of repeat settings yet? If not can you just send information on what the parameters are so I can continue with my project. Scheduling is working but I need this final piece.

I also receive the following error on the server when passing multiple events. Is this a limitation imposed by iRidium since web sockets can send more than 900 bytes.


ERROR CORE Tag Event From Server string is to big to Web socket. Limit is about 900 bytes for name_len and value_len.

+2

Hi

Any update? I need this final piece to complete my project.

Could you please add some manual on how to set and read all parameters from the Scheduler ?

From the example I can see only:


.Name

.Start

.End

.Enabled

is there any other items we can access ? which is the object structure ?