Browse Source

[ClimateControl] Include IRremoteESP8266 library as git submodule

master
Steven Haigh 3 months ago
parent
commit
b7cdb073fb
100 changed files with 4 additions and 18872 deletions
  1. 3
    0
      .gitmodules
  2. 1
    0
      ClimateControl/lib/IRremoteESP8266
  3. 0
    82
      ClimateControl/lib/IRremoteESP8266_ID1089/.github/CONTRIBUTING.md
  4. 0
    18
      ClimateControl/lib/IRremoteESP8266_ID1089/.github/Contributors.md
  5. 0
    42
      ClimateControl/lib/IRremoteESP8266_ID1089/.github/issue_template.md
  6. 0
    46
      ClimateControl/lib/IRremoteESP8266_ID1089/.gitignore
  7. 0
    4
      ClimateControl/lib/IRremoteESP8266_ID1089/.gitmodules
  8. 0
    60
      ClimateControl/lib/IRremoteESP8266_ID1089/.library.json
  9. 0
    3
      ClimateControl/lib/IRremoteESP8266_ID1089/.style.yapf
  10. 0
    62
      ClimateControl/lib/IRremoteESP8266_ID1089/.travis.yml
  11. 0
    3
      ClimateControl/lib/IRremoteESP8266_ID1089/CPPLINT.cfg
  12. 0
    458
      ClimateControl/lib/IRremoteESP8266_ID1089/LICENSE.txt
  13. 0
    79
      ClimateControl/lib/IRremoteESP8266_ID1089/README.md
  14. 0
    349
      ClimateControl/lib/IRremoteESP8266_ID1089/ReleaseNotes.md
  15. 0
    99
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/ControlSamsungAC/ControlSamsungAC.ino
  16. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/ControlSamsungAC/platformio.ini
  17. 0
    72
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCSendDemo/IRGCSendDemo.ino
  18. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCSendDemo/platformio.ini
  19. 0
    133
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCTCPServer/IRGCTCPServer.ino
  20. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCTCPServer/platformio.ini
  21. 0
    1737
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRMQTTServer/IRMQTTServer.ino
  22. 0
    28
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRMQTTServer/platformio.ini
  23. 0
    126
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRServer/IRServer.ino
  24. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRServer/platformio.ini
  25. 0
    52
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDemo/IRrecvDemo.ino
  26. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDemo/platformio.ini
  27. 0
    104
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDump/IRrecvDump.ino
  28. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDump/platformio.ini
  29. 0
    286
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDumpV2/IRrecvDumpV2.ino
  30. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDumpV2/platformio.ini
  31. 0
    72
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendDemo/IRsendDemo.ino
  32. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendDemo/platformio.ini
  33. 0
    112
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendProntoDemo/IRsendProntoDemo.ino
  34. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendProntoDemo/platformio.ini
  35. 0
    63
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/JVCPanasonicSendDemo/JVCPanasonicSendDemo.ino
  36. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/JVCPanasonicSendDemo/platformio.ini
  37. 0
    263
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/LGACSend/LGACSend.ino
  38. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/LGACSend/platformio.ini
  39. 0
    58
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnArgoAC/TurnOnArgoAC.ino
  40. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnArgoAC/platformio.ini
  41. 0
    69
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnDaikinAC/TurnOnDaikinAC.ino
  42. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnDaikinAC/platformio.ini
  43. 0
    50
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnFujitsuAC/TurnOnFujitsuAC.ino
  44. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnFujitsuAC/platformio.ini
  45. 0
    77
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnKelvinatorAC/TurnOnKelvinatorAC.ino
  46. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnKelvinatorAC/platformio.ini
  47. 0
    72
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnMitsubishiAC/TurnOnMitsubishiAC.ino
  48. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnMitsubishiAC/platformio.ini
  49. 0
    71
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnToshibaAC/TurnOnToshibaAC.ino
  50. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnToshibaAC/platformio.ini
  51. 0
    58
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnTrotecAC/TurnOnTrotecAC.ino
  52. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/examples/TurnOnTrotecAC/platformio.ini
  53. 0
    1829
      ClimateControl/lib/IRremoteESP8266_ID1089/keywords.txt
  54. 0
    44
      ClimateControl/lib/IRremoteESP8266_ID1089/library.json
  55. 0
    9
      ClimateControl/lib/IRremoteESP8266_ID1089/library.properties
  56. 0
    26
      ClimateControl/lib/IRremoteESP8266_ID1089/platformio.ini
  57. 0
    12
      ClimateControl/lib/IRremoteESP8266_ID1089/pylintrc
  58. 0
    1
      ClimateControl/lib/IRremoteESP8266_ID1089/src/CPPLINT.cfg
  59. 0
    742
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRrecv.cpp
  60. 0
    343
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRrecv.h
  61. 0
    479
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRremoteESP8266.h
  62. 0
    606
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRsend.cpp
  63. 0
    340
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRsend.h
  64. 0
    41
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRtimer.cpp
  65. 0
    23
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRtimer.h
  66. 0
    527
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRutils.cpp
  67. 0
    46
      ClimateControl/lib/IRremoteESP8266_ID1089/src/IRutils.h
  68. 0
    114
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Aiwa.cpp
  69. 0
    230
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Argo.cpp
  70. 0
    142
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Argo.h
  71. 0
    111
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Carrier.cpp
  72. 0
    429
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Coolix.cpp
  73. 0
    140
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Coolix.h
  74. 0
    1409
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Daikin.cpp
  75. 0
    334
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Daikin.h
  76. 0
    148
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Denon.cpp
  77. 0
    136
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Dish.cpp
  78. 0
    112
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Electra.cpp
  79. 0
    519
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Fujitsu.cpp
  80. 0
    123
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Fujitsu.h
  81. 0
    116
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_GICable.cpp
  82. 0
    70
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_GlobalCache.cpp
  83. 0
    478
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Gree.cpp
  84. 0
    130
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Gree.h
  85. 0
    865
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Haier.cpp
  86. 0
    297
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Haier.h
  87. 0
    424
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Hitachi.cpp
  88. 0
    76
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Hitachi.h
  89. 0
    166
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_JVC.cpp
  90. 0
    550
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Kelvinator.cpp
  91. 0
    180
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Kelvinator.h
  92. 0
    290
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_LG.cpp
  93. 0
    17
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_LG.h
  94. 0
    122
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Lasertag.cpp
  95. 0
    156
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Lutron.cpp
  96. 0
    202
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_MWM.cpp
  97. 0
    166
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Magiquest.cpp
  98. 0
    35
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Magiquest.h
  99. 0
    403
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Midea.cpp
  100. 0
    0
      ClimateControl/lib/IRremoteESP8266_ID1089/src/ir_Midea.h

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
1
+[submodule "ClimateControl/lib/IRremoteESP8266"]
2
+	path = ClimateControl/lib/IRremoteESP8266
3
+	url = https://github.com/markszabo/IRremoteESP8266.git

+ 1
- 0
ClimateControl/lib/IRremoteESP8266

@@ -0,0 +1 @@
1
+Subproject commit 7390075454a35d851d3c30d60710e18b745128a2

+ 0
- 82
ClimateControl/lib/IRremoteESP8266_ID1089/.github/CONTRIBUTING.md View File

@@ -1,82 +0,0 @@
1
-# Contributing to the IRremoteESP8266 library
2
-
3
-:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
4
-
5
-The following is a set of guidelines for contributing to the IRremoteESP8266 library, hosted on GitHub. These are guidelines, [not rules](http://imgur.com/mSHi8). Use your best judgment, and feel free to propose changes to this document in a pull request.
6
-
7
-#### Table Of Contents
8
-
9
-[Code of Conduct](#code-of-conduct)
10
-
11
-[How Can I Contribute?](#how-can-i-contribute)
12
-  * [Reporting Bugs](#reporting-bugs)
13
-  * [Pull Requests](#pull-requests)
14
-
15
-[Styleguides](#styleguides)
16
-  * [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html)
17
-  * [Git Commit Messages](#git-commit-messages)
18
-
19
-
20
-## Code of Conduct
21
-
22
-This project and everyone participating in it is governed by the principle of ["Be excellent to each other"](http://www.imdb.com/title/tt0096928/quotes). That's it. TL;DR: _Don't be a jerk._
23
-
24
-## How Can I Contribute?
25
-
26
-### Reporting Bugs
27
-
28
-This section guides you through submitting a bug report for the library. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:.
29
-
30
-Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as much detail as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](issue_template.md), the information it asks for helps us resolve issues faster.
31
-
32
-> **Note:** If you find a **Closed** issue that seems like it's the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.
33
-
34
-#### Before Submitting A Bug Report
35
-
36
-* **Check the [Troubleshooting Guide](https://github.com/markszabo/IRremoteESP8266/wiki/Troubleshooting-Guide).** You might be able to find the cause of the problem and fix it yourself. Most importantly, check if you can reproduce the problem in the latest version (a.k.a. 'master') of the library.
37
-* **Perform a [cursory search](https://github.com/issues?q=+is%3Aissue+repo%3Amarkszabo/IRremoteESP8266)** to see if the problem is already reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one.
38
-
39
-#### How Do I Submit A (Good) Bug Report?
40
-
41
-Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue and provide the following information by filling in [the template](issue_template.md).
42
-
43
-Explain the problem and include any additional details to help maintainers reproduce the problem:
44
-
45
-* **Use a clear and descriptive title** for the issue to identify the problem.
46
-* **Describe the exact steps which reproduce the problem** in as much detail as possible.
47
-* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
48
-* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
49
-* **Explain which behavior you expected to see instead and why.**
50
-* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
51
-
52
-Provide more context by answering these questions:
53
-
54
-* **Can you reproduce the problem in one of the code examples?**
55
-* **Did the problem start happening recently** (e.g. after updating to a new version of Arduino or the library) or was this always a problem?
56
-* If the problem started happening recently, **can you reproduce the problem in an older version of the library?** What's the most recent version in which the problem doesn't happen? You can download older versions of the library from [the releases page](https://github.com/markszabo/IRremoteESP8266/releases).
57
-* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
58
-
59
-Include details about your configuration, circuit and environment:
60
-
61
-* **Which version of the library are you using?** You can get the exact version by inspecting the `library.json` file in the root directory of the library.
62
-* **What board are you running this on?**
63
-
64
-### Pull Requests
65
-
66
-* Do not include issue numbers in the PR title
67
-* Include as much data and comments as practicle.
68
-* Follow the [C++ style guide](https://google.github.io/styleguide/cppguide.html).
69
-* Please write or ensure Unit Tests cover the change you are making, if you can.
70
-* End all files with a newline
71
-* Avoid platform-dependent code.
72
-* Use c98 types where possible for better portablity.
73
-* In almost all cases, code & documentation should be peer-reviewed by at least one other contributor.
74
-* The code should pass all the existing testing infrastructure in Travis. e.g. Unit tests, cpplint, and basic compilation.
75
-* State if you have tested this under real conditions if you have, and what other tests you may have carried out.
76
-
77
-### Git Commit Messages
78
-
79
-* Limit the first line to 72 characters or less
80
-* Reference issues and pull requests liberally after the first line
81
-* Humour is always acceptable. Be liberal with it. ;-)
82
-* While not required, a comprehensive description of all the changes in the PR is best.

+ 0
- 18
ClimateControl/lib/IRremoteESP8266_ID1089/.github/Contributors.md View File

@@ -1,18 +0,0 @@
1
-## Contributors of this project
2
-### Main contributors & maintainers
3
-- [Mark Szabo](https://github.com/markszabo/) : Initial IR sending on ESP8266
4
-- [Sébastien Warin](https://github.com/sebastienwarin/) (http://sebastien.warin.fr) : Initial IR receiving on ESP8266
5
-- [David Conran](https://github.com/crankyoldgit/)
6
-- [Roi Dayan](https://github.com/roidayan/)
7
-- [Marcos de Alcântara Marinho](https://github.com/marcosamarinho/)
8
-- [Massimiliano Pinto](https://github.com/pintomax/)
9
-- [Darsh Patel](https://github.com/darshkpatel/)
10
-- [Jonny Graham](https://github.com/jonnygraham/)
11
-- [Stu Fisher](https://github.com/stufisher/)
12
-- [Jorge Cisneros](https://github.com/jorgecis/)
13
-- [Denes Varga](https://github.com/denxhun/)
14
-- [Brett T. Warden](https://github.com/bwarden/)
15
-
16
-All contributors can be found on the [contributors site](https://github.com/markszabo/IRremoteESP8266/graphs/contributors). 
17
-
18
-### Contributors of the [original project](https://github.com/z3t0/Arduino-IRremote) can be found on the [original project's contributors page](https://github.com/z3t0/Arduino-IRremote/blob/master/Contributors.md)

+ 0
- 42
ClimateControl/lib/IRremoteESP8266_ID1089/.github/issue_template.md View File

@@ -1,42 +0,0 @@
1
-_(Please use this template for reporting issues. You can delete what ever is not relevant. Giving us this information will help us help you faster. Please also read the [FAQ](https://github.com/markszabo/IRremoteESP8266/wiki/Frequently-Asked-Questions) & [Troubleshooting Guide](https://github.com/markszabo/IRremoteESP8266/wiki/Troubleshooting-Guide). Your problem may already have an answer there.)_
2
-
3
-### Version/revison of the library used
4
-_Typically located in the `library.json` & `src/IRremoteESP8266.h` files in the root directory of the library.
5
-e.g. v2.0.0, or 'master' as at 1st of June, 2017. etc._
6
-
7
-### Expected behavior
8
-_What steps did you do and what should it have done?_
9
-
10
-e.g.
11
-1. Initialise the IRsend class.
12
-2. IRsend.sendFoobar(0xdeadbeef);
13
-3. Foobar branded BBQ turns on and cooks me some ribs.
14
-
15
-### Actual behavior
16
-_What steps did you do, and what did or didn't actually happen?_
17
-
18
-e.g.
19
-1. Initialise the IRsend class.
20
-2. IRsend.sendFoobar(0xdeadbeef);
21
-3. Foobar BBQ went into Cow(er)-saving mode and fried me a couple of eggs instead.
22
-
23
-#### Output of raw data from IRrecvDumpV2.ino (if applicable)
24
-_Include some raw dumps of what the device saw._
25
-
26
-### Steps to reproduce the behavior
27
-_What can we do to (pref. reliably) repeat what is happening?_
28
-
29
-#### Example code used
30
-_Include all relevant code snippets or links to the actual code files. Tip: [How to quote your code so it is still readable](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code)._
31
-
32
-#### Circuit diagram and hardware used (if applicable)
33
-_Link to an image of the circuit diagram used. Part number of the IR receiver module etc._
34
-
35
-### I have followed the steps in the [Troubleshooting Guide](https://github.com/markszabo/IRremoteESP8266/wiki/Troubleshooting-Guide) & read the [FAQ](https://github.com/markszabo/IRremoteESP8266/wiki/Frequently-Asked-Questions)
36
-_Yes/No._
37
-
38
-### Has this library/code previously worked as expected for you?
39
-_Yes/No. If "Yes", which version last worked for you?_
40
-
41
-### Other useful information
42
-_More information is always welcome. Be verbose._

+ 0
- 46
ClimateControl/lib/IRremoteESP8266_ID1089/.gitignore View File

@@ -1,46 +0,0 @@
1
-#----------------------------------------#
2
-# .gitingore for IRremoteESP8266 library #
3
-#----------------------------------------#
4
-
5
-### Files to ignore.
6
-
7
-## Editors
8
-# vi/vim
9
-**/*.swp
10
-
11
-## Build environments
12
-# Platformio
13
-**/.pioenvs/
14
-**/.piolibdeps/
15
-**/.clang_complete
16
-**/.gcc-flags.json
17
-examples/**/lib
18
-examples/**/.travis.yml
19
-examples/**/.gitignore
20
-lib/readme.txt
21
-lib/googletest/**/*
22
-
23
-# GCC pre-compiled headers.
24
-**/*.gch
25
-
26
-# Python compiled files
27
-**/*.pyc
28
-
29
-# Unit Test builds
30
-test/*.o
31
-test/*.a
32
-test/*_test
33
-
34
-# Tools builds
35
-tools/*.o
36
-tools/*.a
37
-tools/gc_decode
38
-tools/mode2_decode
39
-
40
-.pioenvs
41
-.piolibdeps
42
-.clang_complete
43
-.gcc-flags.json
44
-
45
-#Cygwin builds
46
-*.exe

+ 0
- 4
ClimateControl/lib/IRremoteESP8266_ID1089/.gitmodules View File

@@ -1,4 +0,0 @@
1
-[submodule "lib/googletest"]
2
-	path = lib/googletest
3
-	url = https://github.com/google/googletest.git
4
-	branch = v1.8.x

+ 0
- 60
ClimateControl/lib/IRremoteESP8266_ID1089/.library.json View File

@@ -1,60 +0,0 @@
1
-{
2
-    "name": "IRremoteESP8266", 
3
-    "version": "2.5.5", 
4
-    "keywords": [
5
-        "infrared", 
6
-        "ir", 
7
-        "remote", 
8
-        "esp8266"
9
-    ], 
10
-    "description": "Send and receive infrared signals with multiple protocols (ESP8266)", 
11
-    "repository": {
12
-        "type": "git", 
13
-        "url": "https://github.com/markszabo/IRremoteESP8266.git"
14
-    }, 
15
-    "authors": [
16
-        {
17
-            "email": "zetoslab@gmail.com", 
18
-            "url": null, 
19
-            "maintainer": false, 
20
-            "name": "Ken Shirriff"
21
-        }, 
22
-        {
23
-            "email": null, 
24
-            "url": "http://nomartini-noparty.blogspot.com/", 
25
-            "maintainer": true, 
26
-            "name": "Mark Szabo"
27
-        }, 
28
-        {
29
-            "email": null, 
30
-            "url": "http://sebastien.warin.fr", 
31
-            "maintainer": true, 
32
-            "name": "Sebastien Warin"
33
-        }, 
34
-        {
35
-            "email": null, 
36
-            "url": "https://plus.google.com/+davidconran", 
37
-            "maintainer": true, 
38
-            "name": "David Conran"
39
-        }, 
40
-        {
41
-            "email": null, 
42
-            "url": "https://github.com/roidayan/", 
43
-            "maintainer": true, 
44
-            "name": "Roi Dayan"
45
-        }, 
46
-        {
47
-            "email": null, 
48
-            "url": "https://github.com/pintomax/", 
49
-            "maintainer": true, 
50
-            "name": "Massimiliano Pinto"
51
-        }
52
-    ], 
53
-    "frameworks": [
54
-        "arduino"
55
-    ], 
56
-    "platforms": [
57
-        "espressif8266"
58
-    ], 
59
-    "id": 1089
60
-}

+ 0
- 3
ClimateControl/lib/IRremoteESP8266_ID1089/.style.yapf View File

@@ -1,3 +0,0 @@
1
-[style]
2
-based_on_style: google
3
-indent_width: 2

+ 0
- 62
ClimateControl/lib/IRremoteESP8266_ID1089/.travis.yml View File

@@ -1,62 +0,0 @@
1
-language: c
2
-env:
3
-  - BD=esp8266:esp8266:nodemcuv2:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled
4
-  - BD=esp8266:esp8266:d1_mini:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled
5
-before_install:
6
-  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
7
-  - sleep 3
8
-  - export DISPLAY=:1.0
9
-  - wget http://downloads.arduino.cc/arduino-1.8.8-linux64.tar.xz
10
-  - tar xf arduino-1.8.8-linux64.tar.xz
11
-  - sudo mv arduino-1.8.8 /usr/local/share/arduino
12
-  - sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
13
-  - wget https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py
14
-install:
15
-  - ln -s $PWD /usr/local/share/arduino/libraries/
16
-  - git clone https://github.com/tzapu/WiFiManager.git /usr/local/share/arduino/libraries/WiFiManager
17
-  - git clone https://github.com/knolleary/pubsubclient.git /usr/local/share/arduino/libraries/PubSubClient
18
-  - arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
19
-  - arduino --install-boards esp8266:esp8266
20
-  - arduino --board $BD --save-prefs
21
-  - arduino --pref "compiler.warning_level=all" --save-prefs
22
-  - sudo apt-get install jq
23
-  - sudo pip install pylint
24
-script:
25
-  # Check that everything compiles.
26
-  - arduino --verify --board $BD $PWD/examples/IRrecvDemo/IRrecvDemo.ino
27
-  - arduino --verify --board $BD $PWD/examples/IRGCSendDemo/IRGCSendDemo.ino
28
-  - arduino --verify --board $BD $PWD/examples/IRGCTCPServer/IRGCTCPServer.ino
29
-  - arduino --verify --board $BD $PWD/examples/IRServer/IRServer.ino
30
-  - arduino --verify --board $BD $PWD/examples/IRrecvDumpV2/IRrecvDumpV2.ino
31
-  - arduino --verify --board $BD $PWD/examples/IRsendDemo/IRsendDemo.ino
32
-  - arduino --verify --board $BD $PWD/examples/JVCPanasonicSendDemo/JVCPanasonicSendDemo.ino
33
-  - arduino --verify --board $BD $PWD/examples/TurnOnDaikinAC/TurnOnDaikinAC.ino
34
-  - arduino --verify --board $BD $PWD/examples/TurnOnFujitsuAC/TurnOnFujitsuAC.ino
35
-  - arduino --verify --board $BD $PWD/examples/TurnOnKelvinatorAC/TurnOnKelvinatorAC.ino
36
-  - arduino --verify --board $BD $PWD/examples/TurnOnMitsubishiAC/TurnOnMitsubishiAC.ino
37
-  - arduino --verify --board $BD $PWD/examples/IRsendProntoDemo/IRsendProntoDemo.ino
38
-  - arduino --verify --board $BD $PWD/examples/TurnOnTrotecAC/TurnOnTrotecAC.ino
39
-  - arduino --verify --board $BD $PWD/examples/LGACSend/LGACSend.ino
40
-  - arduino --verify --board $BD $PWD/examples/TurnOnArgoAC/TurnOnArgoAC.ino
41
-  - arduino --verify --board $BD $PWD/examples/IRMQTTServer/IRMQTTServer.ino
42
-  - arduino --verify --board $BD $PWD/examples/TurnOnToshibaAC/TurnOnToshibaAC.ino
43
-  - arduino --verify --board $BD $PWD/examples/ControlSamsungAC/ControlSamsungAC.ino
44
-  # Also check the tools programs compile.
45
-  - (cd tools; make all)
46
-  # Check for lint issues.
47
-  - shopt -s nullglob
48
-  - python cpplint.py --extensions=c,cc,cpp,ino --headers=h,hpp {src,test,tools}/*.{h,c,cc,cpp,hpp,ino} examples/*/*.{h,c,cc,cpp,hpp,ino}
49
-  - pylint {src,test,tools}/*.py
50
-  - shopt -u nullglob
51
-  # Build and run the unit tests.
52
-  - (cd test; make run)
53
-  - (cd tools; make run_tests)
54
-  # Check the version numbers match.
55
-  - LIB_VERSION=$(egrep "^#define\s+_IRREMOTEESP8266_VERSION_\s+" src/IRremoteESP8266.h  | cut -d\" -f2)
56
-  - test ${LIB_VERSION} == "$(jq -r .version library.json)"
57
-  - grep -q "^version=${LIB_VERSION}$" library.properties
58
-
59
-notifications:
60
-  email:
61
-    on_success: change
62
-    on_failure: change

+ 0
- 3
ClimateControl/lib/IRremoteESP8266_ID1089/CPPLINT.cfg View File

@@ -1,3 +0,0 @@
1
-set noparent
2
-root=src
3
-linelength=80

+ 0
- 458
ClimateControl/lib/IRremoteESP8266_ID1089/LICENSE.txt View File

@@ -1,458 +0,0 @@
1
-
2
-		  GNU LESSER GENERAL PUBLIC LICENSE
3
-		       Version 2.1, February 1999
4
-
5
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6
- 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
7
- Everyone is permitted to copy and distribute verbatim copies
8
- of this license document, but changing it is not allowed.
9
-
10
-[This is the first released version of the Lesser GPL.  It also counts
11
- as the successor of the GNU Library Public License, version 2, hence
12
- the version number 2.1.]
13
-
14
-			    Preamble
15
-
16
-  The licenses for most software are designed to take away your
17
-freedom to share and change it.  By contrast, the GNU General Public
18
-Licenses are intended to guarantee your freedom to share and change
19
-free software--to make sure the software is free for all its users.
20
-
21
-  This license, the Lesser General Public License, applies to some
22
-specially designated software packages--typically libraries--of the
23
-Free Software Foundation and other authors who decide to use it.  You
24
-can use it too, but we suggest you first think carefully about whether
25
-this license or the ordinary General Public License is the better
26
-strategy to use in any particular case, based on the explanations below.
27
-
28
-  When we speak of free software, we are referring to freedom of use,
29
-not price.  Our General Public Licenses are designed to make sure that
30
-you have the freedom to distribute copies of free software (and charge
31
-for this service if you wish); that you receive source code or can get
32
-it if you want it; that you can change the software and use pieces of
33
-it in new free programs; and that you are informed that you can do
34
-these things.
35
-
36
-  To protect your rights, we need to make restrictions that forbid
37
-distributors to deny you these rights or to ask you to surrender these
38
-rights.  These restrictions translate to certain responsibilities for
39
-you if you distribute copies of the library or if you modify it.
40
-
41
-  For example, if you distribute copies of the library, whether gratis
42
-or for a fee, you must give the recipients all the rights that we gave
43
-you.  You must make sure that they, too, receive or can get the source
44
-code.  If you link other code with the library, you must provide
45
-complete object files to the recipients, so that they can relink them
46
-with the library after making changes to the library and recompiling
47
-it.  And you must show them these terms so they know their rights.
48
-
49
-  We protect your rights with a two-step method: (1) we copyright the
50
-library, and (2) we offer you this license, which gives you legal
51
-permission to copy, distribute and/or modify the library.
52
-
53
-  To protect each distributor, we want to make it very clear that
54
-there is no warranty for the free library.  Also, if the library is
55
-modified by someone else and passed on, the recipients should know
56
-that what they have is not the original version, so that the original
57
-author's reputation will not be affected by problems that might be
58
-introduced by others.
59
-
60
-  Finally, software patents pose a constant threat to the existence of
61
-any free program.  We wish to make sure that a company cannot
62
-effectively restrict the users of a free program by obtaining a
63
-restrictive license from a patent holder.  Therefore, we insist that
64
-any patent license obtained for a version of the library must be
65
-consistent with the full freedom of use specified in this license.
66
-
67
-  Most GNU software, including some libraries, is covered by the
68
-ordinary GNU General Public License.  This license, the GNU Lesser
69
-General Public License, applies to certain designated libraries, and
70
-is quite different from the ordinary General Public License.  We use
71
-this license for certain libraries in order to permit linking those
72
-libraries into non-free programs.
73
-
74
-  When a program is linked with a library, whether statically or using
75
-a shared library, the combination of the two is legally speaking a
76
-combined work, a derivative of the original library.  The ordinary
77
-General Public License therefore permits such linking only if the
78
-entire combination fits its criteria of freedom.  The Lesser General
79
-Public License permits more lax criteria for linking other code with
80
-the library.
81
-
82
-  We call this license the "Lesser" General Public License because it
83
-does Less to protect the user's freedom than the ordinary General
84
-Public License.  It also provides other free software developers Less
85
-of an advantage over competing non-free programs.  These disadvantages
86
-are the reason we use the ordinary General Public License for many
87
-libraries.  However, the Lesser license provides advantages in certain
88
-special circumstances.
89
-
90
-  For example, on rare occasions, there may be a special need to
91
-encourage the widest possible use of a certain library, so that it becomes
92
-a de-facto standard.  To achieve this, non-free programs must be
93
-allowed to use the library.  A more frequent case is that a free
94
-library does the same job as widely used non-free libraries.  In this
95
-case, there is little to gain by limiting the free library to free
96
-software only, so we use the Lesser General Public License.
97
-
98
-  In other cases, permission to use a particular library in non-free
99
-programs enables a greater number of people to use a large body of
100
-free software.  For example, permission to use the GNU C Library in
101
-non-free programs enables many more people to use the whole GNU
102
-operating system, as well as its variant, the GNU/Linux operating
103
-system.
104
-
105
-  Although the Lesser General Public License is Less protective of the
106
-users' freedom, it does ensure that the user of a program that is
107
-linked with the Library has the freedom and the wherewithal to run
108
-that program using a modified version of the Library.
109
-
110
-  The precise terms and conditions for copying, distribution and
111
-modification follow.  Pay close attention to the difference between a
112
-"work based on the library" and a "work that uses the library".  The
113
-former contains code derived from the library, whereas the latter must
114
-be combined with the library in order to run.
115
-
116
-		  GNU LESSER GENERAL PUBLIC LICENSE
117
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
118
-
119
-  0. This License Agreement applies to any software library or other
120
-program which contains a notice placed by the copyright holder or
121
-other authorized party saying it may be distributed under the terms of
122
-this Lesser General Public License (also called "this License").
123
-Each licensee is addressed as "you".
124
-
125
-  A "library" means a collection of software functions and/or data
126
-prepared so as to be conveniently linked with application programs
127
-(which use some of those functions and data) to form executables.
128
-
129
-  The "Library", below, refers to any such software library or work
130
-which has been distributed under these terms.  A "work based on the
131
-Library" means either the Library or any derivative work under
132
-copyright law: that is to say, a work containing the Library or a
133
-portion of it, either verbatim or with modifications and/or translated
134
-straightforwardly into another language.  (Hereinafter, translation is
135
-included without limitation in the term "modification".)
136
-
137
-  "Source code" for a work means the preferred form of the work for
138
-making modifications to it.  For a library, complete source code means
139
-all the source code for all modules it contains, plus any associated
140
-interface definition files, plus the scripts used to control compilation
141
-and installation of the library.
142
-
143
-  Activities other than copying, distribution and modification are not
144
-covered by this License; they are outside its scope.  The act of
145
-running a program using the Library is not restricted, and output from
146
-such a program is covered only if its contents constitute a work based
147
-on the Library (independent of the use of the Library in a tool for
148
-writing it).  Whether that is true depends on what the Library does
149
-and what the program that uses the Library does.
150
-  
151
-  1. You may copy and distribute verbatim copies of the Library's
152
-complete source code as you receive it, in any medium, provided that
153
-you conspicuously and appropriately publish on each copy an
154
-appropriate copyright notice and disclaimer of warranty; keep intact
155
-all the notices that refer to this License and to the absence of any
156
-warranty; and distribute a copy of this License along with the
157
-Library.
158
-
159
-  You may charge a fee for the physical act of transferring a copy,
160
-and you may at your option offer warranty protection in exchange for a
161
-fee.
162
-
163
-  2. You may modify your copy or copies of the Library or any portion
164
-of it, thus forming a work based on the Library, and copy and
165
-distribute such modifications or work under the terms of Section 1
166
-above, provided that you also meet all of these conditions:
167
-
168
-    a) The modified work must itself be a software library.
169
-
170
-    b) You must cause the files modified to carry prominent notices
171
-    stating that you changed the files and the date of any change.
172
-
173
-    c) You must cause the whole of the work to be licensed at no
174
-    charge to all third parties under the terms of this License.
175
-
176
-    d) If a facility in the modified Library refers to a function or a
177
-    table of data to be supplied by an application program that uses
178
-    the facility, other than as an argument passed when the facility
179
-    is invoked, then you must make a good faith effort to ensure that,
180
-    in the event an application does not supply such function or
181
-    table, the facility still operates, and performs whatever part of
182
-    its purpose remains meaningful.
183
-
184
-    (For example, a function in a library to compute square roots has
185
-    a purpose that is entirely well-defined independent of the
186
-    application.  Therefore, Subsection 2d requires that any
187
-    application-supplied function or table used by this function must
188
-    be optional: if the application does not supply it, the square
189
-    root function must still compute square roots.)
190
-
191
-These requirements apply to the modified work as a whole.  If
192
-identifiable sections of that work are not derived from the Library,
193
-and can be reasonably considered independent and separate works in
194
-themselves, then this License, and its terms, do not apply to those
195
-sections when you distribute them as separate works.  But when you
196
-distribute the same sections as part of a whole which is a work based
197
-on the Library, the distribution of the whole must be on the terms of
198
-this License, whose permissions for other licensees extend to the
199
-entire whole, and thus to each and every part regardless of who wrote
200
-it.
201
-
202
-Thus, it is not the intent of this section to claim rights or contest
203
-your rights to work written entirely by you; rather, the intent is to
204
-exercise the right to control the distribution of derivative or
205
-collective works based on the Library.
206
-
207
-In addition, mere aggregation of another work not based on the Library
208
-with the Library (or with a work based on the Library) on a volume of
209
-a storage or distribution medium does not bring the other work under
210
-the scope of this License.
211
-
212
-  3. You may opt to apply the terms of the ordinary GNU General Public
213
-License instead of this License to a given copy of the Library.  To do
214
-this, you must alter all the notices that refer to this License, so
215
-that they refer to the ordinary GNU General Public License, version 2,
216
-instead of to this License.  (If a newer version than version 2 of the
217
-ordinary GNU General Public License has appeared, then you can specify
218
-that version instead if you wish.)  Do not make any other change in
219
-these notices.
220
-
221
-  Once this change is made in a given copy, it is irreversible for
222
-that copy, so the ordinary GNU General Public License applies to all
223
-subsequent copies and derivative works made from that copy.
224
-
225
-  This option is useful when you wish to copy part of the code of
226
-the Library into a program that is not a library.
227
-
228
-  4. You may copy and distribute the Library (or a portion or
229
-derivative of it, under Section 2) in object code or executable form
230
-under the terms of Sections 1 and 2 above provided that you accompany
231
-it with the complete corresponding machine-readable source code, which
232
-must be distributed under the terms of Sections 1 and 2 above on a
233
-medium customarily used for software interchange.
234
-
235
-  If distribution of object code is made by offering access to copy
236
-from a designated place, then offering equivalent access to copy the
237
-source code from the same place satisfies the requirement to
238
-distribute the source code, even though third parties are not
239
-compelled to copy the source along with the object code.
240
-
241
-  5. A program that contains no derivative of any portion of the
242
-Library, but is designed to work with the Library by being compiled or
243
-linked with it, is called a "work that uses the Library".  Such a
244
-work, in isolation, is not a derivative work of the Library, and
245
-therefore falls outside the scope of this License.
246
-
247
-  However, linking a "work that uses the Library" with the Library
248
-creates an executable that is a derivative of the Library (because it
249
-contains portions of the Library), rather than a "work that uses the
250
-library".  The executable is therefore covered by this License.
251
-Section 6 states terms for distribution of such executables.
252
-
253
-  When a "work that uses the Library" uses material from a header file
254
-that is part of the Library, the object code for the work may be a
255
-derivative work of the Library even though the source code is not.
256
-Whether this is true is especially significant if the work can be
257
-linked without the Library, or if the work is itself a library.  The
258
-threshold for this to be true is not precisely defined by law.
259
-
260
-  If such an object file uses only numerical parameters, data
261
-structure layouts and accessors, and small macros and small inline
262
-functions (ten lines or less in length), then the use of the object
263
-file is unrestricted, regardless of whether it is legally a derivative
264
-work.  (Executables containing this object code plus portions of the
265
-Library will still fall under Section 6.)
266
-
267
-  Otherwise, if the work is a derivative of the Library, you may
268
-distribute the object code for the work under the terms of Section 6.
269
-Any executables containing that work also fall under Section 6,
270
-whether or not they are linked directly with the Library itself.
271
-
272
-  6. As an exception to the Sections above, you may also combine or
273
-link a "work that uses the Library" with the Library to produce a
274
-work containing portions of the Library, and distribute that work
275
-under terms of your choice, provided that the terms permit
276
-modification of the work for the customer's own use and reverse
277
-engineering for debugging such modifications.
278
-
279
-  You must give prominent notice with each copy of the work that the
280
-Library is used in it and that the Library and its use are covered by
281
-this License.  You must supply a copy of this License.  If the work
282
-during execution displays copyright notices, you must include the
283
-copyright notice for the Library among them, as well as a reference
284
-directing the user to the copy of this License.  Also, you must do one
285
-of these things:
286
-
287
-    a) Accompany the work with the complete corresponding
288
-    machine-readable source code for the Library including whatever
289
-    changes were used in the work (which must be distributed under
290
-    Sections 1 and 2 above); and, if the work is an executable linked
291
-    with the Library, with the complete machine-readable "work that
292
-    uses the Library", as object code and/or source code, so that the
293
-    user can modify the Library and then relink to produce a modified
294
-    executable containing the modified Library.  (It is understood
295
-    that the user who changes the contents of definitions files in the
296
-    Library will not necessarily be able to recompile the application
297
-    to use the modified definitions.)
298
-
299
-    b) Use a suitable shared library mechanism for linking with the
300
-    Library.  A suitable mechanism is one that (1) uses at run time a
301
-    copy of the library already present on the user's computer system,
302
-    rather than copying library functions into the executable, and (2)
303
-    will operate properly with a modified version of the library, if
304
-    the user installs one, as long as the modified version is
305
-    interface-compatible with the version that the work was made with.
306
-
307
-    c) Accompany the work with a written offer, valid for at
308
-    least three years, to give the same user the materials
309
-    specified in Subsection 6a, above, for a charge no more
310
-    than the cost of performing this distribution.
311
-
312
-    d) If distribution of the work is made by offering access to copy
313
-    from a designated place, offer equivalent access to copy the above
314
-    specified materials from the same place.
315
-
316
-    e) Verify that the user has already received a copy of these
317
-    materials or that you have already sent this user a copy.
318
-
319
-  For an executable, the required form of the "work that uses the
320
-Library" must include any data and utility programs needed for
321
-reproducing the executable from it.  However, as a special exception,
322
-the materials to be distributed need not include anything that is
323
-normally distributed (in either source or binary form) with the major
324
-components (compiler, kernel, and so on) of the operating system on
325
-which the executable runs, unless that component itself accompanies
326
-the executable.
327
-
328
-  It may happen that this requirement contradicts the license
329
-restrictions of other proprietary libraries that do not normally
330
-accompany the operating system.  Such a contradiction means you cannot
331
-use both them and the Library together in an executable that you
332
-distribute.
333
-
334
-  7. You may place library facilities that are a work based on the
335
-Library side-by-side in a single library together with other library
336
-facilities not covered by this License, and distribute such a combined
337
-library, provided that the separate distribution of the work based on
338
-the Library and of the other library facilities is otherwise
339
-permitted, and provided that you do these two things:
340
-
341
-    a) Accompany the combined library with a copy of the same work
342
-    based on the Library, uncombined with any other library
343
-    facilities.  This must be distributed under the terms of the
344
-    Sections above.
345
-
346
-    b) Give prominent notice with the combined library of the fact
347
-    that part of it is a work based on the Library, and explaining
348
-    where to find the accompanying uncombined form of the same work.
349
-
350
-  8. You may not copy, modify, sublicense, link with, or distribute
351
-the Library except as expressly provided under this License.  Any
352
-attempt otherwise to copy, modify, sublicense, link with, or
353
-distribute the Library is void, and will automatically terminate your
354
-rights under this License.  However, parties who have received copies,
355
-or rights, from you under this License will not have their licenses
356
-terminated so long as such parties remain in full compliance.
357
-
358
-  9. You are not required to accept this License, since you have not
359
-signed it.  However, nothing else grants you permission to modify or
360
-distribute the Library or its derivative works.  These actions are
361
-prohibited by law if you do not accept this License.  Therefore, by
362
-modifying or distributing the Library (or any work based on the
363
-Library), you indicate your acceptance of this License to do so, and
364
-all its terms and conditions for copying, distributing or modifying
365
-the Library or works based on it.
366
-
367
-  10. Each time you redistribute the Library (or any work based on the
368
-Library), the recipient automatically receives a license from the
369
-original licensor to copy, distribute, link with or modify the Library
370
-subject to these terms and conditions.  You may not impose any further
371
-restrictions on the recipients' exercise of the rights granted herein.
372
-You are not responsible for enforcing compliance by third parties with
373
-this License.
374
-
375
-  11. If, as a consequence of a court judgment or allegation of patent
376
-infringement or for any other reason (not limited to patent issues),
377
-conditions are imposed on you (whether by court order, agreement or
378
-otherwise) that contradict the conditions of this License, they do not
379
-excuse you from the conditions of this License.  If you cannot
380
-distribute so as to satisfy simultaneously your obligations under this
381
-License and any other pertinent obligations, then as a consequence you
382
-may not distribute the Library at all.  For example, if a patent
383
-license would not permit royalty-free redistribution of the Library by
384
-all those who receive copies directly or indirectly through you, then
385
-the only way you could satisfy both it and this License would be to
386
-refrain entirely from distribution of the Library.
387
-
388
-If any portion of this section is held invalid or unenforceable under any
389
-particular circumstance, the balance of the section is intended to apply,
390
-and the section as a whole is intended to apply in other circumstances.
391
-
392
-It is not the purpose of this section to induce you to infringe any
393
-patents or other property right claims or to contest validity of any
394
-such claims; this section has the sole purpose of protecting the
395
-integrity of the free software distribution system which is
396
-implemented by public license practices.  Many people have made
397
-generous contributions to the wide range of software distributed
398
-through that system in reliance on consistent application of that
399
-system; it is up to the author/donor to decide if he or she is willing
400
-to distribute software through any other system and a licensee cannot
401
-impose that choice.
402
-
403
-This section is intended to make thoroughly clear what is believed to
404
-be a consequence of the rest of this License.
405
-
406
-  12. If the distribution and/or use of the Library is restricted in
407
-certain countries either by patents or by copyrighted interfaces, the
408
-original copyright holder who places the Library under this License may add
409
-an explicit geographical distribution limitation excluding those countries,
410
-so that distribution is permitted only in or among countries not thus
411
-excluded.  In such case, this License incorporates the limitation as if
412
-written in the body of this License.
413
-
414
-  13. The Free Software Foundation may publish revised and/or new
415
-versions of the Lesser General Public License from time to time.
416
-Such new versions will be similar in spirit to the present version,
417
-but may differ in detail to address new problems or concerns.
418
-
419
-Each version is given a distinguishing version number.  If the Library
420
-specifies a version number of this License which applies to it and
421
-"any later version", you have the option of following the terms and
422
-conditions either of that version or of any later version published by
423
-the Free Software Foundation.  If the Library does not specify a
424
-license version number, you may choose any version ever published by
425
-the Free Software Foundation.
426
-
427
-  14. If you wish to incorporate parts of the Library into other free
428
-programs whose distribution conditions are incompatible with these,
429
-write to the author to ask for permission.  For software which is
430
-copyrighted by the Free Software Foundation, write to the Free
431
-Software Foundation; we sometimes make exceptions for this.  Our
432
-decision will be guided by the two goals of preserving the free status
433
-of all derivatives of our free software and of promoting the sharing
434
-and reuse of software generally.
435
-
436
-			    NO WARRANTY
437
-
438
-  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
439
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
440
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
441
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
442
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
443
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
444
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
445
-LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
446
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
447
-
448
-  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
449
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
450
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
451
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
452
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
453
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
454
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
455
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
456
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
457
-DAMAGES.
458
-

+ 0
- 79
ClimateControl/lib/IRremoteESP8266_ID1089/README.md View File

@@ -1,79 +0,0 @@
1
-# IRremote ESP8266 Library
2
-
3
-[![Build Status](https://travis-ci.org/markszabo/IRremoteESP8266.svg?branch=master)](https://travis-ci.org/markszabo/IRremoteESP8266)
4
-[![arduino-library-badge](https://www.ardu-badge.com/badge/IRremoteESP8266.svg?)](https://www.ardu-badge.com/IRremoteESP8266)
5
-[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/markszabo/IRremoteESP8266.svg)](http://isitmaintained.com/project/markszabo/IRremoteESP8266 "Average time to resolve an issue")
6
-[![Percentage of issues still open](http://isitmaintained.com/badge/open/markszabo/IRremoteESP8266.svg)](http://isitmaintained.com/project/markszabo/IRremoteESP8266 "Percentage of issues still open")
7
-[![GitLicense](https://gitlicense.com/badge/markszabo/IRremoteESP8266)](https://gitlicense.com/license/markszabo/IRremoteESP8266)
8
-
9
-This library enables you to **send _and_ receive** infra-red signals on an [ESP8266 using the Arduino framework](https://github.com/esp8266/Arduino) using common 940nm IR LEDs and common IR receiver modules. e.g. TSOP{17,22,24,36,38,44,48}* etc.
10
-
11
-## v2.5.5 Now Available
12
-Version 2.5.5 of the library is now [available](https://github.com/markszabo/IRremoteESP8266/releases/latest). You can view the [Release Notes](ReleaseNotes.md) for all the significant changes.
13
-
14
-#### Upgrading from pre-v2.0
15
-Usage of the library has been slightly changed in v2.0. You will need to change your usage to work with v2.0 and beyond. You can read more about the changes required on our [Upgrade to v2.0](https://github.com/markszabo/IRremoteESP8266/wiki/Upgrading-to-v2.0) page.
16
-
17
-#### Upgrading from pre-v2.5
18
-The library has changed from using constants declared as `#define` to
19
-[const](https://google.github.io/styleguide/cppguide.html#Constant_Names) with
20
-the appropriate naming per the
21
-[C++ style guide](https://google.github.io/styleguide/cppguide.html).
22
-This may potentially cause old programs to not compile.
23
-The most likely externally used `#define`s have been _aliased_ for limited
24
-backward compatibility for projects using the old style. Going forward, only the
25
-new `kConstantName` style will be supported for new protocol additions.
26
-
27
-In the unlikely case it does break your code, then you may have been referencing
28
-something you likely should not have. You should be able to quickly determine
29
-the new name from the old. e.g. `CONSTANT_NAME` to `kConstantName`.
30
-Use common sense or examining the library's code if this does affect code.
31
-
32
-## Troubleshooting
33
-Before reporting an issue or asking for help, please try to follow our [Troubleshooting Guide](https://github.com/markszabo/IRremoteESP8266/wiki/Troubleshooting-Guide) first.
34
-
35
-## Frequently Asked Questions
36
-Some common answers to common questions and problems are on our [F.A.Q. wiki page](https://github.com/markszabo/IRremoteESP8266/wiki/Frequently-Asked-Questions).
37
-
38
-## Installation
39
-##### Official releases via the Arduino IDE v1.8+ (Windows & Linux)
40
-1. Click the _"Sketch"_ -> _"Include Library"_ -> _"Manage Libraries..."_ Menu items.
41
-1. Enter `IRremoteESP8266` into the _"Filter your search..."_ top right search box.
42
-1. Click on the IRremoteESP8266 result of the search.
43
-1. Select the version you wish to install and click _"Install"_.
44
-
45
-##### Manual Installation for Windows
46
-1. Click on _"Clone or Download"_ button, then _"[Download ZIP](https://github.com/markszabo/IRremoteESP8266/archive->master.zip)"_ on the page.
47
-1. Extract the contents of the downloaded zip file.
48
-1. Rename the extracted folder to _"IRremoteESP8266"_.
49
-1. Move this folder to your libraries directory. (under windows: `C:\Users\YOURNAME\Documents\Arduino\libraries\`)
50
-1. Restart your Arduino IDE.
51
-1. Check out the examples.
52
-
53
-##### Using Git to install library ( Linux )
54
-```
55
-cd ~/Arduino/libraries
56
-git clone https://github.com/markszabo/IRremoteESP8266.git
57
-```
58
-###### To Update to the latest version of the library
59
-```
60
-cd ~/Arduino/libraries/IRremoteESP8266 && git pull
61
-```
62
-
63
-## Contributing
64
-If you want to [contribute](.github/CONTRIBUTING.md#how-can-i-contribute) to this project, consider:
65
-- [Report](.github/CONTRIBUTING.md#reporting-bugs) bugs and errors
66
-- Ask for enhancements
67
-- Improve our documentation
68
-- [Create issues](.github/CONTRIBUTING.md#reporting-bugs) and [pull requests](.github/CONTRIBUTING.md#pull-requests)
69
-- Tell other people about this library
70
-
71
-## Contributors
72
-Available [here](.github/Contributors.md)
73
-
74
-## Library History
75
-This library was originally based on Ken Shirriff's work (https://github.com/shirriff/Arduino-IRremote/)
76
-
77
-[Mark Szabo](https://github.com/markszabo/IRremoteESP8266) has updated the IRsend class to work on ESP8266 and [Sebastien Warin](https://github.com/sebastienwarin/IRremoteESP8266) the receiving & decoding part (IRrecv class).
78
-
79
-As of v2.0, the library was almost entirely re-written with the ESP8266's resources in mind.

+ 0
- 349
ClimateControl/lib/IRremoteESP8266_ID1089/ReleaseNotes.md View File

@@ -1,349 +0,0 @@
1
-# Release Notes
2
-
3
-## _v2.5.5 (20190207)_
4
-
5
-**[Bug Fixes]**
6
-- Fix decoding of Samsung A/C Extended messages. (#610)
7
-- Fix IRMQTTServer example to work with GPIO0 as IR_RX (#608)
8
-- Fix incorrect #define usage. (#597, #596)
9
-
10
-**[Features]**
11
-- Add deep decoding/construction of Daikin2 messages (#600)
12
-- Added Old Vestel A/C support (56 Bits) with full functions. (#607)
13
-
14
-**[Misc]**
15
-- Add ControlSamsungAC example code. (#599)
16
-- Add how to send a state/air-con to IRsendDemo.ino (#594)
17
-
18
-
19
-## _v2.5.4 (20190102)_
20
-
21
-**[Features]**
22
-- Experimental basic support for 39 Byte Daikin A/C (#583)
23
-- Handle send() repeats in A/C classes. Improve Coolix support. (#580)
24
-- Add optional RX pin pullup and dump raw messages in IRMQTTServer.ino (#589)
25
-
26
-**[Misc]**
27
-- Make auto_analyse_raw_data.py work with Python3 (#581)
28
-- Update CI/travis config due to esp8266 core 2.5.0 changes (#591)
29
-
30
-
31
-## _v2.5.3 (20181123)_
32
-
33
-**[Features]**
34
-- Add deep support for the Hitachi 28-Byte A/C Protocol (#563)
35
-- Deep decoding for Whirlpool A/C (#572)
36
-- Improve security options for IRMQTTServer example. (#575)
37
-- Require a changed firmware password before upload. (#576)
38
-
39
-**[Misc]**
40
-- Add missing '}' in output of Auto analyse. (#562)
41
-- Make A/C example code a bit more simple. (#571)
42
-
43
-
44
-## _v2.5.2 (20181021)_
45
-
46
-**[Bug Fixes]**
47
-- Add missing send() method to IRPanasonicAC class. (#545)
48
-- Add missing sendWhirlpoolAC() to IRMQTTServer.ino (#558)
49
-
50
-**[Features]**
51
-- Add IR receiving support to IRMQTTServer. (#543)
52
-- Pioneer support (#547)
53
-- Add support for a second LG protocol variant. (#552)
54
-- Support for short Panasonic A/C messages. (#553)
55
-- Add support for Panasonic CKP series A/Cs. (#554)
56
-- Experimental timer/clock support for Panasonic A/Cs. (#546)
57
-- Add Made With Magic (MWM) support (#557)
58
-
59
-**[Misc]**
60
-- Grammar and typo fixes (#541, #549)
61
-- Increase Panasonic A/C message tolerances. (#542)
62
-- Added command mode2_decode in tools/ (#557)
63
-- General code style cleanup (#560)
64
-
65
-
66
-## _v2.5.1 (20181002)_
67
-
68
-**[Bug Fixes]**
69
-- Correct the byte used for Samsung AC Swing. (#529)
70
-- Fix not sending Samsung A/C messages in IRMQTTServer. (#529)
71
-
72
-**[Features]**
73
-- Experimental support for Electra A/C messages. (#528)
74
-- Experimental support for Panasonic A/C messages. (#535)
75
-- Samsung A/C fixes & improvements (#529)
76
-- IRMQTTServer v0.6.0 (#530)
77
-
78
-**[Misc]**
79
-- Change required WifiManager lib version to v0.14
80
-- Add alias for RAWTICK to kRawTick. (#535)
81
-- Update sendLutron() status. (#515)
82
-- Remove leftover debug message in IRrecvDumpV2 (#526)
83
-
84
-
85
-## _v2.5.0 (20180919)_
86
-
87
-**[Bug Fixes]**
88
-- Fix HTML menu error for GICABLE in IRMQTTServer. (#516)
89
-- Fix Mitsubishi A/C mode setting. (#514)
90
-- Add missing ',' in auto analyse tool generated code. (#513)
91
-- Fix Fujitsu checksum validation. (#501)
92
-- Remove errant Repeat debug statement in IRMQTTServer. (#507)
93
-
94
-**[Features]**
95
-- Mitsubishi A/C decode improvements. (#514)
96
-- Basic support for Whirlpool A/C messages. (#511)
97
-- Basic support for Samsung A/C messages. (#512)
98
-- Experimental support for detailed Samsung A/C messages. (#521)
99
-- Experimental support for detailed Coolix A/C messages. (#518)
100
-- Experimental support for Lutron protocol. (#516)
101
-- Calculate and use average values for timings in analysing tool. (#513)
102
-
103
-**[Misc]**
104
-- Style change from using #define's for constants to `const kConstantName`.
105
-- Improve the JVC example code.
106
-
107
-
108
-## _v2.4.3 (20180727)_
109
-
110
-**[Bug Fixes]**
111
-- Handle Space Gaps better in auto analyse tool. (#482)
112
-- Correct min repeat for GICABLE in IRMQTTServer. (#494)
113
-
114
-**[Features]**
115
-- Add static IP config option to IRMQTTServer (#480)
116
-- Full decoding/encoding support for the Haier YRW02 A/C. (#485 #486 #487)
117
-
118
-**[Misc]**
119
-- Update LG (28-bit) HDR mark and space timings. (#492)
120
-- Spelling and grammar fixes (#491)
121
-
122
-
123
-## _v2.4.2 (20180601)_
124
-
125
-**[Bug Fixes]**
126
-- Timing Fix: Update the period offset compensation.
127
-
128
-**[Features]**
129
-- Improvements for IRMQTTServer example (#466)
130
-
131
-
132
-## _v2.4.1 (20180520)_
133
-
134
-**[Bug Fixes]**
135
-- Fix crash in IRMQTTServer when compiled under Arduino IDE. (#455)
136
-- Default bit length not set for RCMM in IRMQTTServer example. (#456)
137
-- Bad acknowledgements for some A/C protocols in IRMQTTServer example. (#460)
138
-
139
-**[Features]**
140
-- Allow disabling the use of delay() calls. (#450)
141
-- Initial support for G.I. Cable protocol. (#458)
142
-- Support of Hitachi A/C 13 & 53 byte messages. (#461)
143
-
144
-**[Misc]**
145
-- Auto Analyse Raw Data script converted to Python. (#454)
146
-
147
-## _v2.4.0 (20180407)_
148
-
149
-**[Bug Fixes]**
150
-- Add missing WiFi.begin() call to IRGCTCPServer example. (#433)
151
-- Add missing sendHaierAC() to IRMQTTServer example. (#434 & #444)
152
-- Make mqtt clientid unique in IRMQTTServer example. (#444)
153
-
154
-**[Features]**
155
-
156
-- Initial Mitsubishi projector protocol support. (#442)
157
-- Experimental support of Hitachi A/C messages. (#445)
158
-- Improve transmission pulse modulation support.
159
-  Allow disabling of transmission frequency modulation.(#439)
160
-
161
-**[Misc]**
162
-- IRMQTTServer example improvements. (#444)
163
-
164
-
165
-## _v2.3.3 (20180302)_
166
-
167
-**[Bug Fixes]**
168
-- Ensure the IR LED is off before we start. (#405)
169
-
170
-**[Features]**
171
-- Experimental decode support for Gree HVAC units (#397)
172
-- Initial support for Haier A/Cs. (#409)
173
-- Improve timing accuracy of unit tests. (#403)
174
-- Rework matchData() to handle equal total data bit time protocols. (#408)
175
-
176
-**[Misc]**
177
-- Add startup text to IRrecvDumpV2 and IRrecvDemo (#412)
178
-- Tweak timings on Fujitsu A/C header (#418)
179
-- AutoAnalyseRawData.sh: Add some support for handling larger than 64 bit codes. (#419)
180
-- Use better comments for send GPIO in examples. (#425)
181
-
182
-
183
-## _v2.3.2 (20180126)_
184
-
185
-**[Bug Fixes]**
186
-- Integer underflow caused device not to respond in `sendJVC()` (#401)
187
-
188
-**[Features]**
189
-- Initial support for sending & receiving Carrier HVAC codes. (#387)
190
-- Add Pronto HEX code support to _gc_decode_ tool. (#388)
191
-
192
-**[Misc]**
193
-- Make mDNS independent of MQTT in IRMQTTServer example code. (#390 #391)
194
-
195
-
196
-## _v2.3.1 (20171229)_
197
-
198
-**[Bug Fixes]**
199
-- Setting `#define SEND_FUJITSU_AC false` caused a compilation error (#375)
200
-- Integer underflow caused huge `space()` in `sendGeneric()` (#381)
201
-
202
-**[Features]**
203
-- Support sending & receiving Lasertag codes. (#374)
204
-- Reduce the library footprint by using a new `sendGeneric()` routine. (#373)
205
-
206
-**[Misc]**
207
-- Lots of grammar & typo fixes. (#378)
208
-- Update keywords.txt for Arduino IDE users (#371)
209
-- Update pins in examples so they are compatible with Adafruit boards. (#383)
210
-
211
-
212
-## _v2.3.0 (20171208)_
213
-
214
-**[Bug Fixes]**
215
-- Panasonic-based protocols had incorrect message gap. (#358)
216
-- Formatting error for large rawData values in example code. (#355)
217
-- Off-by-one error in payload_copy malloc. (#337)
218
-- Off-by-one error in unit test helper routines (#363)
219
-
220
-**[Features]**
221
-- Support sending and receiving Midea A/C codes.
222
-- Support for receiving Kelvinator A/C codes. (#332)
223
-- Support more operation features for Daikin A/Cs.
224
-- Support for decoding Daikin A/Cs.
225
-- Support sending and receiving Toshiba A/Cs. (#333)
226
-- Support sending and receiving AR-DB1 Fujitsu A/C codes. (#367)
227
-- Add new AutoAnalyseRawData.sh & RawToGlobalCache.sh tools (#345) (#343)
228
-- Support for MagiQuest wands. (#365)
229
-
230
-**[Misc]**
231
-- Add checksum verification to Kelvinator A/C decodes. (#348)
232
-- Changes to the threshold reporting of UNKNOWN messages (#347)
233
-- Major re-work of Daikin A/C support.
234
-- Sending for all A/Cs added to MQTT example code.
235
-- MQTT example code improvements. (#334)
236
-- IRrecvDumpV2 significant output improvements. (#363)
237
-- Improved unit test coverage for the library.
238
-
239
-
240
-## _v2.2.1 (20171025)_
241
-
242
-**[Features]**
243
-- Support for sending and decoding Nikai TV messages. (#311, #313)
244
-- gc_decode: External utility to decode Global Cache codes. (#308, #312)
245
-- IRMQTTServer: Example code to send IR messages via HTTP & MQTT. (#316, #323)
246
-- Improve converting 64bit values to hexadecimal. (#318)
247
-
248
-**[Misc]**
249
-- IRrecvDump.ino code is now deprecated. Use IRrecvDumpV2.ino instead. (#314)
250
-
251
-
252
-## _v2.2.0 (20170922)_
253
-
254
-**[Bug Fixes]**
255
-- Add printing output of RC-MM and RC-5X protocols in example code. (#284)
256
-- LG timing improvements based on observations (#291)
257
-
258
-**[Features]**
259
-- Automatic capture timing calibration for some protocols. (#268)
260
-- Support for creating & sending Trotec AC codes. (#279)
261
-- Support for creating & sending Argo Ulisse 13 DCI codes. (#280 #300)
262
-- Move to 2 microsecond timing resolution for capture of codes. (#287)
263
-- Capture buffer changes:
264
-- Size at runtime. (#276)
265
-- Message timeout at runtime. (#294)
266
-- Simplify creating & using a second buffer (#303)
267
-- New example code:
268
-  - Trotec A/C (#279)
269
-  - LG A/C units (#289)
270
-  - Argo Ulisse 13 DCI codes. (#300)
271
-
272
-
273
-## _v2.1.1 (20170711)_
274
-
275
-**[Bug Fixes]**
276
-- GlobalCache incorrectly using hardware offset for period calc. (#267)
277
-
278
-**[Features]**
279
-- Support reporting of 'NEC'-like 32-bit protocols. e.g. Apple TV remote (#265)
280
-- Add an example of sendRaw() to IRsendDemo.ino (#270)
281
-
282
-
283
-## _v2.1.0 (20170704)_
284
-
285
-**[Features]**
286
-- Support for sending Pronto IR codes. (#248)
287
-- Support for sending Fujitsu A/C codes. (#88)
288
-- Minor improvements to examples.
289
-
290
-
291
-## _v2.0.3 (20170618)_
292
-
293
-**[Bug fixes]**
294
-- Capture buffer could become corrupt after large message, breaking subsequent decodes. (#253)
295
-
296
-
297
-## _v2.0.2 (20170615)_
298
-
299
-**[Bug fixes]**
300
-- Correct decode issue introduced in v2.0.1 affecting multiple protocol decoders (#243)
301
-- Correct post-message gap for the Panasonic protocol(s) (#245)
302
-- Incorrect display of the decoded uint64_t value in the example code. (#245)
303
-
304
-
305
-## _v2.0.1 (20170614)_
306
-
307
-**[Bug fixes]**
308
-- Decoding protocols when it doesn't detect a post-command gap, and there is no more data. (#243)
309
-- Incorrect minimum size calculation when there is no post-command gap. (#243)
310
-
311
-
312
-## _v2.0.0 - 64 bit support and major improvements (20170612)_
313
-
314
-**[Misc]**
315
-- This is almost a complete re-write of the library.
316
-
317
-**[Features]**
318
-- All suitable protocols now handle 64-bit data messages and are repeatable via an optional argument.
319
-- Unit tests for all protocols.
320
-- Far better and stricter decoding for most protocols.
321
-- Address & command decoding for protocols where that information is available.
322
-- Much more precise timing for generation of signals sent.
323
-- Lower duty-cycles for some protocols.
324
-- Several new protocols added, and some new sending and decoding routines for existing ones.
325
-- Ability to optionally chose which protocols are included, enabling faster decoding and smaller code footprints if desired.
326
-- Support for far larger capture buffers. (e.g. RAWLEN > 256)
327
-
328
-**[Bug fixes]**
329
-- Numerous bug fixes.
330
-
331
-
332
-## _v1.2.0 (20170429)_
333
-
334
-**[Features]**
335
-- Add ability to copy IR capture buffer, and continue capturing. Means faster and better IR command decoding.
336
-- Reduce IRAM usage by 28 bytes.
337
-- Improve capture of RC-MM & Panasonic protocols.
338
-- Upgrade IRrecvDumpV2 to new IR capture buffer. Much fewer corrupted/truncated IR messages.
339
-
340
-
341
-## _v1.1.1 (20170413)_
342
-
343
-**[Bug fixes]**
344
-- Fix a reported problem when sending the LG protocol. Preemptive fix for possible similar cases.
345
-- Fix minor issues in examples.
346
-
347
-**[Features]**
348
-- Add documentation to some examples to aid new people.
349
-- Add ALPHA support for RC-MM protocol. (Known to be currently not 100% working.)

+ 0
- 99
ClimateControl/lib/IRremoteESP8266_ID1089/examples/ControlSamsungAC/ControlSamsungAC.ino View File

@@ -1,99 +0,0 @@
1
-/* Copyright 2019 David Conran
2
-*
3
-* An IR LED circuit *MUST* be connected to the ESP8266 on a pin
4
-* as specified by kIrLed below.
5
-*
6
-* TL;DR: The IR LED needs to be driven by a transistor for a good result.
7
-*
8
-* Suggested circuit:
9
-*     https://github.com/markszabo/IRremoteESP8266/wiki#ir-sending
10
-*
11
-* Common mistakes & tips:
12
-*   * Don't just connect the IR LED directly to the pin, it won't
13
-*     have enough current to drive the IR LED effectively.
14
-*   * Make sure you have the IR LED polarity correct.
15
-*     See: https://learn.sparkfun.com/tutorials/polarity/diode-and-led-polarity
16
-*   * Typical digital camera/phones can be used to see if the IR LED is flashed.
17
-*     Replace the IR LED with a normal LED if you don't have a digital camera
18
-*     when debugging.
19
-*   * Avoid using the following pins unless you really know what you are doing:
20
-*     * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
21
-*     * Pin 1/TX/TXD0: Any serial transmissions from the ESP8266 will interfere.
22
-*     * Pin 3/RX/RXD0: Any serial transmissions to the ESP8266 will interfere.
23
-*   * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
24
-*     for your first time. e.g. ESP-12 etc.
25
-*/
26
-#ifndef UNIT_TEST
27
-#include <Arduino.h>
28
-#endif
29
-#include <IRremoteESP8266.h>
30
-#include <IRsend.h>
31
-#include <ir_Samsung.h>
32
-
33
-const uint16_t kIrLed = 4;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).
34
-IRSamsungAc ac(kIrLed);     // Set the GPIO used for sending messages.
35
-
36
-void printState() {
37
-  // Display the settings.
38
-  Serial.println("Samsung A/C remote is in the following state:");
39
-  Serial.printf("  %s\n", ac.toString().c_str());
40
-}
41
-
42
-void setup() {
43
-  ac.begin();
44
-  Serial.begin(115200);
45
-  delay(200);
46
-
47
-  // Set up what we want to send. See ir_Samsung.cpp for all the options.
48
-  Serial.println("Default state of the remote.");
49
-  printState();
50
-  Serial.println("Setting initial state for A/C.");
51
-  ac.off();
52
-  ac.setFan(kSamsungAcFanLow);
53
-  ac.setMode(kSamsungAcCool);
54
-  ac.setTemp(25);
55
-  ac.setSwing(false);
56
-  printState();
57
-}
58
-
59
-void loop() {
60
-  // Turn the A/C unit on and set to cooling mode.
61
-  // Power changes require we send an extended message.
62
-  Serial.println("Sending an extended IR command to A/C ...");
63
-  ac.on();
64
-  ac.setMode(kSamsungAcCool);
65
-  ac.sendExtended();
66
-  printState();
67
-  delay(15000);  // wait 15 seconds
68
-
69
-  // Increase the fan speed.
70
-  Serial.println("Sending a normal IR command to A/C ...");
71
-  ac.setFan(kSamsungAcFanHigh);
72
-  ac.send();
73
-  printState();
74
-  delay(15000);
75
-
76
-  // Change to swing the fan.
77
-  Serial.println("Sending a normal IR command to A/C ...");
78
-  ac.setSwing(true);
79
-  ac.send();
80
-  printState();
81
-  delay(15000);
82
-
83
-  // Change to Fan mode, lower the speed, and stop the swing.
84
-  Serial.println("Sending a normal IR command to A/C ...");
85
-  ac.setSwing(false);
86
-  ac.setMode(kSamsungAcFan);
87
-  ac.setFan(kSamsungAcFanLow);
88
-  ac.send();
89
-  printState();
90
-  delay(15000);
91
-
92
-  // Turn the A/C unit off.
93
-  // Power changes require we send an extended message.
94
-  Serial.println("Sending an extended IR command to A/C ...");
95
-  ac.off();
96
-  ac.sendExtended();
97
-  printState();
98
-  delay(15000);  // wait 15 seconds
99
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/ControlSamsungAC/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 72
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCSendDemo/IRGCSendDemo.ino View File

@@ -1,72 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRsendGCDemo
3
- * demonstrates sending Global Cache-formatted IR codes with IRsend
4
- * Copyright 2009 Ken Shirriff
5
- * http://arcfn.com
6
- *
7
- * Version 0.2 June, 2017
8
- *   Added helpful comments
9
- *   Better includes files.
10
- * Version 0.1 30 March, 2016
11
- *   Based on Ken Shirriff's IrsendDemo
12
- *   Version 0.1 July, 2009
13
- *
14
- * An IR LED circuit *MUST* be connected to the ESP8266 on a pin
15
- * as specified by IR_LED below.
16
- *
17
- * TL;DR: The IR LED needs to be driven by a transistor for a good result.
18
- *
19
- * Suggested circuit:
20
- *     https://github.com/markszabo/IRremoteESP8266/wiki#ir-sending
21
- *
22
- * Common mistakes & tips:
23
- *   * Don't just connect the IR LED directly to the pin, it won't
24
- *     have enough current to drive the IR LED effectively.
25
- *   * Make sure you have the IR LED polarity correct.
26
- *     See: https://learn.sparkfun.com/tutorials/polarity/diode-and-led-polarity
27
- *   * Typical digital camera/phones can be used to see if the IR LED is
28
- * flashed. Replace the IR LED with a normal LED if you don't have a digital
29
- * camera when debugging.
30
- *   * Avoid using the following pins unless you really know what you are doing:
31
- *     * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
32
- *     * Pin 1/TX/TXD0: Any serial transmissions from the ESP8266 will
33
- * interfere.
34
- *     * Pin 3/RX/RXD0: Any serial transmissions to the ESP8266 will interfere.
35
- *   * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
36
- *     for your first time. e.g. ESP-12 etc.
37
- */
38
-
39
-#ifndef UNIT_TEST
40
-#include <Arduino.h>
41
-#endif
42
-#include <IRremoteESP8266.h>
43
-#include <IRsend.h>
44
-
45
-// Codes are in Global Cache format less the emitter ID and request ID.
46
-// These codes can be found in GC's Control Tower database.
47
-
48
-uint16_t Samsung_power_toggle[71] = {
49
-    38000, 1,  1,  170, 170, 20, 63, 20, 63, 20, 63,  20, 20, 20, 20,
50
-    20,    20, 20, 20,  20,  20, 20, 63, 20, 63, 20,  63, 20, 20, 20,
51
-    20,    20, 20, 20,  20,  20, 20, 20, 20, 20, 63,  20, 20, 20, 20,
52
-    20,    20, 20, 20,  20,  20, 20, 20, 20, 63, 20,  20, 20, 63, 20,
53
-    63,    20, 63, 20,  63,  20, 63, 20, 63, 20, 1798};
54
-
55
-#define IR_LED 4  // ESP8266 GPIO pin to use. Recommended: 4 (D2).
56
-
57
-IRsend irsend(IR_LED);  // Set the GPIO to be used to sending the message.
58
-
59
-void setup() {
60
-  irsend.begin();
61
-  Serial.begin(115200);
62
-}
63
-
64
-void loop() {
65
-  Serial.println("Toggling power");
66
-#if SEND_GLOBALCACHE
67
-  irsend.sendGC(Samsung_power_toggle, 71);
68
-#else   // SEND_GLOBALCACHE
69
-  Serial.println("Can't send because SEND_GLOBALCACHE has been disabled.");
70
-#endif  // SEND_GLOBALCACHE
71
-  delay(10000);
72
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCSendDemo/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 133
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCTCPServer/IRGCTCPServer.ino View File

@@ -1,133 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRGCTCPServer - send Global Cache-formatted codes via TCP.
3
- * An IR emitter must be connected to GPIO pin 4.
4
- * Version 0.2  May, 2017
5
- * Copyright 2016 Hisham Khalifa, http://www.hishamkhalifa.com
6
- * Copyright 2017 David Conran
7
- *
8
- * Example command - Samsung TV power toggle: 38000,1,1,170,170,20,63,20,63,20,63,20,20,20,20,20,20,20,20,20,20,20,63,20,63,20,63,20,20,20,20,20,20,20,20,20,20,20,20,20,63,20,20,20,20,20,20,20,20,20,20,20,20,20,63,20,20,20,63,20,63,20,63,20,63,20,63,20,63,20,1798\r\n
9
- * For more codes, visit: https://irdb.globalcache.com/
10
- *
11
- * How to use this program:
12
- *   1) Update "kSsid" and "kPassword" below for your WIFI network.
13
- *   2) Compile and upload the sketch to your ESP8266 module.
14
- *   3) (Optional) Use the serial connection to confirm it started and get the
15
- *      IP address.
16
- *   4) From a client machine, connect to port 4998 on the ESP8266, using
17
- *      'telnet', 'nc' (netcat), 'putty' or similar command, etc.
18
- *      You may need to install one.
19
- *   Unix/OSX:
20
- *     Start a shell. Then type:
21
- *       telnet <esp8266deviceIPaddress> 4998
22
- *   Windows:
23
- *     Start a new CMD window, then type:
24
- *       telnet <esp8266deviceIPaddress> 4998
25
- *
26
- *   5) Enter a Global Cache-formatted code, starting at the frequency,
27
- *      and then a return/enter at the end. No spaces. e.g.:
28
- *
29
- *   38000,1,1,170,170,20,63,20,63,20,63,20,20,20,20,20,20,20,20,20,20,20,63,20,63,20,63,20,20,20,20,20,20,20,20,20,20,20,20,20,63,20,20,20,20,20,20,20,20,20,20,20,20,20,63,20,20,20,63,20,63,20,63,20,63,20,63,20,63,20,1798
30
- *
31
- *   To exit the 'telnet' command:
32
- *     press <control> + <]> at the same time, then press 'q', and then <return>.
33
- *   or:
34
- *     <control> + <d> might work.
35
- *
36
- * This program will display the ESP's IP address on the serial console, or you
37
- * can check your wifi router for it's address.
38
- */
39
-
40
-#ifndef UNIT_TEST
41
-#include <Arduino.h>
42
-#endif
43
-#include <ESP8266WiFi.h>
44
-#include <IRremoteESP8266.h>
45
-#include <IRsend.h>
46
-#include <WiFiClient.h>
47
-#include <WiFiServer.h>
48
-
49
-const char* kSsid = "...";  // Put your WIFI SSID here.
50
-const char* kPassword = "...";  // Put your WIFI Password here.
51
-
52
-WiFiServer server(4998);  // Uses port 4998.
53
-WiFiClient client;
54
-
55
-uint16_t *code_array;
56
-#define IR_LED 4  // ESP8266 GPIO pin to use. Recommended: 4 (D2).
57
-
58
-IRsend irsend(IR_LED);  // Set the GPIO to be used to sending the message.
59
-
60
-void sendGCString(String str) {
61
-  int16_t index;
62
-  uint16_t count;
63
-
64
-  // Find out how many items there are in the string.
65
-  index = -1;
66
-  count = 1;
67
-  do {
68
-    index = str.indexOf(',', index + 1);
69
-    count++;
70
-  } while (index != -1);
71
-
72
-  // Now we know how many there are, allocate the memory to store them all.
73
-  code_array = reinterpret_cast<uint16_t*>(malloc(count * sizeof(uint16_t)));
74
-  // Check we malloc'ed successfully.
75
-  if (code_array == NULL) {  // malloc failed, so give up.
76
-    Serial.printf("\nCan't allocate %d bytes. (%d bytes free)\n",
77
-                  count * sizeof(uint16_t), ESP.getFreeHeap());
78
-    Serial.println("Giving up & forcing a reboot.");
79
-    ESP.restart();  // Reboot.
80
-    delay(500);  // Wait for the restart to happen.
81
-    return;  // Should never get here, but just in case.
82
-  }
83
-
84
-  // Now convert the strings to integers and place them in code_array.
85
-  count = 0;
86
-  uint16_t start_from = 0;
87
-  do {
88
-    index = str.indexOf(',', start_from);
89
-    code_array[count] = str.substring(start_from, index).toInt();
90
-    start_from = index + 1;
91
-    count++;
92
-  } while (index != -1);
93
-
94
-#if SEND_GLOBALCACHE
95
-  irsend.sendGC(code_array, count);  // All done. Send it.
96
-#endif  // SEND_GLOBALCACHE
97
-  free(code_array);  // Free up the memory allocated.
98
-}
99
-
100
-void setup() {
101
-  // initialize serial:
102
-  Serial.begin(115200);
103
-  delay(100);
104
-  Serial.println(" ");
105
-  Serial.println("IR TCP Server");
106
-  WiFi.begin(kSsid, kPassword);
107
-  while (WiFi.status() != WL_CONNECTED) {
108
-    delay(900);
109
-    Serial.print(".");
110
-  }
111
-
112
-  server.begin();
113
-  IPAddress myAddress = WiFi.localIP();
114
-  Serial.println(myAddress.toString());
115
-  irsend.begin();
116
-}
117
-
118
-void loop() {
119
-  while (!client)
120
-    client = server.available();
121
-
122
-  while (!client.connected()) {
123
-    delay(900);
124
-    client = server.available();
125
-  }
126
-
127
-  if (client.available()) {
128
-    String ir_code_str = client.readStringUntil('\r');  // Exclusive of \r
129
-    client.readStringUntil('\n');  // Skip new line as well
130
-    client.flush();
131
-    sendGCString(ir_code_str);
132
-  }
133
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRGCTCPServer/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 1737
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRMQTTServer/IRMQTTServer.ino
File diff suppressed because it is too large
View File


+ 0
- 28
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRMQTTServer/platformio.ini View File

@@ -1,28 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags = -DMQTT_MAX_PACKET_SIZE=512
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-  PubSubClient
10
-  WifiManager@0.14
11
-
12
-[env:nodemcuv2]
13
-platform = espressif8266
14
-framework = arduino
15
-board = nodemcuv2
16
-build_flags = ${common.build_flags}
17
-lib_deps =
18
-  ${common.lib_deps_builtin}
19
-  ${common.lib_deps_external}
20
-
21
-[env:d1_mini]
22
-platform=espressif8266
23
-framework=arduino
24
-board=d1_mini
25
-build_flags = ${common.build_flags}
26
-lib_deps =
27
-  ${common.lib_deps_builtin}
28
-  ${common.lib_deps_external}

+ 0
- 126
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRServer/IRServer.ino View File

@@ -1,126 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRServer - demonstrates sending IR codes controlled from a webserver
3
- * Version 0.2 June, 2017
4
- * Copyright 2015 Mark Szabo
5
- *
6
- * An IR LED circuit *MUST* be connected to the ESP8266 on a pin
7
- * as specified by kIrLed below.
8
- *
9
- * TL;DR: The IR LED needs to be driven by a transistor for a good result.
10
- *
11
- * Suggested circuit:
12
- *     https://github.com/markszabo/IRremoteESP8266/wiki#ir-sending
13
- *
14
- * Common mistakes & tips:
15
- *   * Don't just connect the IR LED directly to the pin, it won't
16
- *     have enough current to drive the IR LED effectively.
17
- *   * Make sure you have the IR LED polarity correct.
18
- *     See: https://learn.sparkfun.com/tutorials/polarity/diode-and-led-polarity
19
- *   * Typical digital camera/phones can be used to see if the IR LED is flashed.
20
- *     Replace the IR LED with a normal LED if you don't have a digital camera
21
- *     when debugging.
22
- *   * Avoid using the following pins unless you really know what you are doing:
23
- *     * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
24
- *     * Pin 1/TX/TXD0: Any serial transmissions from the ESP8266 will interfere.
25
- *     * Pin 3/RX/RXD0: Any serial transmissions to the ESP8266 will interfere.
26
- *   * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
27
- *     for your first time. e.g. ESP-12 etc.
28
- */
29
-#ifndef UNIT_TEST
30
-#include <Arduino.h>
31
-#endif
32
-#include <ESP8266WiFi.h>
33
-#include <ESP8266WebServer.h>
34
-#include <ESP8266mDNS.h>
35
-#include <IRremoteESP8266.h>
36
-#include <IRsend.h>
37
-#include <WiFiClient.h>
38
-
39
-const char* kSsid = ".....";
40
-const char* kPassword = ".....";
41
-MDNSResponder mdns;
42
-
43
-ESP8266WebServer server(80);
44
-
45
-const uint16_t kIrLed = 4;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).
46
-
47
-IRsend irsend(kIrLed);  // Set the GPIO to be used to sending the message.
48
-
49
-void handleRoot() {
50
-  server.send(200, "text/html",
51
-              "<html>" \
52
-                "<head><title>ESP8266 Demo</title></head>" \
53
-                "<body>" \
54
-                  "<h1>Hello from ESP8266, you can send NEC encoded IR" \
55
-                      "signals from here!</h1>" \
56
-                  "<p><a href=\"ir?code=16769055\">Send 0xFFE01F</a></p>" \
57
-                  "<p><a href=\"ir?code=16429347\">Send 0xFAB123</a></p>" \
58
-                  "<p><a href=\"ir?code=16771222\">Send 0xFFE896</a></p>" \
59
-                "</body>" \
60
-              "</html>");
61
-}
62
-
63
-void handleIr() {
64
-  for (uint8_t i = 0; i < server.args(); i++) {
65
-    if (server.argName(i) == "code") {
66
-      uint32_t code = strtoul(server.arg(i).c_str(), NULL, 10);
67
-#if SEND_NEC
68
-      irsend.sendNEC(code, 32);
69
-#endif  // SEND_NEC
70
-    }
71
-  }
72
-  handleRoot();
73
-}
74
-
75
-void handleNotFound() {
76
-  String message = "File Not Found\n\n";
77
-  message += "URI: ";
78
-  message += server.uri();
79
-  message += "\nMethod: ";
80
-  message += (server.method() == HTTP_GET)?"GET":"POST";
81
-  message += "\nArguments: ";
82
-  message += server.args();
83
-  message += "\n";
84
-  for (uint8_t i = 0; i < server.args(); i++)
85
-    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";
86
-  server.send(404, "text/plain", message);
87
-}
88
-
89
-void setup(void) {
90
-  irsend.begin();
91
-
92
-  Serial.begin(115200);
93
-  WiFi.begin(kSsid, kPassword);
94
-  Serial.println("");
95
-
96
-  // Wait for connection
97
-  while (WiFi.status() != WL_CONNECTED) {
98
-    delay(500);
99
-    Serial.print(".");
100
-  }
101
-  Serial.println("");
102
-  Serial.print("Connected to ");
103
-  Serial.println(kSsid);
104
-  Serial.print("IP address: ");
105
-  Serial.println(WiFi.localIP().toString());
106
-
107
-  if (mdns.begin("esp8266", WiFi.localIP())) {
108
-    Serial.println("MDNS responder started");
109
-  }
110
-
111
-  server.on("/", handleRoot);
112
-  server.on("/ir", handleIr);
113
-
114
-  server.on("/inline", [](){
115
-    server.send(200, "text/plain", "this works as well");
116
-  });
117
-
118
-  server.onNotFound(handleNotFound);
119
-
120
-  server.begin();
121
-  Serial.println("HTTP server started");
122
-}
123
-
124
-void loop(void) {
125
-  server.handleClient();
126
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRServer/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 52
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDemo/IRrecvDemo.ino View File

@@ -1,52 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRrecvDemo - demonstrates receiving IR codes with IRrecv
3
- * This is very simple teaching code to show you how to use the library.
4
- * If you are trying to decode your Infra-Red remote(s) for later replay,
5
- * use the IRrecvDumpV2.ino example code instead of this.
6
- * An IR detector/demodulator must be connected to the input kRecvPin.
7
- * Copyright 2009 Ken Shirriff, http://arcfn.com
8
- * Example circuit diagram:
9
- *  https://github.com/markszabo/IRremoteESP8266/wiki#ir-receiving
10
- * Changes:
11
- *   Version 0.2 June, 2017
12
- *     Changed GPIO pin to the same as other examples.
13
- *     Used our own method for printing a uint64_t.
14
- *     Changed the baud rate to 115200.
15
- *   Version 0.1 Sept, 2015
16
- *     Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009
17
- */
18
-
19
-#ifndef UNIT_TEST
20
-#include <Arduino.h>
21
-#endif
22
-#include <IRremoteESP8266.h>
23
-#include <IRrecv.h>
24
-#include <IRutils.h>
25
-
26
-// An IR detector/demodulator is connected to GPIO pin 14(D5 on a NodeMCU
27
-// board).
28
-const uint16_t kRecvPin = 14;
29
-
30
-IRrecv irrecv(kRecvPin);
31
-
32
-decode_results results;
33
-
34
-void setup() {
35
-  Serial.begin(115200);
36
-  irrecv.enableIRIn();  // Start the receiver
37
-  while (!Serial)  // Wait for the serial connection to be establised.
38
-    delay(50);
39
-  Serial.println();
40
-  Serial.print("IRrecvDemo is now running and waiting for IR message on Pin ");
41
-  Serial.println(kRecvPin);
42
-}
43
-
44
-void loop() {
45
-  if (irrecv.decode(&results)) {
46
-    // print() & println() can't handle printing long longs. (uint64_t)
47
-    serialPrintUint64(results.value, HEX);
48
-    Serial.println("");
49
-    irrecv.resume();  // Receive the next value
50
-  }
51
-  delay(100);
52
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDemo/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 104
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDump/IRrecvDump.ino View File

@@ -1,104 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRrecvDump - dump details of IR codes with IRrecv
3
- * Copyright 2009 Ken Shirriff, http://arcfn.com
4
- *
5
- ***** DEPRECATED - DO NOT USE *****
6
- * Unless you know what you are doing, you should be using the
7
- * IRrecvDumpV2.ino sketch/example instead for capturing & decoding IR messages.
8
- * In almost ALL ways it is BETTER, FASTER, and MORE DETAILED.
9
- *
10
- * This code is left only for legacy reasons, and as another simple example of
11
- * how to use the IRremoteESP8266 library.
12
- *
13
- * As of November 2017 it will no longer be updated or supported.
14
- * You have been warned.
15
- ***** DEPRECATED - DO NOT USE *****
16
- *
17
- * An IR detector/demodulator must be connected to the input RECV_PIN.
18
- * Version 0.2 Oct 2017
19
- * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009,
20
- * JVC and Panasonic protocol added by Kristian Lauszus
21
- *   (Thanks to zenwheel and other people at the original blog post)
22
- * LG added by Darryl Smith (based on the JVC protocol)
23
- */
24
-
25
-#ifndef UNIT_TEST
26
-#include <Arduino.h>
27
-#endif
28
-#include <IRremoteESP8266.h>
29
-#include <IRrecv.h>
30
-#include <IRutils.h>
31
-
32
-// an IR detector/demodulator is connected to GPIO pin 2
33
-uint16_t RECV_PIN = 2;
34
-
35
-IRrecv irrecv(RECV_PIN);
36
-
37
-decode_results results;
38
-
39
-void setup() {
40
-  Serial.begin(115200);
41
-  irrecv.enableIRIn();  // Start the receiver
42
-}
43
-
44
-void dump(decode_results *results) {
45
-  // Dumps out the decode_results structure.
46
-  // Call this after IRrecv::decode()
47
-  uint16_t count = results->rawlen;
48
-  if (results->decode_type == UNKNOWN) {
49
-    Serial.print("Unknown encoding: ");
50
-  } else if (results->decode_type == NEC) {
51
-    Serial.print("Decoded NEC: ");
52
-  } else if (results->decode_type == SONY) {
53
-    Serial.print("Decoded SONY: ");
54
-  } else if (results->decode_type == RC5) {
55
-    Serial.print("Decoded RC5: ");
56
-  } else if (results->decode_type == RC5X) {
57
-    Serial.print("Decoded RC5X: ");
58
-  } else if (results->decode_type == RC6) {
59
-    Serial.print("Decoded RC6: ");
60
-  } else if (results->decode_type == RCMM) {
61
-    Serial.print("Decoded RCMM: ");
62
-  } else if (results->decode_type == PANASONIC) {
63
-    Serial.print("Decoded PANASONIC - Address: ");
64
-    Serial.print(results->address, HEX);
65
-    Serial.print(" Value: ");
66
-  } else if (results->decode_type == LG) {
67
-    Serial.print("Decoded LG: ");
68
-  } else if (results->decode_type == JVC) {
69
-    Serial.print("Decoded JVC: ");
70
-  } else if (results->decode_type == AIWA_RC_T501) {
71
-    Serial.print("Decoded AIWA RC T501: ");
72
-  } else if (results->decode_type == WHYNTER) {
73
-    Serial.print("Decoded Whynter: ");
74
-  } else if (results->decode_type == NIKAI) {
75
-    Serial.print("Decoded Nikai: ");
76
-  }
77
-  serialPrintUint64(results->value, 16);
78
-  Serial.print(" (");
79
-  Serial.print(results->bits, DEC);
80
-  Serial.println(" bits)");
81
-  Serial.print("Raw (");
82
-  Serial.print(count, DEC);
83
-  Serial.print("): {");
84
-
85
-  for (uint16_t i = 1; i < count; i++) {
86
-    if (i % 100 == 0)
87
-      yield();  // Preemptive yield every 100th entry to feed the WDT.
88
-    if (i & 1) {
89
-      Serial.print(results->rawbuf[i] * kRawTick, DEC);
90
-    } else {
91
-      Serial.print(", ");
92
-      Serial.print((uint32_t) results->rawbuf[i] * kRawTick, DEC);
93
-    }
94
-  }
95
-  Serial.println("};");
96
-}
97
-
98
-void loop() {
99
-  if (irrecv.decode(&results)) {
100
-    dump(&results);
101
-    Serial.println("DEPRECATED: Please use IRrecvDumpV2.ino instead!");
102
-    irrecv.resume();  // Receive the next value
103
-  }
104
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDump/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 286
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDumpV2/IRrecvDumpV2.ino View File

@@ -1,286 +0,0 @@
1
-/*
2
- * IRremoteESP8266: IRrecvDumpV2 - dump details of IR codes with IRrecv
3
- * An IR detector/demodulator must be connected to the input kRecvPin.
4
- *
5
- * Copyright 2009 Ken Shirriff, http://arcfn.com
6
- * Copyright 2017 David Conran
7
- *
8
- * Example circuit diagram:
9
- *  https://github.com/markszabo/IRremoteESP8266/wiki#ir-receiving
10
- *
11
- * Changes:
12
- *   Version 0.4 July, 2018
13
- *     - Minor improvements and more A/C unit support.
14
- *   Version 0.3 November, 2017
15
- *     - Support for A/C decoding for some protcols.
16
- *   Version 0.2 April, 2017
17
- *     - Decode from a copy of the data so we can start capturing faster thus
18
- *       reduce the likelihood of miscaptures.
19
- * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009,
20
- */
21
-
22
-#ifndef UNIT_TEST
23
-#include <Arduino.h>
24
-#endif
25
-#include <IRrecv.h>
26
-#include <IRremoteESP8266.h>
27
-#include <IRutils.h>
28
-// The following are only needed for extended decoding of A/C Messages
29
-#include <ir_Coolix.h>
30
-#include <ir_Daikin.h>
31
-#include <ir_Fujitsu.h>
32
-#include <ir_Gree.h>
33
-#include <ir_Haier.h>
34
-#include <ir_Hitachi.h>
35
-#include <ir_Kelvinator.h>
36
-#include <ir_Midea.h>
37
-#include <ir_Mitsubishi.h>
38
-#include <ir_Panasonic.h>
39
-#include <ir_Samsung.h>
40
-#include <ir_Toshiba.h>
41
-#include <ir_Vestel.h>
42
-#include <ir_Whirlpool.h>
43
-
44
-
45
-// ==================== start of TUNEABLE PARAMETERS ====================
46
-// An IR detector/demodulator is connected to GPIO pin 14
47
-// e.g. D5 on a NodeMCU board.
48
-const uint16_t kRecvPin = 14;
49
-
50
-// The Serial connection baud rate.
51
-// i.e. Status message will be sent to the PC at this baud rate.
52
-// Try to avoid slow speeds like 9600, as you will miss messages and
53
-// cause other problems. 115200 (or faster) is recommended.
54
-// NOTE: Make sure you set your Serial Monitor to the same speed.
55
-const uint32_t kBaudRate = 115200;
56
-
57
-// As this program is a special purpose capture/decoder, let us use a larger
58
-// than normal buffer so we can handle Air Conditioner remote codes.
59
-const uint16_t kCaptureBufferSize = 1024;
60
-
61
-// kTimeout is the Nr. of milli-Seconds of no-more-data before we consider a
62
-// message ended.
63
-// This parameter is an interesting trade-off. The longer the timeout, the more
64
-// complex a message it can capture. e.g. Some device protocols will send
65
-// multiple message packets in quick succession, like Air Conditioner remotes.
66
-// Air Coniditioner protocols often have a considerable gap (20-40+ms) between
67
-// packets.
68
-// The downside of a large timeout value is a lot of less complex protocols
69
-// send multiple messages when the remote's button is held down. The gap between
70
-// them is often also around 20+ms. This can result in the raw data be 2-3+
71
-// times larger than needed as it has captured 2-3+ messages in a single
72
-// capture. Setting a low timeout value can resolve this.
73
-// So, choosing the best kTimeout value for your use particular case is
74
-// quite nuanced. Good luck and happy hunting.
75
-// NOTE: Don't exceed kMaxTimeoutMs. Typically 130ms.
76
-#if DECODE_AC
77
-// Some A/C units have gaps in their protocols of ~40ms. e.g. Kelvinator
78
-// A value this large may swallow repeats of some protocols
79
-const uint8_t kTimeout = 50;
80
-#else   // DECODE_AC
81
-// Suits most messages, while not swallowing many repeats.
82
-const uint8_t kTimeout = 15;
83
-#endif  // DECODE_AC
84
-// Alternatives:
85
-// const uint8_t kTimeout = 90;
86
-// Suits messages with big gaps like XMP-1 & some aircon units, but can
87
-// accidentally swallow repeated messages in the rawData[] output.
88
-//
89
-// const uint8_t kTimeout = kMaxTimeoutMs;
90
-// This will set it to our currently allowed maximum.
91
-// Values this high are problematic because it is roughly the typical boundary
92
-// where most messages repeat.
93
-// e.g. It will stop decoding a message and start sending it to serial at
94
-//      precisely the time when the next message is likely to be transmitted,
95
-//      and may miss it.
96
-
97
-// Set the smallest sized "UNKNOWN" message packets we actually care about.
98
-// This value helps reduce the false-positive detection rate of IR background
99
-// noise as real messages. The chances of background IR noise getting detected
100
-// as a message increases with the length of the kTimeout value. (See above)
101
-// The downside of setting this message too large is you can miss some valid
102
-// short messages for protocols that this library doesn't yet decode.
103
-//
104
-// Set higher if you get lots of random short UNKNOWN messages when nothing
105
-// should be sending a message.
106
-// Set lower if you are sure your setup is working, but it doesn't see messages
107
-// from your device. (e.g. Other IR remotes work.)
108
-// NOTE: Set this value very high to effectively turn off UNKNOWN detection.
109
-const uint16_t kMinUnknownSize = 12;
110
-// ==================== end of TUNEABLE PARAMETERS ====================
111
-
112
-// Use turn on the save buffer feature for more complete capture coverage.
113
-IRrecv irrecv(kRecvPin, kCaptureBufferSize, kTimeout, true);
114
-
115
-decode_results results;  // Somewhere to store the results
116
-
117
-// Display the human readable state of an A/C message if we can.
118
-void dumpACInfo(decode_results *results) {
119
-  String description = "";
120
-#if DECODE_DAIKIN
121
-  if (results->decode_type == DAIKIN) {
122
-    IRDaikinESP ac(0);
123
-    ac.setRaw(results->state);
124
-    description = ac.toString();
125
-  }
126
-#endif  // DECODE_DAIKIN
127
-#if DECODE_DAIKIN2
128
-  if (results->decode_type == DAIKIN2) {
129
-    IRDaikin2 ac(0);
130
-    ac.setRaw(results->state);
131
-    description = ac.toString();
132
-  }
133
-#endif  // DECODE_DAIKIN2
134
-#if DECODE_FUJITSU_AC
135
-  if (results->decode_type == FUJITSU_AC) {
136
-    IRFujitsuAC ac(0);
137
-    ac.setRaw(results->state, results->bits / 8);
138
-    description = ac.toString();
139
-  }
140
-#endif  // DECODE_FUJITSU_AC
141
-#if DECODE_KELVINATOR
142
-  if (results->decode_type == KELVINATOR) {
143
-    IRKelvinatorAC ac(0);
144
-    ac.setRaw(results->state);
145
-    description = ac.toString();
146
-  }
147
-#endif  // DECODE_KELVINATOR
148
-#if DECODE_MITSUBISHI_AC
149
-  if (results->decode_type == MITSUBISHI_AC) {
150
-    IRMitsubishiAC ac(0);
151
-    ac.setRaw(results->state);
152
-    description = ac.toString();
153
-  }
154
-#endif  // DECODE_MITSUBISHI_AC
155
-#if DECODE_TOSHIBA_AC
156
-  if (results->decode_type == TOSHIBA_AC) {
157
-    IRToshibaAC ac(0);
158
-    ac.setRaw(results->state);
159
-    description = ac.toString();
160
-  }
161
-#endif  // DECODE_TOSHIBA_AC
162
-#if DECODE_GREE
163
-  if (results->decode_type == GREE) {
164
-    IRGreeAC ac(0);
165
-    ac.setRaw(results->state);
166
-    description = ac.toString();
167
-  }
168
-#endif  // DECODE_GREE
169
-#if DECODE_MIDEA
170
-  if (results->decode_type == MIDEA) {
171
-    IRMideaAC ac(0);
172
-    ac.setRaw(results->value);  // Midea uses value instead of state.
173
-    description = ac.toString();
174
-  }
175
-#endif  // DECODE_MIDEA
176
-#if DECODE_HAIER_AC
177
-  if (results->decode_type == HAIER_AC) {
178
-    IRHaierAC ac(0);
179
-    ac.setRaw(results->state);
180
-    description = ac.toString();
181
-  }
182
-#endif  // DECODE_HAIER_AC
183
-#if DECODE_HAIER_AC_YRW02
184
-  if (results->decode_type == HAIER_AC_YRW02) {
185
-    IRHaierACYRW02 ac(0);
186
-    ac.setRaw(results->state);
187
-    description = ac.toString();
188
-  }
189
-#endif  // DECODE_HAIER_AC_YRW02
190
-#if DECODE_SAMSUNG_AC
191
-  if (results->decode_type == SAMSUNG_AC) {
192
-    IRSamsungAc ac(0);
193
-    ac.setRaw(results->state, results->bits / 8);
194
-    description = ac.toString();
195
-  }
196
-#endif  // DECODE_SAMSUNG_AC
197
-#if DECODE_COOLIX
198
-  if (results->decode_type == COOLIX) {
199
-    IRCoolixAC ac(0);
200
-    ac.setRaw(results->value);  // Coolix uses value instead of state.
201
-    description = ac.toString();
202
-  }
203
-#endif  // DECODE_COOLIX
204
-#if DECODE_PANASONIC_AC
205
-  if (results->decode_type == PANASONIC_AC &&
206
-      results->bits > kPanasonicAcShortBits) {
207
-    IRPanasonicAc ac(0);
208
-    ac.setRaw(results->state);
209
-    description = ac.toString();
210
-  }
211
-#endif  // DECODE_PANASONIC_AC
212
-#if DECODE_HITACHI_AC
213
-  if (results->decode_type == HITACHI_AC) {
214
-    IRHitachiAc ac(0);
215
-    ac.setRaw(results->state);
216
-    description = ac.toString();
217
-  }
218
-#endif  // DECODE_HITACHI_AC
219
-#if DECODE_WHIRLPOOL_AC
220
-  if (results->decode_type == WHIRLPOOL_AC) {
221
-    IRWhirlpoolAc ac(0);
222
-    ac.setRaw(results->state);
223
-    description = ac.toString();
224
-  }
225
-#endif  // DECODE_WHIRLPOOL_AC
226
-#if DECODE_VESTEL_AC
227
-  if (results->decode_type == VESTEL_AC) {
228
-    IRVestelAC ac(0);
229
-    ac.setRaw(results->value);  // Like Coolix, use value instead of state.
230
-    description = ac.toString();
231
-  }
232
-#endif  // DECODE_VESTEL_AC
233
-  // If we got a human-readable description of the message, display it.
234
-  if (description != "") Serial.println("Mesg Desc.: " + description);
235
-}
236
-
237
-// The section of code run only once at start-up.
238
-void setup() {
239
-  Serial.begin(kBaudRate, SERIAL_8N1, SERIAL_TX_ONLY);
240
-  while (!Serial)  // Wait for the serial connection to be establised.
241
-    delay(50);
242
-  Serial.println();
243
-  Serial.print("IRrecvDumpV2 is now running and waiting for IR input on Pin ");
244
-  Serial.println(kRecvPin);
245
-
246
-#if DECODE_HASH
247
-  // Ignore messages with less than minimum on or off pulses.
248
-  irrecv.setUnknownThreshold(kMinUnknownSize);
249
-#endif                  // DECODE_HASH
250
-  irrecv.enableIRIn();  // Start the receiver
251
-}
252
-
253
-// The repeating section of the code
254
-//
255
-void loop() {
256
-  // Check if the IR code has been received.
257
-  if (irrecv.decode(&results)) {
258
-    // Display a crude timestamp.
259
-    uint32_t now = millis();
260
-    Serial.printf("Timestamp : %06u.%03u\n", now / 1000, now % 1000);
261
-    if (results.overflow)
262
-      Serial.printf(
263
-          "WARNING: IR code is too big for buffer (>= %d). "
264
-          "This result shouldn't be trusted until this is resolved. "
265
-          "Edit & increase kCaptureBufferSize.\n",
266
-          kCaptureBufferSize);
267
-    // Display the basic output of what we found.
268
-    Serial.print(resultToHumanReadableBasic(&results));
269
-    dumpACInfo(&results);  // Display any extra A/C info if we have it.
270
-    yield();  // Feed the WDT as the text output can take a while to print.
271
-
272
-    // Display the library version the message was captured with.
273
-    Serial.print("Library   : v");
274
-    Serial.println(_IRREMOTEESP8266_VERSION_);
275
-    Serial.println();
276
-
277
-    // Output RAW timing info of the result.
278
-    Serial.println(resultToTimingInfo(&results));
279
-    yield();  // Feed the WDT (again)
280
-
281
-    // Output the results as source code
282
-    Serial.println(resultToSourceCode(&results));
283
-    Serial.println("");  // Blank line between entries
284
-    yield();             // Feed the WDT (again)
285
-  }
286
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRrecvDumpV2/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2
-lib_extra_dirs = ../../
3
-src_dir=.
4
-
5
-[common]
6
-build_flags =
7
-lib_deps_builtin =
8
-lib_deps_external =
9
-
10
-[env:nodemcuv2]
11
-platform = espressif8266
12
-framework = arduino
13
-board = nodemcuv2
14
-build_flags = ${common.build_flags}
15
-lib_deps =
16
-  ${common.lib_deps_builtin}
17
-  ${common.lib_deps_external}

+ 0
- 72
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendDemo/IRsendDemo.ino View File

@@ -1,72 +0,0 @@
1
-/* IRremoteESP8266: IRsendDemo - demonstrates sending IR codes with IRsend.
2
- *
3
- * Version 1.1 January, 2019
4
- * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009,
5
- * Copyright 2009 Ken Shirriff, http://arcfn.com
6
- *
7
- * An IR LED circuit *MUST* be connected to the ESP8266 on a pin
8
- * as specified by kIrLed below.
9
- *
10
- * TL;DR: The IR LED needs to be driven by a transistor for a good result.
11
- *
12
- * Suggested circuit:
13
- *     https://github.com/markszabo/IRremoteESP8266/wiki#ir-sending
14
- *
15
- * Common mistakes & tips:
16
- *   * Don't just connect the IR LED directly to the pin, it won't
17
- *     have enough current to drive the IR LED effectively.
18
- *   * Make sure you have the IR LED polarity correct.
19
- *     See: https://learn.sparkfun.com/tutorials/polarity/diode-and-led-polarity
20
- *   * Typical digital camera/phones can be used to see if the IR LED is flashed.
21
- *     Replace the IR LED with a normal LED if you don't have a digital camera
22
- *     when debugging.
23
- *   * Avoid using the following pins unless you really know what you are doing:
24
- *     * Pin 0/D3: Can interfere with the boot/program mode & support circuits.
25
- *     * Pin 1/TX/TXD0: Any serial transmissions from the ESP8266 will interfere.
26
- *     * Pin 3/RX/RXD0: Any serial transmissions to the ESP8266 will interfere.
27
- *   * ESP-01 modules are tricky. We suggest you use a module with more GPIOs
28
- *     for your first time. e.g. ESP-12 etc.
29
- */
30
-
31
-#ifndef UNIT_TEST
32
-#include <Arduino.h>
33
-#endif
34
-#include <IRremoteESP8266.h>
35
-#include <IRsend.h>
36
-
37
-const uint16_t kIrLed = 4;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).
38
-
39
-IRsend irsend(kIrLed);  // Set the GPIO to be used to sending the message.
40
-
41
-// Example of data captured by IRrecvDumpV2.ino
42
-uint16_t rawData[67] = {9000, 4500, 650, 550, 650, 1650, 600, 550, 650, 550,
43
-                        600, 1650, 650, 550, 600, 1650, 650, 1650, 650, 1650,
44
-                        600, 550, 650, 1650, 650, 1650, 650, 550, 600, 1650,
45
-                        650, 1650, 650, 550, 650, 550, 650, 1650, 650, 550,
46
-                        650, 550, 650, 550, 600, 550, 650, 550, 650, 550,
47
-                        650, 1650, 600, 550, 650, 1650, 650, 1650, 650, 1650,
48
-                        650, 1650, 650, 1650, 650, 1650, 600};
49
-// Example Samsung A/C state captured from IRrecvDumpV2.ino
50
-uint8_t samsungState[kSamsungAcStateLength] = {
51
-    0x02, 0x92, 0x0F, 0x00, 0x00, 0x00, 0xF0,
52
-    0x01, 0xE2, 0xFE, 0x71, 0x40, 0x11, 0xF0};
53
-
54
-void setup() {
55
-  irsend.begin();
56
-  Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
57
-}
58
-
59
-void loop() {
60
-  Serial.println("NEC");
61
-  irsend.sendNEC(0x00FFE01FUL);
62
-  delay(2000);
63
-  Serial.println("Sony");
64
-  irsend.sendSony(0xa90, 12, 2);  // 12 bits & 2 repeats
65
-  delay(2000);
66
-  Serial.println("a rawData capture from IRrecvDumpV2");
67
-  irsend.sendRaw(rawData, 67, 38);  // Send a raw data capture at 38kHz.
68
-  delay(2000);
69
-  Serial.println("a Samsung A/C state from IRrecvDumpV2");
70
-  irsend.sendSamsungAC(samsungState);
71
-  delay(2000);
72
-}

+ 0
- 17
ClimateControl/lib/IRremoteESP8266_ID1089/examples/IRsendDemo/platformio.ini View File

@@ -1,17 +0,0 @@
1
-[platformio]
2