logo elektroda
logo elektroda
X
logo elektroda

[OpenBeken] How to remove unremovable ClockEvents?

patentjyp 651 2
ADVERTISEMENT
  • #1 20491364
    patentjyp
    Level 5  
    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 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 I hard reset the device? I could not find the menu for resetting configuration....
  • ADVERTISEMENT
  • #2 20491524
    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
    Helpful post? Buy me a coffee.
  • #3 20491736
    patentjyp
    Level 5  
    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 regarding 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 were removed.

    This looks like a bug in this version.
ADVERTISEMENT