Search found 68 matches

by ToniA
16 Sep 2020, 09:22
Forum: Introduce yourself
Topic: Hi All From Finland
Replies: 3
Views: 518

Re: Hi All From Finland

I'm from Kaarina, Finland. I'm also the author of plugin P088_HeatpumpIR
by ToniA
14 Sep 2020, 10:43
Forum: ESP Easy: Software
Topic: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?
Replies: 7
Views: 1853

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

Yes, I noticed that P004 (Temperature) and P080 (iButton) have almost the same 1-wire low-level code. And now I made the third copy of it.

Is there any reason to not use the standard Arduino OneWire and DallasTemperature libraries?
by ToniA
14 Sep 2020, 09:07
Forum: ESP Easy: Software
Topic: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?
Replies: 7
Views: 1853

Re: How could it be difficult to integrate 1-wire DS2423 in easpeasy ?

Long overdue, but I finally published the plugin I've been running for some years. I just refactored it, based on latest _P004_Dallas.ino, so it works with the most current release, mega-20200913. I have tested it both on ESP8266 (Wemos D1 mini) and ESP32 (M5Stack Atom Lite). https://github.com/lets...
by ToniA
27 Aug 2020, 08:56
Forum: ESP Easy: General Discussion
Topic: EspEasy not counting
Replies: 12
Views: 891

Re: EspEasy not counting

I have Wemos D1 mini with two pulse counters counting S0 pulses, GPIO-14 (D5) and GPIO-12 (D6). I also have external pullup resistors. Works fine, although the build I have is really old (ESP Easy Mega build 20102).
by ToniA
08 Aug 2020, 11:45
Forum: ESP Easy: General Discussion
Topic: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?
Replies: 18
Views: 2323

Re: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?

That looks strange. The IDE should open all the code files in the folder, and include them into the build.
by ToniA
08 Aug 2020, 10:56
Forum: ESP Easy: General Discussion
Topic: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?
Replies: 18
Views: 2323

Re: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?

Are you sure you have the whole project, and not just the rawirdecode.ino? In Arduino IDE, you should have a lot of tabs, first one for the ino file, and then one for each cpp file. I just tried to compile it for board 'Arduino Nano', and it compiles. I just don't have any way to verify if it actual...
by ToniA
30 Jul 2020, 09:22
Forum: ESP Easy: General Discussion
Topic: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?
Replies: 18
Views: 2323

Re: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?

Use a plugin which is intended for A/C control. See my post above.
by ToniA
28 Jul 2020, 08:52
Forum: ESP Easy: General Discussion
Topic: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?
Replies: 18
Views: 2323

Re: how build 36 or 37 or 39 or 40 Khz frequency with espeasy (esp8266) ?

Air conditioner IR protocols are very different from TV etc. protocols. The signals are very long, and typically include all the settings at once. Take a look at the IRext images (https://github.com/letscontrolit/ESPEasy/releases, the IRext images are also included into the builds). There are two pl...
by ToniA
21 Jan 2020, 07:49
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Yes, there's a totally separate message for Powerful / Quiet modes. I think it was also a toggle, so you can only switch the state, instead of going into a specific state. I think it defaults to OFF for both if you turn the device first off and then on.
by ToniA
02 Oct 2019, 12:48
Forum: ESP Easy: Projects / Applications
Topic: IR remote control A/C Domoticz - Wemos
Replies: 5
Views: 10920

Re: IR remote control A/C Domoticz - Wemos

Upload the IR_extended image into your device Define the HeatpumpIR device (it needs a GPIO) Connect the LED (in series with some small resistor) between GPIO and GND. For visual testing you can use a visible light LED, for A/C control you need an IR LED Go to the Tools page on your ESP Easy device...
by ToniA
02 Oct 2019, 07:43
Forum: ESP Easy: Projects / Applications
Topic: IR remote control A/C Domoticz - Wemos
Replies: 5
Views: 10920

Re: IR remote control A/C Domoticz - Wemos

A/C codes are much longer and more complex than the TV ones. You just get a part of the dump, not the whole signal. Take a look at ESPEasy plugins P035 and P088, both have support for certain A/C models: https://espeasy.readthedocs.io/en/latest/Plugin/P035.html#p035-page (read the source ino file co...
by ToniA
25 Sep 2019, 07:20
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

The PR just got merged, so the latest binary release includes those changes. The images are minimal_IRext_ESP8266_1M and minimal_IRext_ESP8266_4M1M.
by ToniA
24 Sep 2019, 11:09
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

The minimal_IRext_ESP8266_1M and minimal_IRext_ESP8266_4M1M images already include these plugins. I have a PR open to include basic sensor and switch plugins to those images: https://github.com/letscontrolit/ESPEasy/pull/2620
by ToniA
24 Jan 2019, 11:54
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

This explains the parameters: https://github.com/ToniA/ESPEasy/blob/H ... IR.ino#L31

The whole state is always sent at once, the 'real' remote control does the same.
by ToniA
24 Jan 2019, 11:30
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

You don't actually need a KY-005, as the 38 kHz carrier frequency is already generated by the software. Just connect an infrared led (you should use some resistor also) between GND and the data pin. If you want to use the KY-005, you need to recompile the image, and change the transmitter class to '...
by ToniA
24 Jan 2019, 11:06
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

The led should be off when it's not transmitting. Also, connect the led between GND (led -) and D3 (led +).
by ToniA
23 Jan 2019, 16:59
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Also you can visually check if it's working by using any visible light led instead. The led should blink briefly when it's transmitting.
by ToniA
22 Jan 2019, 08:42
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

There are two supported Daikin models, called 'daikin' and 'daikin_arc417'. The names are defined in the source code files in here: https://github.com/ToniA/arduino-heatpumpir

This is the schema I have been using to decode the signals: https://github.com/ToniA/Raw-IR-decoder-for-Arduino
by ToniA
21 Jan 2019, 12:26
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

You can use the ESPEasy Mega release from here: https://github.com/ToniA/ESPEasy/releases This implements also a new command called 'heatpumpir', so if you go to 'Tools', you should be able to execute commands like this (see https://github.com/ToniA/ESPEasy/blob/HeatpumpIR/src/_P115_HeatpumpIR.ino f...
by ToniA
12 Oct 2018, 06:10
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

It doesn't work on ESP8266, I think it would require quite a bit of changes as it's somewhat hardware-dependent.
by ToniA
27 Sep 2018, 08:45
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

I have a working build here: https://github.com/ToniA/ESPEasy (branch HeatpumpIR). I also have the binaries (they run at least on Wemos D1 Mini) under 'releases'.
by ToniA
14 May 2018, 17:55
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

The hex code seems to be OK, but does something else cause some extra blinks or something, as there are these extra 'W' and 'H' symbols in the beginning and at the end of the code? I just wonder... I think it has to be about the timings, and the logic the software is really quite simple. But note th...
by ToniA
03 Apr 2018, 06:58
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

I have a fully working, but quite old version of ESPEasy with HeatpumpIR here: https://github.com/ToniA/ESPEasy. Porting to the latest ESP Easy has been on my task list for ages... I'm still using this old build as it works well enough for my purposes.
by ToniA
27 Sep 2017, 13:58
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

check this row out: https://github.com/ToniA/arduino-heatpu ... R.cpp#L191, and let me know if setting 0x00 to the byte position 15 does the trick.
by ToniA
24 Sep 2017, 18:54
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

We'd need to find out what goes wrong with the IR code. The most obvious way would be to build an IR receiver with Arduino + IR receiver, like in this sketch: https://github.com/ToniA/Raw-IR-decoder-for-Arduino The just record a sample from the real remote, and compare it against the code sent by th...
by ToniA
24 Jul 2017, 14:01
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

It could actually be a part of the Mega release... I haven't measured any memory usage etc, so I have no idea how it would affect the overall package.
by ToniA
29 Jun 2017, 21:33
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Any device capable of running ESPEasy should work together with the P115 plugin.
by ToniA
13 Jun 2017, 19:24
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

This is really strange. So far I have only tried out the Wemos D1 mini microcontrollers, and they have been working just fine, never had any issues with those. Are you sure those output pins are free on NodeMCU, i.e. not tied into anything else? Any chance you could try with other pins?
by ToniA
04 Jun 2017, 15:38
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Yes, this looks correct. The next step is to start building decoder functionality for this model, in the same sketch you are now running.
by ToniA
04 Jun 2017, 10:12
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

You need to select a different decoding mode. The option '1' is not right for this model, as you see 'h' symbols in the middle of the data stream.
by ToniA
02 Jun 2017, 12:35
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Could you try this decoder: https://github.com/ToniA/Raw-IR-decoder-for-Arduino

Even if it wouldn't understand the protocol, it should give out the data in a format which is easier to read.
by ToniA
23 Apr 2017, 11:41
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

I thought I replied to this chain yesterday, but can't find the message anywhere. Yes, the 'samsung' was a bad example, as I later refactored the Samsung implementation into two different models, so there's no 'samsung' there any more. If the log says the code was sent, then everything should be fin...
by ToniA
22 Apr 2017, 16:16
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

In ESPEasy you only need to configure the pin you connect the LED into (you can first try out with red/green/yellow/whatever color LED to see it's working).

The heatpump model is in the message, see the second message of this thread for an example. This works both with http and mqtt messages.
by ToniA
21 Apr 2017, 18:53
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Yes, 940 nm IR LED is the right one. If you have any old and unused remote controllers, you can also strip those apart.
by ToniA
21 Apr 2017, 17:52
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Just look at the Arduino example on this page: https://github.com/ToniA/arduino-heatpumpir -> look at the readme. You need an IR led + some resistor, the value does not matter much, something in the range from tens of ohms to a kilo-ohm. Regardless of which resistor you use the range is nowhere clos...
by ToniA
20 Apr 2017, 06:57
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

The library now has 'qlima_1' and 'qlima_2', as different model years of this heatpump have different control messages for the 'frost guard' mode, or 'maintenance' as I call it (heating at ~10 degrees C). If you just use the 'normal' functions, you can also use it as 'carrier_mca'.
by ToniA
18 Apr 2017, 06:59
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

It also seems that the 'frost guard' or 'maintenance mode' (as I call it) has two different messages, based on the model year. The older version does not work yet, I need to implement something to have two different Qlima/Zibro models with different maintenance mode messages. So stay tuned for furth...
by ToniA
17 Apr 2017, 10:18
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

I made the changes into the HeatpumpIR library and pushed into Github. So if the ESPEasy builds always use the latest library versions, the next build hopefully includes this. The Carrier MCA now also supports heat mode (it was originally sampled from a device which was only an air conditioner) and ...
by ToniA
15 Apr 2017, 09:55
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Yes, that's what I mean. The C++ class name in the code is 'CarrierMCAHeatpumpIR', and in the web interface it's known as 'carrier_mca'. Are you able to build a new build of the ESPEasy? It looks like the file CarrierHeatpumpIR.cpp in the HeatpumpIR library would need a change, starting from line 28...
by ToniA
14 Apr 2017, 20:28
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Hi, So you command it as CarrierMCAHeatpumpIR ? Take a look at this code line: https://github.com/ToniA/arduino-heatpumpir/blob/master/CarrierHeatpumpIR.cpp#L287 Would it work if you change the code starting from that line to this: // New header IR.mark(CARRIER_AIRCON2_BIT_MARK); IR.space(CARRIER_AI...
by ToniA
02 Apr 2017, 19:09
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Let's hope so, but I need a lot of help from you :)
by ToniA
02 Apr 2017, 17:34
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Yes, that's the way all the supported models have been done.
by ToniA
02 Apr 2017, 13:54
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

No, unless it uses some known protocol. If not, then we'd need to reverse-engineer it. I bit of work, but this is how all the protocols in the HeatpumpIR library have been developed. See these: https://github.com/ToniA/arduino-heatpumpir https://github.com/ToniA/Raw-IR-decoder-for-Arduino Even if th...
by ToniA
31 Mar 2017, 11:40
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

I've used 940 nm leds. The range is not very good, I think you could get a few meters with 100 ohms. The resistor value does not really matter much, just use something.
by ToniA
31 Mar 2017, 08:00
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

OK, done :) So the _P115 on the plugin playground now works against HeatpumpIR library version 1.0.6.
by ToniA
30 Mar 2017, 21:13
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

Oh yes, I've done further development on the HeatpumpIR library, without updating the plugin. If you don't have a Samsung or Gree, just comment out the code where it adds instances of those into the array of supported models.
by ToniA
17 Mar 2017, 17:43
Forum: ESP Easy: Software
Topic: Does ESPEasy work with Mosquitto MQTT
Replies: 3
Views: 5628

Re: Does ESPEasy work with Mosquitto MQTT

Yes, it works. I have Raspbian Jessie, and I have installed it like this: apt-get install mosquitto mosquitto-clients Then you just enter the IP address of your Raspberry as the MQTT server address, and that's it. The type of the MQTT just tells ESPEasy which topics and data formats to use. You can ...
by ToniA
01 Mar 2017, 14:15
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

OK, so you have the decoder, and both the original remote control and the ESP will send the same code, but only the remote control works? Did I get it right? Do you see if there are any obvious differences in the symbol sequence? You could also try out this sketch (https://github.com/ToniA/arduino-h...
by ToniA
01 Mar 2017, 08:22
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 159
Views: 78784

Re: ESPEasy to control air conditioners / heat pumps

First of all, if you replace the IR led with a visible light led, do you see it blinking? The range is also not that long, so try to place the IR led as close as possible. With 100 Ohm resistor in series with the IR led I get a few meters. Also, the 'carrier_mca' is a rather new addition into the He...