Really interesting, maybe I could build something cool around the Arduino HeatpumpIR (https://github.com/ToniA/arduino-heatpumpir) library I've been building. Right now I'm integrating it with Domoticz (http://www.domoticz.com/forum/viewtopic.php?f=34&t=7179#p69647).
I'm an ex-Microsoft employee from Finland (resigned about a month ago).
@ozrex,
I don't want to assume your knowledge level. However the truth is that you will probably need to put together different bits and pieces from various threads in order to come up with your own custom solution (the A/C interface (IR) part, the battery part, etc...).
Maybe it is worth it to create your own new thread, or maybe you want to keep researching / trying on your own a little longer first. The latter is admirable, and is the way I usually do it, too. Some times to a fault in my own case. Don't suffer along in silence if you are struggling to find the information, make a thread instead. If it becomes too difficult you may give up. We all need some small successes along the way to keep motivated and keep it fun.
Probably best to create a new thread (I don't want to derail this one too much) but something you might want to look into is OpenMQTTGateway. I use it for my 433mhz, but it also supports RF, BLE, LoRa (and perhaps others in future) all on the same gateway! To me that was the way to go... And so far has been flawless for me.
I think I found the problem. I think it misbehaved because of an illegal character in the "HOSTNAME". Changed the hostname yesterday and It was still alive this morning even if I have not pinged it.
@Yveaux I have 34 of 80k RAM used for this sketch, so 128 bytes looks like "a bit more".
You can not use progmem with ESP and mysensors now because PSTR redefined as PSTR(x) (x) so all strings are really in RAM
Hi @Siddharth-Velappan
The warmup time of the MH Z19b is 3 minutes. So 2 is probably fine, but you could probably do 3 just in case. Although 2 would save your more battery time.
Do you mind explaining your setup a bit more? I would love to do something similar but I do not know where to get started with the PIC microcontroller!