domoja-mqtt

The MQTT domoja module

Usage no npm install needed!

<script type="module">
  import domojaMqtt from 'https://cdn.skypack.dev/domoja-mqtt';
</script>

README

NPM

NPM version Node.js CI CodeQL Coverage Status

domoja-mqtt

Connect Domoja to an MQTT server.

Usage

imports:
  - module: mqtt
    source: Mqtt

sources:
  - robonect: {
      type: Mqtt,
      url: mqtt://192.168.0.10,
      user: !secrets mqtt_user,
      password: !secrets mqtt_password
  }

devices:
    - mode : { type: sensor, source: robonect, widget: text, id: "/Robonect/mower/mode", tags: mower, name: "Mode (code)" }