Skip to content

Create the devices Meteo: Temp, THB, Rain, UV index, Visibility, Wind, Cloud cover,Precipitation type, Solar radiation Create the devices Air Quality: pm10, pm25, o3, no2,co, so2, status Create the devices Envt Risk: Road, Fire index Get the meteo, air quality and environmental risks in realtime and update the device status in Domoticz

License

Notifications You must be signed in to change notification settings

afer92/domotiz-plugin-climacellV4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClimacellV4 - Domoticz Python Plugin

Features

  • Create the devices Meteo: Temp, THB, Rain, UV index, Visibility, Wind, Cloud cover,Precipitation type, Solar radiation
  • Create the devices Air Quality: pm10, pm25, o3, no2,co, so2, status
  • Create the devices Envt Risk: Road, Fire index Get the meteo, air quality and environmental risks in realtime and update the device status in Domoticz

Prerequisites

Installation

  1. Clone repository into your domoticz plugins folder
cd domoticz/plugins
git clone https://github.com/afer92/domotiz-plugin-climacellV4.git ClimacellV4
  1. Restart domoticz
  2. Make sure that "Accept new Hardware Devices" is enabled in Domoticz settings
  3. Go to "Hardware" page and add new item with type "Climacell (Weather Lookup) v4"

Plugin update

cd domoticz/plugins/ClimacellV4
git pull

Testing without Domoticz

  1. Clone repository
cd scripts/tests
git clone https://github.com/afer92/domotiz-plugin-climacellV4.git ClimacellV4
  1. Edit TestCode.py
API_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # Your api key from Climacell
LATITUDE = '47.111111' # Your location
LONGITUDE = '2.222222
  1. Run test
python3 plugin.py

pycodestyle

Climacell_plugin.py:5:1: E265 block comment should start with '# '
Climacell_plugin.py:7:161: E501 line too long (202 > 160 characters)
Climacell_plugin.py:41:1: E402 module level import not at top of file
Climacell_plugin.py:42:1: E402 module level import not at top of file
Climacell_plugin.py:43:1: E402 module level import not at top of file
Climacell_plugin.py:44:1: E402 module level import not at top of file
Climacell_plugin.py:45:1: E402 module level import not at top of file
Climacell_plugin.py:46:1: E402 module level import not at top of file
Climacell_plugin.py:47:1: E402 module level import not at top of file
Climacell_plugin.py:50:1: E402 module level import not at top of file
Climacell_plugin.py:52:1: E402 module level import not at top of file
Climacell_plugin.py:53:1: E402 module level import not at top of file
Climacell_plugin.py:677:17: E722 do not use bare 'except'

About

Create the devices Meteo: Temp, THB, Rain, UV index, Visibility, Wind, Cloud cover,Precipitation type, Solar radiation Create the devices Air Quality: pm10, pm25, o3, no2,co, so2, status Create the devices Envt Risk: Road, Fire index Get the meteo, air quality and environmental risks in realtime and update the device status in Domoticz

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages