Merge branch 'technokami-dev-patch-62793' into 'dev'

Modified trigger event, to indicate manual triggering

See merge request Shinobi-Systems/Shinobi!279
merge-requests/289/head
Moe 2021-01-28 17:12:38 +00:00
commit 7cb4ee7e2a
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ $(document).ready(function(e){
}
break;
case'trigger-event':
$.getJSON(getApiPrefix() + '/motion/'+e.ke+'/'+e.mid+'/?data={"plug":"camera1","name":"stairs","reason":"motion","confidence":100}',function(d){
$.getJSON(getApiPrefix() + '/motion/'+e.ke+'/'+e.mid+'/?data={"plug":"manual_trigger","name":"Manual Trigger","reason":"Manual","confidence":100}',function(d){
$.ccio.log(d)
})
break;