Search found 69 matches

by ToniA
01 Mar 2017, 08:22
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

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...
by ToniA
27 Feb 2017, 07:15
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

Re: ESPEasy to control air conditioners / heat pumps

Yes, I should update the plugin, as I have made some interface changes on some of the heatpump models on the HeatpumpIR library.

Nice to hear it's working for you :) I also have a Panasonic DKE.
by ToniA
26 Feb 2017, 11:32
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

Re: ESPEasy to control air conditioners / heat pumps

Would it work if you build from this: https://github.com/ToniA/ESPEasy/tree/master/ESPEasy ? I haven't merged with R140, as I'm using it on a customer project, and the version I'm basing on at the moment hasn't had any issues ('if it ain't broke, don't fix it').
by ToniA
06 Feb 2017, 12:12
Forum: ESP Easy: Projects / Applications
Topic: Reacting on MQTT message from Domoticz
Replies: 4
Views: 4523

Re: Reacting on MQTT message from Domoticz

It's the length of the Domoticz MQTT message. In my own branch I'm using PlatformIO to build ESPEasy, so that I can have global #define's in the ini file.

With Arduino IDE, you need to hardcode longer MQTT buffer support into pubsubclient and Controller.ino.
by ToniA
07 Jan 2017, 15:03
Forum: ESP Easy: General Discussion
Topic: Rules when disconnected
Replies: 3
Views: 3796

Re: Rules when disconnected

I made a small code change to have a new event called 'System#MQTT': viewtopic.php?f=6&t=2431&p=11886#p11886

You can use this event to reset a timer, and then do something if the timer ever fires.
by ToniA
02 Jan 2017, 12:47
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

Re: ESPEasy to control air conditioners / heat pumps

Sergi, you should use this sketch: https://github.com/ToniA/Raw-IR-decoder-for-Arduino First we should build a decoder for the LG protocol, and once that works in decoding the basic things (checksum, ON/OFF, operating mode, temperature and fan speeds), then implementing the sending part should be qu...
by ToniA
27 Dec 2016, 11:08
Forum: ESP Easy: Software
Topic: Domoticz-espeasy-relay
Replies: 7
Views: 10022

Re: Domoticz-espeasy-relay

My solution to this is to have a 'time' event to send the relay state once per minute. The downside is that the 'Log' button no longer works, as it seems to overload the web browser when trying to display an event per minute. Another thing is that on the relay side I should have some safeguards agai...
by ToniA
19 Dec 2016, 06:42
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

Re: ESPEasy to control air conditioners / heat pumps

Ah, we have misunderstood each other. The 'mosquitto_pub' is a command line tool to send out MQTT messages from the shell. So the topic should be '/mos1/cmd' and the payload should be like 'heatpumpir,samsung,1,1,0,22,0,0'. Now your topic was '/mos1/' and the payload was 'mosquitto_pub -t /mos1/cmd ...
by ToniA
18 Dec 2016, 19:18
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

Re: ESPEasy to control air conditioners / heat pumps

This should be the correct format:

Code: Select all

mosquitto_pub -t /mos1/cmd -m heatpumpir,samsung,1,1,0,22,0,0
What do you get in the ESPEasy log? What if you change the log verbosity level to '9', in Tools -> Advanced -> Web or Serial log level (depending on which one you are looking at)?
by ToniA
11 Dec 2016, 20:42
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 123286

Re: ESP Easy next stable... (release candidates)

Speaking of stability, I now have a case where my customer has the first Wemos modules installed. He has a Huawei B593 4G router which is set to reboot twice a day (at 07:20 in the morning, and 16:20 in the afternoon) with a timer socket plug. The 4 Wemos's he has installed so far all disappear from...
by ToniA
27 Nov 2016, 20:14
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 123286

Re: ESP Easy next stable... (release candidates)

I just visited my brother this evening... We put in the R147_RC8, and no change in stability. Not even if we put it in 'Standalone' mode, i.e. not talking to any controller. I'm still wondering if there's something wrong with his router, as the same Wemos device was working just fine in my network, ...
by ToniA
27 Nov 2016, 12:31
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 123286

Re: ESP Easy next stable... (release candidates)

Seems that my brother has the same unresponsiveness problem. He's running Wemos D1 mini with ESPEasy R140. After a while it just becomes unresponsive, does not answer to ping. But it for example continues to report measurements to Emoncms, and there's nothing strange on the terminal. He brough the d...
by ToniA
25 Nov 2016, 09:25
Forum: ESP Easy: Software
Topic: Mqtt gpio control from domoticz
Replies: 3
Views: 4006

Re: Mqtt gpio control from domoticz

It's the length of the Domoticz MQTT messages. See the changes in this branch (I'm also running the build in Platformio, instead of the Arduino IDE): https://github.com/ToniA/ESPEasy Without Platformio, you need to hardcode the value of MQTT_MAX_PACKET_SIZE in the PubSubClient.h, and use the same va...
by ToniA
09 Nov 2016, 16:44
Forum: ESP Easy: General Discussion
Topic: ds18b20 always reads zeroes
Replies: 5
Views: 8303

Re: ds18b20 always reads zeroes

I have a bunch of Wemos D1 mini boards, and without further thinking I just wired the water-proof DS18B20 sensors to D4. Just because it's next to +5V and GND. And they all work beautifully.

https://wp.josh.com/2014/06/23/no-exter ... mp-sensor/
by ToniA
07 Nov 2016, 17:56
Forum: ESP Easy: Software
Topic: Sending IR signals from MQTT messages?
Replies: 2
Views: 3272

Re: Sending IR signals from MQTT messages?

I was just working with a node which sends air conditioner IR signals through Domoticz MQTT. Please see this: https://github.com/ToniA/ESPEasy/blob/HeatpumpIR/ESPEasy/_P115_HeatpumpIR.ino This is what I needed to do to make the MQTT messages go through (I guess there should be generic support for th...
by ToniA
20 Oct 2016, 19:45
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 123286

Re: ESP Easy next stable... (release candidates)

I've just run a few tests on Domoticz MQTT in my testlab (i don't use MQTT in production...) And it looks like the Domoticz MQTT support has been seriously broken as of R109 where the new pubsub library was introduced. The Domoticz MQTT messages are too large, the PubSubClient hardcodes 128 as the ...
by ToniA
26 Aug 2016, 20:43
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control air conditioners / heat pumps
Replies: 163
Views: 248008

ESPEasy to control air conditioners / heat pumps

A while ago I've written an Arduino library to control air conditioners / heat pumps through infrared. It works like you'd have a second remote control for the device. I have now integrated ESPEasy and HeatpumpIR together, and based on my quick trials, at least my good old Panasonic CKP air conditio...