Heater: Difference between revisions
From FlowerHouseWiki
No edit summary Tag: visualeditor-switched |
|||
Line 8: | Line 8: | ||
<h1> INSTALL LIBWEBSOCKET </h1> | <h1> INSTALL LIBWEBSOCKET </h1> | ||
apt install pkg-config cmake | apt install pkg-config cmake | ||
cd /usr/src | cd /usr/src |
Revision as of 18:01, 18 February 2021
https://github.com/horchi/linux-p4d
Configurate Time-Zone dpkg-reconfigure locales -- de_DE.UTF-8
apt install build-essential libssl-dev libjansson-dev libxml2-dev libcurl4-openssl-dev libssl-dev libmariadbclient-dev libmariadb-dev-compat uuid-dev
INSTALL LIBWEBSOCKET
apt install pkg-config cmake cd /usr/src git clone https://libwebsockets.org/repo/libwebsockets cd libwebsockets mkdir build cd build cmake .. make make install ldconfig cd /usr/src rm -r libwebsockets
//P4D installieren
apt install mariadb-server
https://forum.iobroker.net/topic/24792/gel%C3%B6st-adapter-smartmeter-per-ser2net-und-socat/3 https://stackoverflow.com/questions/22624653/create-a-virtual-serial-port-connection-over-tcp socat pty,link=/dev/HeaterCOM,raw tcp:192.168.88.18:8899&