Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Publish mqtt topics with workx.0 values

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    906

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Publish mqtt topics with workx.0 values

Geplant Angeheftet Gesperrt Verschoben ioBroker general
worxmqtthome assistant
1 Beiträge 3 Kommentatoren 756 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • G Offline
    G Offline
    Gekomax
    schrieb am zuletzt editiert von
    #1

    Hello,

    I'm using IoBroker from 2 days... so please excuse me if I ask something obvious...

    I'm trying to pubblish mqtt topic of workx landroid adapter's values so I can catch them in home assistant.

    I installed Broker/Client MQTT and I configurated it as a client following official instructions.

    I created a new channel inside the mqtt.0 object (in order to create topics that take value from worx.0 )

    I created new objects inside the channel where to "store" the topic by editing the raw code inside them. The main edit is about the "from" tag: I put there the id of the worx.0 value i am interested.

    Then in home assistant a created several sensor that call that topic.

    I succeded in pubblishing the Battery charge state and for landroi battery state (I can see them on Home assistant frontend) but not for others value.

    This is the code that works:

    {
      "common": {
        "name": "iobroker/Giardiniere/Stato_carica_batteria",
        "write": true,
        "read": true,
        "role": "variable",
        "desc": "mqtt client variable",
        "type": "boolean"
      },
      "native": {
        "topic": "iobroker/Giardiniere/Stato_carica_batteria"
      },
      "type": "state",
      "from": "system.adapter.mqtt.0",
      "user": "system.user.admin",
      "ts": 1561710295987,
      "_id": "mqtt.0.iobroker.Giardiniere.Stato_carica_batteria",
      "acl": {
        "object": 1636,
        "state": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator"
      }
    }
    

    This is the code that doesn't work

    {
      "_id": "mqtt.0.iobroker.Giardiniere.livello_carica",
      "type": "state",
      "common": {
        "name": "Landroid battery state",
        "role": "value.battery",
        "type": "number",
        "desc": "Landroid battery state in %",
        "read": true,
        "write": false
      },
      "native": {
        "topic": "iobroker/Giardiniere/livello_carica_batteria"
      },
      "from": "system.adapter.worx.0",
      "user": "system.user.admin",
      "ts": 1561664923591,
      "acl": {
        "object": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator",
        "state": 1636
      }
    }
    

    Any advice?

    Thanks for your attention :+1:
    Gekomax

    PS
    IoBroker and Home Assistant are working on the same LAN but on 2 different machines

    1 Antwort Letzte Antwort
    0
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen


    Support us

    ioBroker
    Community Adapters
    Donate

    726

    Online

    32.6k

    Benutzer

    82.2k

    Themen

    1.3m

    Beiträge
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
    ioBroker Community 2014-2025
    logo
    • Anmelden

    • Du hast noch kein Konto? Registrieren

    • Anmelden oder registrieren, um zu suchen
    • Erster Beitrag
      Letzter Beitrag
    0
    • Home
    • Aktuell
    • Tags
    • Ungelesen 0
    • Kategorien
    • Unreplied
    • Beliebt
    • GitHub
    • Docu
    • Hilfe