Skip to content

Commit ce33d57

Browse files
committed
docs: Update README and bump to v2.0.5
1 parent c634c8a commit ce33d57

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ mqtt:
5959

6060
influxdb:
6161
host: localhost
62-
port: 8086
62+
port: 8181
6363
token: your-api-token
6464
org: your-organization
6565
bucket: your-bucket
@@ -118,7 +118,7 @@ mqtt:
118118
```yaml
119119
influxdb:
120120
host: localhost # InfluxDB hostname
121-
port: 8086 # InfluxDB port
121+
port: 8181 # InfluxDB port
122122
token: your-api-token # API token
123123
org: your-organization # Organization name
124124
bucket: your-bucket # Default bucket
@@ -184,14 +184,14 @@ Raw strings are useful for simple MQTT messages like Tasmota power states (`ON`/
184184
- `$.payload.temperature` - Nested field (JSON only)
185185
- `$.payload.data[0]` - Array index (JSON only)
186186
- `$.topic[n]` - Topic segment (0-indexed)
187-
- `$.payload['PM2.5']` - Field with special characters (dot, space, etc.)
187+
- `$.payload['pm2.5']` - Field with special characters (dot, space, etc.)
188188

189189
**Special Characters:** Use bracket notation with quotes for field names containing dots, spaces, or other reserved characters:
190190

191191
```yaml
192-
# For payload: {"VINDRIKTNING": {"PM2.5": 5}}
192+
# For payload: {"air_quality_sensor": {"pm2.5": 5}}
193193
fields:
194-
pm25: $.payload.VINDRIKTNING['PM2.5']
194+
pm25: $.payload.air_quality_sensor['pm2.5']
195195
```
196196

197197
### Environment Variables
@@ -207,7 +207,7 @@ mqtt:
207207
208208
influxdb:
209209
host: ${MQTT2INFLUXDB_INFLUXDB_HOST:localhost}
210-
port: ${MQTT2INFLUXDB_INFLUXDB_PORT:8086}
210+
port: ${MQTT2INFLUXDB_INFLUXDB_PORT:8181}
211211
token: ${MQTT2INFLUXDB_INFLUXDB_TOKEN}
212212
org: ${MQTT2INFLUXDB_INFLUXDB_ORG:default}
213213
bucket: ${MQTT2INFLUXDB_INFLUXDB_BUCKET:metrics}

mqtt2influxdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""mqtt2influxdb - MQTT to InfluxDB v3 bridge with flexible JSONPath transformation."""
22

3-
__version__ = "2.0.4"
3+
__version__ = "2.0.5"
44
__author__ = "HARDWARIO a.s."
55

66
from .config import Config, ConfigError, load_config

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mqtt2influxdb"
3-
version = "2.0.4"
3+
version = "2.0.5"
44
description = "MQTT to InfluxDB v3 bridge with flexible JSONPath transformation"
55
readme = "README.md"
66
license = "MIT"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)