CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Sep 16, 2019 3:10 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: sonoff TH10 http request
PostPosted: Sat Mar 31, 2018 3:57 am 
Offline

Joined: Thu Feb 11, 2016 4:06 am
Posts: 38
I am trying to request temperature and humidity from this unit. I need to send an Http request:
http://Sonoff-IP/cm?cmnd=status%2010

the reply should be something like:
STATUS10 = {"StatusSNS":{"Time":"2017-03-01T13:01:54", "DS18B20":{"Temperature":21.8}}}

is this possible to do?
I tried using the web client library but noticed there was a cost associated with it. Not sure if there is another way.

Any ideas?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited