Ipod touch
Moderator: Telldus
Ipod touch
Någon som vet om det finns program till ipod touch som kan styra tellsticken ? eller om någom kan skriva ett.
Ja, det går med hjälp av eventghost och dess webserverplugin. http://www.telldus.se/wiki/index.php?ti ... _webserver
För att få det att fungera måste du lägga till Eventghosts web server plugin och konfigura den (port, html doc root)
Jag skapade en mapp i EvenGhost (web_root) där jag la min html fil som heter EgCtrl.html
Den innehåller länkar "till sig själv" med parametrar för styrningarna typ "EgCtrl.html?D1_ON"
Se bifogat exempel
mvh
Jag skapade en mapp i EvenGhost (web_root) där jag la min html fil som heter EgCtrl.html
Den innehåller länkar "till sig själv" med parametrar för styrningarna typ "EgCtrl.html?D1_ON"
Se bifogat exempel
mvh
Code: Select all
<head>
<title>Belysningstyrning</title>
</head>
<frame title="Button" visible="true">
<panel>
<borderLayout/>
<label title="Toggle Buttons" constraints="North"/>
<panel>
<boxLayout/> <!-- default orientation is horizontal -->
<toggleButton title="Profiling"/>
<toggleButton title="Debugging" selected="true"/>
</panel>
</panel>
</frame>
<table border="1" width="25%">
<tr><!-- Row 1 -->
<td><input type="button" value="Bokhylla: TILL" onclick="location.href='EgCtrl.html?D1_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Bokhylla: FRÅN" onclick="location.href='EgCtrl.html?D1_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td> <!-- Col 3 -->
</tr>
<tr><!-- Row 2 -->
<td><input type="button" value="Fönster: TILL" onclick="location.href='EgCtrl.html?D2_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Fönster: FRÅN" onclick="location.href='EgCtrl.html?D2_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 3 -->
<td><input type="button" value="Hall: TILL" onclick="location.href='EgCtrl.html?D3_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Hall: FRÅN" onclick="location.href='EgCtrl.html?D3_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 4 -->
<td><input type="button" value="Vardagsrum: TILL" onclick="location.href='EgCtrl.html?D4_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Vardagsrum: FRÅN" onclick="location.href='EgCtrl.html?D4_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 5 -->
<td><input type="button" value="Krona: TILL" onclick="location.href='EgCtrl.html?D5_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Krona: FRÅN" onclick="location.href='EgCtrl.html?D5_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 6 -->
<td><input type="button" value="Fasad: TILL" onclick="location.href='EgCtrl.html?B2_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Fasad: FRÅN" onclick="location.href='EgCtrl.html?B2_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 7 -->
<td><input type="button" value="Carport: TILL" onclick="location.href='EgCtrl.html?B3_ON'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><input type="button" value="Carport: FRÅN" onclick="location.href='EgCtrl.html?B3_OFF'" style="background-color: red; color: white;"></td><!-- Col 2 -->
<td><!-- Col 3 -->
</tr>
<tr><!-- Row 8 -->
<td><input type="button" value="Home" onclick="location.href='EgCtrl.html'" style="background-color: green; color: white;"></td><!-- Col 1 -->
<td><!-- Col 3 -->
</tr>
</table>
</body>
</html>
-
- Posts: 15
- Joined: Fri Mar 17, 2023 9:45 am
Håller oxå på med en webapp för iphone... servern körs på min MacMini och drivs av MAMP. Den snackar med TellSticken via drivrutinen för Ulterius (tack basco). Fungerar riktigt smidigt!!!