Comments (5)
Ok nevermind, figured out the problem.
The exporter was subscribed correctly to shellies/+/status/#
and the log showed the right values but I had some confusion about the ports. I configured port mapping for docker but then didn't realize I had to configure the custom port for the exporter too. So my prometheus config was trying to scrape from port 9093 but the exporter was still using default 9000.
from mqtt-exporter.
Here is a bit of the full mqtt data that gets sent
{
"src": "shellyplusht-a0a3b3de6b4c",
"dst": "shellies/shellyplusht-a0a3b3de6b4c/events",
"method": "NotifyFullStatus",
"params": {
"ts": 1.86,
"ble": {},
"cloud": {
"connected": false
},
"devicepower:0": {
"id": 0,
"battery": {
"V": 6.39,
"percent": 100
},
"external": {
"present": false
}
},
"ht_ui": {},
"humidity:0": {
"id": 0,
"rh": 43.8
},
"mqtt": {
"connected": true
},
"sys": {
"mac": "A0A3B3DE6B4C",
"restart_required": false,
"time": null,
"unixtime": null,
"uptime": 1,
"ram_size": 246612,
"ram_free": 165028,
"fs_size": 458752,
"fs_free": 176128,
"cfg_rev": 23,
"kvs_rev": 1,
"webhook_rev": 0,
"available_updates": {},
"wakeup_reason": {
"boot": "deepsleep_wake",
"cause": "status_update"
},
"wakeup_period": 7200
},
"temperature:0": {
"id": 0,
"tC": 20.2,
"tF": 68.3
},
"wifi": {
"sta_ip": "192.168.178.110",
"status": "got ip",
"ssid": "EnairaSukram",
"rssi": -55
},
"ws": {
"connected": false
}
}
}
from mqtt-exporter.
Hi @r0ckarong
Thanks for raising the issue and for the details you provided.
Could you please also send the log with debug level?
I'll troubleshoot it this weekend.
from mqtt-exporter.
Can you give me an idea on how to get the "correct" log? I'm using all of this on the Synology Container manager and this just gives me one line.
Where in the container is the log stored? I've set LOG_LEVEL: DEBUG
in the compose file.
from mqtt-exporter.
Happy you found the root cause.
Cheers
from mqtt-exporter.
Related Issues (20)
- exporter does not produce any device metric HOT 5
- Feature Request: zwavejs2mqtt support HOT 18
- ZIGBEE2MQTT_AVAILABILITY not working HOT 16
- Actions: Docker image tags HOT 5
- Doesn't support Shelly 3EM format very well HOT 5
- Tag docker images with release version number HOT 5
- Once unavailable always unavailable even after becoming available in zigbee2mqtt HOT 9
- Support esphome format HOT 12
- ValueError: Invalid metric name with '/' HOT 9
- Pin dependencies version
- crash loop with google coral metric HOT 11
- Hubitat support HOT 16
- emporiavue2/esphome support HOT 2
- HomeAssistant HOT 3
- Attach additional labels from message user properties HOT 1
- UserProperty attribute exception HOT 3
- zigbee2mqtt: Device renames HOT 1
- two additional projects can be added to supported projects HOT 1
- I can not connect HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-exporter.