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

    How to disable and enable the 1Wire bus (M503)

    Scheduled Pinned Locked Moved Official API - Evok
    23 Posts 4 Posters 15.2k Views 1 Watching
    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.
    • Vesa KauppinenV
      Vesa Kauppinen @Martin Kudláček
      last edited by

      @martin-kudláček

      Okay. This clarified the case :)

      Thank you!

      Br,
      Vesa

      1 Reply Last reply
      Reply Quote 0
      • Vesa KauppinenV
        Vesa Kauppinen @Martin Kudláček
        last edited by Vesa Kauppinen

        @martin-kudláček

        Hi...again

        One more stupid question: How do I reset 1-wire bus with mbpoll?

        I mean, how can i "convert" those commands:

        ./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 1
        ./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 0
        

        to mbpoll "format". I just don't understand how to read/write coils with mbpoll.

        Thank you!
        Vesa

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

          Hi @vesa-kauppinen,
          writing 1 to coil 1001:

          mbpoll -m tcp -a 0 127.0.0.1 -t 0 -0 -r 1001 1

          Writing 0:

          mbpoll -m tcp -a 0 127.0.0.1 -t 0 -0 -r 1001 0

          You can learn more from the quite detailed help of the mbpoll:

          mbpoll -h

          Regards,
          Martin

          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