Json for I2C temperature sensor STS-30 #1819
TriderG75
started this conversation in
MEPLHAA Scripts Collection
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Json example for an I2C sensor using free monitor and "tg" parameter to send measured values to a temperature sensor accessory in HomeKit
{"c":{"ic":[[4,5,100]],"tz":"CET-1CEST-2,M3.5.0/2,M10.5.0/2"},"a":[{"t":22,"es":[{"t":80,"tg":[1,0],"n":20,"j":5,"ic":[0,74],"in":[[0,32,50]],"dt":[2,0],"ff":0.00267033,"fo":-45}]}]}
To adjust the temperature change the "fo" parameter.
Data sheet
https://www.mouser.com/datasheet/2/682/Sensirion_Temperature_Sensors_STS3x_Datasheet-1291011.pdf
Beta Was this translation helpful? Give feedback.
All reactions