GithubHelp home page GithubHelp logo

Comments (11)

mortenmathiasen avatar mortenmathiasen commented on August 23, 2024

Sonoff-Tasmota is something different. It is primaryly used for turning on and off power. To control a Heat pump you should consider to use a home automation system instead. I am controlling Panasonic heat pump with Home assistant using heatpumpir. To turn on and off power for a simple fan I use Sonoff-Tasmota connected to the same Home assistant instance.

from arduino-heatpumpir.

flashtel avatar flashtel commented on August 23, 2024

from arduino-heatpumpir.

mortenmathiasen avatar mortenmathiasen commented on August 23, 2024

I use wireless integration betweeen heatpump and MQTT by using MySensors. MySensors suggests to use Domoticz as home automation system. However, I chose to use Home Assistant because it allows me to create a simpler user interface and do customized settings/programming.

from arduino-heatpumpir.

brucysNZ avatar brucysNZ commented on August 23, 2024

Hi @mortenmathiasen
Is your heat pump and Mqtt still working?
I would like to know more as this is my next project at home.
Using home assistant and familiar with Tasmota.
Not sure about the board or flashing your using though
Cheers

from arduino-heatpumpir.

mortenmathiasen avatar mortenmathiasen commented on August 23, 2024

MQTT and Home Assistant are working just fine on the Raspberry PI board. However, I have dropped the Arduino board because it has a hard time sending a precise signal to the heat pump. Heat pump IR signals are very long and complicated strings which means that the timing has to be very precise. Checking my signal from the arduino and the original remote control showed that the content from the arduino was correct, but the timing was very poor which meant that the heat pump was not able to interpret the signal from the arduino correctly.

from arduino-heatpumpir.

N-Storm avatar N-Storm commented on August 23, 2024

@mortenmathiasen which IRSender class you've used with Arduino? If you've used IRSenderPWM it should be pretty accurate.

from arduino-heatpumpir.

mortenmathiasen avatar mortenmathiasen commented on August 23, 2024

If used MySensors which does this:

#ifndef ESP8266

   IRSenderPWM irSender(9);       // IR led on Arduino digital pin 9, using Arduino PWM

#else

   IRSenderBitBang irSender(D2);  // IR led on Wemos D1 mini, connect between D2 and G

#endif

As I used Arduino micro I suspect that I didn't use IRSenderPWM. I think I e.g. would need to use NodeMCU instead to use IRSenderPWM?

from arduino-heatpumpir.

brucysNZ avatar brucysNZ commented on August 23, 2024

@mortenmathiasen
So being very new to this type of setup and programming. I would very much like to setup one of these units for our Heat Pump. Not sure if they model is noted in the available files thought, as we have a Panasonic E18PKR model in NZ. Hope it does
In terms of software and hardware

  1. You use the Sensebender + nRF24L01. Could I use a D1 Mini or a NodeMCU instead?
  2. Software. I am guessing I would use Panasonic DKE version. However how do I get this onto the hardware board and what other software is required

Sorry for all the questions and my lack of understanding, however I am keen to learn and build it for our home

Thanks

from arduino-heatpumpir.

ToniA avatar ToniA commented on August 23, 2024

I would suggest using the espeasy firmware. I have built some binaries a while ago: https://github.com/ToniA/ESPEasy/releases

For instructions, take a look at this: https://github.com/ToniA/ESPEasy/blob/HeatpumpIR/src/_P115_HeatpumpIR.ino

from arduino-heatpumpir.

brucysNZ avatar brucysNZ commented on August 23, 2024

@ToniA Thanks heaps for info. So flash .bin onto what device? D1 Mini or NodeMCU? Which is best device.
Thanks again

from arduino-heatpumpir.

N-Storm avatar N-Storm commented on August 23, 2024

As I used Arduino micro I suspect that I didn't use IRSenderPWM. I think I e.g. would need to use NodeMCU instead to use IRSenderPWM?

Nope, exactly the opposite. Code you've quoted does uses IRSenderPWM if ESP8266 is NOT defined. I.e. it's any AVR based Arduino, including micro. Weird you didn't had good timings with it. Probably it wasn't a timing issue but a LED power insted? How did you know that the timings were inaccurate? Did you measured them in some way? Please describe. Connection schematics would be useful too. I connect via 2n3904 to get 100 mA power to IR LED.

@brucysNZ, both D1 Mini and NodeMCU are based on the ESP8266. They are exactly the same in terms of hardware. The only difference are the number of available pins. D1 Mini does exposes only some of them. So if you don't need more pins it should be fine.
But the ESPEasy uses older heatpumpir library which has only IRSenderBitBang class available for ESP8266. Which was pretty inaccurate and you won't get a good distance from it. You can try it, but for longer distance it should be updated and recompilled with new library. I've added pair of new IRSender classes in #32 which improves carrier frequency accuracy.

from arduino-heatpumpir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.