pimatic-mqtt-ext

0.9.8 • Public • Published

pimatic-mqtt-ext

Pimatic-mqtt extensions

This plugin is an extension of pimatic-mqtt. The plugin provides a MQTT RGB device for the Shelly RGBW2. Its largely based on the mqtt device from iMarvinS pimatic-led-light and is adapted for the ShellyRGBW2.

Configuration

The MqttRGB device requires the pimatic-mqtt plugin to be installed so that it can connect to a broker. The brokerId is coming from pimatic-mqtt configuration.

{
      "brokerId": "default"
      "deviceId": "Shelly deviceId"
      "onoffTopic": "myOnOffTopic"
      "effectOn": [0,1,2,3,4] default 2
      "effectOff": [0,1,2,3,4] default 0
      "colorTopic": "myColorSetTopic"
      "onoffStateTopic": "myOnOffStateTopic"
      "colorStateTopic": "myColorStateTopic"
      "onMessage": "ON"
      "offMessage": "OFF"
}

You need to provide the deviceId of the ShellyRGBW2. For the 6 topic/message fields the default values can be used for the ShellyRGBW2.

Actions

The action syntax

shelly <MqttRGB device> to [<hex color code> | <color name>]

Package Sidebar

Install

npm i pimatic-mqtt-ext

Weekly Downloads

0

Version

0.9.8

License

AGPL-3.0

Unpacked Size

92.5 kB

Total Files

13

Last publish

Collaborators

  • bertreb