浏览代码

some firmware explanations

dirkse 8 年之前
父节点
当前提交
c378d4cd2b
共有 3 个文件被更改,包括 11 次插入6 次删除
  1. 5 0
      domoticz/readme.md
  2. 5 6
      matrix/Dockerfile
  3. 1 0
      vaping/Dockerfile

+ 5 - 0
domoticz/readme.md

@@ -0,0 +1,5 @@
+RFXCom
+======
+* Wir haben einen RFXtrx433E
+  * The preferred firmware for the RFXtrx433E is Ext or Ext2.
+  * we are using ext2, see 2.2.2 in http://www.rfxcom.com/WebRoot/StoreNL2/Shops/78165469/MediaGallery/Downloads/RFXtrx_User_Guide.pdf

+ 5 - 6
matrix/Dockerfile

@@ -23,7 +23,8 @@ RUN apt-get update && apt-get install -y \
         python \
         python-dev \
         python-pip \
-        libncurses5-dev
+        libncurses5-dev \
+        python-pillow
 
 
 RUN sudo echo "Europe/Berlin" > /etc/timezone
@@ -31,7 +32,8 @@ RUN sudo dpkg-reconfigure -f noninteractive tzdata
 
 # Update pip and install jupyter
 RUN pip install --upgrade pip
-RUN pip install readline notebook==5.1.0
+RUN pip install readline notebook==5.2.0 ipywidgets path.py requests cython
+RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
 
 # Configure jupyter
 # we run this manually after mounting /root/.jupyter
@@ -82,7 +84,7 @@ RUN pyversions -d
 
 RUN git clone https://github.com/hzeller/rpi-rgb-led-matrix.git /matrix
 WORKDIR /matrix
-RUN sed -i "s/=regular/=adafruit-hat/g" lib/Makefile
+RUN sed -i "s/=regular/=adafruit-hat-pwm/g" lib/Makefile
 
 # RUN  apt-get install -y
 # for C++-demos
@@ -91,7 +93,4 @@ RUN make -C examples-api-use
 # for python interface
 RUN cd bindings/python && make build-python install-python
 
-RUN apt-get -y install python-pillow
 
-RUN pip install ipywidgets path.py requests
-RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension

+ 1 - 0
vaping/Dockerfile

@@ -15,3 +15,4 @@ EXPOSE 7021
 
 CMD rm -f /vaping/vaping.pid && vaping --home=/vaping/ --debug  --verbose start
 
+HEALTHCHECK --interval=10s CMD curl -I -s localhost:7021 | grep "200 OK"