dart_ipmi 3.0.0 copy "dart_ipmi: ^3.0.0" to clipboard
dart_ipmi: ^3.0.0 copied to clipboard

A Dart library for controlling IPMI devices via a network.

dart_ipmi #

A Dart library for controlling IPMI devices via a network

Note: This library has been tested against the IPMI module in a Gigabyte WRX80-SU8-IPMI motherboard. It may or may not work or perform as expected on other systems.

Features #

  • Sign In
  • Sign Out
  • Power On
  • Power Off
  • Hard Reset
  • Power Cycle
  • Orderly Shutdown
  • Get Power Status

Usage #

import 'package:dart_ipmi/dart_ipmi.dart';

Future<void> main() async {
  final ipmi = IPMI(
    '192.168.1.30', // IP Address of the IPMI host
    username: 'admin', // Username of IPMI user
    password: 'password', // Password for IPMI user
    secured: true, // Use https to connect
    verifyCertificates: false, // Ignore certificate errors
  );

  /// Get an active session cookie
  await ipmi.refreshAuthToken();

  /// Turn on the system
  await ipmi.powerAction(PowerAction.on);
}

Additional information #

Issues and feature requests can be submitted here.

0
likes
40
pub points
14%
popularity

Publisher

unverified uploader

A Dart library for controlling IPMI devices via a network.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

http, requests

More

Packages that depend on dart_ipmi