Ensure that Container Station is installed via the QNAP App Center
Create a new container for using this projects docker container
Create a friendly name (can be anything), make sure "auto start" is selected, and adjust the container's resources based on that you can afford allocating.
Click Advanced Settings > Network and change the Network Mode to Bridge. I found if you do not do this your phone will not be able to communicate w Homebridge, and scanning the QR Code will result in the iOS Homekit app spinning.
Click Advanced Settings > Shared Folders and map a QNAP folder to /root/.homebridge. If you want to create a special folder, open QNAP's File Station, and make a new folder (I created one named "Homebridge". This shared folder will let you modify the Homebridge config files without dealing ssh'ing into the docker container.
Create the docker container; this may take some time (its 1.1GB) so check the Container Station background tasks to quickly see the status.
Once the container is up, SFTP your homebridge files into the shared folder (Step 5), and restart the container via the Container Station WebUI, and watch the console until the QR Code appears.
Open Homekit app on your iOS (making sure that the iOS device is on the same network at the QNAP adapter bridged to this container in Step 4) scan the QR code in the container console and everything should link up!
一切從這一篇開始 http://developer.chrome.com/apps/about_apps Chrome Apps deliver an experience as capable as a native app, but as safe as a web page. Just like web apps, Chrome Apps are written in HTML5, JavaScript, and CSS. But Chrome Apps look and behave like native apps, and they have native-like capabilities that are much more powerful than those available to web apps. Chrome Apps 就是用網頁語言單是想要做成像原生的App一樣,如果是網頁開發者應該很容易上手,因為語言相同,同樣的一份Code,可以用Chrome Browser直接打開網址,也可以藉由Chrome App的擴充功能(Extension)打開,也可以在Chrome Book(Chrome OS )上打開。 上圖顯示的是用Browser直接打開 localhost的 Hello World 以及載入extension 後開啟的小視窗版Hello World。 Hello World的程式碼 https://github.com/GoogleChrome/chrome-app-samples/tree/master/hello-world Chrome Apps 的基本,就是要可以 local 處理 。 Chrome Apps get the following for free: Your app’s files—all of its JavaScript, CSS, and fonts, plus other resources it needs (such as images)—are already downloaded . Your app can save and optionally sync small amounts of data using the ...
留言
張貼留言