Yet Another Smart Camper Project

Awesome, thank you. Almost all my lights are the dome ones as well with the living area and bedroom having a ‘wall’ switch and the remaining 3 or 4 having the center button - and then there is the external LED strips.

The wall switched ones are my primary target at this time - and I would love dimming but alas, may have to settle for on/off only for now.

I think I’ll pick up 1 Shelly 1 for now and see how it goes. Looks like it won’t deliver until after my trip but thats all good… can work on it later.

Thanks!

If you happen to be local to the DC/Maryland/Virginia area, I have a few Shelly 1’s that I recently replaced that you can have for free.

1 Like

Appreciate the offer but no unfortunately, I’m in Texas.

But - in my situation, would you go with the Shelly 1 Gen 3 or the Shelly 1 Plus?
They are currently the same price on Amazon but struggling to really see the application difference.

I used the original Shelly 1 because they were $10 ea on Amazon and could be flashed with tasmota. The gen3 and plus will also both work (and I’ve flashed plus devices with tasmota - but unsure on gen3). The plus includes Bluetooth - which I believe you could use as a BT proxy, but prob unnecessary. So I’d say go with whichever is cheaper or quicker to ship.

The Shelly firmware on all these devices work with HA out of the box, but I use tasmota for more programmatic control - eg double/triple tap to control other lights. I’m guessing you can do the same with esphome as well. Slowly migrating to esphome myself.

Edit: to use multi-tap, you’ll have to replace the switch with a single throw momentary switch. If you happen to get a device with multiple switch inputs (like the Shelly rgbw plus), you can do a double throw momentary switch for two separate “inputs”.

My experience with flashing is hit or miss. I have a few in place now but also a small box of things that may or may not be bricked.

My camper setup is pretty basic and in early stages as I don’t spend too much time in it so I think for the intro to Shelly with it I’ll go with the Gen3 - can always swap out if necessary.

Now I am definitely a fan of ESPHome - I think I have about a dozen projects I’ve built using it as the base with bare ESP chips. I’m sure you will enjoy it.

1 Like

Nice project! I am updating my trailer next year and will have to look at all these goodies in here. Thank you for sharing!

1 Like

Much Easier GPS Solution - Plus Compass

Another OP from another topic inspired me to order an M10-Q25 ($20 on Amazon) and try it out. This device is approximately 1”x1”x1/2” in size and is apparently popular among the drone community.

Of course, this device was a piece of cake to set up with esphome’s GPS and QMC5883L support. Hooked it up to an ESP32 and plugged it into a nearby outlet - in an interior closet on the first floor of a 2-story home - and despite this less-than-ideal location, within seconds it got a GPS lock and started streaming NMEA sentences. Compass works great as well. The hardest part was figuring out the baud rate… and then figuring out which way the board should be oriented for accurate compass readings.

Out of the box, this device sends GPS data 10 times per second. Even still, it runs at about a 0.5-0.7 watts (including the esp board). The next step is to get the ublox software installed and see if I can reduce this to once every 5 minutes or so - perhaps reduce this load even more.

Edit: I settled on every 10 seconds. That seemed to be the best option, and the measured load of this device (without the esp board) seems to bounce between less than 0.05w and 0.1w.

But I have to say, this is perhaps the easiest (must do) project for any RV/Camper.

Imagine with a compass bearing, one could automate window coverings dynamically based on the sun’s azimuth and elevation - regardless of location and trailer “heading”.

One could also set up speed-triggered automations to notify if an awning or slide was left out - every camper’s worst nightmare, but we’ve all seen someone do it.

1 Like

Would you mind sharing how you are using CardMod to add the city/state?

My Starlink is only deployed and Active when we are at a campsite but I keep the ATT cellular connection on all the time (cheaper too). Since Starlink is offline and not providing GPS, I have revived an old cell phone using WIFI to the ATT router and then using HA Companion providing the GPS, have the dynamic GPS and Weather.

Just missing that last mod to the Weather Card. (I do have Places setup and reading from the HA Companion location).

Here is my dashboard yaml for the weather card. As I noted earlier, unless you specifically set your weather integration to follow your home location, the weather will not update as your GPS updates your home location. I tested/confirmed this by manually moving my home location all over the country.

  - type: weather-forecast
    entity: weather.forecast_home
    show_current: true
    show_forecast: true
    forecast_type: daily
    forecast_slots: 7
    name: " "
    grid_options:
      columns: 12
      rows: 3.5
    card_mod:
      style: |
        .name:before {
            content: {% if (states('sensor.geolocator_city')) %}"{{states('sensor.geolocator_city')}}"{% endif %}", {{states('sensor.geolocator_state')}}";
        }

Edit: make sure to set the weather card’s name to “ “.

Edit 2: I just remembered that I stopped using the Places integration.

I’d recommend this route instead. It has better city reverse geocoding.

This is great! I got both the Places and GeoLocator working for the weather - I’ll likely remove Places later.
Still trying to figure out the Time and TimeZone portion got a lot further along with your help.

Camper 12V TV (Connexx Brand)

Since I set up another esphome device for the M10 GPS module, I figured I’d take a shot at better control of the Living Area 12V TV that came with the camper. Previously, this was handled through HDMI-CEC using the connected Chromecast with Google TV. However, this limited my volume control to the Chromecast itself - less than ideal as I’d have to grab the TV remote to adjust TV volume occasionally.

Enter esphome…

Using an IR receiver hooked up to the esp board, I “learned” the TV’s volume and power codes. Then I disconnected the IR receiver and hooked up an IR transmitter - one of those little ones you can stick on the TV. Unfortunately, this TV does not appear to have discrete power codes - another problem to solve. So, I picked up a very simple USB-A 3v3 power supply and connected 3v3 and Gnd to a pulled-down input on the esp board, and plugged it into the TV’s USB port. Now esphome/HA know when the TV is on.

My eventual goal is to combine all of the above with the other esphome device already in the camper and consolidate all of the below into one esphome device:

Bluetooth Presence
Hughes Surge Protector
Door Remote Lock/Unlock
TV Infrared Control and Power Status
GPS/Compass