[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 112: 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 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4767: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4768: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4769: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Z-Wave Forum • Visa tråd - VD - json mot Lundix SPC Gateway

VD - json mot Lundix SPC Gateway

av martinlundgren80 » 18 maj 2017, 09:06

martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av pos » 18 maj 2017, 10:28

Du får nog ändra..

fibaro:debug("Response = "..response)
till
fibaro:debug('Response = '.. json.encode(response))


Peo
pos
Medlem
 
Inlägg: 82
Blev medlem: 03 feb 2017, 02:20

av martinlundgren80 » 18 maj 2017, 11:00

martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av pos » 19 maj 2017, 02:16

pos
Medlem
 
Inlägg: 82
Blev medlem: 03 feb 2017, 02:20

av gol » 19 maj 2017, 17:03

gol
Medlem
 
Inlägg: 28
Blev medlem: 30 apr 2014, 08:00

av KristianO » 19 maj 2017, 23:29

Nyfiken men vad styr "mode"?


Sent from my iPhone using Tapatalk
KristianO
Medlem
 
Inlägg: 451
Blev medlem: 10 mar 2014, 09:50

av martinlundgren80 » 22 maj 2017, 10:57

Tack! Ska testa detta lite och se ifall jag löser det.

Mode är larmstatus:
0 – area is unset
1 – area is part set A
2 – area is part set B
3 – area is full set
martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av KristianO » 22 maj 2017, 12:39

Ok, då blir jag mer nyfiken. Du använder ett Siemens spc som sätter denna status? Varför vill du "tweaka" denna "mode"?


Sent from my iPhone using Tapatalk
KristianO
Medlem
 
Inlägg: 451
Blev medlem: 10 mar 2014, 09:50

av martinlundgren80 » 22 maj 2017, 13:07

Senast redigerad av martinlundgren80 22 maj 2017, 16:04, redigerad totalt 1 gång.
martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av martinlundgren80 » 22 maj 2017, 14:22

martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av KristianO » 22 maj 2017, 15:11

Ok, så lumix bryggan funkar åt båda håll? Dvs om lumix får mode "unset" så slås mitt larm av? Är ute efter att vid avlarmning av mitt garage (idlock lås) så skall det larmas av.


Sent from my iPhone using Tapatalk
KristianO
Medlem
 
Inlägg: 451
Blev medlem: 10 mar 2014, 09:50

av martinlundgren80 » 23 maj 2017, 09:07

martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av gol » 23 maj 2017, 23:12

Som du vet rekommenderar jag alltid att man har både kryptering och Digest-autentiseringen påslagen för ökad IT-säkerhet, speciellt för kommandon mot larmet. Senast jag kollade så kunde dock Fibaro HC2 inte hantera Digest-autensiering men däremot kan du säkert använda https.

Med detta sagt... Kommandot ska vara /spc/area/1/set_a
Om du ändå inte får det att fungera bör du kolla:
1) Att du får status "success" i response.
2) Att du tillåter kommandon via EDP i SPC-larmet
3) Att du inte är i Engineer-mode i SPC-larmet när du testar
4) Att du inte har några öppna sektioner eller något annat som förreglar att du ändrar "mode"

//Göran .
gol
Medlem
 
Inlägg: 28
Blev medlem: 30 apr 2014, 08:00

av martinlundgren80 » 24 maj 2017, 11:03

martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av martinlundgren80 » 24 maj 2017, 12:02

Larmpanel_HC2.JPG
Larmpanel_HC2
martinlundgren80
Ny medlem
 
Inlägg: 18
Blev medlem: 03 jan 2016, 15:31

av KristianO » 24 maj 2017, 14:11

Sweet! Tänker att jag skulle kunna trigga en scene när jag låser upp min ytterdörr som triggar avlarmning av Hemnet.
Kör med idlock som är zwave anslutna. Nu gäller det bara att hitta en trigger från låset när låset blir upplåst.


Sent from my iPhone using Tapatalk
KristianO
Medlem
 
Inlägg: 451
Blev medlem: 10 mar 2014, 09:50

av gol » 24 maj 2017, 19:19

gol
Medlem
 
Inlägg: 28
Blev medlem: 30 apr 2014, 08:00

av KristianO » 07 jun 2017, 22:35

KristianO
Medlem
 
Inlägg: 451
Blev medlem: 10 mar 2014, 09:50

Dustin

Återgå till Fibaro Home Center 2

cron