Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chmoore889/esp_rainmaker_association
Native Dart implementation of ESP Rainmaker provisioning and user mapping.
https://github.com/chmoore889/esp_rainmaker_association
esp-rainmaker esp32 espressif
Last synced: 12 days ago
JSON representation
Native Dart implementation of ESP Rainmaker provisioning and user mapping.
- Host: GitHub
- URL: https://github.com/chmoore889/esp_rainmaker_association
- Owner: chmoore889
- License: gpl-3.0
- Created: 2021-01-25T04:45:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T21:27:38.000Z (about 2 years ago)
- Last Synced: 2024-11-11T11:33:57.358Z (about 2 months ago)
- Topics: esp-rainmaker, esp32, espressif
- Language: Dart
- Homepage: https://pub.dev/packages/esp_rainmaker_association
- Size: 97.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
A native dart implementation of ESP Rainmaker provisioning and user mapping.Currently only security 0 is supported and there are no plans to implement security 1, though pull requests would be welcome.
## Usage
A simple usage example:
```dart
import 'package:esp_rainmaker_association/rainmaker_association.dart';
import 'package:uuid/uuid.dart';Future main() async {
final device = EspDevice();
final mapping = UserMapping(device);final networks = await device.scanNetworks();
print(networks);final uidGen = Uuid();
final secKey = uidGen.v1();await mapping.mapUser('user_id', secKey);
await device.provision('ssid', 'pass');
}
```## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/chmoore889/esp_rainmaker_association/issues