Thu, 10 Jan 2019 16:33:42 +0100
Version 0.9.0. Implemented DCMD via mqtt to set stage, mode, setpoint low and high. Implemeted DCMD via mqtt to set heater, cooler, fan and light state. Implemented DCMD via mqtt to set product code and name. Set the PID's in fridge mode without idle range offset, that was an old leftover setting that was obsolete.
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | # Makefile for the mbsePi-apps/thermferm. |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
3 | include ../Makefile.global |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
4 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
5 | #SRCS = $(wildcard *.c) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
6 | #HDRS = $(wildcard *.h) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
7 | #OBJS = $(SRCS:.c=.o) |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
8 | #SLIBS = -lpthread |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
9 | #TARGET = thermferm |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | OTHER = Makefile thermferm.init |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
12 | ############################################################################# |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
13 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
14 | .c.o: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
15 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | all: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
18 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
19 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
20 | clean: |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
21 | rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
22 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
23 | install: |
559 | 24 | ${INSTALL} -c -g root -o root -m 0755 thermferm.init /etc/init.d/thermferm |
25 | [ -x /bin/systemctl ] && /bin/systemctl daemon-reload | |
551
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
26 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
27 | filelist: Makefile |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
28 | BASE=`pwd`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
29 | BASE=`basename $${BASE}`; \ |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
30 | (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
31 | |
3721f9c08843
Versie 0.8.4. Init script toegevoegd inclusief make install.
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
32 | depend: |