1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.51k stars 776 forks source link

OpenMQTTGateway dont need RF2 to work with KAKU #118

Closed animavitis closed 6 years ago

animavitis commented 6 years ago

Hi,

There is simple way to use KAKU (transmit & recive) in OpenMQTTGateway, simply change rc-switch liblaryto this branch:

https://github.com/max-weller/rc-switch/tree/intertechno-receive

Tested with my KAKU switches & NodeMCU

1technophile commented 6 years ago

Hello,

Thanks for the tip! @dendeze could you test if it is working with your devices?

animavitis commented 6 years ago

after more testing i must tell that this version of rc-switch is not stable :/ After couple of hours my nodeMCU throws some exceptions & restart itself randomly, but still it can be used to read codes from KAKU remote.

For now to send KAKU codes i use: https://github.com/dok-net/rc-switch#intertechnoselflearning, and https://github.com/max-weller/rc-switch#intertechno-receive to read code from remote.

1technophile commented 6 years ago

do you have some inputs about these instabilities? is the nodemcu that restart or do you have other symptons?

animavitis commented 6 years ago

NodeMCU restart itself randomly, usually when i try to use RF transmitter couple of times in short period of time. I will try to debug it

animavitis commented 6 years ago

I was testing it and same restart can happens on NewRemoteSwitch & rc-switch#intertechno-receive. I dont know how to debug root cause of restarts, so we can close this issue.

thx for help