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

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

neohub #

Dart / Flutter API for controlling NeoHub from Heatmiser.

Note: The Heatmiser API is not HTTP, it uses sockets so this likely won't work from the web.

Getting Started #

For example:

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

import 'package:neohub/neohub.dart';

// The address of your NeoHub
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);
  }
}

This is from console/neohub_example.dart. There is a GUI example too in Flutter in the repository which has some widgets you can borrow.

Reference #

Not that useful, but API Reference from Heatmiser. Email support@heatmiser.com if you need your own copy.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitLab)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on neohub