1. 08 Feb, 2019 12 commits
    • JRSmile's avatar
      Update save-img-to-nfs.sh · cd505c99
      JRSmile authored
      cd505c99
    • JRSmile's avatar
      Update motion.conf.dist · b069f42c
      JRSmile authored
      b069f42c
    • JRSmile's avatar
      Update run.sh · 94e5f822
      JRSmile authored
      94e5f822
    • JRSmile's avatar
      Update nfs-connect · f797d25c
      JRSmile authored
      f797d25c
    • JRSmile's avatar
      Delete .gitkeep · d2694614
      JRSmile authored
      d2694614
    • JRSmile's avatar
      Update nfs-connect · f627fb03
      JRSmile authored
      f627fb03
    • JRSmile's avatar
      Update save-img-to-nfs.sh · 5d81c32e
      JRSmile authored
      5d81c32e
    • JRSmile's avatar
      Create nfs-connect · 28341e6f
      JRSmile authored
      28341e6f
    • JRSmile's avatar
      Create .gitkeep · a6ccb5c0
      JRSmile authored
      a6ccb5c0
    • JRSmile's avatar
      Create save-img-to-nfs.sh · 86836eab
      JRSmile authored
      86836eab
    • JRSmile's avatar
      Update autoupdate.sh · 73dff427
      JRSmile authored
      73dff427
    • Tsvi Mostovicz's avatar
      Optimize tracking detection (#926) · ab4a6cf6
      Tsvi Mostovicz authored
      * detectionTracking improvements.
      
      Remove sleep statement when running back to origin. Sleep is alredy
      delat with in PTZ script.
      
      Move sanity checks to top, which frees us from nesting caculations.
      
      Send motor commands to background. It shouldnt be rin in the same
      thread. This might solve some more time out issues with home
      assistant. Add a sleep command at the end, allowing thhe motor to
      run before we finish the script.
      
      * Optimized too much
      
      Get script running correctly again
      
      * Fix case of UP and DOWN/LEFT and RIGHT
      
      We can't return 0. As sometimes we have UP and DOWN both on the same side, which means we need to go left/right
      Same goes for RIGHT and LEFT.
      
      * Ternary operator doesn't work
      
      So use regular if statements.
      Also the sleep time is not long enough, using trial and error discovered 0.5 to be long enough.
      
      * Comments and cleanup
      ab4a6cf6
  2. 07 Feb, 2019 2 commits
  3. 05 Feb, 2019 2 commits
  4. 04 Feb, 2019 2 commits
  5. 03 Feb, 2019 6 commits
    • Haris Okanovic's avatar
      Cleanup detectionOn.sh to improve performance (#913) · f1ec32d7
      Haris Okanovic authored
      Modify as follows:
       1. Run `getimage` once at beginning of script, save image to /tmp
       2. Launch all notification tasks (save snapshot, mqtt, email, telegram,
          and user scripts) as background jobs, use same image image in all
          cases for consistency
       3. Wait for all background jobs to finish before deleting tempfile
      
      In motion.conf.dist:
       * Add default debug_msg_enable=false
       * Fix typo: s/sendemail/send_email
      
      Testing: Ran detectionOn.sh with all options+debugging enabled on a
      Wyze Cam V2 and verified the following:
       * LED triggered
       * Snapshot jpg saved to sdcard
       * Old snapshots removed from sdcard
       * Ran few user scripts to read tempfile
       * sendPictureMail.sh, mosquitto_pub.bin, and telegram ran, but I
         didn't verify delivery
      f1ec32d7
    • sendorm's avatar
      MQTT message and control fix for RTSP flipped case (#911) · 8d40d2c7
      sendorm authored
      * Update mqtt-status-interval.sh
      
      * Update mqtt-control.sh
      
      Updates the X and Y coordinate change mqtt messages according to flip state.
      
      * Update mqtt-status-interval.sh
      
      * Update mqtt-control.sh
      
      * Update mqtt-control.sh
      
      Fixed the mqtt message horizontal and vertical move commands.
      8d40d2c7
    • Haris Okanovic's avatar
      Add option for static IP configuration (#912) · 134ee4fb
      Haris Okanovic authored
      Configure static IP and netmask when config/staticip.conf is present.
      Add config/staticip.conf.dist example.
      
      Additionally, configure a static resolv.conf when config/resolv.conf
      is also present (in addition to config/staticip.conf). This is normally
      configured by DHCP. Add config/resolv.conf.dist example.
      
      Tested both DHCP and static IP configs over Wifi on Wyze Cam V2.
      134ee4fb
    • Tsvi Mostovicz's avatar
      Remove tcp_tw_recycle option set to 1 (#916) · fdece43a
      Tsvi Mostovicz authored
      Due to this being 1, I get  connection timeouts from HASSIO.
      This option has been removed from 4.12 kernels and later as timestamps are now randomized (see https://vincent.bernat.ch/en/blog/2014-tcp-time-wait-state-linux and https://stackoverflow.com/questions/8893888/dropping-of-connections-with-tcp-tw-recycle), this means that when set to 1 we expect timestamps to behave in a certain way, but they might not.
      fdece43a
    • Jelmer Tiete's avatar
      c93a4def
    • Tsvi Mostovicz's avatar
      Add Jerusalem timezone to timezones.tsv (#918) · ba973c14
      Tsvi Mostovicz authored
      * Add Jerusalem timezone to timezones.tsv
      
      This has been added ata later date. See https://dev.archive.openwrt.org/ticket/11445.html
      
      * Change Jerusalem timezone to change at an earlier offset
      
      uclibc which is used to parse the /etc/TZ file has a problem parsing Israel's DST rule. This is because
      the rule employs an offset greater than 24 hours. A mail has been sent to the uclibc mailing list and
      an issue has been raised in Dafang-Hacks/Main#30.
      
      As a temporary workaround I changed the rule from 26 to 23, which will cause the clock to change 3
      hours earlier when moving to DST.
      ba973c14
  6. 02 Feb, 2019 3 commits
    • Jelmer Tiete's avatar
      web interface menu reshuffel (#910) · eab95ca4
      Jelmer Tiete authored
      * web interface menu reshuffel. Added network info panel. Removed missile launcher files.
      
      * removed start original firmware button
      eab95ca4
    • Jelmer Tiete's avatar
      timezone selector fix (#909) · f1047c7f
      Jelmer Tiete authored
      * Added time zone selection in web config based on time zone name.
      
      * Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
      
      * Update timezone.conf
      
      * Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
      
      * improved time zone changes with seperate function. timezone is now set at boot time to avoid time zone name and actual system time zone mismatch
      f1047c7f
    • Jelmer Tiete's avatar
      64b5202e
  7. 01 Feb, 2019 2 commits
  8. 31 Jan, 2019 1 commit
    • Jelmer Tiete's avatar
      Improved time zone selection (#901) · 7e1dc697
      Jelmer Tiete authored
      * Added time zone selection in web config based on time zone name.
      
      * Added default timezone config file. Default is Abidjan because first in list that is GMT0, which probably matches the default in `/etc/TZ`
      
      * Update timezone.conf
      7e1dc697
  9. 30 Jan, 2019 5 commits
  10. 29 Jan, 2019 5 commits