envmon

recieves data from a ZGm053UKA Mini CO₂ Monitor and posts it to a data server

Usage no npm install needed!

<script type="module">
  import envmon from 'https://cdn.skypack.dev/envmon';
</script>

README

Environment Monitor · JavaScript Style Guide

wrangle readings from a ZGm053UKA Mini CO₂ Monitor

Only works with the one device I have:

idVendor: 0x04d9 (Holtek Semiconductor, Inc.)
idProduct: 0xa052 (USB-zyTemp)

Config

environment variable description default
DATA_CO2 where to send the CO₂ data http://localhost:3282/co2
DATA_TEMP where to send the temperature data http://localhost:3282/temp
VERBOSE log readings false

Alsø Wik