Coach2mqtt runs on a RaspberryPi 4B and allows you to control and monitor most of the systems in your Jayco Swift/Entegra Ethos or your Jayco Terrain/Entegra Launch from your phone or tablet while connected to the same wifi network as the Raspberry Pi.
Optionally, if your wifi network is also connected to the internet, you will be able to monitor and control your devices from anywhere your phone or tablet has internet.
On Renogy Lithium battery models you will be able to control most of the firefly devices, monitor the Renogy battery BMS, and monitor and control your Renogy Inverter/Charger.
On generator models you will be able to control and monitor most of the firefly devices.
Lithionics models have not been tested.
All links are just to help you find the products and are not an endorsement of the product or retailer.
You will need the following:Attach the waveshare
To use Coach2mqtt you will need to install an image on the Rasperry Pi and an app on your phone or tablet.
Note: There is no need to decompress the downloaded image. The Imager tool can install a .zip image.
The first time the Raspberry Pi is powered on it may take 5 or more minutes to get everything setup. On first power up the Pi needs to expand the image to use the full space on the microsd card and configure your customizations. It will reboot and then will attempt to connect to the internet and download about 1 GB of files required for coach2mqtt to run. I recommend plugging in an ethernet cable, if possible, for the initial startup.
Note:If your connection is too slow the download on startup may timeout and fail. You will be able to run the commands manually later if needed.
You will get a warning that the certificate is not valid or your connection is not private. This is expected and you can follow the browser instructions to connect anyway.
Click Terminal on the left side under Tools
If any are missing you will need to run one more command to download and start them:
You are now ready to install the Rasperry Pi in your coach.
Find a suitable location for the raspbery pi where your cables will reach all devices you need to connect to. In my Entegra Ethos 20D I mounted it under the rear bed near the Renogy Debug port and RV-C G4 Terminator tap.
Plug the RV-C cable into either your Firefly G12 or G4 Terminal block.
For lithium models you also need to connect to the battery debug port and the Renogy inverter USB port:
Once the Raspberry Pi is connected to the RV-C network it will be powered any time your 12v switch is on. To prevent possible file corruption to the sd card you should always shutdown the Pi from the web interface before powering off the 12v switch.
Installation of the hardware in your van is complete and once powered up the Pi will begin communicating with the RV-C network, and optionally, the Renogy inverter and Renogy Lithium battery BMS.
In order to control the devices in your van you will need an App that can communicate with the MQTT broker that is running on the Rasperry Pi. There are many apps that are able to do this, but the app I found that is the most configurabale and available on both iOS and Android is IoT MQTT Panel
After installing the app you will need to configure the dashboards and widgets. To make it easier I have included configuration files that can be loaded.
At this point you are set up for local access. You can now control and monitor your connected devices in the van from the IoT MQTT Panel app as long as you are connected to the same WiFi network as the Raspberry Pi - i.e. your Winegard or Starlink
Remote access can be set up in a variety of ways. I have found Tailscale to be the easiet option, but you can also set up a remote MQTT broker such as HiveMQ. Both options will allow you to remotely control your coach devices from the IoT MQTT Panel app on your phone. Tailscale will also let you remotely access your Raspberry Pi. Both options, of course, require that both your phone and the Raspberry Pi have internet access.
If you want to use HiveMQ for remote access you need to create a free account, create a cluster, configure access to HiveMQ, configure coach2mqtt to send and recieve data from coach2mqtt and then add the HiveMQ broker to the IoT MQTT Panel app as a new connection.
The next steps must be performed on the same network as the Raspberry Pi
If you need to modify the credentials or something goes wrong during this process you will need to edit the Mosquitto config file manually. The file is located in /opt/coach2mqtt/configs/mosquitto/mosquitto.conf - The mosquitto container will need to be restarted after modifying the configuration.
Alternatively you can set up Tailscale. This will use less bandwidth, but could interfere with any other VPN configured on your phone or tablet
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Explanation 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Explanation 2 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Explanation 3 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Explanation 4 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Important: Please notice that lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.marks are protected by intellectual property rights.