ENDPOINT - For Gateway Khomp Itg200

Sensor

Codec Description

Codec for ENDPOINT - For-Gateway-Khomp-Itg200 (v1.0.0).

Codec Preview

payload.forEach((data) => { if(data.time === null){ console.log("The time is null, the date of now has been placed"); data.time = String(Date.now()); } if (String(data.variable).includes('temperature') ) { data.value = Number(data.value) - 273.15; data.unit = '°C'; } }); 

This codec is sourced from TagoIO Github. All rights belong to TagoIO Github.

This codec is licensed under the GNU General Public License v3 (GPL v3). Modifications, if any, are clearly marked. You are free to use, modify, and distribute the codec under the terms of GPL v3.

Community Feedback