1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- [main]
- devices_config_yml = cul2mqtt_devices.yml
- log_path = /home/pi/logs/cul2mqtt
- # debug logging:
- log_enable = false
- # log successful commands:
- logSuccessfulCommands = true
- filterSelfSentIncomingTimeout = 100
- # also used as min repeat time, in ms
- lastReceivedMaxAge = 500
- lastSentMinInterval = 1500
- # quit program if nothing has been received for some time
- # so that systemd will restart it.
- # -> don't set too low if there is not much activity on CUL compatible RF in the location!
- dataReceiveTimeout = 180
- # a status file that is touched every minute as long as something has been received
- # ONLY set this to a location in a RAM drive!!! (i.E. /tmp/cul2mqtt_lastReceived on RaspberryOS or /run/user/XXXX/cul2mqtt_lastReceived where XXXX is the user id)
- lastReceivedStatusFile = /run/user/1000/cul2mqtt_lastReceived
- [cul]
- serialPort = /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
- serialBaudrate = 38400
- serialTimeout = 1
- serialCulInitTimeout = 3
- # enable UART CUL
- receive_from_serial_cul = True
- send_on_serial_cul = True
- # enable MQTT connected CUL
- receive_from_mqtt_cul = True
- send_on_mqtt_cul = True
- # prefer UART or MQTT CUL for TX (UART, MQTT or both)
- TX_interface_prefer = UART
- # force usage of UART CUL (program will exit if connect fails, so it can be restarted by systemd)
- forceSerialCULConnected = False
- # CUL init sequence - normally X21 (Intertechno only) or X05 (includes RAW/non-Intertechno devices)
- culInitCmd = X05
- # attention - will break sensors which send values if set to True
- culSendsRSSI = False
- # for "classic" MQTT-CUL
- #mqtt_cul_topic_received = MQTTCUL/received
- #mqtt_cul_topic_send = MQTTCUL/send
- # for Tasmota based MQTT-CUL using Tasmota´s serial bridge functions
- mqtt_cul_topic_received = tele/Tasmota-MQTT-CUL/RESULT
- mqtt_cul_topic_send = cmnd/Tasmota-MQTT-CUL/SerialSend
- [mqtt]
- server = mqtt.lan
- port = 1883
- user = mqttuser
- password = xxxxxx
|