Elektroda.com
Elektroda.com
X

[OpenBeken] How to remove unremovable ClockEvents?

patentjyp 96 2
  • #1
    patentjyp
    Level 3  
    Hello

    The device is:

    https://www.elektroda.com/rtvforum/topic3912748.html

    I am trying to remove ClockEvents by issuing the commands "clearClockEvents" and "removeClockEvent".

    However, it is not working.

    I issued the command "listClockEvents" to see the list of ClockEvents.

    The log returned:

    Info:CMD:Ev -442560324 - 3:0:45, days 233, cmd
    Info:CMD:Ev 0 - 0:0:0, days 0, cmd H
    Info:CMD:Total 2 events
    Info:CMD:[WebApp Cmd 'listClockEvents' Result] OK

    I never created those ClockEvents and I do not know why the log shows such ClockEvents.

    In order to remove those, I tried the command "clearClockEvents", and then "listClockEvents" to see if they were removed.

    The log returned:
    Info:CMD:Removed 2 events
    Info:CMD:[WebApp Cmd 'clearClockEvents' Result] OK

    Info:CMD:Ev -442560324 - 3:0:45, days 233, cmd
    Info:CMD:Ev 0 - 0:0:0, days 0, cmd H
    Info:CMD:Total 2 events
    Info:CMD:[WebApp Cmd 'listClockEvents' Result] OK

    They were still not not removed. I tried to remove each ClockEvent by issuing the commands "removeClockEvent -442560324" and "removeClockEvent 0", but they just would not be removed.

    Do I need a hard reset? If I do, how do hard reset the devixe? I could not find the menu for resetting configuration....
  • #2
    p.kaczmarek2
    Moderator Smart Home
    Thank you for your interest in OpenBeken,
    there was indeed a logical error in the clear function of ntp events system, which is now fixed in 1.15.598.
    Can you update and check if it works for you?

    PS: I hope you know that the clock events are lost after reboot, you must enter their commands in autoexec.bat so the device assigns them after each restart
  • #3
    patentjyp
    Level 3  
    It works now, but I found one more problem.

    I added these two ClockEvents in autoexec.bat:

    addClockEvent 8:30:00 0xFF open POWER ON
    addClockEvent 01:20:00 0xFF close POWER OFF

    When I issue the command "listClockEvents" to see the ClockEvents, the log shows:

    Info:CMD:Ev 0 - 1:20:0, days 255, cmd POWER OFF
    Info:CMD:Ev 0 - 8:30:0, days 255, cmd POWER ON
    Info:CMD:Total 2 events
    Info:CMD:[WebApp Cmd ' listClockEvents' Result] OK

    Isn't the command "listClockEvents" supposed to list the names of the ClockEvents like:

    Info:CMD:Ev open - 8:30:00, days 255, cmd POWER ON
    Info:CMD:Ev close - 1:20:00, days 255, cmd POWER OFF

    rather than Ev "0"?

    While the last version had errors regrading the unremovable ClockEvents, it correctly showed the name of the ClockEvent.

    I tried the command "removeClockEvent open" to see what happens and both of the ClockEvents where removed.

    This looks like a bug in this version.