Skip to content

Conversation

Himura2la
Copy link

The Qingping data format is quite hard to guess, because of an array in the middle:

{
  "type": "17",
  "id": 641,
  "need_ack": 0,
  "mac": "**REDACTED**",
  "timestamp": 1748860948,
  "sensorData": [
    {
      "timestamp": { "value": 1748860920 },
      "temperature": { "value": 25.72 },
      "humidity": { "value": 40.39 },
      "co2": { "value": 570 },
      "pm25": { "value": 168 },
      "pm10": { "value": 170 },
      "battery": { "value": 100 }
    }
  ]
}

I spent several hours debugging until I notices that sensorData is an array.

The sensor is quite popular, and there's a verdor-supported MQTT integration, so I believe it should be present ad an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant