Conall Laverty
Published © GPL3+

Make Sense of Your Sigfox Data Using Wia

Turn your Sigfox data into a human readable form using Wia Flows.

BeginnerProtip30 minutes266
Make Sense of Your Sigfox Data Using Wia

Things used in this project

Software apps and online services

Wia
Wia
Sigfox
Sigfox

Story

Read more

Code

Code snippet #1

Plain text
let sigfoxData = event.data.sigfoxData;
let binaryData = parseInt(sigfoxData, 16).toString(2);
let tempBinary = binaryData.slice(0, 6);
let result = parseInt(tempBinary, 2).toString(10);
event.data = result;

Code snippet #2

Plain text
let sigfoxData = event.data.sigfoxData;
let binaryData = parseInt(sigfoxData, 16).toString(2);
let tempBinary = binaryData.slice(0, 6);
let result = parseInt(tempBinary, 2).toString(10);
event.data = result;

Credits

Conall Laverty

Conall Laverty

8 projects • 20 followers
Founder & CEO at Wia. Code. Piano. Iron Man. I make things.

Comments