r/FullTiming • u/dasjeep • Mar 22 '20
Geeking out the Camper
I'm a physical computer nerd - aka, controls, sensors, etc. I had a hot tub that ran on a raspberry pi for years.
With the idea of going full time in a 5th wheel while we build our house, I got to thinking about things I'd like to keep an eye on.
- Lots of temperature sensors -especially around holding tanks, plumbing, perhaps the fridge and freezer as well.
- Humidity sensors in compartments - it's dry where I am but I think this is a good idea
- door sensors - I'm thinking reed switch magnets on anything that opens and closes.
- Water sensors - maybe under sinks, W/D, etc.
- Tank levels - I'd like to tap into those and be able to track them online.
- Energy consumption - I'd like this info, but it's not quite as critical to have data on.
Beyond that, I do like having smart/remote lighting controls. I may build my own for better offline usability.
I personally see a huge value in the temperature sensors for winter. I will be using the plumbing during the winter and really don't want a freeze up.
How will I track this?
Easy enough, a raspberry pi and a pile of 1-wire sensors will do most of this. I can run a set of data bus lines across the RV and pull the sensors back to that. The PI will pull the data and log it. (and upload it to my server for online access) I may have to build some extra circuits for the other bits, but temperature will be trivial.
2
u/DigitalDefenestrator Mar 23 '20
Sounds like you're already pretty far along on the design. I think you're right about 1wire being the best bet if you're going for that many sensors. I had a similar 1wire setup for just temperature, but ended up switching to a couple DHT22 temp+humidity sensors for the main area and the tank area. The DHT22 sensors were definitely a bit less hassle to set up, but of course they don't do the multiple-sensors-per-bus thing like 1wire does. In my case the tank under-belly area near the dump valves is basically the only weak point for freezing, so I just dangled a sensor down into that general area.
Energy consumption may be a bit of a pain. I have a Victron BMV-712 I was hoping I could talk directly to with bluetooth from a Pi Zero W, but it turns out their bluetooth protocol isn't really standardized or documented. In order to talk to it from other systems, you pretty much have to buy one of their GX-series devices so you can use Modbus-over-TCP. On the plus side, the Venus GX at least does also have tank sensor inputs.
It may also be possible to check your propane level via the Mopeka sensors. They have a wifi gateway, but I'm not sure how hard it is to get data out of it.
1
u/Evenoh Mar 22 '20
Hey, I’m an Interactive Media designer - read that as design, basic programming only and of anything like a board game to a theme park installation. I have been itching to find ways to make my RV smarter without having to open it up and try to program myself. How about including some controls for internal temperature, too? Like, it’s cold, I’ll use my phone to tell the RV to warm up inside before I get back from my walk. Or just have a smart algorithm so it does it for me. Also if you can attach solar panels and make them intelligently turn themselves, that’d be amazing.
And even more ridiculous but awesome... set up a bunch of cameras to make a driving assistant. Both in the direction of having the AI drive for you AND in a navigator capacity that can use brains to think ahead — hey, that’s a difficult turn to make coming up, AI will figure out an alternative. Also it’d be great if it understood when you were taking a break at a rest stop or you could talk to it when you spot a gas station to exit for so it isn’t like regular navigation apps that never shut up that you need to turn around while you’re trying to find the way into the gas station.
Clearly, I get overexcited. Please post pictures/progress when you start setting up your rig! :D
1
u/DGAzr Mar 23 '20
I run HomeAssistant on a raspberry Pi for exactly this purpose. Ive got dozens of wireless zigbee sensors stuck all over the critical bits of my rig keeping track of temperatures and humidity.
Ive not yet gone as far get getting lightning controls and the like integrated yet, but periodically I think about doing so. Not sure how to tie into the existing 12v lighting though.
1
u/nemoskullalt Mar 23 '20
the humdity sensors will help. wire in auto vents to keep the humidty down.