Documentation
Redis Configuration
Configure the Redis connection used by MudPi's central event system.
Overview
MudPi has a central event system that it uses to communicate new data and toggle components. The event system is built on Redis and needs to be installed for MudPi to properly emit events. You can follow the Redis installation guide if you have not yet installed it.
There are two required options in the Redis settings: host and port.
JSON
{
"redis": {
"host": "127.0.0.1",
"port": 6379
}
}
Note
This is the legacy top-level Redis configuration. For newer versions, configure Redis under the events adapter within the mudpi key instead.
Settings
| Option | Type | Required | Description |
|---|---|---|---|
| `host` | String | Yes | IP address of the Redis server. Usually `127.0.0.1`. |
| `port` | Integer | Yes | Port of the Redis server. Usually `6379`. |