Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Add item in openhab from MQTT gateway

Add item in openhab from MQTT gateway

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.4k Views 2 Watching
  • 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.
  • G Offline
    G Offline
    Gustafsson
    wrote on last edited by
    #1

    Hi guys,

    You have been a big help to me so far and I would like some more.

    I have a running MQTT Ethernet Gateway, I also have a running BinarySwitch but I just don't have a clue how I add this as an item in openhab. I tried this one, but it ain't working.

    Contact door "MQTT [%s]" {mqtt=">[homeAuto:homeAuto-out/101/3/V_TRIPPED:state:OFF:1],>[homeAuto:homeAuto-out/101/3/V_TRIPPED:state:ON:0]"}
    

    Is there anyone who can help me with this one? And is there somewhere I can read about how to configure different items from MQTT in openhab?

    Thanks guys

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gustafsson
      wrote on last edited by
      #2

      Hi again,

      I got to the point where I ain't get any error in my openhab.log file and this is how it looks now, but still doesn't work.

      Contact door "MQTT [MAP(door.map):%s]" {mqtt="<[homeAuto:homeAuto-out/101/3/1/0/V_TRIPPED:state:MAP(door.map)]"}
      

      Thanks

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qu3Uk
        wrote on last edited by
        #3

        Are you using OpenHab1 or using a beta of OpenHab2?
        It would be useful if you posted the error you were originally getting.

        I upgraded my gateway to 2.0 with MQTT so soon will be configuring Openhab but I'll be using Openhab2. Shouldn't make to much of a difference though.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        22

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular