0.1.1 • Published 1 year ago

@vital91/node-red-contrib-ecowatt v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

node-red-contrib-ecowatt

Nodered Node to get RTE ecowatt forcast

Description

Make API call to French RTE Site ("Réseau de Transport d'Electricité") in order to retrieve "ecowatt" forcast.

API documentation here : https://data.rte-france.com/documents/20182/224298/FR_GU_API_Ecowatt_v04.00.01.pdf

Installation

npm i node-red-contrib-ecowatt

Setup

0) Drag and drop "echowatt" Node into your Nodered project. 1) Go to RTE digital site : https://data.rte-france.com/create_account and create new account. 2) Login and Search for "ecowatt" application. 3) Select "Discover the API" 4) Select "Subscribe to API" --> Window "Create an application will open" 5) Provide a Name for the application (eg. "NodeRed") Select Type "Web/Server" Click Validate 6) Goto "My Applications" 7) Select the newly created application 8) Press "Copy to base 64" button. 9) past the copied string into "Oauth STR" properties of the "ecowatt" Node.

Usage

  • It is allowed only one call every 15mn to the API, subsequent calls are blocked until time out occure.
  • Option "Use RTE Sandbox URL" allow unlimited calls but the structure returned is always the same (usefull to understand the format).