WeIo – embedded platform programmable in Python and JavaScript
we-io.net
we-io.net
As for battery life, the AR9331 SoC is used in the TP-Link MR3040 uses a lithium battery similar to old Nokia ones, and it lasts for about 5 hours. So this product could certainly work well with larger batteries, but really no chance with AAA or AA cells.
What good are all of these "things" that let you not learn to program in C or care about low level details if they get poor battery life or if they are insanely expensive?
Why wouldn't I just buy an Arduino and a wi-fi/ble shield?