1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-08 23:20:48 +02:00

326 Commits

Author SHA1 Message Date
Julian Tatsch
3db5bbf4a7 Enable webui to set httpd password 2018-05-05 13:38:29 +02:00
Julian Tatsch
d8a6c17ada properly log the rtspserver outputs to sdcard 2018-05-05 10:29:50 +02:00
gkaindl
08a9aa09e1 use relative paths for web interface. (#319)
to run it behind a reverse proxy
2018-04-30 22:36:08 +02:00
nik0
af762812d0 Improve osd debug (#296)
* Improve OSD debug script
2018-04-26 22:12:29 +02:00
nik0
c51dd928b8 Update action.cgi 2018-04-25 10:55:55 +02:00
nik0
3c18a42c83 Update action.cgi 2018-04-25 10:54:20 +02:00
nik0
022e0286c1 Motion config restore
When usong action.cgi command motion_on, re-read the conf file to restore sensitivity
See issue #290 https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/290
2018-04-25 10:25:21 +02:00
Julian Tatsch
bd6939bb68 Enable UI to change RTSP resolution 2018-04-24 21:23:38 +02:00
jmtatsch
608f95632d Update index.html
reorder and rename a few manage menu items to be more accurate
2018-04-23 08:06:54 +02:00
Julian Tatsch
0bb990bd3a differentiate better between h264 & mjpeg rtsp servers 2018-04-22 00:04:33 +02:00
jmtatsch
80815a646d Merge pull request #269 from nik0/GuiLogs
Add more log display on interface
2018-04-21 18:30:31 +02:00
nik0
0ec1919f5c Add more log display on interface 2018-04-21 17:02:17 +02:00
Manuel Diez Frutos
0025871006 Fixed typos on HTML 2018-04-21 11:00:30 -04:00
jmtatsch
0c59394b21 Merge pull request #266 from ping/fix-new-ui
Fix toggling in new-ui camera controls
2018-04-21 14:27:55 +02:00
ping
27a3f7e65c Fixes #259
More fixes:
- Add configMotionInfo.cgi that was missed out in the new UI PR
- Do manual scaling for imageareaselect
2018-04-21 20:08:13 +08:00
ping
b271f00ddc Fix toggling in new-ui camera controls 2018-04-21 19:19:40 +08:00
jmtatsch
7709a1d8b4 Merge branch 'master' into bugfix-ldravg_status 2018-04-21 08:03:02 +02:00
ping
25abdb21e7 Move config motion scripts/css to load in index, fix config motion submission 2018-04-21 07:57:03 +08:00
Evan Noon
4a0766bba0 Fixed the 'setvideosize' issue (#247) 2018-04-20 17:14:33 +02:00
Elias Kotlyar
a2fbce421b Merge branch 'new-ui' of https://github.com/ping/Xiaomi-Dafang-Hacks into ping-new-ui
# Conflicts:
#	firmware_mod/www/cgi-bin/status.cgi
2018-04-20 17:03:16 +02:00
Elias Kotlyar
7d5a30c2f2 Merge branch 'master' of github.com-eko:EliasKotlyar/Xiaomi-Dafang-Teardown into jmtatsch-master
# Conflicts:
#	firmware_mod/scripts/mqtt-autodiscovery.sh
2018-04-20 16:57:05 +02:00
Knurlnheim
6db417a200 Bugfix mqtt port (#253)
* Bugfix for issue #251

* Bugfix for issue #250
2018-04-20 16:53:16 +02:00
ping
2eb5ab4ff2 Fix osd enabling/disabling 2018-04-20 08:54:31 +08:00
ping
fb28519e10 Fix camera status toggling 2018-04-20 08:43:44 +08:00
ping
e4491134dd Always force no-cache in response headers 2018-04-20 08:31:49 +08:00
Knurlnheim
92d865ae35 Bugfix for issue #251 2018-04-19 21:36:24 +02:00
ping
4c94306b3f Add a small indicator overlay on live image to hint at dpad 2018-04-19 21:40:50 +08:00
ping
e000d271c4 Improvements based on feedback received 2018-04-19 21:15:30 +08:00
ping
40cd65ada4 Fix ntp srv saving 2018-04-19 21:14:54 +08:00
ping
02280c4d5e Fix settz in action.cgi to show result properly 2018-04-19 21:14:10 +08:00
ping
63d23e2ae9 Implement new UI
Change summary:

- Incorporate the Bulma CSS framework
- Changed many of the functions in action.cgi scripts.cgi status.cgi getMotionInfo.cgi to return json so that we can have more elegant ajax-y UI flows
- Changed the "live" view to only refresh statuses on demand (when Camera Controls menu is hovered/clicked) instead of a constant interval refresh. I did not like the constant refresh in the current implementation because it was sometimes locking up the UI in the background.
- Changed the "live" view image to reload only after previous image is loaded instead of a constant refresh interval (uses image "onload" to trigger)
- Fixed up some bugs in configMotion.html and also made the UI work responsively
- Added a "shutdown" command (calls /sbin/halt) so that I can gracefully shutdown the camera instead of pulling the plug
- Add option to choose a dark UI theme
2018-04-19 10:48:49 +08:00
Julian Tatsch
0dc0e46358 information is a singular only word 2018-04-15 13:35:55 +02:00
shinebar1001
f31bb731d5 Merge pull request #226 from nik0/JPegOptim
Jpeg optim
2018-04-14 13:13:32 +02:00
Julian Tatsch
40015ad7a7 fix ldr not updating .conf file 2018-04-14 05:57:40 +02:00
Julian Tatsch
a591ee8a40 fix mqtt autoconfig start, add motion tracking switch 2018-04-14 05:54:52 +02:00
nik0
7faa9460c2 Merge branch 'master' into JPegOptim 2018-04-13 11:31:44 +02:00
nik0
3b0120884f JPeg optimization
- For emails as the picture were huge
- Experimental for cgi currentpic.cgi, try "currentpicoptim.cgi" that use some CPU and may have the camera not stable (to try)
2018-04-13 11:25:15 +02:00
Elias Kotlyar
33a26081e2 Merge 2018-04-11 20:42:39 +02:00
Elias Kotlyar
253d779bf2 Merge 2018-04-11 20:39:22 +02:00
Elias Kotlyar
d8b652038f Merge 2018-04-11 20:37:26 +02:00
nik0
47073bfed5 Motion tracking (#216)
* Debug information on OSD
Add some debug info on OSD:
 * Hostname
 * IP
 * Transmitted bandwith
 * Rec bandwith
 * CPU usage (based on top command)
 * Freemem (based on free command)
 * Used memory (based on top command)
 * Free memory (based on top command)
This is controlable from scripts/debugInOsd.sh

* Motion tracking !
- Add motion tracking (basic)
- Need to add configuration
- Did small memory optimisation (no allocate memory for OSD if not needed)
2018-04-11 20:35:27 +02:00
Elias Kotlyar
8a46521c9b NTP-Server 2018-04-11 20:32:52 +02:00
Elias Kotlyar
1919515b70 Merge 2018-04-11 20:25:33 +02:00
nik0
a8c1d7dc99 Merge branch 'master' of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks into MotionTracking 2018-04-09 19:15:24 +02:00
ping
4e06975704 Support <1.0s intervals and also a max duration 2018-04-09 21:43:09 +08:00
ping
8038dc0c70 Add picture timelapse capability 2018-04-09 00:15:43 +08:00
Julian Tatsch
706e7b4e07 [WIP] Fix mqtt, add new common functions lib, add mqtt autodiscovery. 2018-04-04 09:06:33 +02:00
jmtatsch
5b9aedfbb9 Add some examples for dealing with motion events (#194)
* Add some examples for dealing with motion events

* Harmonize core motion detection & event handling to use one single motion.conf, refactor & beautify motion detection api for more consistency, host jquery locally for usecases without internet, add responsive switch to live ui

* added mqtt actions for switching motion detection on and off

* added motion detection status to status

* Update motion.conf

* Update motion.conf
2018-03-31 17:26:10 +02:00
nik0
d33b79af5e Debug information on OSD (#191)
Add some debug info on OSD:
 * Hostname
 * IP
 * Transmitted bandwith
 * Rec bandwith
 * CPU usage (based on top command)
 * Freemem (based on free command)
 * Used memory (based on top command)
 * Free memory (based on top command)
This is controlable from scripts/debugInOsd.sh
2018-03-31 17:25:47 +02:00
DESKTOP-10\Julian
f4df16e631 Merge branch 'master' of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks
# Conflicts:
#	firmware_mod/controlscripts/rtsp-h264
#	firmware_mod/controlscripts/rtsp-mjpeg
#	firmware_mod/run.sh
2018-03-28 17:38:20 +02:00