This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "567d64ec.2661bc", | |
"label": "Livingroom", | |
"nodes": [ | |
{ | |
"id": "98b02e48.6b436", | |
"type": "switch", | |
"z": "567d64ec.2661bc", | |
"name": "Livingroom", | |
"property": "topic", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* tiny_IRremote | |
* | |
* Version 0.3 June, 2018 | |
* Daniel Quadros | |
* Added LG support from https://github.com/z3t0/Arduino-IRremote | |
* Fixed NEC_ONE_SPACE | |
* | |
* Version 0.2 July, 2016 | |
* Christian D'Abrera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* tiny_IRremote | |
* Version 0.2 July, 2016 | |
* Christian D'Abrera | |
* Fixed what was originally rather broken code from http://www.gammon.com.au/Arduino/ | |
* ...itself based on work by Ken Shirriff. | |
* | |
* This code was tested for both sending and receiving IR on an ATtiny85 DIP-8 chip. | |
* IMPORTANT: IRsend only works from PB4 ("pin 4" according to Arduino). You will need to | |
* determine which physical pin this corresponds to for your chip, and connect your transmitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notes to make IR shield (made by LinkSprite) work in Raspberry Pi 3 (bought from Amazon [1]). | |
The vendor has some documentation [2] but that is not complete and sufficient for Raspbian Stretch. | |
Following are the changes that I made to make it work. | |
$ sudo apt-get update | |
$ sudo apt-get install lirc | |
# Add the following lines to /etc/modules file | |
lirc_dev | |
lirc_rpi gpio_in_pin=18 gpio_out_pin=17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright 2017 Google Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |