cul2mqtt_example.ini 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [main]
  2. devices_config_yml = cul2mqtt_devices.yml
  3. log_path = /home/pi/logs/cul2mqtt
  4. log_enable = true
  5. filterSelfSentIncomingTimeout = 100
  6. # also used as min repeat time, in ms
  7. lastReceivedMaxAge = 500
  8. lastSentMinInterval = 1500
  9. # quit program if nothing has been received for some time
  10. # so that systemd will restart it.
  11. # -> don't set too low if there is not much activity on CUL compatible RF in the location!
  12. dataReceiveTimeout = 180
  13. [cul]
  14. serialPort = /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
  15. serialBaudrate = 38400
  16. serialTimeout = 1
  17. serialCulInitTimeout = 3
  18. # enable UART CUL
  19. receive_from_serial_cul = True
  20. send_on_serial_cul = True
  21. # enable MQTT connected CUL
  22. receive_from_mqtt_cul = True
  23. send_on_mqtt_cul = True
  24. # prefer UART or MQTT CUL for TX (UART, MQTT or both)
  25. TX_interface_prefer = UART
  26. # force usage of UART CUL (program will exit if connect fails, so it can be restarted by systemd)
  27. forceSerialCULConnected = False
  28. # CUL init sequence - normally X21 (Intertechno only) or X05 (includes RAW/non-Intertechno devices)
  29. culInitCmd = X05
  30. # attention - will break sensors which send values if set to True
  31. culSendsRSSI = False
  32. # for "classic" MQTT-CUL
  33. #mqtt_cul_topic_received = MQTTCUL/received
  34. #mqtt_cul_topic_send = MQTTCUL/send
  35. # for Tasmota based MQTT-CUL using Tasmota´s serial bridge functions
  36. mqtt_cul_topic_received = tele/Tasmota-MQTT-CUL/RESULT
  37. mqtt_cul_topic_send = cmnd/Tasmota-MQTT-CUL/SerialSend
  38. [mqtt]
  39. server = mqtt.lan
  40. port = 1883
  41. user = mqttuser
  42. password = xxxxxx