Skip to content
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.

Windows

lalelunet edited this page Oct 7, 2014 · 3 revisions

Windows

Note: This instructions are for version 112. This is the latest version I have tested. There are some users out there running the newest version on windows. Feel free to send me feedback if you run newer versions on windows or if you believe you want to support the windows users in the project :D I am not longer interested to support Microsoft crappy spy software.

I remove the windows support from measureit since version 117. There are just some lines of code that was different from the linux code. [See commit if you are interested in] (https://github.com/lalelunet/measureit/commit/3aed0bbb08679ce84010edc96a23fdfc6baac1f0)

You had to install some software to get this thing running. The URLs to the pages are from the packages I use. These sites must not be the "original pages". They come up on my search in the internet. There are certainly more sites that share these packages...

PLEASE NOTE: I WILL NEVER EVER DO ANY SUPPORT FOR YOUR WINDOWS SYSTEM PROBLEMS! YOU CAN ASK FOR SUPPORT FROM THE POINT YOU INSTALL MEASUREIT.

First you need the driver from currentcost to connect to your device. http://currentcost.com/software-downloads.html

XAMMP

The server structure XAMPP you can get from apachefriends. Download the installer version. Available Apache and Mysql as a service.

http://www.apachefriends.org/en/xampp-windows.html

Python Packages

The grabber script is written in python. You had to install python and the necessary modules.

FROM NOW USE THE 32 BIT VERSIONS even if you are running a Windows with 64 bit support.

Python 2.7.2

[http://www.python.org/getit/](Python 2.7.2 Windows Installer)

MySQL-python

The database package for python to talk with your mysql server

http://www.codegood.com/archives/129

pyserial

The serial package to talk with your currentcost device.

IMPORTANT NOTE: If you are on a 64bit system you had to use the version 2.4 from pyserial and you need the additional Python Win32 Extensions pywin. Otherwise it will not work. If you are not sure which windows version you are running take the 2.4 version from pyserial and install pywin. It works on both systems

Windows 32 bit version

http://sourceforge.net/projects/pyserial/files/pyserial/2.5/

Windows 64 bit version

http://sourceforge.net/projects/pyserial/files/pyserial/2.4/

http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.win32-py2.7.exe

Finally the installation from measureit starts

Known issues and solutions when you are running into problems during the setup you will find on the wiki

From here I will answer questions if you have any problems you will not found in the FAQ Then create a new issue

Download the latest version from measureit

Create the directory C:\xampp\htdocs\measureit

Extract the downloaded measureit package and put in in the directory C:\xampp\htdocs\measureit

Install the database

Open a browser and type in the location bar ( not in the google search field .... ) "localhost".

Choose your language

You will find on the left side the point "phpMyAdmin"

Click on import on the top of the window. Choose the following file: C:\xampp\htdocs\measureit\install\createdb.sql

Click OK

Start grabbing the data Now your measureit installation should be complete and if you type "localhost/measureit" in your location bar you should see the start screen from measureit

At this point it is time to start the grabbing process. Start the "cmd.exe". You can type it in the search field in your start menu. Windows will find it. Copy and paste this line into the cmd window. Now the data should be grabbed. Leave the cmd window open.

If you are more familiar with windows systems than me feel free to share you information about creating a system service that will start automatically with windows

C:\Python27\python.exe C:\xampp\htdocs\measureit\python\data-input.py

Delete the install folder and the scripts folder.

C:\xampp\htdocs\measureit\install

C:\xampp\htdocs\measureit\scripts

AND NOW GO TO THE FAQ PAGE AND READ THE SECURITY PART. THIS IS IMPORTANT! :)

Here you will find informations to set up your sensors and clamps and other useful informations how to use measureit