API login
Posted: 16 Feb 2018 21:41
Hi
is there a how to do it I have a php script where I can see the temparatur from the Zwave me by API
but after a new install it is not working any more
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL,'http://192.168.1.69:8083/ZWaveAPI/Run/d ... .val.value');
echo "Stue = ";
$number = curl_exec($ch);
$number = sprintf('%.2f', $number);
echo $number;
echo " ℃";
?>
I have to login in now I have tryed everthing that I can fandt but nothing is working
the php page is on a other server, not the Raspberry pi
Claus
is there a how to do it I have a php script where I can see the temparatur from the Zwave me by API
but after a new install it is not working any more
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL,'http://192.168.1.69:8083/ZWaveAPI/Run/d ... .val.value');
echo "Stue = ";
$number = curl_exec($ch);
$number = sprintf('%.2f', $number);
echo $number;
echo " ℃";
?>
I have to login in now I have tryed everthing that I can fandt but nothing is working
the php page is on a other server, not the Raspberry pi
Claus