This repository was archived by the owner on Apr 25, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ARG BUILD_FROM
2+ FROM $BUILD_FROM
3+
4+ ENV LANG C.UTF-8
5+
6+ # Install requirements for add-on
7+ RUN apk add --no-cache git nodejs nodejs-npm python make g++ linux-headers bluez bluez-deprecated
8+
9+ # Install avea server
10+ RUN cd /root && export GIT_SSL_NO_VERIFY=1 && \
11+ git config --global http.sslVerify false && \
12+ git clone https://github.com/Marmelatze/avea_server.git
13+
14+ WORKDIR /root/avea_server
15+ RUN cd /root/avea_server && npm install
16+
17+ # Install avea_bulb server branch
18+ RUN rm -R /root/avea_server/node_modules/avea_bulb
19+ RUN cd /root/avea_server/node_modules && \
20+ git clone https://github.com/Marmelatze/avea_bulb.git --branch avea_server
21+
22+ WORKDIR /root/avea_server
23+
24+ # Copy data for add-on
25+ COPY run.sh /
26+ RUN chmod a+x /run.sh
27+
28+ CMD [ "/run.sh" ]
Original file line number Diff line number Diff line change 1+ # Avea Server
2+
3+ Addon to expose Elgato [ Avea Bulbs] ( https://web.archive.org/web/20160706175035/https://www.elgato.com/en/avea ) via a REST API.
4+ Based on [ Avea Server] ( https://github.com/Marmelatze/avea_server ) and [ Avea Bulb] ( https://github.com/Marmelatze/avea_bulb )
5+
6+ Note: Please exit all Avea iOS/Android apps and disconnect the Avea bulb from the power before installing!
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Avea Server" ,
3+ "version" : " 0.1" ,
4+ "slug" : " avea_server" ,
5+ "description" : " Addon to expose Elgato Avea Bulbs via REST API" ,
6+ "url" : " https://community.home-assistant.io/t/avea-server-for-elgato-avea-bulb/12618?u=pattyland" ,
7+ "webui" : " http://[HOST]:[PORT:3000]/api/bulbs" ,
8+ "startup" : " application" ,
9+ "boot" : " auto" ,
10+ "host_network" : " true" ,
11+ "options" : {},
12+ "schema" : {},
13+ "ports" : {
14+ "3000/tcp" : 3000
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ hcitool dev
3+ node /root/avea_server/index.js
You can’t perform that action at this time.
0 commit comments