OpenHAP::Tasmota::Heater(3p) Perl Library Manual OpenHAP::Tasmota::Heater(3p)

OpenHAP::Tasmota::Heater - Tasmota heater/switch HAP accessory

    use OpenHAP::Tasmota::Heater;
    my $heater = OpenHAP::Tasmota::Heater->new(
        aid => 2,
        name => 'Living Room Heater',
        mqtt_topic => 'tasmota_AABBCC',
        mqtt_client => $mqtt,
    );

This module implements a HAP switch accessory for Tasmota devices with relay control (heaters, switches, outlets).

spec/MQTT-Control.md, spec/MQTT-State.md

2026-07-27 OpenBSD