• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Watchdog settings via EVOK

    Scheduled Pinned Locked Moved Official API - Evok
    3 Posts 3 Posters 845 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smontosa
      last edited by

      Hi.
      On Debian Buster, at version:

      dpkg -l evok
      Desired=Unknown/Install/Remove/Purge/Hold
      | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
      |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
      ||/ Name           Version      Architecture Description
      +++-==============-============-============-========================================
      ii  evok           2.4.8        armhf        UniPi API based on the Tornado webserver
      
      

      evok is not able to change board watchdog state.
      Please, ¿is there some way (Evok or whatever) to set on board watchdog?

      Thanks.

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @smontosa
        last edited by

        Hi @smontosa,
        you are correct. There is indeed some problem with setting the watchdog via Evok. I reported this to our developers and make sure this will be fixed in 2.4.10.

        As a workaround, you can set the watchdog via ModbusTCP. You can use mbpoll (not preinstalled, can be installed via apt update && apt install -y mbpoll):

        # enable the MWD
        mbpoll 127.0.0.1 -a 1 -0 -1 -r 6 1
        # set timeout to 3333ms
        mbpoll 127.0.0.1 -a 1 -0 -r 1008 3333
        # write this settings to the NVRAM
        mbpoll 127.0.0.1 -a 1 -0 -1 -t 0 -r 1003 1
        

        Best regards,
        Martin

        1 Reply Last reply
        Reply Quote 0
        • M
          martin_triska
          last edited by martin_triska

          Hello @smontosa,

          please try to download the current version 2.4.10. The issue should be fixed. Please note that watchdog settings (same as other parameters) are stored in RAM memory by default. To burn it into non-volatile memory (FLASH), use the appropriate coil 1003 or call the separate REST request on the same endpoint with parameter nv_save=1.

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post