Farmer Pete

I have a townhouse with a pit style “yard”. It’s a tiny thing. For the small space, I’m trying to get a decent amount of growing going on. There are challenges though.
(As an aside, there’s is a crap contraction. Worthless.)
Light:
I don’t get a lot, on the fence is some but squat for room. Thinking I might get some tomatoes rocking a planter box on the inside south end, but otherwise, based on our current luck, I need to switch to low light plants. The Wif wants hops so I’m looking into that. Maybe cabbage seeing as how that’s a winter veggie.
Security: what little veggies we did have grow successfully involved them being eaten by not us. Nothing says disheartened like a half eaten half grown tomato; potatos also. I’m starting to get all broken crockery on the local mouse runs, but no real plan after that. I believe in discouraging rather than murder. If nothing else, I should do a motion activated camera to figure out who’s doing the deed. I wonder if a paste with cayenne could be successfully painted on like apple wax. That’s an idea.
Water:
I suck at watering gardens. I just planted a rose, a hydrangea and something else. I hope any of them survives a year. Doing good so far, but a better solution would be better. This involves irrigation. Automatic irrigation.
This is where I’m researching the most right now.
Step one: I need to start logging data. Temperature, soil moisture, light exposure. The works. Seen a couple write-ups on moisture so that’ll be easy. Temperature and light are relatively cheap off the shelf. Now I need to look at powering the device and transmitting/storing data.