Skip to content

Create a weather center with a Raspberry Pi Zero W and a screen. Read data from Domoticz and a weather service.

License

Notifications You must be signed in to change notification settings

patrickribbing/weatherscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weatherscreen

This is a Raspberry Pi Zero W project that use an Inky pHAT's (212x104 pixel) screen to display two temperatures, time and a weather forecast.

The two temperatures are read from a Domoticz service and the weather forecast is fetched from Yr.

Some minor configuration is needed.

Temperature sensors
Go to the Setup/Devices page in Domoticz and get the temperature sensor’s “Idx”. Edit the python script’s variables in the upper section.

Weather forecast
Select the preferable location for a weather forecast. Select a location at Yr.no and paste the link into the script, append “/varsel.xml”. This will download the forecast in XML format.

Usage
Copy weather to /etc/init.d, then make script executable with sudo chmod +x /etc/init.d/weather. If you want the script to run at boot then do sudo update-rc.d weather defaults.

About

Create a weather center with a Raspberry Pi Zero W and a screen. Read data from Domoticz and a weather service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published