If you want to go the easier route, check out ebay. Ebay is full of cheap grid-tie power inverters that are capable of backfeeding power into your house's electrical circuits with a standard outlet plug. You plug it into the wall and connect it to your solar panel. When power is available it will backfeed into the house. Then you would just plug your little miner into an outlet as normal.
Note: I don't know how well they work or how legal they are to use, but a little 400W unit or something is unlikely to cause any issues outside of it maybe blowing up if a component fails
Assuming they actually work decently and you always have some load in your house consuming power equal to or greater than the power output of the solar panel, then you will offset your electric bill with the power generated by the solar panel.
You need a special agreement with the power company and a new electrical meter to have one that "spins backwards" and lets you sell money back into the main power grid.
I guess you didn't read the first post.
To get grid hookup for the house requires electrician signing off on the house's wiring.
ELectrician wants the entire house gutted of all its nice antique plaster internior walls so he can put wiring behind the walls, then put up modern drywall crap as no one hardly anymore except maybe some specialist craftsmen even has the skills to do real plaster anymore.
It'd eat up easily $50,000 probably more just to get the house hooked up to the grid.
But, supposedly, off the grid solar power does not have all that crap about having to have a livable house etc, you can do it anywhere, a camp, a camper, a cabin, I knw someone who lives in what amounts to a tent and has solar power.
So the whole point was, there is no grid, and batteries cost a lot, so maybe it'd be better to soak up excess power on sunny days using old inefficient mining gear like block eruptors or whatever than to buy enough batteries to store power to keep gear running 24/7.
Sure I am trying to talk landlord in town into letting me put solar panels on his roof and hook them into the grid.
But meanwhile I am still looking for ways to make use of my existing house out in the countryside that would cost way more than the house originally did to get its grid hooked up again.
-MarkM-
It's a much better option although you've made it clear that it's not an option due to the age of the wiring and cost to bring it to code.
As far as doing the sequencing forget about using a UPS, you would end up replacing the lead-acid batteries frequently and it seems you want to avoid batteries completely at this point.
As far as off-the-shelf components go, I am not aware of anything that would do what you are requesting. Adjustable voltage switching relays are available, but without any kind of "smarts" and control logic behind them, they would end up oscillating and repeatedly switching loads on and off during periods where there is more power available than what is being used but not enough to support an additional load.
You will need a temporary source of power though, and ultracapacitors will be prohibitively expensive if you are planning a decent size system. A lead-acid battery would be a good candidate here as it would really only be handling temporary brownouts (small passing cloud, etc) and would not be deeply discharged.
Without it even blocking the panels for half a second would kill your mining setup and frequent power cuts will quickly corrupt the OS on your mining controller.
Back to the sequencing logic - if you want to take a bit of time to learn basic microcontroller function you could implement it easily with an Arduino and something like this
http://dx.com/p/8-channel-5v-relay-module-board-for-arduino-red-156424Combined with a raspberry pi running CGminer (bfgminer doesn't seem to support hot-plugging currently) you could wire the relay board to switch the +5v rail to the usb ports on a modified USB hub.
The arduino can read the system voltages by using a voltage divider with the arduino's analog to digital converter pins
Current sensing and power reporting can also be done with items like this
http://dx.com/p/20a-range-acs712-current-sensor-module-for-arduino-148656