Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bertreb/pimatic-mqtt-ext

Pimatic-mqtt extensions
https://github.com/bertreb/pimatic-mqtt-ext

Last synced: about 1 month ago
JSON representation

Pimatic-mqtt extensions

Awesome Lists containing this project

README

        

# 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](https://github.com/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 to [ | ]
```