Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for RX pin pullup and send whole buffer for received raw messages in IRMQTTServer.ino #589

Merged
merged 9 commits into from
Dec 30, 2018

Conversation

matgoebl
Copy link
Contributor

Little improvements to IRMQTTServer.ino

  • Add option for RX pin pullup (I'm using a SFH5110-38 receiver, that works with 5V. So I added a diode from SFH output to ESP input as simple level shifter, but this solution needs a 3.3V pullup at ESP side. I saved the external pullup by activating the internal pullup.)
  • Send whole buffer for received raw messages (I wanted to decode the IR messages for my flameless christmas candles.)

@crankyoldgit crankyoldgit self-requested a review December 28, 2018 00:54
Copy link
Owner

@crankyoldgit crankyoldgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes. Great idea. Thanks for the contribution.

Just a few nitpicks/suggestions (see review comments) and, the Travis Build seems to have had an intermittent failure. Can you please go here and restart it?
https://travis-ci.org/markszabo/IRremoteESP8266/builds/472783248 We need to have it pass successfully before we can merge etc.

examples/IRMQTTServer/IRMQTTServer.ino Outdated Show resolved Hide resolved
examples/IRMQTTServer/IRMQTTServer.ino Show resolved Hide resolved
examples/IRMQTTServer/IRMQTTServer.ino Show resolved Hide resolved
matgoebl and others added 2 commits December 28, 2018 09:17
Add comments to increase MQTT_MAX_PACKET_SIZE.
Fix using the enum value for UNKNOWN type.
Try to fix some travis issues.
- Upgrade to newer arduino package.
- Breaking changes because of esp8266 core v2.5
  - CpuFrequency -> xtal
  - FlashSize -> eesz
@crankyoldgit
Copy link
Owner

Please update/rebase/pull etc to include PR #591 as it will fix the travis issue.

Copy link
Contributor Author

@matgoebl matgoebl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes rebased on upstream/master.

Copy link
Owner

@crankyoldgit crankyoldgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix those two style/lint issues and it should pass the travis checks and be good to go, and I'll merge it once done.

examples/IRMQTTServer/IRMQTTServer.ino Outdated Show resolved Hide resolved
examples/IRMQTTServer/IRMQTTServer.ino Outdated Show resolved Hide resolved
Copy link
Contributor Author

@matgoebl matgoebl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now CI is happy - thanks for your help!

Copy link
Owner

@crankyoldgit crankyoldgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for all the minor changes.

@crankyoldgit crankyoldgit merged commit ed634e7 into crankyoldgit:master Dec 30, 2018
crankyoldgit added a commit that referenced this pull request Jan 2, 2019
**[Features]**
- Experimental basic support for 39 Byte Daikin A/C (#583)
- Handle send() repeats in A/C classes. Improve Coolix support. (#580)
- Add optional RX pin pullup and dump raw messages in IRMQTTServer.ino (#589)

**[Misc]**
- Handle send() repeats in A/C classes. Improve Coolix support. (#580)
- Update CI/travis config due to esp8266 core 2.5.0 changes (#591)
crankyoldgit added a commit that referenced this pull request Jan 2, 2019
**[Features]**
- Experimental basic support for 39 Byte Daikin A/C (#583)
- Handle send() repeats in A/C classes. Improve Coolix support. (#580)
- Add optional RX pin pullup and dump raw messages in IRMQTTServer.ino (#589)

**[Misc]**
- Make auto_analyse_raw_data.py work with Python3 (#581)
- Update CI/travis config due to esp8266 core 2.5.0 changes (#591)
@crankyoldgit crankyoldgit mentioned this pull request Jan 2, 2019
crankyoldgit added a commit that referenced this pull request Jan 2, 2019
**[Features]**
- Experimental basic support for 39 Byte Daikin A/C (#583)
- Handle send() repeats in A/C classes. Improve Coolix support. (#580)
- Add optional RX pin pullup and dump raw messages in IRMQTTServer.ino (#589)

**[Misc]**
- Make auto_analyse_raw_data.py work with Python3 (#581)
- Update CI/travis config due to esp8266 core 2.5.0 changes (#591)
@crankyoldgit
Copy link
Owner

FYI, this has been included in the new v2.5.4 release of the library.

Repository owner locked as resolved and limited conversation to collaborators Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants