neohub 0.0.3 copy "neohub: ^0.0.3" to clipboard
neohub: ^0.0.3 copied to clipboard

outdated

Dart / Flutter API for NeoHub heating controls and plugs from Heatmiser.

example/neohub_example.dart

/// Example of running the NeoHub
/// Change the Address to the IP address of your hub.

import 'package:neohub/neohub.dart';

const NEOHUB_ADDRESS = '10.0.0.30';

main() async {
  final hub = NeoHub(NEOHUB_ADDRESS);
  final livedata = await hub.getLiveData();
  for (var z in livedata.zones) {
    print(z);
  }
}
0
likes
40
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

Dart / Flutter API for NeoHub heating controls and plugs from Heatmiser.

Repository (GitLab)
View/report issues

License

MIT (license)

More

Packages that depend on neohub