mirror of
https://github.com/nekorevend/esphome-emporia-vue-utility.git
synced 2026-01-08 20:40:39 -07:00
Advise to move device closer to the meter if 'e'-type message.
This commit is contained in:
@@ -101,8 +101,12 @@ void EmporiaVueUtility::loop() {
|
||||
}
|
||||
break;
|
||||
case 'e':
|
||||
// Unknown response type, but we can ignore.
|
||||
ESP_LOGI(TAG, "Got 'e'-type message with value: %d",
|
||||
// Sometimes happens when the device is farther away from the meter.
|
||||
// Don't know what the value means. It is probably associated with an
|
||||
// enum that Emporia defined.
|
||||
ESP_LOGI(TAG,
|
||||
"Got error message (with value '%d'). Move me closer to the "
|
||||
"meter for better reception.",
|
||||
input_buffer.data[4]);
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "esphome/components/sensor/sensor.h"
|
||||
#include "esphome/components/uart/uart.h"
|
||||
#include "esphome/core/component.h"
|
||||
#include <Arduino.h>
|
||||
|
||||
// If the instant watts being consumed meter reading is outside of these ranges,
|
||||
// the sample will be ignored which helps prevent garbage data from polluting
|
||||
|
||||
Reference in New Issue
Block a user