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:	236
Size:	29.4 KB
ID:	1306204
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    #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.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      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.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment

        Working...
        X