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

    1Wire multiple sensors

    Scheduled Pinned Locked Moved Evok API
    2 Posts 1 Posters 1.1k 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.
    • S
      Sppilka
      last edited by

      Hi there,

      I am new to Unipi 1.1 and EVOK. I got several temp sensors (DS18B20) across my house which are connected in serial. I am using RJ45 splitter for each room and from last position it is connected to 1Wire on UniPi.

      The main problem is when I run EVOK, it will found all sensors but only for 7 sensors temp is shown. Others are N/A... It will throw me an error:

      Process OwBusDriver-1:
      Traceback (most recent call last):
      File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
      self.run()
      File "/opt/evok/owclient.py", line 395, in run
      mysensor.read_val_from_sens(mysensor.sens)
      File "/opt/evok/owclient.py", line 126, in read_val_from_sens
      if not (new_val == 85.0 and abs(new_val - self.value) > 2):
      TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'

      Anybody occure same problem? What is the best approach to have multiple sensors on 1Wire?

      Thanks for replay. Jiri.

      1 Reply Last reply
      Reply Quote 0
      • S
        Sppilka
        last edited by

        Problem solved, seemed I got one sensor on bus damaged on data wire and this caused this problem. Best Jiri.

        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