Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff TH10 - Http Requests Temperature and Humidity #127

Closed
FabianHM opened this issue Mar 1, 2017 · 12 comments
Closed

Sonoff TH10 - Http Requests Temperature and Humidity #127

FabianHM opened this issue Mar 1, 2017 · 12 comments
Labels
bug Type - Confirmated Bug

Comments

@FabianHM
Copy link

FabianHM commented Mar 1, 2017

I am looking for Http Requests by using the Sonoff TH10.
I wanted to read and monitore Temperature and Humidity Monitoring from this device.
How can I do this?

For example like this:

Thanks
Fabian

@arendst arendst added the bug Type - Confirmated Bug label Mar 1, 2017
@arendst
Copy link
Owner

arendst commented Mar 1, 2017

http://Sonoff-IP/cm?cmnd=status%2010 does the job for me:

STATUS10 = {"StatusSNS":{"Time":"2017-03-01T13:01:54", "DS18B20":{"Temperature":21.8}}}

I noticed that if syslog is enabled it might trigger a panic as it uses UDP and that might hang when a http request is made. As a workaround disable syslog with command syslog 0.

I'll solve it in next release.

@FabianHM
Copy link
Author

FabianHM commented Mar 1, 2017

Thanks for your very quick feedback,
Best regards
Fabian

arendst added a commit that referenced this issue Mar 3, 2017
4.0.0 20170303
* Add define to remove config migration code for versions below 3.0 (See
Wiki-Upgrade-Migration path)
* Free memory by switching from String to char[]
* Raised Sonoff Led PWM frequency from 200Hz to 432Hz in search of
stability (hardware watchdog timeouts) (#122)
* Increase message size and suggested minimum MQTT_MAX_PACKET_SIZE to
512 (#114, #124)
* Remove runtime warning message regarding MQTT_MAX_PACKET_SIZE too
small as it is now moved to compile time (#124)
* Fix possible panics with web console and http commands while UDP
syslog is active (#127)
* Add optional static IP address (#129)
* Add define ENERGY_RESOLUTION in user_config.h to allow user control
over precision (#136)
@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

After this command asking user and pasword.
Where I need to write password.

Need user=&password=

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

How can I need write command?

http://192.168.2.100/cm?cmnd&status%2010&user=&password=
Not working

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

<>

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

192.168.2.100/cm?cmnd&status%2010&user=&password=
This not working. Can some ideas?

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

<> This symbol after user and passwors not writing in this page

@davidelang
Copy link
Collaborator

davidelang commented Mar 4, 2017 via email

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

The some in my gogle chrome browser
Need user=<username>&password=<password>"

@Rudoxxxx
Copy link

Rudoxxxx commented Mar 4, 2017

May by you not using button at top right side <>, and autodelete text inside in <>?

@arendst
Copy link
Owner

arendst commented Mar 4, 2017

Maybe, perhaps, the wiki - commands page might give some information how to construct your user and password information.

BTW it only asks for a password if you configured a Web Admin Password so you should know how to proceed...

@arendst arendst closed this as completed Mar 8, 2017
curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 6, 2018
4.0.0 20170303
* Add define to remove config migration code for versions below 3.0 (See
Wiki-Upgrade-Migration path)
* Free memory by switching from String to char[]
* Raised Sonoff Led PWM frequency from 200Hz to 432Hz in search of
stability (hardware watchdog timeouts) (arendst#122)
* Increase message size and suggested minimum MQTT_MAX_PACKET_SIZE to
512 (arendst#114, arendst#124)
* Remove runtime warning message regarding MQTT_MAX_PACKET_SIZE too
small as it is now moved to compile time (arendst#124)
* Fix possible panics with web console and http commands while UDP
syslog is active (arendst#127)
* Add optional static IP address (arendst#129)
* Add define ENERGY_RESOLUTION in user_config.h to allow user control
over precision (arendst#136)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug
Projects
None yet
Development

No branches or pull requests

4 participants