Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/energychain/corrently-iot-jquery
- Owner: energychain
- License: apache-2.0
- Created: 2018-11-11T17:00:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T17:39:10.000Z (almost 6 years ago)
- Last Synced: 2024-11-03T09:34:05.105Z (15 days ago)
- Topics: blockchain, corrently, energy, ethereum, iot, jquery
- Language: JavaScript
- Homepage: https://corrently.com/
- Size: 16.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/