From de4d52ef24393d01d7475e2c053d9048262a0dc7 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Mon, 25 Apr 2016 09:41:17 +0200 Subject: [PATCH] verbouwing --- mywiki/tiddlers/Domotica.tid | 18 +++++++++++++++--- mywiki/tiddlers/Promises.tid | 13 +++++++++++++ mywiki/tiddlers/Rancher.tid | 10 +++++++++- mywiki/tiddlers/Zwenkgras 20.tid | 19 +++++++++++++++++-- 4 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 mywiki/tiddlers/Promises.tid diff --git a/mywiki/tiddlers/Domotica.tid b/mywiki/tiddlers/Domotica.tid index 38df73d..52472f1 100644 --- a/mywiki/tiddlers/Domotica.tid +++ b/mywiki/tiddlers/Domotica.tid @@ -1,20 +1,32 @@ created: 20160405202927748 creator: user -modified: 20160405205940927 +modified: 20160425072748290 modifier: user tags: title: Domotica type: text/vnd.tiddlywiki - ; ~MySensors : http://www.mysensors.org/ +; Raspberry Pi - Domotica +: http://www.herwinvanhoof.nl/index.php/raspberrypi/pidomotica + ; Raspberry Pi, RFXCom and Domoticz : https://agileek.github.io/home_automation/2015/12/05/home_automation_domoticz/ ; Docker container for Domoticz : https://hub.docker.com/r/quantumobject/docker-domoticz/ +: https://hub.docker.com/r/agileek/rpi-domoticz-docker/tags/ ; -: http://www.orvibo.com/index_en.html \ No newline at end of file +: http://www.orvibo.com/index_en.html + + +``` +HypriotOS: pi@pi2.aiko.sh in /mnt/pi/data +$ touch domoticz/domoticz.db +$ docker run --cap-add=SYS_RAWIO --device=/dev/vchiq --device=/dev/ttyUSB0 -e LD_LIBRARY_PATH=/opt/vc/lib -v /opt/vc:/opt/vc:ro -v /etc/localtime:/etc/localtime -v /mnt/pi/data/domoticz/domoticz.db:/root/domoticz/domoticz.db:rw -p 1888:8080 --name domoticz --restart=always -d agileek/rpi-domoticz-docker:3.4834 +``` + +: https://www.domoticz.com/wiki/Camera_Setup#Foscam_FI9821W_V2 \ No newline at end of file diff --git a/mywiki/tiddlers/Promises.tid b/mywiki/tiddlers/Promises.tid new file mode 100644 index 0000000..cdb547d --- /dev/null +++ b/mywiki/tiddlers/Promises.tid @@ -0,0 +1,13 @@ +created: 20160418135643697 +creator: user +modified: 20160418153805774 +modifier: user +tags: +title: Promises +type: text/vnd.tiddlywiki + +; Promises in JavaScript Unit Tests: the Definitive Guide +: http://www.sitepoint.com/promises-in-javascript-unit-tests-the-definitive-guide/ + +; Flattening Promise Chains +: http://solutionoptimist.com/2013/12/27/javascript-promise-chains-2/ \ No newline at end of file diff --git a/mywiki/tiddlers/Rancher.tid b/mywiki/tiddlers/Rancher.tid index 72ee8ac..f31ac17 100644 --- a/mywiki/tiddlers/Rancher.tid +++ b/mywiki/tiddlers/Rancher.tid @@ -1,11 +1,19 @@ created: 20151217170810197 creator: user -modified: 20160405202235141 +modified: 20160422115422097 modifier: user tags: docker title: Rancher type: text/vnd.tiddlywiki +``` +docker run -d -p 2380:8080 rancher/server +``` +``` +docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.0.1 http://192.168.88.100:2380/v1/scripts/F6228F00828541320DBF:1460962800000:N9TpT3F5UVU0oIa9Mwm1AN6OHos +``` + + ; Docker Cloud - Your first service : https://docs.docker.com/docker-cloud/getting-started/your_first_service/ diff --git a/mywiki/tiddlers/Zwenkgras 20.tid b/mywiki/tiddlers/Zwenkgras 20.tid index 64ad6e1..bce9773 100644 --- a/mywiki/tiddlers/Zwenkgras 20.tid +++ b/mywiki/tiddlers/Zwenkgras 20.tid @@ -1,6 +1,6 @@ created: 20160405202356084 creator: user -modified: 20160405202609066 +modified: 20160425074001513 modifier: user tags: title: Zwenkgras 20 @@ -16,4 +16,19 @@ type: text/vnd.tiddlywiki : http://www.baaij-hoveniers.nl/beplanting/giftige_planten.htm ; Bouw- en sloopafval -: http://gemeente.leiden.nl/themas/afval/bouw-en-sloopafval/ \ No newline at end of file +: http://gemeente.leiden.nl/themas/afval/bouw-en-sloopafval/ + +; ~LedSpot +: https://www.budgetlight.nl/philips-ledspotmv-dimtone-4-35w-gu10-40d-master.html + +; ~SpotFitting +: http://www.rietveldlicht.nl/artikel/inbouwspot-70805-modern-chroom-rond + +; draadloze LED-dimmer: +: http://www.klikaanklikuit.nl/shop/nl/producten/draadloze-dimmers/ + +; 220v 25 meter Led strip Warm Wit Ultra incl. aansluitstekker +: http://ledstrip-specialist.nl/220v-led-strips/220v-25-meter-Enkelkleurige-Led-strip-Warm-Wit + +; Philips ~LEDspotMV ~DimTone 4-35W GU10 40D (MASTER) +: https://www.budgetlight.nl/philips-ledspotmv-dimtone-4-35w-gu10-40d-master.html