Giter VIP home page Giter VIP logo

loxone-weather-udp's Introduction

Weather for Loxone Miniserver EN

General information

This program allows you to send weather data downloaded from OpenWeatherMap to a mini server via UDP. In your code, you need to set variables:
udp_ip as the minserver ip address
api_key as the key you will get after registration on OpenWeatherMap
city_name as the name of the city you want download the weather

In the "Loxone Config" application, click "Virtual Inputs" and then "Virtual UDP input". In the "Sender address" settings enter the IP address of the device on which you will run the script, and in "UDP receive port" enter the same port as in the udp_port.

Then you need to click on "Virtual UDP input command" and in the "Command recognition" section, enter the variable from the table below, e.g. w_tt=\v

Table with variables

Variable Description
w_tt Current temperature in °C
w_pr Pressure in hPa
w_fl Current temperature feels like in °C
w_ws Wind speed in m/s
w_hmd Current humidity

Author information

The creator of the script is Dominik Krzywański.
Creator's website: WolfRor


Pogoda dla Loxone Miniserwer PL

Informacje ogólne

Ten program umożliwia wysyłanie danych pogodowych pobranych z OpenWeatherMap do mini serwera za pomocą UDP. W kodzie musisz ustawić zmienne:
udp_ip jako adres ip miniserwera
api_key jako klucz który dostaniesz po rejestracji na OpenWeatherMap
city_name jako nazwa miasta którego chesz pobrać pogodę

W aplikacji "Loxone Config" należy kliknąć "Wejścia wirtualne", a następnie "Wirtualne wejścia UDP". W ustawieniach w "Adres nadawcy" wpisz adres ip urządzenia na którym uruchomisz skrypt, a w "Port odbiorczy UDP" wpisz ten sam port co w zmiennej udp_port

Następnie musisz kliknąć na "Wirtualne wejścia UDP rozkaz" i w sekcji "Rozpoznawanie poleceń" należy wpisać zmienną z tabeli poniżej np. w_tt=\v

Tabela ze zmiennymi

Zmienna Opis
w_tt Obecna temperatura w °C
w_pr Ciśnienie w hPa
w_fl Obecna odczuwalna temperatura w °C
w_ws Prędkość wiatru w m/s
w_hmd Obecna wilgotność powietrza

Informacje o autorze

Twórcą skryptu jest Dominik Krzywański.
Witryna twórcy: WolfRor

loxone-weather-udp's People

Contributors

wolfrordev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

laurent192

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.