Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join forces with OpenMQTTGateway #35

Open
torwag opened this issue Jun 4, 2018 · 7 comments
Open

Join forces with OpenMQTTGateway #35

torwag opened this issue Jun 4, 2018 · 7 comments

Comments

@torwag
Copy link
Contributor

torwag commented Jun 4, 2018

There is another MQTT-Gateway project under active development.

https://github.com/1technophile/OpenMQTTGateway

I believe that both projects address the same idea.
They both developed in different directions

Differences to the MQTT433Gateway

  1. Supports officially ESP32 and ESP8266
  2. Supports other hardware, BLE, IR, direct Sensors, RFM69, GSM, etc.
  3. Programming structure keeps it open for other Protocols as well (Zigbee, Zwave, Enocean)

Differences of this project to the OpenMQTTGateway

  1. User interface for configuration (now very newbie friendly)
  2. Uses the an own version of the pilight lib and hence supports many 433 MHz devices

I think both projects would benefit from each other and we might have at the end an ultimate Foo2MQTT-Gateway system, which ideally is even newbie friendly enough for non-programmers.

@renearts
Copy link

renearts commented Jun 4, 2018

As far as I know the RC-switch library used in that project is not as good as ESPilight, it also does not support the newer KoKo protocols.

@torwag
Copy link
Contributor Author

torwag commented Jun 5, 2018

Therefore, I would propose to join forces here... why not using the epsilight lib of this project but using the BLE, RFM69 and other modules of the OpenMQTT project. That would bring us the best of both projects

@puuu
Copy link
Owner

puuu commented Nov 2, 2018

All the magic towards parsing the rf signals will be performed with ESPiLight which based on the protocol implementations of pilight.

ESPiLight is intentionally a library by it's own. Every project is free to use this library and I will happily support this.

But keep in mind that pilight was not developed with micrcocontoller in mind and thus is relativly bulky and memory hungry.

Btw. I would like to see ESPiLight support in esphomelib.

@1technophile
Copy link

Hello,

Thanks for your library @puu, for your information we integrated it into OMG a few weeks ago:

Of course it will not work on an uno but we can use it with ESP.

@torwag
Copy link
Contributor Author

torwag commented Nov 2, 2018

@1technophile you beat me, as I was just going to post this.
Now, in my opinion we have a project with a nice fancy GUI for config (even after flashing) and platformio support (which I find much better rather then the arduino gui, if only for the dependency checks).
And we have a project which goes much more further and above 433 MHz devices most important being BLE.
Maybe there are even more ways to join both projects?

@puuu
Copy link
Owner

puuu commented Nov 6, 2018

@1technophile cool, ESPiLight is already integrated into OpenMQTTGateway, this is amazing!

I had a short look into the integration. As I understood, you need to select between rcswitch and ESPiLight but can not run both with the same receiver/transmitter? I think, it would be interesting to receive/transmit with one implementation and parse with both. Unfortunately (as far as I understand), the raw data formats are different and rcswitch does not support impulse trains as implemented in ESPiLight. The pulse trains (array of pulses in µs) are at a lower abstraction level, then the rcswitch data formats. Thus, to provide interoperability between ESPiLight and rcswitch, pulse train support must be implemented into rcswitch.

If you interested in a web frontend, please have a look to this project or blinkenhat. @janLo did a great job by implementing a lightweight rest api in combination with a feature full javascript web frontend.

@1technophile
Copy link

Hi,
it's cool your library will add more protocols compatible!

now pilight is integrated I need to do some test to see how it behaves with OMG, and in particular the overlap differences in terms of protocol scopes with rcswitch.
I think that it should cover more protocol, and in this case it could replace rcswitch for the bigger processors.

I will take a look to this frontend. Thanks for the infos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants