Installing an eRVin Software Image

An eRVin image is a data file that contains all the necessary operational software for your eRVin hardware allowing it to control your RV. This post describes how to download an image and flash it to a micro SD card. The flashing process is very simple and takes just a few minutes. Once the image is flashed to the micro SD card and the WiFi info configured, it can simply be inserted in your eRVin device, then you can load the proper configuration and you will be up and running! The approximate compressed image download size is 1.4gb. The installed size is about 5gb.

 

Update 2021-02-17: As of 20210217 eRVin OS v0.5, the image has been unified. Now there is just one ‘eRvin OS’ image for everyone and separate configuration (aka ‘flow’) files are available for download and installation by the end user thru a new menu in the eRVin “app” (aka “dashboard”). This makes it easy to load new or updated configuration files. It also makes it a lot easier for me to create and post them.

 

The configuration files are relatively small at about 350KB. There are about 6 such configuration files baked into this image but new ones can be easily added by downloading them thru the interface built into the eRVin app.

 

Entegra Notes:

From am eRVin standpoint there are three main categories of Entegra coaches:

  • Vegatouch coaches – 2017 and up
  • Non-Vegatouch coaches 2017 and up
  • Non-Vegatouch coaches 2016 and older

If a configuration file is not yet available for your exact year/floorplan, you may choose one that is from a coach in the same category as yours and most things will still work. DO NOT try to use a config file from a different category! In particular absolutely do not run a 2017 and newer config file on a 2016 or older coach.

If you have an Entegra motorhome for which there is currently not an exact configuration yet, email me, and include clear photos of your Firefly panel(s) and circuit list, with your input I will probably be able to create a configuration file that works with at least your lights and shades.

 

Changelog:

The changelog lists updates, changes and fixes for both eRVin OS and the eRVin flows (configuration files).

Images

The eRVin OS images are available here. The image files have a format of ervinyearmonthday.zip such as ervin20210217.zip  In most cases you will want to chose the image with the most recent date.

Note for Tiffin owners: the original CoachProxy image can be downloaded from here. It supports most all models of 2015 – 2019 Tiffin RV’s. The CoachProxy image works perfectly well on the eRVin hardware.

 

WARNING: If you already have a running eRVin or CoachProxy system DO NOT overwrite the existing SD card! Purchase a new card (they are cheap), that way you can easily revert to the original should something go wrong.

 

In addition to the image file you will need the following:

  • An 16gb or larger Class 10 micro SDHC card. An 8gb card should work but we recommend a 16gb card to provide for future expansion. 32gb or 64gb cards will work also but may be overkill unless you know you will eventually require the additional resources. We recommend a well known name brand SD card to avoid potential quality and/or performance issues. The Sandisk cards have so far proven to be very reliable. While the eRVin devices have been extremely reliable, we suggest always having a second backup micro SD card on hand, especially if you will be experimenting with your own modifications.
  • The free Balena Etcher application.
  • A Windows or MacOS device that can run the Balena Etcher application.
  • An SD card reader, either built in to your Windows or MacOS device or a USB dongle.
  • The SSID (network name) and password for the local WiFi network.

Create your image:

  1. Download the latest eRVinOS image file to your Windows or MacOS device.
  2. Download and install the Balena Etcher application.
  3. Insert the SD card in the Windows or MacOS device. Ignore any error messages or prompts to format the card.
  4. Run the Balena Etcher application.

  5. Navigate to the image file and select it.
  6. Click the Flash button.
  7. The process can take up to 45 minutes to complete.
  8. When complete Balena Etcher will unmount the partitions so it is OK to physically remove the SD card at this point (at least that is true when using Windows, I’ve never done it on MacOS).

Add WiFi info to the SD Card Image:

  1. If you haven’t removed the SD card from the Windows or MacOS device, do that now then reinsert it.
  2. A window should open that is the boot partition of the image. There will be a bunch of files listed, don’t change anything. You will probably also get pops ups telling you the SD card needs to be formatted –  IGNORE THOSE, just cancel them
  3. Download the wpa_supplicant.conf-blank.txt file from here. Then using a text editor of your choice – on my Windows PC I usually just use Notepad – edit the information in the file as described in the following steps.
  4. Edit  MyWiFiNetworkName to the name (SSID) of the WiFi network you will be connecting eRVin. Make sure the name is spelled exactly the same including capitalization and any spaces. Leave the double quotes.
  5. Edit  mywifipassword  to the password of your WiFi network, it also must be within quotes.
  6. Save the file with the updated info with the filename wpa_supplicant.conf
  7. Copy wpa_supplicant.conf to the root of the SD card boot partition as per step 2.
  8. Safely eject the card from your PC or Mac make sure the eRVin device is powered off and insert it into the micro SD slot on the eRVin device.
  9. You are now ready to boot eRVin! For the next steps go to Connecting eRVin to your RV.

16 Comments to Installing an eRVin Software Image

  1. Lisa Powell says:

    I have tried to flash the mini card twice and it crashes and my pc restarts….any ideas?

    • Lisa Powell says:

      Tried again, the decompressing finishes but during the validation process, the pc crashes and restarts.

    • Lisa Powell says:

      I noticed there are files on the micro (even though I got the error on my pc). It shows 46.7MB, is this about the size of all the files loaded? (Maybe it is fine, it did complete the flash…..?)

  2. Rob says:

    I think I have fixed the issue with the wpa_supplicant.conf file. The copy/paste function originally in this post was corrupting the CR/LF characters. I removed that so the file is now only available as a download. Please let me know if anyone still has issues with it.

  3. Rob White says:

    Hello Rob,
    I finally received the cable and connectors to connect the raspberry to the panel. Having trouble with the wifi, the config file disappears from the sd card after connecting the box to the panel. When it didn’t connect to the wifi, I pulled the sd card to look at the config file but its not there anymore. I’ve copied it twice now and same thing, after not seeing it connect I go back to look at it and its not there. Any ideas?

    • Rob says:

      Rob, a lot of people have had issues with the wpa_supplicant.conf. I think there is some kind of issue with CR/LF or something with the file on the site, but I haven’t figure it out. I’ll email you a blank file, so try that. It is normal for the wpa_supplicant.conf to be removed from the boot directory after booting.

      Rob

  4. Tom Saavedra says:

    is the source code available for the project or just the image.

    • Rob says:

      Tom, it’s a stock Raspberry Pi OS with drivers installed for the CAN board. It acts as a gateway to/from RV-C and MQTT. The gateway pieces are based on some code originally developed for CoachProxy for Tiffin RV’s. You can find more details about that here: https://github.com/rvc-proxy/coachproxy-os
      Also you can simply peruse the /coachproxy/ directory on the device.

      Besides the gateway code which is primarily Perl, the core logic is a series of Node-Red flows with several custom function nodes written in Javascript. In the case of repetitive function nodes you will find the actual Javascript in the /coachproxy/home/pi/.node-red/js directory

    • Bob Pogue says:

      I ran in to this issue too and worked around it as follows.

      1. Connect to the Ethernet port

      2. Setup SSH:

      a. Download and install the Atom text editor.

      b. Create and save a new file named ssh, without any extension, onto the boot partition of the SD card from another computer. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled and the file is deleted. The content of the file does not matter; it could contain text, or nothing at all.
      If you have loaded Raspberry Pi OS onto a blank SD card, you will have two partitions. The first one, which is the smaller one, is the boot partition. Place the file into this one.

      UN: pi
      PW: ervin2020

      3. VNC Setup:

      a. Open Terminal
      b. Type sudo raspi-cong
      c. Now, enable VNC Server by doing the following:
      d. Navigate to Interfacing Options.
      e. Scroll down and select VNC > Yes

      4. Use VNC Viewer to sign in and set up wifi.

  5. John Taylor says:

    the coachnet site has 2 versions of software, for the hardware you recommend, do I need version 2 or version 3?

    • Rob says:

      John, I assume you mean the http://coachproxy.com site? If you are building your own system, as far as I know the versions on coachproxy.com are not available to you. The coachproxy.com home page directs you to the open source version on github as does my article. Start here: https://github.com/rvc-proxy/coachproxy-os/blob/master/docs/Download_Image.md

      Then proceed to the Download image where there are two versions 1.1 and 1.1.1 the latest supports an additional 2020 Tiffin model. Follow the instructions and you should be fine.

      If you are a grandfathered CoachProxy owner you may want to contact CoachProxy support to answer your question. However, the hardware described in my article will work with any CoachProxy version. Note that I don’t recommend the Pi4 due to much higher power demands which could impact your Firefly equipment, it also requires a beefed up version of the PICAN2.

      FYI I am working on a version of eRVin that allows activation of the above coachproxy version. eRVin is a heavily modified version of CoachProxy that adds a GUI and other changes to allow easier access and is more accomodating to non-coders (like me), so you can make changes without needing to be a command line expert.

  6. […] your own system, or your wifi info was not pre-loaded, or does not work for some reason, please see this post for how to change it.   Step 3 – Now you need to find your eRVin’s IP address on your […]

  7. […] Installing an eRVin Software Image […]

  8. Randy Lust says:

    Hello,

    I just installed the newest version. I do not see any Entegra options for configuration.

    What did you use?

    740 641 5881

Leave a Reply to Randy Lust Cancel reply

Your email address will not be published. Required fields are marked *

© 2021: myeRVin.com | Easy Theme by: D5 Creation | Powered by: WordPress