= CurrentCost EnviR power monitor = The [http://www.currentcost.com/product-envir.html EnviR] (CC128) is a wireless power monitor from [http://www.currentcost.com/ CurrentCost]. The console receives up to ten wirelessly-transmitted current signals from [http://www.currentcost.com/product-transmitter.html transmitters]. Transmitters detect one- or three-phase alternating current with clamps. Combined with a fixed nominal voltage programmed into the console, the EnviR calculates a wattage. == Serial protocol == The EnviR has an RJ45 port with nonstandard wiring, carrying a TTL serial signal. A [http://www.currentcost.com/product-datacable.html data cable] containing an inline Prolific PL-2303 chip transforms this signal into a USB serial signal. The serial protocol is [http://www.currentcost.com/cc128/xml.htm documented]. == Preparing the hardware == You need a serial port in Vera's MiOS interface. Two ways of doing this: * Connect the EnviR to the Vera. (Does Vera recognize the PL-2303 without additional work?) * Connect the EnviR to an always-on computer running serial-to-Ethernet gateway software, and use the [http://code.mios.com/trac/mios_ipserial/ IPSerial plugin] to add a virtual serial port to the Vera. The serial parameters are: 57600 bps, 8 data bits, 1 stop bit, no parity. == Installing the plugin files == Install these files from the [http://code.mios.com/trac/mios_currentcost-envir/browser/trunk repository]: * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/D_CurrentCostEnviR1.json D_CurrentCostEnviR1.json] * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/D_CurrentCostEnviR1.xml D_CurrentCostEnviR1.xml] * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/D_CurrentCostEnviRAppliance1.json D_CurrentCostEnviRAppliance1.json] * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/D_CurrentCostEnviRAppliance1.xml D_CurrentCostEnviRAppliance1.xml] * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/I_CurrentCostEnviR1.json I_CurrentCostEnviR1.json] * [http://code.mios.com/trac/mios_currentcost-envir/export/latest/trunk/S_CurrentCostEnviR1.json S_CurrentCostEnviR1.json] == Creating the device == == Configuring the device ==