Tips: NexaHome 'Motion Detector'
Posted: Fri Mar 17, 2023 9:45 am
Den som kör windows samt NexaHome version 2.9.3 eller senare kan prova "Motion Detector" funktioner i NexaHome, börja med att hämta följande zip-arkiv.
http://nexahome.se/NexaHomeMD_beta.zip
Därefter ska man göra följande:
1) packa upp zip-arkivet så att alla dess filer placeras i biblioteket
C:\apps\NexaHomeMD_beta
2) skapa följande bibliotek samt skriv in dess sökväg under 'Config' fliken i NexaHome (Motion Detect Image Directories)
C:\apps\nexahome\overtornea
3) skapa biblioteket 'motion' i 'My Web Server Directory' biblioteket (om det inte redan finns)
C:\apps\nexahome\mywebserver\motion
4) skapa följande bsh filer i 'My Web Server Directory' biblioteket
C:\apps\nexahome\mywebserver
motion.html
motion1.html
motion2.html
motion3.html
motion4.html
motion5.html
motion6.html
motion7.html
motion8.html
motion9.html
5) starta om NexaHome
6) starta "motion detector" programmet
C:\apps\NexaHomeMD_beta\NexaHomeMD.exe
7) gå till "mypage" sidan motion
Edit: Observera att filändelserna ska vara .html
Edit: 2012-12-08 Uppdaterade motion.html, lade till knappen "Radera 1-9"
http://nexahome.se/NexaHomeMD_beta.zip
Därefter ska man göra följande:
1) packa upp zip-arkivet så att alla dess filer placeras i biblioteket
C:\apps\NexaHomeMD_beta
2) skapa följande bibliotek samt skriv in dess sökväg under 'Config' fliken i NexaHome (Motion Detect Image Directories)
C:\apps\nexahome\overtornea
3) skapa biblioteket 'motion' i 'My Web Server Directory' biblioteket (om det inte redan finns)
C:\apps\nexahome\mywebserver\motion
4) skapa följande bsh filer i 'My Web Server Directory' biblioteket
C:\apps\nexahome\mywebserver
motion.html
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion&psw=#PSW#">
</head>
<!-- dynamic="motion_1" url="file:///C:/apps/nexahome/mywebserver/motion/index_1.html" keep="60" -->
<!-- dynamic="motion_2" url="file:///C:/apps/nexahome/mywebserver/motion/index_2.html" keep="60" -->
<!-- dynamic="motion_3" url="file:///C:/apps/nexahome/mywebserver/motion/index_3.html" keep="60" -->
<!-- dynamic="motion_4" url="file:///C:/apps/nexahome/mywebserver/motion/index_4.html" keep="60" -->
<!-- dynamic="motion_5" url="file:///C:/apps/nexahome/mywebserver/motion/index_5.html" keep="60" -->
<!-- dynamic="motion_6" url="file:///C:/apps/nexahome/mywebserver/motion/index_6.html" keep="60" -->
<!-- dynamic="motion_7" url="file:///C:/apps/nexahome/mywebserver/motion/index_7.html" keep="60" -->
<!-- dynamic="motion_8" url="file:///C:/apps/nexahome/mywebserver/motion/index_8.html" keep="60" -->
<!-- dynamic="motion_9" url="file:///C:/apps/nexahome/mywebserver/motion/index_9.html" keep="60" -->
<!-- dynamic="delete_1" url="file:///C:/apps/nexahome/mywebserver/motion/delete_1.html" keep="60" -->
<!-- dynamic="delete_2" url="file:///C:/apps/nexahome/mywebserver/motion/delete_2.html" keep="60" -->
<!-- dynamic="delete_3" url="file:///C:/apps/nexahome/mywebserver/motion/delete_3.html" keep="60" -->
<!-- dynamic="delete_4" url="file:///C:/apps/nexahome/mywebserver/motion/delete_4.html" keep="60" -->
<!-- dynamic="delete_5" url="file:///C:/apps/nexahome/mywebserver/motion/delete_5.html" keep="60" -->
<!-- dynamic="delete_6" url="file:///C:/apps/nexahome/mywebserver/motion/delete_6.html" keep="60" -->
<!-- dynamic="delete_7" url="file:///C:/apps/nexahome/mywebserver/motion/delete_7.html" keep="60" -->
<!-- dynamic="delete_8" url="file:///C:/apps/nexahome/mywebserver/motion/delete_8.html" keep="60" -->
<!-- dynamic="delete_9" url="file:///C:/apps/nexahome/mywebserver/motion/delete_9.html" keep="60" -->
<!-- dynamic="delete_1-9" url="file:///C:/apps/nexahome/mywebserver/motion/delete_1-9.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 40px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="1">
</form>
</div>
<div style="position: absolute; top: 40px; left: 90px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_1#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 70px; left: 25px;">
#DYNAMIC#motion_1#st
</div>
<div style="position: absolute; top: 40px; left: 235px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion2">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="2">
</form>
</div>
<div style="position: absolute; top: 40px; left: 300px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_2#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 70px; left: 235px;">
#DYNAMIC#motion_2#st
</div>
<div style="position: absolute; top: 40px; left: 445px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion3">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="3">
</form>
</div>
<div style="position: absolute; top: 40px; left: 510px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_3#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 70px; left: 445px;">
#DYNAMIC#motion_3#st
</div>
<div style="position: absolute; top: 240px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion4">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="4">
</form>
</div>
<div style="position: absolute; top: 240px; left: 90px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_4#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 270px; left: 25px;">
#DYNAMIC#motion_4#st
</div>
<div style="position: absolute; top: 240px; left: 235px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion5">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="5">
</form>
</div>
<div style="position: absolute; top: 240px; left: 300px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_5#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 270px; left: 235px;">
#DYNAMIC#motion_5#st
</div>
<div style="position: absolute; top: 240px; left: 445px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion6">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="6">
</form>
</div>
<div style="position: absolute; top: 240px; left: 510px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_6#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 270px; left: 445px;">
#DYNAMIC#motion_6#st
</div>
<div style="position: absolute; top: 440px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion7">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="7">
</form>
</div>
<div style="position: absolute; top: 440px; left: 90px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_7#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 470px; left: 25px;">
#DYNAMIC#motion_7#st
</div>
<div style="position: absolute; top: 440px; left: 235px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion8">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="8">
</form>
</div>
<div style="position: absolute; top: 440px; left: 300px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_8#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 470px; left: 235px;">
#DYNAMIC#motion_8#st
</div>
<div style="position: absolute; top: 440px; left: 445px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion9">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="9">
</form>
</div>
<div style="position: absolute; top: 440px; left: 510px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_9#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera">
</form>
</div>
<div style="position: absolute; top: 470px; left: 445px;">
#DYNAMIC#motion_9#st
</div>
<div style="position: absolute; top: 640px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion">
<input type=hidden name="return" value="motion">
<input type=hidden name="delete" value="#DYNAMIC#delete_1-9#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Radera 1-9">
</form>
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion1" url="file:///C:/apps/nexahome/mywebserver/motion/index1.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion9">
<input type=hidden name="return" value="motion1">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldsta">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion2">
<input type=hidden name="return" value="motion1">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion1#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion2" url="file:///C:/apps/nexahome/mywebserver/motion/index2.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion2">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion3">
<input type=hidden name="return" value="motion2">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion2#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion3" url="file:///C:/apps/nexahome/mywebserver/motion/index3.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion3">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion2">
<input type=hidden name="return" value="motion3">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion4">
<input type=hidden name="return" value="motion3">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion3#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion4" url="file:///C:/apps/nexahome/mywebserver/motion/index4.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion3">
<input type=hidden name="return" value="motion4">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion5">
<input type=hidden name="return" value="motion4">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion4#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion5" url="file:///C:/apps/nexahome/mywebserver/motion/index5.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion4">
<input type=hidden name="return" value="motion5">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion6">
<input type=hidden name="return" value="motion5">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion5#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion6" url="file:///C:/apps/nexahome/mywebserver/motion/index6.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion5">
<input type=hidden name="return" value="motion6">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion7">
<input type=hidden name="return" value="motion6">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion6#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion7" url="file:///C:/apps/nexahome/mywebserver/motion/index7.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion6">
<input type=hidden name="return" value="motion7">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion8">
<input type=hidden name="return" value="motion7">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion7#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion8" url="file:///C:/apps/nexahome/mywebserver/motion/index8.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion7">
<input type=hidden name="return" value="motion8">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion9">
<input type=hidden name="return" value="motion8">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Äldre">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion8#
</div>
</body>
</html>
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head><title>NexaHome - Life Made Easy With Home Automation</title>
<link rel="Shortcut Icon" href="http://nexahome.se/favicon32x32.ico">
<meta http-equiv="refresh" content="300;#URL#?mypage=motion1&psw=#PSW#">
</head>
<!-- dynamic="motion9" url="file:///C:/apps/nexahome/mywebserver/motion/index9.html" keep="60" -->
<body bgcolor="#ffffff" background="/nexahome/nexahome_bg.jpg">
<div style="position: absolute; top: 5px; left: 25px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="#TIMESTAMP#">
</form>
</div>
<div style="position: absolute; top: 5px; left: 180px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion8">
<input type=hidden name="return" value="motion9">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyare">
</form>
</div>
<div style="position: absolute; top: 5px; left: 250px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="motion1">
<input type=hidden name="return" value="motion9">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Nyaste">
</form>
</div>
<div style="position: absolute; top: 5px; left: 320px;">
<form action="nexahome" method="get">
<input type=hidden name="mypage" value="#RETURN#">
<input type=hidden name="psw" value="#PSW#">
<input type=hidden name="rnd" value="#RND#">
<input type=submit value="Gå tillbaka">
</form>
</div>
<div style="position: absolute; top: 30px; left: 25px">
#DYNAMIC#motion9#
</div>
</body>
</html>
6) starta "motion detector" programmet
C:\apps\NexaHomeMD_beta\NexaHomeMD.exe
7) gå till "mypage" sidan motion
Edit: Observera att filändelserna ska vara .html
Edit: 2012-12-08 Uppdaterade motion.html, lade till knappen "Radera 1-9"