- Lua 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| scripts/lua | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
Domoticz Custom Components
Domoticz Custom Components
A collection of custom integrations for Domoticz.
Configuration
Scripts
- Locate the
scripts/luafolder. - Upload the script file there.
- Adjust the variables at the top of the script to match your own station credentials and sensor names.
- Optionally adjust
MaxSensorAgeMinutes(default 30) — any sensor whose last update is older than this is left out of the upload instead of sending stale data.
That's it! Domoticz automatically detects and runs script_time_*.lua scripts every minute, so no restart is required.
script_time_wow.lua — Upload data to Met Office WOW
Uploads weather station data to the Met Office Weather Observations Website (WOW). Also works with KNMI WOW (Dutch).
Because of Met Office WOW's API limits, the script uploads every 15 minutes instead of every minute.
Setup
- Download and edit
script_time_wow.lua. - Replace
SiteIDandAWSPinwith your own station ID and password. - Set one of the sensor variables (
Outside_Temp_Hum,Barometer,RainMeter,WindMeter) to the name of your Domoticz sensor. - Upload the file to the Domoticz
scripts/luadirectory.
The upload is enabled automatically once SiteID and AWSPin no longer contain the default placeholder values.
script_time_wu.lua — Upload data to Weather Underground
Uploads weather station data to Weather Underground.
Because of Weather Underground's API limits, the script uploads every 5 minutes instead of every minute.
Setup
- Download and edit
script_time_wu.lua. - Replace
IDandPASSWORDwith your own station ID and password. - Set one of the sensor variables (after the
Sensor Settingscomment:Outside_Temp_Hum,Barometer,RainMeter,WindMeter,UVMeter,Pressure) to the name of your Domoticz sensor. - Upload the file to the Domoticz
scripts/luadirectory.
The upload is enabled automatically once ID and PASSWORD no longer contain the default placeholder values.
License
This project is licensed under the MIT License.