VPN/Proxy erkannt
Es scheint, dass Sie einen VPN- oder Proxy-Dienst verwenden. Bitte beachten Sie, dass die Nutzung eines solchen Dienstes die Funktionalität dieser Webseite einschränken kann.
-
Ok,
So without the extra coding for pinging back to the Shelly (not available to me)
the only data I can get is the temperature and humidity.
Here is the URL I have put together and set in my action URL field in my Shelly H&T
device to get the info back to my server:
http://URL_TO_PHP_SCRIPT_FILE.php?sensorid=XX
The Shelly H&T device then adds (without me putting any more info to the string):
&hum=40&temp=20.10
Important (as said by Stefan above) the Shelly device cannot connect to a "https://" address.
I would love to have the battery level also automatically added ie. bat=97
Where in this example 97 is the percentage of the remaining battery level.
THEN this little amazing thing would really rock the boat! ?
Maybe something that could be implemented in a future firmware?
Björn
-
Hi Stefan!
Allright,
Moved the scripts and other to a non https address and some data are now coming thru.
I now got humidity, but no temperature or battery values.
Is the short-codes: tmp.value and bat.value correct or is there other shortcodes to use?
Thanks for your effort and help!
Kind regards,
Bjorn
-
Hi all,
I'm new to Shelly and to the forum. My question is what parameter value I have to put in the Action URL to get the different values for temperature Humidity and Battery?
Today I have a URL looking like this: https://www.mydomain.com/sensordata/get…=1&temperature=tmp.value&humidity=hum.value&battery=bat.value
Is it something I have missunderstood or doing wrong?
Yes, the server address is a https, is that a problem?
Is there any start/end tags I should use for the parameter values?
I appreciate any thoughts and idéas! that can help me forward
Kind regards
Bjorn