Hacker News new | past | comments | ask | show | jobs | submit login

I have it set up to run a project where a subreddit has control over the watering of a live plant in my apartment.

The pi runs a reddit bot that reads the votes, and can switch on a pump to water. It also collects data about sunlight, moisture, temp and humidity to help inform the decision about watering. Despite many people's preconceptions about the goodness of the internet, I must admit that they do a wonderful job caring for my plant!

website: http://www.takecareofmyplant.com

subreddit w/ voting: http://old.reddit.com/r/takecareofmyplant




> Despite many people's preconceptions about the goodness of the internet, I must admit that they do a wonderful job caring for my plant!

Maybe I should create a subreddit where people can control a bot that has access to my bank accounts so they can manage my finances, invest some, etc. ;-)


Didn't someone do this with Twitch Plays Stocks? Essentially gave them some capital and let the chat decide what trades to make. They nuked the portfolio within 24 hours.


On average (and very much more than just average) there is a negative correlation between trading frequency and portfolio performance (you are not an HFT firm, don't compare yourself to one).

Set up a system like that wrong, and it doesn't matter how smart the crowd is, you're going to lose all your money. It would be interesting to play with the parameters of the game and see how results changed. (how often trades are made, max portfolio % per trade, voting mechanics, etc.)


Agreed

You'd want to play to the 'wisdom of the crowd'.

Perhaps some kind of voting on a selection of likely stocks?


Sounds like the most optimal setup would be a single vote (1 vote = $1 spent on a stock of your choice) at the start and then just wait 1 year for the results.


You could put in a set amount per day (or week), choices weighted by the votes since last time, and get some of the benefits of dollar cost averaging, plus more reason for continued engagement.

Maybe introduce sales after it's been around for a year. (Though I'm not sure which mechanism, DCA doesn't work in reverse.)



but if you had people "invest" a dollar of their own I bet they would manage it well ..


Paying a dollar for the entertainment of burning down everyone's investment would be a great deal for a troll.


you'd be surprised...


A bunch of people have already done this. They're called crypto-exchanges... <smirk>


I have a Nigerian prince friend who will make your finances a lot easier to calculate. PM me for more.


Wisdom of the crowds


Reference Boaty McBoatface



That isn’t Boaty McBoatface, that’s Boaty McBoatface 2 (or Boaty McTwoFaced as it ought to be known). Boaty McBoatface was the name the public voted for the research vessel, not the submersible. That was given as an attempt to save face after rejecting the public vote.


Did something similar.

Raspberry pi is automatically uploading video of each watering to YouTube (https://www.youtube.com/channel/UCtl442fLi6KAOowkw_w83rA/vid...) and informing me with summary (incl. watering duration, soil moisture level, temperature, humidity, light level etc.).

Not that I care that much about the plant but automating it has been fun. It's been on auto pilot now for a couple of months now and the plant from the looks of it seams to be happy.


How did you guys automate watering? Any good DIY tutorials you recommend? What devices/parts do I need?


I'm using a cheap submersible water pump controlled via relay by a python script running on raspberry pi. Water pump is connected to a clear vinyl tube for water distribution to the plant.

Availability of water level at source is checked by a non-contact liquid level sensor.

Triggers for watering plant are defined as follows: 1. There is water in tank / source (checked by non-contact liquid level sensor) 2. Soil moisture level is below certain threshold (measured by 2 soil moisture capacity sensors embedded in the plant) 3. Watering duration is determined by current soil moisture level; Python script activates relay to run the pump for the right duration. 4. Same python script also: - activates camera to record watering (+2s buffer to have all on the video) via usb cam connected to the pi (leveraging opencv lib) - uploads recorded video automatically to youtube channel (if pi has internet connection) - summarizes watering event and sends me notification with link to the recording and other helpful stats (temp, humidity, moisture level etc.) - saves all metrics to sqllite db for future reference

Key parts I ended up using for the project: 1. Water pump: https://www.amazon.com/gp/product/B01LWXV7DE/ref=ppx_yo_dt_b...

2. Non-contact Liquid Level Sensor -XKC-Y25-NPN: https://www.amazon.com/gp/product/B07D3246BH/ref=ppx_yo_dt_b...

3. Gikfun Capacitive Soil Moisture Sensor: https://www.amazon.com/gp/product/B07H3P1NRM/ref=ppx_yo_dt_b...

4. Relay: https://www.amazon.com/KeeYees-Channel-Indicator-Arduino-Ras... (though I just bought my when visiting Fry's)

Primary motivation to do the project was so that wife can have pice of mind knowing plants are taken care of while we are away on longer trips.

Hope this helps.


Thanks that helps. However this is for an indoors-only setup right?


That's what I'm talkin' about! You should definitely come check out the sub! I'm always happy to work with other people on new additions / functionality / ideas.


This is one of the coolest uses of reddit/community sites that I have ever seen.

Out of curiosity, how did you come up with this idea?


Trying to impress a girl with my plant-keeping abilities ;) --We had a collaborative message thread reminding everyone to water our plants based upon a set schedule which I was going hook up to a pump to automate, and at the time Twitch Plays Pokemon was a big thing, so I just kind of combined the two ideas.

If you have interest in doing something similar, come check out the subreddit and feel free to DM me on reddit or twitter. Always happy to talk about plants and automation


So finally did you impress that girl or not? :D


No... but some people on the internet thought it was cool, so I can live with that :)


You impressed the Internet and that is a greater accomplishment than impressing a girl.


This is what I try to tell myself


You okay, friend?


Perhaps not?


Just a side note, the links under "Check out some of the tools I used to build this" don't seem to render, I think they're blocked by my Pi-Hole


yeah, they're Amazon affiliate links (gotta pay for hosting some how)

my pihole also blackholes them


Start a side-side business taking bets on if the plant will be watered today?


Once financial incentives are added, that's when bots take over the subreddit


A CDO! Guess we never learn :)


Or a CDO made up of CDO’s.


Why the downvote? This is a real thing that contributed towards the 2008 financial crisis and still exists today just not usually called a CDO.


You're back! I remember joining to help take care of the original plant, but I left when there was a big gap in coverage. Did you get a new plant? It seems that the name has changed.


It would be interesting to create a live feed of plants taken care of by remote botanists at an industrial scale. Maybe to train an ML model. Of course I know next to nothing about botany so this probably wouldn't work for some reason.


The website letsrobot.tv lets you do this. Many people on there use raspbis to receive commands from the crowd, control the motors, and stream back a video feed to the site. If you write something into the chat, the robots say it.

I interfaced a toy excavator remote with an Arduino and also put a small Cozmo robot online from time to time. Some people took their robots outside even :)


I love it, well done!


Thanks, feel free to check in and vote from time to time!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: