Insert/modify/delete alarm time

Function call (URL)PermissionsPossible parameters
/app_wakening_times_setUser
Sub-Admin
action
0 Create
1 Change
2 Delete
weckId
Specification of the unique alarm time ID (id).
time
Specification of the alarm time in hh:mm.
day
Specification of the day or days.
1 Monday
2 Tuesday
4 Wednesday
8 Thursday
16 Friday
32 Saturday
64 Sunday
31 Monday to Friday
96 Saturday to Sunday
127 daily
always
Indicates whether the alarm is woken up once or repeatedly.
blank once
always recurring
active
Indicates whether the alarm time is switched on or off.
blank off
active on


Example call:
https://192.168.0.240/app_weckzeiten_set?action=1&weckId=5070&zeit=08:16&tag=31&immer=immer&aktiv=aktiv

Note

  • Admin cannot create wake-up times
  • Create new alarm times: action=0 + time + day(always=always and active=active if desired)
  • Change alarm times: action=1 + wakId + time + day(always=always and active=active if desired)
  • Clear alarm times: action=2 + weckId
Response typePossible content
successfultrue Change, delete or create successful
false Change, delete or create not successful

Example response:

{"successful":true}