This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 1 voto(s) - 2 Media
  • 1
  • 2
  • 3
  • 4
  • 5
[SpainLabsIoT2018] OpenMQTTGateway - Herramientas.
#1
Os dejo info sobre un gateway open para pasar a MQTT tramas recibidas con varios módulos de comunicación. La info adjunta es en ingles. Este material es una herramienta, que aunque no la vamos a usar en el curso, abre una infinidad de puertas dada su versatilidad. Creo que es interesante que la conozcáis para posibles proyectos futuros.

Con ella lo que podemos hacer es tener nodos con otros módulos de comunicación, como pueden ser Lora, RFMXX, IR, etc. Es una pasarela de soft montada sobre ESP8266 y ESP32, lo que hace el hardware muy económico y fácil de aplicar en proyectos maker.

Enlaces de interes y la info de la pagina principal del proyecto:
Github: https://github.com/1technophile/OpenMQTT...uffer0d488&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
Web del proyecto: https://1technophile.github.io/OpenMQTTGateway/
Wiki: https://github.com/1technophile/OpenMQTTGateway/wiki

OpenMQTTGateway act as a WIFI or Ethernet gateway between your 433mhz/315mhz/Infrared devices and a MQTT broker. The MQTT broker can connected to your favorite home automation controller (Home Assistant, Openhab, Domoticz) or NodeRED, as long as it supports MQTT the system can talk to the gateway and by the way your different devices on both directions.
It can be installed on:
  • Arduino uno(limited)/mega(advised) + W5100
  • ESP8266: NodeMCU V1.0 NodeMCU V2.0, NodeMCU V3.0, ESP8266 12F and Wemos D1
  • ESP32
  • Sonoff RF bridge.
    It enables to:
  • Send RF signals corresponding to received MQTT data (MQTT->RF)
  • Publish MQTT data related to a received 433Mhz signal (RF–>MQTT)
  • Send RFM69 signals corresponding to received MQTT data (MQTT->RFM69)
  • Publish MQTT data related to a received RFM69 signal (RFM69–>MQTT)
  • Send IR signal corresponding to received MQTT data (MQTT->IR)
  • Publish MQTT data related to received IR signal (IR–>MQTT)
  • Publish MQTT data related to BLE beacons or Mi flora(BT–>MQTT)
It supports also sensors; DHT, HC SR501, ADC, I2C bus, INA226, TSL2561
Functions:
  • Bidirectional, the gateway can send and receive signals, for example if you have RF wall plug you can either control them with your home automation software (MQTT–>RF) or the physical remote control. When you press a button on the physical remote the wall plug will switch ON and the button in your home automation software (RF–>MQTT) will be updated.
  • Signal duplicate removal, with RF of IR we get a lot of duplication, to avoid this the gateway is able to filter the number of code sent to the MQTT broker during a defined time
    time_avoid_duplicate
    .
  • BLE beacons detection, the gateway publish the beacons detected thanks to an HM-10 module and publish the signal strength of each module address. By this way you can easily address presence detection of people, animals or things.
  • Addons possibility, you could add directly to the gateway any sensor you want, just create a new
    Z .ino
    file into the gateway folder with your code and call it after
    client.loop();
    into
    OpenMQTTGateway.ino
    . The program is provided with a DHT sensor addon implementation (
    ZaddonDHT.ino
    )
  • Advanced signal details publication, so as to know the details of what the gateway receive it publish by MQTT to
    subject433toMQTTAdvanced
    for RF and
    subjectIRtoMQTTAdvanced
    for IR the details of the signal received (this signal has to be compatible with RCSwitch and IRRemote libraries to be read).
  • Acknowledgement, to be sure that the gateway received the payload from MQTT it sends an acknowledgement on a
    user_defined
    topic,
    subjectGTWRFtoMQTT
    for RF or
    subjectGTWIRtoMQTT
    for IR enabling to update the state of your switch or other component into your home automation.
  • Multi boards compatibility, the gateway has been currently tested with ESP8266 12F, NodeMCU V1, NodeMCU V2, Wemos D1 mini, Arduino Uno, ESP32 (RF and BLE gateways) and the Arduino Mega.
  • Multi protocols handling, the gateway is based on RCSwitch, NewRemoteSwitch, RFM69 and IRRemote libraries, you can define the protocol you want to use by specifying it inside the topic.
See the wiki for more information:
https://github.com/1technophile/OpenMQTTGateway/wiki
A list of supported 433mhz devices is available here:
https://community.home-assistant.io/t/43...-list/7819
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  [SpainLabsIoT2018] Caso real: Nodos ESP8266 grafisoft 78 26,394 09-04-2020, 03:33 PM
Último mensaje: grafisoft
  [SpainLabsIoT2018] InfluxDB + Telegraf grafisoft 27 12,552 21-12-2019, 03:31 PM
Último mensaje: silth
  [SpainLabsIoT2018] Empezamos - Servidor MQTT grafisoft 14 9,825 25-09-2019, 08:11 PM
Último mensaje: grafisoft
  APORTE [SpainLabsIoT2018] ESP8266 NodeMCU - Ajustando su consumo (hack) grafisoft 10 8,963 24-04-2019, 04:49 PM
Último mensaje: grafisoft
  [SpainLabsIoT2018] Nodo ESP8266 - Smart Sensors Shield grafisoft 16 7,968 02-07-2018, 08:55 PM
Último mensaje: grafisoft