Mon, 15 Apr 2024 17:04:57 +0200
Better websocket broadcast messages. Added GLOBAL JSON command to the server. Better logic to trigger websocket and mqtt data updates for the fermenter units. Websocket receive added fermenter mode, stage, setpoints, switches. Added more css styles for the fermenter screen. Added the fermenter screen php and javascript.
# Makefile for thermferm # Copyright (c) 2024 by M. Broek. include ../Makefile.global SRC = $(wildcard *.php) SUB = version.php.in images/* css/* jqwidgets/* jqwidgets/styles/* \ jqwidgets/styles/images/* jqwidgets/globalization/* js/* \ includes/* OTHER = Makefile ############################################################################# .c.o: ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< all: clean: rm -f version.php install: #${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css ${WWWDIR}/fpdf \ # ${WWWDIR}/fpdf/font ${WWWDIR}/ispindel \ # ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ # ${INSTALL} -d -g 314 -o 314 -m 0777 ${WWWDIR}/run # ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log # ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/brews # ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/fermentation # ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/co2pressure # ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/ispindel # ${INSTALL} -g 314 -o 314 -m 0644 ${SRC} ${WWWDIR}/ # ${INSTALL} -g 314 -o 314 -m 0644 version.php ${WWWDIR}/ # ${INSTALL} -g 314 -o 314 -m 0644 css/* ${WWWDIR}/css/ # ${INSTALL} -g 314 -o 314 -m 0644 images/* ${WWWDIR}/images/ # ${INSTALL} -g 314 -o 314 -m 0644 includes/* ${WWWDIR}/includes/ # ${INSTALL} -g 314 -o 314 -m 0644 ispindel/* ${WWWDIR}/ispindel/ # cp -r jqwidgets/* ${WWWDIR}/jqwidgets/ # chown -R 314:314 ${WWWDIR}/jqwidgets # cp -r -p fpdf/* ${WWWDIR}/fpdf/ # chown -R 314:314 ${WWWDIR}/fpdf # ${INSTALL} -g 314 -o 314 -m 0644 js/* ${WWWDIR}/js/ filelist: Makefile BASE=`pwd`; \ BASE=`basename $${BASE}`; \ (for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist depend: