Permalink
Browse files

Support the PMS7003 and HPM sensors.

  • Loading branch information...
trekawek committed Jan 23, 2019
1 parent c2ca29d commit 9757ddd0d470bdac0658b177e988d9fa087c7114
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/htdocs/api/update.php
@@ -1,7 +1,8 @@
<?php
define('VALUE_MAPPING', array(
'pm10' => 'SDS_P1',
'pm25' => 'SDS_P2',
'pm1' => array( 'PMS_P0'),
'pm10' => array('SDS_P1', 'PMS_P1', 'HPM_P1'),
'pm25' => array('SDS_P2', 'PMS_P2', 'HPM_P2'),
'temperature' => array('BME280_temperature', 'BMP_temperature'),
'humidity' => 'BME280_humidity',
'pressure' => array('BME280_pressure', 'BMP_pressure'),

0 comments on commit 9757ddd

Please sign in to comment.