The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Device::Inverter::KOSTAL::PIKO - represents a KOSTAL PIKO DC/AC converter

SYNOPSIS

    use Device::Inverter::KOSTAL::PIKO;

    my $piko = Device::Inverter::KOSTAL::PIKO->new( time_offset => 1309160816 );
    my $file = $piko->load($filename_or_handle_or_ref_to_data);
    say $_->timestamp for $file->logdata;

SAMPLE ~/.pikorc

    [255]
    host = piko
    time_offset = 1309160816

METHODS

host

logdata_url

status_url

fetch_logdata

get_current_status

Fetch current device status and return it as Device::Inverter::KOSTAL::PIKO::Status object.

read_configfile

AUTHOR

Martin Sluka, <fany at cpan.org>

BUGS

Please report any bugs or feature requests at https://github.com/fany/Device-Inverter-KOSTAL-PIKO/issues. Pull requests are also welcome. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Device::Inverter::KOSTAL::PIKO

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2012–2021 Martin Sluka.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See https://dev.perl.org/licenses/ for more information.