You need to have OpenHab installed and "http binding" in addons folder.īindings can be downloaded as addons from: Ĭheckout the source code from GitHub in root of your OpenHab installation, e.g. It contains the same set of transforms as the Yahoo weather transforms. Prerequisites You need to have OpenHab installed and 'http binding' in addons folder. This repository contains a set of transforms for OpenWeatherMap. This repository contains a set of transforms for OpenWeatherMap. You can find a very good tutorial here: XSLT tutorial at W3Schools The binding provides a url to serve highly customizable html layouts for displaying weather data and icons. XSLT is a standard method to transform an XML structure into a document with the structure you want. Create an account by following the instructions (you will receive an email to validate your new account). (opens new window), find the 'Ecowatt' tile and click on the 'Abonnez-vous à lAPI' button. In most cases, you will get the information you need into a XML structured document, and you need a way to extract only the value you want: here is where XSLT transformations come in our help. You must create an account and an application on the RTE portal to obtain the OAuth2 credentials required to access the API. OpenHAB allows you to post HTTP queries over the internet, and to put the received data in items that you can use in your rules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |