Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PacktPublishing/Building-Smart-Homes-with-Raspberry-Pi-Zero
Code repository for Building Smart Homes with Raspberry Pi Zero, published by Packt publishing
https://github.com/PacktPublishing/Building-Smart-Homes-with-Raspberry-Pi-Zero
Last synced: 18 days ago
JSON representation
Code repository for Building Smart Homes with Raspberry Pi Zero, published by Packt publishing
- Host: GitHub
- URL: https://github.com/PacktPublishing/Building-Smart-Homes-with-Raspberry-Pi-Zero
- Owner: PacktPublishing
- License: mit
- Created: 2016-10-19T08:09:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T10:16:45.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T00:55:05.277Z (3 months ago)
- Language: JavaScript
- Size: 1.69 MB
- Stars: 36
- Watchers: 8
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Building Smart Homes with Raspberry Pi Zero
This is the code repository for[Building Smart Homes with Raspberry Pi Zero](https://www.packtpub.com/hardware-and-creative/building-smart-homes-raspberry-pi-zero?utm_source=github&utm_medium=repository&utm_content=9781786466952),published by Packt.It contains all the supporting
project files necessary to work through the book from start to finish.## Instructions and Navigation
All of the code is organized into folders.Each folder starts with a number followed by the application name.
The commands and instructions will look like the following:
```
var sensor = {
initialize: function () {
return sensorLib.initialize(11, 4);
},
read: function () {
var readout = sensorLib.read();
console.log('Temperature: ' + readout.temperature.toFixed(2) +
'C, ' +
'humidity: ' + readout.humidity.toFixed(2) + '%');
setTimeout(function () {
sensor.read();
}, 2000);
}
};
if (sensor.initialize()) {
sensor.read();
} else {
console.warn('Failed to initialize sensor');
}
```
## Note:
Chapter 01 do not have code files.## Related products:
* [Raspberry Pi for Secret Agents](https://www.packtpub.com/hardware-and-creative/raspberry-pi-secret-agents?utm_source=github&utm_medium=repository&utm_content=9781849695787)
* [Raspberry Pi Cookbook for Python Programmers](https://www.packtpub.com/hardware-and-creative/raspberry-pi-cookbook-python-programmers?utm_source=github&utm_medium=repository&utm_content=9781849696623)
* [Raspberry Pi Home Automation with Arduino](https://www.packtpub.com/hardware-and-creative/raspberry-pi-home-automation-arduino?utm_source=github&utm_medium=repository&utm_content=9781849695862)
### Download a free PDFIf you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.