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.6k 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        16

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        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