DE or Diatomaceous earth is an insect killer. Its not used as a bait to capture anything, it kills them.
Its also sold as a pool cleaner.
Its a fine powder but sharp like glass to insects and cuts up the inside of an insect so that they dry out.
While its considered all natural I doubt its safe to use in that close of a proximity to bees.
I am surprised to hear it recommended in a bee hive.
I use to use it in my chicken pens, in the shavings on the floor to control flies but stopped when I got bees.
I know someone that used in a chicken pen and it killed her brand new chicks and not in a quick manner either.
There is alot of information about this online, here is a couple of blurbs I found quickly.
DE, TSS, diatomite, diahydro, kieselguhr, kieselgur or celite — is a naturally occurring, soft, chalk-like sedimentary rock that is easily crumbled into a fine white to off-white powder. This powder has an abrasive feel, similar to pumice powder, and is very light, due to its high porosity. The typical chemical composition of diatomaceous earth is 86% silica, 5% sodium, 3% magnesium and 2% iron.
Diatomaceous earth consists of fossilized remains of diatoms, a type of hard-shelled algae. It is used as a filtration aid, as a mild abrasive, as a mechanical insecticide, as an absorbent for liquids, as cat litter, as an activator in blood clotting studies, and as a component of dynamite. As it is also heat-resistant, it can be used as a thermal insulator.
Use Perma-Guard Food Grade Diatomaceous Earth as a natural insecticide for the non-chemical control of aphids, whiteflies, beetles, loppers, mites, leafhoppers, and other insects. Sprinkle it inside your greenhouse, or outdoors on fruits, vegetable plants, flowers, grains, and grass—up to and including the day of harvest.
Diatomaceous Earth controls insects by using physical, not chemical, action: It punctures an insect’s exoskeleton and absorbs its body fluids
Diatomaceous Earth Crawling Insect Killer is a natural mechanical insecticide that is an excellent alternative to toxic, chemical pesticides. It is made from the fossilized shells of tiny sea creatures called diatoms. It comes in the form of a chalky powder.
Because it is like a light dust, it easily clings to the bodies of insects as they walk and crawl over it. The tiny glass-like particles then cut the waxy coating of insects and they eventually dry out and die. Insects come in contact or ingest this powder and die within 48 hours. Insects cannot become immune to Diatomaceous Earth.