accessing sensor values from Plugwise Sense
Posted: Wed Nov 23, 2011 12:27 pm
Hello everyone,
I am using the Sense temperature and humidity sensor from Plugwise.
In the Plugwise Source program (v2.21) I can read these 2 values and they are nicely updated and displaye graphically
However when I want to access these 2 values from the webserver, the fields turn out to be empty.
Does any one have experience with these sensors?
The webscript I use is the following:
<%
$list=Plugwise.Modules
ForEach $list
%>
<% If $list[$_Index] != null %>
"<%=$list[$_Index].Name%>",
<%=$list[$_Index].LastSeenDate%>,
<% if ($list[$_Index].Name == "C....") || ($list[$_Index].Name == "C...")
%>
Temp = <% $list[$_Index].Temperature %>
Hum = <% $list[$_Index].Humidity %>
<%/If
%>
<%Else%>
,,,
<%/If
%>
<br>
<%
/Foreach
%>
I am using the Sense temperature and humidity sensor from Plugwise.
In the Plugwise Source program (v2.21) I can read these 2 values and they are nicely updated and displaye graphically
However when I want to access these 2 values from the webserver, the fields turn out to be empty.
Does any one have experience with these sensors?
The webscript I use is the following:
<%
$list=Plugwise.Modules
ForEach $list
%>
<% If $list[$_Index] != null %>
"<%=$list[$_Index].Name%>",
<%=$list[$_Index].LastSeenDate%>,
<% if ($list[$_Index].Name == "C....") || ($list[$_Index].Name == "C...")
%>
Temp = <% $list[$_Index].Temperature %>
Hum = <% $list[$_Index].Humidity %>
<%/If
%>
<%Else%>
,,,
<%/If
%>
<br>
<%
/Foreach
%>