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

    read 1W-TH-IB2 values by HTTP/HTTPS or modbus TCP-IP

    Axon series
    2
    7
    675
    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.
    • Bart Delaere
      Bart Delaere last edited by

      Re: read Indoor air quality sensor RW-TH

      Hello Kryštof,

      My appologies for the confusion. I was talking about the 1W-TH-IB2 sensors (this is the 1-Wire bus,designed to measure temperature an relative air humidity in building interiors).

      Because I have more then 5 rooms I want to measure, I want to use the xG18 module to connect all the sensors. Then I want to read the values by REST/modbus (for example). There I have an issue by connecting my unipi (with mervis and even with EVOK). The idea was that I could read the values with 'modbus TCP-IP' of with 'HTTP/HTTPS' (by EVOK).

      At this moment I placed the RS485 connection between the Unipi and the xG18, but it looks like I can not bet the 2 talking to eachother. Even I followed all the steps (in mervis I used the mervis as client that connects to the xG18) an evok (same setup). It seems I am doing something wrong? can you help me out please

      1 Reply Last reply Reply Quote 0
      • Bart Delaere
        Bart Delaere last edited by

        I have reinstalled EVOK and got the default evok-web page.

        All evok configuration is yaml, so now I want to configure the xG18, and I want to create the connection, without succes.

        on the xG18 I have the jumpers set to
        1 2 3 4 5 6
        ON ON OFF OFF OFF OFF

        that would result in: address 3 and bautrate of 19200 with a negative(N) Parity.
        So this is my configuration.
        Now it is not clear to me what I need to configure in the xG18.yaml to read out the 1W-TH-IB2? I would like to read the temperature and humidity. Is there any example available?

        Screenshot 2025-09-30 at 19.44.53.png

        1 Reply Last reply Reply Quote 0
        • Bart Delaere
          Bart Delaere last edited by

          I found that I needed to uncomment another line:

          comm_channels:
          Now the

          xG18 is visible in the system tab.
          After restarting the unipi, the RXTX of the Unipi started to blink (RS485 communication) and the values are visible in the evok-web page.

          1 Reply Last reply Reply Quote 0
          • Bart Delaere
            Bart Delaere last edited by

            Now I don't get values from 1W-TH-IB2's The coils seem to be correct (1-8) so what am I overlooking?

            C 1 Reply Last reply Reply Quote 0
            • C
              cleve administrators @Bart Delaere last edited by

              Hello @Bart-Delaere ,

              I am not sure what is the question now, but xG18 does not support humidity measuring, only temperature.

              Best regards,
              Kryštof Černý - Unipi engineer

              1 Reply Last reply Reply Quote 0
              • Bart Delaere
                Bart Delaere last edited by

                Kryštof,

                A found all the correct puzzle part ;)

                The xG18 can only handle single value 1-wire sensors, the 1W-TH-IB2 has multiple sensors (temperature and humidity). So the xG18 I can't use. I need to connect all the sensors directly to the 1 wire connector (by splitters)

                How many 1W-TH-IB2 sensors can I connect by on the 1-wire connector? 2 seems to work fine with the splitter. Does it work with a hub to?

                C 1 Reply Last reply Reply Quote 0
                • C
                  cleve administrators @Bart Delaere last edited by

                  Hello @Bart-Delaere,
                  unfortunately there is no definitive answer. The 1-Wire bus is technically able to connect huge amount of devices, but reality depends on cable length, quality, noise from the environment etc, so this may be trial and error for users that do not install it daily.

                  Unipi used to sell a hub/splitter, which we do not offer anymore.

                  Sometimes, a surge can occur in the environment, which can take down the whole bus. Unipi units (except Unipi 1/Lite) have an option to restart the bus (the bus is not restarted during normal system reboot), you can look in the Modbus table of your unit if you wish to implement it.

                  Best regards,
                  Kryštof Černý - Unipi engineer

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post