Skip to content

zyaura Sensor reported invalid data, ZyAura CO2': Sending state nan ppm with 0 decimals of accuracy #943

Closed
esphome/esphome-docs
#914
@vizgin

Description

@vizgin

Operating environment/Installation (Hass.io):

ESP (ESP8266):

Affected component:
https://esphome.io/components/sensor/zyaura.html

Description of problem:

Missing sensor data zyaura
image
image

Problem-relevant YAML-configuration entries:

esphome:
  name: esp01_1
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "ххх"
  password: "ххх"

logger:
    level: VERY_VERBOSE
api:

ota:

captive_portal:

sensor:
  - platform: zyaura
    clock_pin: D1
    data_pin: D2
    co2:
      name: "ZyAura CO2"
    temperature:
      name: "ZyAura Temperature"
#    humidity:
#      name: "ZyAura Humidity"
    update_interval: 60s

INFO Reading configuration /config/esphome/esp01.yaml...
INFO Configuration is valid!
esphome:
  name: esp01_1
  platform: ESP8266
  board: nodemcuv2
  platformio_options: {}
  arduino_version: espressif8266@2.2.3
  board_flash_mode: dout
  build_path: esp01_1
  libraries: []
  esp8266_restore_from_flash: false
  includes: []
wifi:
  fast_connect: false
  output_power: 20.0
  reboot_timeout: 15min
  power_save_mode: NONE
  domain: .local
  networks:
  - ssid: хххх
    password: хххх
    priority: 0.0
  use_address: esp01_1.local
logger:
  level: VERY_VERBOSE
  hardware_uart: UART0
  baud_rate: 115200
  esp8266_store_log_strings_in_flash: true
  logs: {}
  tx_buffer_size: 512
api:
  port: 6053
  password: ''
  reboot_timeout: 15min
ota:
  safe_mode: true
  port: 8266
  password: ''
sensor:
- platform: zyaura
  clock_pin:
    number: 5
    mode: INPUT
    inverted: false
  data_pin:
    number: 4
    mode: INPUT
    inverted: false
  co2:
    name: ZyAura CO2
    accuracy_decimals: 0
    force_update: false
    unit_of_measurement: ppm
    icon: mdi:periodic-table-co2
  temperature:
    name: ZyAura Temperature
    accuracy_decimals: 1
    force_update: false
    unit_of_measurement: °C
    icon: mdi:thermometer
  update_interval: 60s

Logs (if applicable):

INFO Reading configuration /config/esphome/esp01.yaml...
INFO Starting log output from esp01_1.local using esphome API
INFO Connecting to esp01_1.local:6053 (192.168.88.231)
INFO Successfully connected to esp01_1.local
[16:35:39][I][app:100]: ESPHome version 1.14.3 compiled on Dec 22 2019, 13:37:23
[16:35:39][C][wifi:415]: WiFi:
[16:35:39][C][wifi:283]:   SSID: [redacted]
[16:35:39][C][wifi:284]:   IP Address: 192.168.88.231
[16:35:39][C][wifi:286]:   BSSID: [redacted]
[16:35:39][C][wifi:287]:   Hostname: 'esp01_1'
[16:35:39][C][wifi:291]:   Signal strength: -65 dB ▂▄▆█
[16:35:39][V][wifi:293]:   Priority: 0.0
[16:35:39][C][wifi:295]:   Channel: 8
[16:35:39][C][wifi:296]:   Subnet: 255.255.255.0
[16:35:39][C][wifi:297]:   Gateway: 192.168.88.1
[16:35:39][C][wifi:298]:   DNS1: 192.168.88.1
[16:35:39][C][wifi:299]:   DNS2: 213.108.208.2
[16:35:39][C][logger:175]: Logger:
[16:35:39][C][logger:176]:   Level: VERY_VERBOSE
[16:35:39][C][logger:177]:   Log Baud Rate: 115200
[16:35:39][C][logger:178]:   Hardware UART: UART0
[16:35:39][C][zyaura:096]: ZyAuraSensor:
[16:35:39][C][zyaura:097]:   Pin Clock: GPIO5 (Mode: INPUT)
[16:35:39][C][zyaura:098]:   Pin Data: GPIO4 (Mode: INPUT)
[16:35:39][C][zyaura:099]:   Update Interval: 60.0s
[16:35:39][C][zyaura:101]:   CO2 'ZyAura CO2'
[16:35:39][C][zyaura:101]:     Unit of Measurement: 'ppm'
[16:35:39][C][zyaura:101]:     Accuracy Decimals: 0
[16:35:39][C][zyaura:101]:     Icon: 'mdi:periodic-table-co2'
[16:35:39][C][zyaura:102]:   Temperature 'ZyAura Temperature'
[16:35:39][C][zyaura:102]:     Unit of Measurement: '°C'
[16:35:39][C][zyaura:102]:     Accuracy Decimals: 1
[16:35:39][C][zyaura:102]:     Icon: 'mdi:thermometer'
[16:35:39][C][ota:029]: Over-The-Air Updates:
[16:35:39][C][ota:030]:   Address: esp01_1.local:8266
[16:35:44][VV][api.service:250]: on_ping_request: PingRequest {}
[16:35:44][VV][api.service:035]: send_ping_response: PingResponse {}
[16:35:46][VV][scheduler:131]: Running interval 'update' with interval=60000 last_execution=10500182 (now=10560182)
[16:35:46][V][sensor:013]: 'ZyAura CO2': Received new state nan
[16:35:46][D][sensor:092]: 'ZyAura CO2': Sending state nan ppm with 0 decimals of accuracy
[16:35:46][VV][api.service:120]: send_sensor_state_response: SensorStateResponse {
  key: 3580783622
  state: nan
  missing_state: NO
}
[16:35:46][W][zyaura:086]: Sensor reported invalid data. Is the update interval too small?
[16:35:46][V][sensor:013]: 'ZyAura Temperature': Received new state nan
[16:35:46][D][sensor:092]: 'ZyAura Temperature': Sending state nan °C with 1 decimals of accuracy
[16:35:46][VV][api.service:120]: send_sensor_state_response: SensorStateResponse {
  key: 956829816
  state: nan
  missing_state: NO
}
[16:35:46][W][zyaura:086]: Sensor reported invalid data. Is the update interval too small?
[16:35:49][VV][api.service:250]: on_ping_request: PingRequest {}
[16:35:49][VV][api.service:035]: send_ping_response: PingResponse {}
[16:35:53][VV][api.service:250]: on_ping_request: PingRequest {}
[16:35:53][VV][api.service:035]: send_ping_response: PingResponse {}
[16:35:54][VV][api.service:250]: on_ping_request: PingRequest {}
[16:35:54][VV][api.service:035]: send_ping_response: PingResponse {}
[16:35:59][VV][api.service:250]: on_ping_request: PingRequest {}

Additional information and things you've tried:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions