Browse Source

idb: use magnitude type not its index

ref. #2585 and 3be53055
dev
Maxim Prokhorov 6 months ago
parent
commit
a0bf8f2673
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/influxdb.cpp

+ 1
- 1
code/espurna/influxdb.cpp View File

@ -159,7 +159,7 @@ void _idbConfigure() {
}
void _idbSendSensor(const espurna::sensor::Value& value) {
idbSend(magnitudeTopic(value.type).c_str(), value.index, value.repr.c_str());
idbSend(magnitudeTypeTopic(value.type).c_str(), value.index, value.repr.c_str());
}
void _idbSendStatus(size_t id, bool status) {


Loading…
Cancel
Save