Commit graph

44 commits

Author SHA1 Message Date
BroodjeAap
e4102dccb9 added basic 'scrolling' through a moment with a range input 2020-08-04 19:53:41 +00:00
BroodjeAap
b6dcd6a93b got basic 'moments' page working, showing the moments when motion was detected 2020-08-04 19:26:29 +00:00
BroodjeAap
ee0f8815fc only accept POSTed watchareas 2020-08-04 19:09:01 +00:00
BroodjeAap
fe23fd2355 in between commit for the 'moments' page 2020-08-02 15:53:24 +00:00
BroodjeAap
8d8853800c added streams to template execution for side menu list 2020-08-02 14:19:08 +00:00
BroodjeAap
63aae590d5 added inputs for interval/motion interval on the addStream page 2020-07-25 13:19:17 +00:00
BroodjeAap
ddf6ffb4c8 removed most 'Fatal' usage, so that things keep going when something goes wrong 2020-07-25 11:24:33 +00:00
BroodjeAap
27d0297c80 moved loading Streams from json to a function 2020-07-25 11:16:40 +00:00
BroodjeAap
3579788727 Switching to map[string]*Stream and making all Stream methods (s * Stream) worked 2020-07-14 19:57:11 +00:00
BroodjeAap
f9a6c37350 mostly working addWatchArea system, somehow wont actually add the watcharea to the WatchAreas list in a Strea, goroutine problem? 2020-07-12 19:54:05 +00:00
BroodjeAap
d4d0ba593d frontend of watchareas mostly done 2020-07-12 18:17:46 +00:00
BroodjeAap
e774c1d21d refactored a bunch of http endpoints to static file access (previous/debug/next etc) 2020-07-12 15:11:50 +00:00
BroodjeAap
664fe5c22d updated to name based ID for streams instead of url 2020-07-12 12:33:14 +00:00
BroodjeAap
5d99649696 added 'addStream' page 2020-07-12 12:04:44 +00:00
BroodjeAap
1582a4714d UpdateInterval called instead of Update on first stream run 2020-07-11 14:46:06 +00:00
BroodjeAap
30d693d0fe added motion detection in areas, move to Area structs probably 2020-07-11 14:38:17 +00:00
broodjeaap
308b966119 debug IMReadColor 2020-07-11 16:06:44 +02:00
BroodjeAap
409556604e fixed a bug in first start where CurrentColor was IMRead when it didn't exist yet 2020-07-11 12:59:47 +00:00
BroodjeAap
0d7faa4397 added debug endpoint that gets a debug.jpg 2020-07-11 11:27:53 +00:00
BroodjeAap
dd86398394 removed instant update stuff from stream 2020-07-11 11:15:07 +00:00
BroodjeAap
0583189645 added http endpoints for previous/current/currentColor from disk 2020-07-09 19:57:30 +00:00
BroodjeAap
79273b2c0d added base html template 2020-07-09 19:55:42 +00:00
BroodjeAap
df08e944b9 added global vars for templates 2020-07-09 19:13:28 +00:00
BroodjeAap
8f4d46bc3f Update now gets a new instant (not with GetStreamInstant) and uses SaveStreamInstant to save 2020-07-09 19:01:49 +00:00
BroodjeAap
4a196a21b2 GetStreamInstant returns a Mat now 2020-07-09 18:42:58 +00:00
BroodjeAap
eb8b0d4d61 removed URL parameter from GetStreamInstant 2020-07-09 18:24:17 +00:00
BroodjeAap
40fafe91e5 update ticks are started at startup and when a new stream is added 2020-07-07 20:14:25 +00:00
BroodjeAap
863d9e3577 have a server struct with a map of streams that update based on their interval 2020-07-07 20:05:45 +00:00
BroodjeAap
79c7e03620 more cleanup 2020-07-07 19:04:12 +00:00
BroodjeAap
2086989d58 moved some more stuff to the Stream struct 2020-07-07 18:13:41 +00:00
BroodjeAap
bf1f49302e moved some stuff around, added Stream struct/class 2020-07-07 17:58:06 +00:00
BroodjeAap
914210f644 added a Stream struct with the meta data of a stream 2020-07-06 20:02:05 +00:00
BroodjeAap
1afed82777 made saving the stream instant async 2020-07-06 19:50:36 +00:00
BroodjeAap
bd69f7b914 cleaned up some code 2020-07-06 19:49:48 +00:00
BroodjeAap
7a8a7dc631 got basic motion detection working 2020-07-06 18:42:38 +00:00
BroodjeAap
d3771ef42c with actually changing something to the image 2020-07-06 17:46:09 +00:00
BroodjeAap
90a8832ab9 got decoding/encoding in/out gocv working 2020-07-06 17:33:19 +00:00
BroodjeAap
e966ef3669 got gocv working 2020-06-30 20:30:41 +00:00
BroodjeAap
d6ac177d87 basic stream saving working 2020-06-30 18:40:40 +00:00
BroodjeAap
a8048c01f0 IP cam shot.jpg is now streamed through the web server 2020-06-29 20:12:28 +00:00
BroodjeAap
e1fcf85910 added static files and moved templates to own dir 2020-06-29 19:19:24 +00:00
BroodjeAap
2cacfcbd56 veeery basic thing working 2020-06-29 18:34:35 +00:00
BroodjeAap
83ea98f4ce added air conf for live reload dev 2020-06-29 17:32:48 +00:00
BroodjeAap
6bd8d9b3b5 first commit 2020-06-29 17:13:04 +00:00