neohub 0.0.4

Flutter Android iOS

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
90
pub points
25%
popularity

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

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

aafshar@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on neohub