fhem.js
Version:
This is a node.js server for fhem (home automation). It allows clients connecting to fhem by websockets.
18 lines (17 loc) • 484 B
HTML
<html>
<head>
<script src="http://your.domain.tld:8086/socket.io/socket.io.js"></script>
<script src="nodetest.js"></script>
</head>
<body>
<div style="display:inline-block;width: 45%; vertical-align:top;">
<h2>all values</h2>
<div id="container1"></div>
</div>
<div style="display:inline-block;width: 45%; vertical-align:top;">
<h2>changed values</h2>
<div id="container2" style="display:inline-block;width: 45%"></div>
</div>
</body>
</html>