16 lines
357 B
PHP
16 lines
357 B
PHP
<?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;
|