Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/energychain/corrently-iot-jquery

JQuery Extension (Plugin) to bind IoT devices to a Corrently UI
https://github.com/energychain/corrently-iot-jquery

blockchain corrently energy ethereum iot jquery

Last synced: 6 days ago
JSON representation

JQuery Extension (Plugin) to bind IoT devices to a Corrently UI

Awesome Lists containing this project

README

        

# corrently-iot-jquery

[![HitCount](http://hits.dwyl.io/energychain/corrently-iot-jquery.svg)](http://hits.dwyl.io/energychain/corrently-iot-jquery)
[![Join the chat at https://gitter.im/corrently/iot](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/corrently/iot)

JQuery Extension (Plugin) to bind IoT devices to a Corrently UI.

This JQuery extension will replace the html code of a DOM Element with values from an IoT Device. Purpose of this extension to jquery is to easy work with /things-values/ within a corrently based UI/dashboard.

## HTML - Install
Insert script tag after JQuery Include
```

```

## IoT Data
### HTML - Code
```
-
```

### Javascript - Code
```
$(document).ready(function() {
$('.iot').iot();
});
```

#### HTML Attributes
`data-iot` set the device address

`data-subscribe` refresh value every x seconds

## Corrently Wallet Data
### HTML - Code
```

```

### Javascript - Code
```
$(document).ready(function() {
$('.account').account();
});
```

#### HTML Attributes
`data-account` set the wallet account

`data-field` field to set as given by Corrently API Endpoint (meteredconsumption, convertedSupply, generation, ...)

## Contributing
- https://corrently.io/
- https://gitter.im/corrently/Token
- https://corrently.de/