[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - Commando's versturen in url WebApp • nodo-domotica.nl

nodo-domotica.nl

Commando's versturen in url WebApp

Post hier vragen en ervaringen die betrekking hebben op het gebruik en configuratie van de WebApp

Commando's versturen in url WebApp

Berichtdoor dobje » 21 okt 2014, 13:55

Hallo,

Is het mogelijk rechtstreeks in de URL van de WebApp een commando mee te geven ? bijvoorbeeld de javascript:send_event("userevent 7,2;") ?

En of is het dan ook mogelijk rechtstreeks waardes van de WebApp te lezen op de value pagina ?

Ik wil met Tasker op android de boel nog verder automatiseren bv de telefoon meld zich aan op mijn wifi netwerk (en het is donker) dan kan ik alvast de lampen aan doen door een url aan te roepen. Ook kun je bv met een smartwatch en google now de boel ook via de stem gaan besturen icm Tasker.
dobje
 
Berichten: 63
Geregistreerd: 18 dec 2013, 15:26
Woonplaats: Lochem

Re: Commando's versturen in url WebApp

Berichtdoor rtenklooster » 21 okt 2014, 16:12

Er is voor zover ik weet geen api beschikbaar als je hem niet lokaal hebt draaien.
Wat je wel kunt doen, is dmv. het ping project kijken of je telefoon in het netwerk is:


Of je moet de webapp lokaal gaan draaien.
rtenklooster
 
Berichten: 377
Geregistreerd: 04 aug 2012, 12:10
Woonplaats: Aduard

Re: Commando's versturen in url WebApp

Berichtdoor dobje » 21 okt 2014, 23:14

Als de webapp lokaal draait kun je wel dmv een url te openen een event triggeren of waarde lezen ?

Met andere woorden ik kan in de huidige webapp niet een url aanroepen die simuleert dat ik op een knop drukt ? en of waardes uitlezen ?
dobje
 
Berichten: 63
Geregistreerd: 18 dec 2013, 15:26
Woonplaats: Lochem

Re: Commando's versturen in url WebApp

Berichtdoor dobje » 29 okt 2014, 17:35

@rtenklooster de telefoon weet zelf wanneer hij thuis is dmv de tasker app(dit is een briljante app voor je telefoon http://www.androidcentral.com/tasker-re ... all-things ).

De app ziet dat de telefoon inlogt op een bepaald wifi netwerk en ik kan dan een url aanroepen, met deze url wil ik dan een bepaalde actie doen http://www.nodo-domotica.nl/webapp/weba ... merlampaan. Deze "kamerlamp aan" staan nu ook in de webapp onder #activities_page.
dobje
 
Berichten: 63
Geregistreerd: 18 dec 2013, 15:26
Woonplaats: Lochem


Keer terug naar Nodo WebApp

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 8 gasten

cron