diff --git a/README.md b/README.md index 0440011..0806e33 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ You only need to 1. download the pre-configured Raspbian image and copy onto an sd card -- [Raspberry Pi 1 , Zero](https://github.com/brutella/hkcam/releases/download/v0.0.5/rasbian-stretch-lite-2018-11-13-hkcam-v0.0.5-armv6.img.zip) -- [Raspberry Pi 2, 3](https://github.com/brutella/hkcam/releases/download/v0.0.5/rasbian-stretch-lite-2018-11-13-hkcam-v0.0.5-armv7.img.zip) +- [Raspberry Pi 1 , Zero](https://github.com/brutella/hkcam/releases/download/v0.0.6/rasbian-stretch-lite-2018-11-13-hkcam-v0.0.6-armv6.img.zip) +- [Raspberry Pi 2, 3](https://github.com/brutella/hkcam/releases/download/v0.0.6/rasbian-stretch-lite-2018-11-13-hkcam-v0.0.6-armv7.img.zip) 2. install [Etcher.app](https://www.balena.io/etcher/) and flash the downloaded image onto your sd card. Etcher.app @@ -67,7 +67,7 @@ You only need to > diskutil unmountDisk /dev/rdisk3 > > # copy image on disk3 -> sudo dd bs=1m if=~/Downloads/raspbian-stretch-lite-2018-11-13-hkcam-v0.0.5.img of=/dev/rdisk3 conv=sync +> sudo dd bs=1m if=~/Downloads/raspbian-stretch-lite-2018-11-13-hkcam-v0.0.6.img of=/dev/rdisk3 conv=sync > ``` 3. add your WiFi credentials so that the Raspberry Pi can connect to your WiFi diff --git a/ansible/roles/hkcam/defaults/main.yml b/ansible/roles/hkcam/defaults/main.yml index c7a53b1..2c85973 100644 --- a/ansible/roles/hkcam/defaults/main.yml +++ b/ansible/roles/hkcam/defaults/main.yml @@ -1,5 +1,5 @@ --- -hkcam_version: 'v0.0.5' +hkcam_version: 'v0.0.6' hkcam_download_file_name: hkcam-{{ hkcam_version }}_linux_armhf.tar.gz hkcam_download_url: https://github.com/brutella/hkcam/releases/download/{{ hkcam_version }}/{{ hkcam_download_file_name }} hkcam_download_dir: /tmp diff --git a/ansible/roles/hkcam/tasks/install.yml b/ansible/roles/hkcam/tasks/install.yml index ef26327..ec5851d 100644 --- a/ansible/roles/hkcam/tasks/install.yml +++ b/ansible/roles/hkcam/tasks/install.yml @@ -5,15 +5,15 @@ state: directory - name: Download {{ hkcam_download_url }} to {{ hkcam_download_dest }} - copy: - src: /Users/mah/Source/Code/Go/src/github.com/brutella/hkcam/{{ hkcam_download_file_name }} - dest: "{{ hkcam_download_dir }}" - owner: pi - group: pi - mode: 0644 - # get_url: - # url: "{{ hkcam_download_url }}" - # dest: "{{ hkcam_download_dest }}" + # copy: + # src: /Users/mah/Source/Code/Go/src/github.com/brutella/hkcam/{{ hkcam_download_file_name }} + # dest: "{{ hkcam_download_dir }}" + # owner: pi + # group: pi + # mode: 0644 + get_url: + url: "{{ hkcam_download_url }}" + dest: "{{ hkcam_download_dest }}" register: pkg_download - name: Extract {{ hkcam_download_dest }} to {{ hkcam_download_dir }} diff --git a/cmd/hkcam/main.go b/cmd/hkcam/main.go index d7967b6..3d3bd58 100644 --- a/cmd/hkcam/main.go +++ b/cmd/hkcam/main.go @@ -51,7 +51,7 @@ func main() { dnslog.Debug.Enable() } - switchInfo := accessory.Info{Name: "Camera", FirmwareRevision: "0.0.5", Manufacturer: "Matthias Hochgatterer"} + switchInfo := accessory.Info{Name: "Camera", FirmwareRevision: "0.0.6", Manufacturer: "Matthias Hochgatterer"} cam := accessory.NewCamera(switchInfo) cfg := ffmpeg.Config{