instanttim / MonitorMate

A monitoring system for the Outback Power MATE3. It processes the data stream, reformats it for logging, charting, and display on a web server.
GNU General Public License v2.0
8 stars 7 forks source link

Question #40

Closed cgserrant closed 8 years ago

cgserrant commented 8 years ago

How to set the ip address of the mate and port number in the config file ? also how to get the token? Sorry very new to this .

instanttim commented 8 years ago

There are two parts to the project, the python script which gets the Data Stream from the Mate3. It then cleans it up and reformats the data and sends it to your web server.

I think you are looking in the configuration file for the Web Server (config.php). In the Data Stream Host directory you'll see the scripts to run on your local client. It doesn't need to know the IP address of your mate, just what port to listen on for the Data Stream, which is a command line argument. There's a shell script you can use to start it as a deamon on most Linux computers.

Note that on your Mate3 you do need to configure the destination IP address and Port to send the data stream, which again should be the local computer on which you're running the python scripts.

PS: this "issues" section on github is for filing bugs, not general conversation. Feel free to email me if you just need to ask questions or need help getting it up and running. I recognize it's not very user-friendly and it's rather technical... unfortunately.

cgserrant commented 8 years ago

Hi Timothy

Thanks for your reply and sorry for posting in issues.

Lets see if I can explain what I am trying to do. I have wattplot running on a machine that is plugged directly into the mate via seral. As its a mate2 and mate 3 is at outback again for repair. Now whattplot has a tcp server running on it that spits out raw mate data (outback code) but needs a telnet session to connect to it to get the data . Is there a way for me to connect to that tcp data stream using the script? Also I am trying run this all on windows machine running wamp.

Also new to this how do I change the listing port . Please give example .

Cheers Chris

On Mon, Feb 29, 2016 at 7:27 PM, Timothy Martin notifications@github.com wrote:

Closed #40 https://github.com/instanttim/MonitorMate/issues/40.

— Reply to this email directly or view it on GitHub https://github.com/instanttim/MonitorMate/issues/40#event-572157614.

jcheil commented 8 years ago

Dump wattplot, that program is a joke. You can't have 2 programs listen on the same port. On Feb 29, 2016 8:29 PM, "cgserrant" notifications@github.com wrote:

Hi Timothy

Thanks for your reply and sorry for posting in issues.

Lets see if I can explain what I am trying to do. I have wattplot running on a machine that is plugged directly into the mate via seral. As its a mate2 and mate 3 is at outback again for repair. Now whattplot has a tcp server running on it that spits out raw mate data (outback code) but needs a telnet session to connect to it to get the data . Is there a way for me to connect to that tcp data stream using the script? Also I am trying run this all on windows machine running wamp.

Also new to this how do I change the listing port . Please give example .

Cheers Chris

On Mon, Feb 29, 2016 at 7:27 PM, Timothy Martin notifications@github.com wrote:

Closed #40 https://github.com/instanttim/MonitorMate/issues/40.

— Reply to this email directly or view it on GitHub https://github.com/instanttim/MonitorMate/issues/40#event-572157614.

— Reply to this email directly or view it on GitHub https://github.com/instanttim/MonitorMate/issues/40#issuecomment-190482308 .