= MQTT Topics der Geräte [[PageOutline(2-6)]] == `SchuppenAussenLicht` `Dev12` Lichtschalter für den Schuppenvorplatz == `Gosundsocket1` `Dev13` Gosund-Steckdose == `Dev14` Telefonstation * `actuator/ug/ets4308i/door-bell1`: `1`:string, Klingel-Anschluß 1, Impuls * `actuator/ug/ets4308i/door-bell2`: `1`:string, Klingel-Anschluß 2, Impuls * `actuator/ug/ets4308i/alarm-call`: `0/1/2/...`:string, Alarm-Anschluß 2, Tasmota-Relais-Werte für !On/Off/Toggle/etc. * `sensor/ug/ets4308i/door-opener`: `0/1`:string, Türöffner Kommando vom Telefon == `Dev15` Türstation * `sensor/eg/front-door/closed`: `0/1`:string * `sensor/eg/front-door/doorbell2`: `0/1`:string, Familienklingel * `sensor/eg/front-door/doorbell1`: `0/1`:string, Mtronig-Klingel * `actuator/eg/floor-ceiling-light/pulse-relay`: `1`:string, Deckenlicht umschalten * `actuator/eg/actuator/front-door/buzzer`: `0/1`:string, Summer über der Tür * `actuator/eg/actuator/front-door/opener`: `1`:string, Türöffner entriegeln == Batterie-Monitor, Bus-Adresse 2 Wird vom `khf-net` Agent, welcher aktuelle auf Elisa-Doolittle.p21.net läuft, an den MQTT-Broker im UG angeschlossen. HW-Port für den RS485-Bus ist `/dev/tty-RS485-battmon` auf dem hyperjanus.p21.net. {{{ @@ is placeholder for the device bus address without leading zero, i.e. '2' or '33' connected/khf-battmon/LWT publishing the online state and LWT of khf-net actuator/khf-battmon/@@/relay subscription for relay control cmd/khf-battmon/poll_interval_ms subscription for poll_interval_ms command cmd/khf-battmon/comm_timeout_ms subscription for comm_timeout_ms command cmd/khf-battmon/scan_bus subscription for scan_bus command (no payload) cmd/khf-battmon/populate_address subscription for populate_address command cmd/khf-battmon/@@/bus_address subscription for device control cmd/khf-battmon/@@/over_voltage_protection_mV subscription for device control cmd/khf-battmon/@@/under_voltage_protection_mV subscription for device control cmd/khf-battmon/@@/discharge_over_current_protection_mA subscription for device control cmd/khf-battmon/@@/charge_over_current_protection_mA subscription for device control cmd/khf-battmon/@@/over_power_protection_mW subscription for device control cmd/khf-battmon/@@/high_temperature_protection_degC subscription for device control cmd/khf-battmon/@@/low_temperature_protection_degC subscription for device control cmd/khf-battmon/@@/protection_delay_time_s subscription for device control cmd/khf-battmon/@@/protection_recovery_time_s subscription for device control cmd/khf-battmon/@@/battery_total_capacity_mAh subscription for device control cmd/khf-battmon/@@/voltage_calibration_factor_percent subscription for device control cmd/khf-battmon/@@/current_calibration_factor_percent subscription for device control cmd/khf-battmon/@@/temperature_calibration_offset_K subscription for device control cmd/khf-battmon/@@/clock_speed_calibration_factor_percent subscription for device control cmd/khf-battmon/@@/relay_normally_closed_mode subscription for device control cmd/khf-battmon/@@/empty_detection_voltage_mV subscription for device control cmd/khf-battmon/@@/full_charge_detection_voltage_mV subscription for device control cmd/khf-battmon/@@/full_charge_tail_current_percent_C subscription for device control cmd/khf-battmon/@@/full_charge_detection_time_s subscription for device control cmd/khf-battmon/@@/temperature_unit_is_farenheit subscription for device control cmd/khf-battmon/@@/ble_password subscription for device control cmd/khf-battmon/@@/data_logging_interval_s subscription for device control cmd/khf-battmon/@@/low_capacity_alarm_percent subscription for device control cmd/khf-battmon/@@/data_logging_enabled subscription for device control cmd/khf-battmon/@@/set_device_time subscription for device control cmd/khf-battmon/@@/manual_relay_setting subscription for device control cmd/khf-battmon/@@/trigger_current_zero_calibration subscription for device control cmd/khf-battmon/@@/trigger_factory_reset subscription for device control cmd/khf-battmon/@@/set_remaining_capacity_percent subscription for device control feedback/khf-battmon/poll_interval_ms publishing command feedback feedback/khf-battmon/comm_timeout_ms publishing command feedback feedback/khf-battmon/@@/relay publishing relay control feedback feedback/khf-battmon/@@/bus_address publishing device command feedback feedback/khf-battmon/@@/over_voltage_protection_mV publishing device command feedback feedback/khf-battmon/@@/under_voltage_protection_mV publishing device command feedback feedback/khf-battmon/@@/discharge_over_current_protection_mA publishing device command feedback feedback/khf-battmon/@@/charge_over_current_protection_mA publishing device command feedback feedback/khf-battmon/@@/over_power_protection_mW publishing device command feedback feedback/khf-battmon/@@/high_temperature_protection_degC publishing device command feedback feedback/khf-battmon/@@/low_temperature_protection_degC publishing device command feedback feedback/khf-battmon/@@/protection_delay_time_s publishing device command feedback feedback/khf-battmon/@@/protection_recovery_time_s publishing device command feedback feedback/khf-battmon/@@/battery_total_capacity_mAh publishing device command feedback feedback/khf-battmon/@@/voltage_calibration_factor_percent publishing device command feedback feedback/khf-battmon/@@/current_calibration_factor_percent publishing device command feedback feedback/khf-battmon/@@/temperature_calibration_offset_K publishing device command feedback feedback/khf-battmon/@@/clock_speed_calibration_factor_percent publishing device command feedback feedback/khf-battmon/@@/relay_normally_closed_mode publishing device command feedback feedback/khf-battmon/@@/empty_detection_voltage_mV publishing device command feedback feedback/khf-battmon/@@/full_charge_detection_voltage_mV publishing device command feedback feedback/khf-battmon/@@/full_charge_tail_current_percent_C publishing device command feedback feedback/khf-battmon/@@/full_charge_detection_time_s publishing device command feedback feedback/khf-battmon/@@/temperature_unit_is_farenheit publishing device command feedback feedback/khf-battmon/@@/ble_password publishing device command feedback feedback/khf-battmon/@@/data_logging_interval_s publishing device command feedback feedback/khf-battmon/@@/low_capacity_alarm_percent publishing device command feedback feedback/khf-battmon/@@/data_logging_enabled publishing device command feedback log/khf-battmon/@@/error publishing device errors log/khf-battmon/@@/device_found publishing device related log output log/khf-battmon/@@/device_type publishing device related log output log/khf-battmon/@@/fw_version publishing device related log output log/khf-battmon/@@/serial_number publishing device related log output log/khf-battmon/@@/log_entries_count publishing device related log output log/khf-battmon/@@/protection_relay_state publishing device related log output log/khf-battmon/@@/remaining_charge_discharge_time_min publishing device related log output log/khf-battmon/@@/clock_speed_adjustment_percent publishing device related log output log/khf-battmon/@@/device_time publishing device related log output sensor/khf-battmon/@@/battery_voltage_mV publishing measurement value sensor/khf-battmon/@@/battery_current_mA publishing measurement value sensor/khf-battmon/@@/battery_power_mW publishing measurement value sensor/khf-battmon/@@/battery_capacity_mAh publishing measurement value sensor/khf-battmon/@@/battery_capacity_percent publishing measurement value sensor/khf-battmon/@@/discharged_energy_today_mWh publishing measurement value sensor/khf-battmon/@@/charged_energy_today_mWh publishing measurement value sensor/khf-battmon/@@/sensor_temperature_degC publishing measurement value }}}