Yvonne
Published

SenseCAP Hub/SenseCAP ONE S700 7-in-1 Compact Weather Sensor

Node-red is a tool for IoT data representation. If you want to display your data quickly and perfectly, give NODE-RED a try.

BeginnerWork in progress288
SenseCAP Hub/SenseCAP ONE S700 7-in-1 Compact Weather Sensor

Things used in this project

Hardware components

Seeed Studio SenseCAP Sensor Hub 4G Data Logger - with built-in rechargeable battery version
×1
Seeed Studio SenseCAP ONE S700 7-in-1 Compact Weather Sensor
×1

Software apps and online services

SenseCraft Mate App
Seeed Studio SenseCraft Mate App

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Code

Untitled file

JavaScript
let payload = JSON.parse(msg.payload)
let values = payload.events[0].value
values.forEach(item=>{
    if (parseInt(item.channel)===40){
        msg.payload = item.measurements["4098"]
    }
});
return msg;

Credits

Yvonne
3 projects • 2 followers

Comments