Announcement

Collapse
No announcement yet.

Issue when adding new Devices mcsMQTT Ver 5.24.10.0 in HS3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Issue when adding new Devices mcsMQTT Ver 5.24.10.0 in HS3

    When Adding new devices the Loc2 (Floor) value is being populated correctly but Loc (Room) is blank and can't be added manually on the MQTT Settings for Plugin Device ref screen.

    I have the setting "Default HS Device Location set to Use Loc2(Floor) & Loc (Room) based upon MQTT Topic" and the Topic is coming in as YoLink/d88b4c02000XXXXX/response:data:state:temperature.

    So I would expect
    Loc2 (Floor) = YoLink (this is working)
    Loc (Room) = d88b4c02000XXXXX (this is not working, it is blank)

    The other odd thing is that this device comes in as Celsius and I have this expression $$PAYLOAD: * 1.8 + 32 to convert to Fahrenheit. This is not working it still displays Celsius.

    I have an older device of the same type that I added many mcsMQTT versions ago and it is working fine with the same expression.

    #2
    I did a test with associating a test topic and the two Loc properties were populated as expected. I also use the C to F formula with expected result. I do not think anything changed in this area since the version you are using, but 5.25.0.1 was posted today at mcsMQTT Change Log (HS4 & HS3) - HomeSeer Message Board . Take a look at HS and debug log to see why your results are not as expected.

    Comment


      #3
      I have resolved the issue with the Temperature conversion. Actually no issue it just had not sent a new temperature since I added the expression. Once received new value it showed correctly.

      I checked the functionality in HS4 with mcsMQTT Ver 5.24.10.0 and it has the same issue with building the Loc (Room) value. It is blank as well.

      Comment


        #4
        What is the specific topic that was associated for the Loc value? The logic uses x/y/z as the topic where x and y are locations If only x exists (e.g. myHome:Temperature) then both Loc are set to x.

        Comment


          #5
          Installed the latest version and that looks like it fixed the issue. When I added a new device it populated both Loc2 and Loc. I was also able to go back and fix the other devices with the correct Loc (room)

          Comment

          Working...
          X