Beginner question: How does the MQTT Gateway communicate with a RFM69 Gateway
-
Hi all, I have a real beginner question and struggling to understand how the different components work together using the info on Mysensor.org just from a concept perspective. I am trying to build an architecture where I use Home Assistant as a controller to use MQTT sensors via RFM69 radio. So I think I need a MQTT gateway, and a RFM69 Gateway, as well as sensors connected to RFM69 radio. I have seen the description of both the MQTT gateway, as well as the RFM69 Gateway:
- MQTT Gateway: https://www.mysensors.org/build/mqtt_gateway which seems a combination of ethernet GW with MQTT client
- RFM69 Gateway: https://www.mysensors.org/build/connect_radio which seems a serial gateway(?) with RFM69 radio (but I might be mistaken) -> how does this talk to the MQTT gateway? Does it need to be combined with an ethernet GW?
I have seen other architectures (other websites) where the RFM gateway is combined with the MQTT gateway, which I can understand. I am struggling to see how the Controller (Home Assistant) communicates with the sensors using MQTT via RFM69 radio but I must be missing something obvious...
-
Hi all, I have a real beginner question and struggling to understand how the different components work together using the info on Mysensor.org just from a concept perspective. I am trying to build an architecture where I use Home Assistant as a controller to use MQTT sensors via RFM69 radio. So I think I need a MQTT gateway, and a RFM69 Gateway, as well as sensors connected to RFM69 radio. I have seen the description of both the MQTT gateway, as well as the RFM69 Gateway:
- MQTT Gateway: https://www.mysensors.org/build/mqtt_gateway which seems a combination of ethernet GW with MQTT client
- RFM69 Gateway: https://www.mysensors.org/build/connect_radio which seems a serial gateway(?) with RFM69 radio (but I might be mistaken) -> how does this talk to the MQTT gateway? Does it need to be combined with an ethernet GW?
I have seen other architectures (other websites) where the RFM gateway is combined with the MQTT gateway, which I can understand. I am struggling to see how the Controller (Home Assistant) communicates with the sensors using MQTT via RFM69 radio but I must be missing something obvious...
@rjgmba hi and welcome to the forum!
https://www.mysensors.org/build/connect_radio decribes how to connect the radio for any node or gateway - it is not limited to serial.
A gateway has 1 transport and 1 controller interface.
The transport can be rfm69, nrf24, rs485, etc
The controller interface can be serial, ethernet(tcp), mqttSo what you want is probably a gateway with rfm69 transport and mqtt controller interface.
- Program the gateway based on the instructions on the first link you posted. Change the code from
// Enables and select radio type (if attached) #define MY_RADIO_RF24 //#define MY_RADIO_RFM69 //#define MY_RADIO_RFM95to
// Enables and select radio type (if attached) //#define MY_RADIO_RF24 #define MY_RADIO_RFM69 //#define MY_RADIO_RFM95- connect the radio based on the instructions on the second link.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login