Announcement

Collapse
No announcement yet.

Sending an MQTT message

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

  • Sending an MQTT message

    Trying to send out an MQTT message from Homeseer relative to time. Basically just wanting to send the message out during an hourly chime.

    I know this is easy to do. What is it I put in the configuration to do this?

    This relates to an endeavor sending out either curl commands or MQTT stuff. MQTT will be much easier.

    Click image for larger version

Name:	MQTT Message.jpg
Views:	77
Size:	29.4 KB
ID:	1306204
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
    Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

    Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

  • #2
    If your topic is x/y and you want to sent current time then the text box would be x/y=$$TIME. if date and time the x/y=$$DATE $$TIME

    Comment


    • #3
      The HS3 event involves time sync but here only want to send a message when the event runs...something like

      Event XXX ran....nothing else really at this time...
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
      Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

      Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

      Comment


      • #4
        Got it.

        This is relating to concurrent use of Home Assistant and sending MQTT command from Homeseer 3 / mcsMQTT to HA.

        Apologies Michael as this was more related to Home Assistant than mcsMQTT.

        So enabled the following in the Home assistant yaml configuration file.

        mqtt_statestream:
        base_topic: homeassistant
        publish_attributes: true
        publish_timestamps: true

        and now with mcsMQTT can send and receive MQTT messages from Homeseer to HA or vice versa.

        For example TTS of back door open to one Amazon Echo. (note this is the same as I do today with speaker.exe)

        Topic: homeassistant/automation/back_door_open_echo_1/friendly_name
        Payload: "Back Door Open - Echo-1"

        Topic: homeassistant/script/1554062051727/friendly_name
        Payload: "FlashBriefing - Dot-1"

        The DOT-1 is connected to the Russound zoned audio system.

        This will allow me to send same TTS coming from Homeseer SAPI to all Alexa devices or one Alexa device.

        Well and Alexa commands via Homeseer ==> MQTT ==> HA.

        This will also work sending TTS to the Squeezebox players (jogglers) and Kodi boxes which I have around the house.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.500 (Linux) - Ubuntu 18.04 64 bit Intel CPU - Mono 5.18
        Homeseer Zee2 (Lite) - 3.0.0.531 (Linux) - Ubuntu 18.04/W7e BeeLink 4Gb BT3 Pro - Mono 5.20

        Testing Mini Intel quad core 4Gb Ram - 64Gb eMMC - micro PC

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation.

        Comment

        Working...
        X