GithubHelp home page GithubHelp logo

domoticz-looko2's Introduction

domoticz-looko2

A Python plugin for Domoticz to access LookO2 api for smog data in Poland

Credits

Plugin is based on airly domoticz plugin by lrybak: https://github.com/lrybak/domoticz-airly I only changed api calls and adjusted to responses.

Installation

cd YOUR_DOMOTICZ_PATH/plugins
git clone https://github.com/rysi3k/domoticz-looko2
  • Restart Domoticz
  • Go to Setup > Hardware and create new Hardware with type: domoticz-looko2
    • Enter name (it's up to you), API key and sensor id would like to monitor. You can map particular sensor to id on https://www.looko2.com/heatmap.php - just click the particular station and get the sensor id from the URL
    • Check every x minutes - how often plugin will check for new data. Consider API daily query limit limitation!

Plugin comunicates via Domoticz logs. Check logs in case of issues. After first API lookup plugin will create all the devices You can add more station to lookup - create another plugin (hardware) instance

Update

cd YOUR_DOMOTICZ_PATH/plugins/domoticz-looko2
git pull
  • Restart Domoticz

Troubleshooting

In case of issues, mostly plugin not visible on plugin list, check logs if plugin system is working correctly. See Domoticz wiki for resolution of most typical installation issues http://www.domoticz.com/wiki/Linux#Problems_locating_Python

Contribute

Feel free to test and report issues or other improvements. If you want to add another language, contact me or prepare pull request with the required change.

domoticz-looko2's People

Contributors

rysi3k avatar

Watchers

 avatar

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.