While I am not against community tanks at all, there are some guidelines to be followed. The only minor problem I see with this setup is that red eyes are from Costa Rica (I think) and the pygmys are from Tanzania. The major problem I see is that frogs are also quite aggressive, they'll go after anything that moves. And the diurnal/nocturnal excuse holds no ground because they're going to be awake simutaneously throughout the day.
You might want to try some larger arrow frog species. They are from Brazil, though, but they are too big for the pygmys to eat and too small to really harm the chams. They are both diurnal. Try the bumblebee darts (Dendrobates leucomelas).
If I were to do a mixed tank with some pygmy chams, I would go with the largest pygmies I could find and some smaller species of Uroplatus (leaf tail geckos) or Phelsumas (day geckos). Both are from Madagascar, which is somewhat similar to Tanzania, or at least the habitat requirements are similar.
Make sure you keep each separate species in quarintine tanks to monitor their aggression and tolerance of conspecifics.
I would also like to state that mixing amphibians and reptiles and/or snakes is never a good idea, try to stick with just amphibians or just reptiles or just snakes (snakes tend to be more cannibalistic though) and you should run into less problems.
You will, however, most likely run into a few problems. If the health and/or well-being of any individual specimin must be compromised for a community tank, you MUST reconsider and make separate tanks for individual species.
You must also take into consideration that if a frog/gecko/lizard goes for a feeder that the chameleons tongue has already touched, it can rip out the chameleons tongue and the chameleon will die since medical treatment of pygmys is very difficult.
The single most important thing to remember is: COMMON SENSE. Just use logic and you should do fine.
Any specific questions just ask.
-Brock