Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bertreb/pimatic-mqtt-ext
- Owner: bertreb
- Created: 2021-04-06T07:40:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T13:35:01.000Z (over 3 years ago)
- Last Synced: 2024-11-15T14:21:16.354Z (about 2 months ago)
- Language: CoffeeScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pimatic-mqtt-ext
Pimatic-mqtt extensionsThis 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 [ | ]
```