Announcement

Collapse
No announcement yet.

Linking Homeseer Devices to HomeAssistant

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

    Linking Homeseer Devices to HomeAssistant

    Hi All,

    So i have been testing with a virtual device trying to get HS to HA device replication and i cannot seem to encode the messages correctly to have these automatically create in HomeAssistant using discovery. The other way around of HA to HS is simple enough as its pretty much just a tick box.

    Would someone be kind enough to share a snap of how you have setup a device in mcsMQTT to make this work automatically and insert the device values please?

    Thanks in advance
    Matt

    #2
    HomeAssistant Discovery is a protocol developed by HomeAssistant around how it organizes devices. HS does not have this same device architecture so it is not possible to synthesize HA devices from HS devices in the general case. There are some which make sense, but most do not. What made it even worse is that HS3 and HS4 are different in this area.

    Even though the device behaviors may not map very well, the ability to map a device from HS into HA should still be as simple as it is the other way around. Section 4.1.21 of the mcsMQTT manual describes the discovery process. At the bottom of the mcsMQTT General tab is a button to Publish the discovery protocol for all HS devices that were not created by mcsMQTT. These MQTT messages should then be available to HA just as it accepts the messages from any source that implements the HomeAssistant discovery protocol.

    If you are not getting HA devices created then the next step is to look at the MQTT message(s) and investigate on the HA side why the message is not creating devices.

    There have been a few discussions on this with the initial one at https://forums.homeseer.com/forum/li...iscovery/page2 and in particular post #24. Most of the discussion, however, is focused on HS and not HA.

    Comment


      #3
      Ahh - Great thanks for the pointer Michael McSharry

      I will have a further dig and see where i end up.

      Comment


        #4
        Originally posted by Michael McSharry View Post
        HS does not have this same device architecture so it is not possible to synthesize HA devices from HS devices in the general case. There are some which make sense, but most do not.
        I agree that HS lacks devicetypes here, but it is perfectly possible to map all HA devices to one or multiple features in HS. This is exactly what the ESPHome plugin is doing, without any configuration in HS or HA.

        Comment


          #5
          I agree that HS lacks devicetypes here, but it is perfectly possible to map all HA devices to one or multiple features in HS.
          Going from HA to HS is easy. Going from HS to HA is where one does not get a pleasing result. HA is expecting DeviceType to have some operational differentiation while HS only uses it for fringe situations.

          Comment

          Working...
          X