1
0

cleaning of the code

This commit is contained in:
2022-01-15 12:54:35 +01:00
parent b7d2b8def5
commit 718c127954
7 changed files with 58 additions and 66 deletions

15
config/config.php Normal file
View File

@ -0,0 +1,15 @@
<?php
//if multiple linky then change friendlyName for each
$friendlyName = "Linky";
$configDir = "./config";
$topicName = "linky2mqtt";
$mqttServerAddress = "127.0.0.1";
$mqttServerPort = "1883";
$portName = "/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DN04S0O2-if00-port0";
$reconnectDelay = 10;
$baudRate = 9600;
$bits = 7;
$stopBit = 1;
$parity = 1;