kamilfb / mqtt-spy

Please use the new Eclipse Paho GitHub repo instead.
https://github.com/eclipse/paho.mqtt-spy/wiki
345 stars 68 forks source link

Save graphs at regular intervals #60

Closed acoxall closed 8 years ago

acoxall commented 8 years ago

It would be great to be able to save the graphs that mqtt-spy produces, at regular intervals. These could then be published to a web page.

kamilfb commented 8 years ago

Hi Al. Thanks for raising this. Sounds very do-able. I'll look into it soon.

kamilfb commented 8 years ago

Could you also describe the conditions under which it starts running slowly, e.g. what you do and how it behaves?

acoxall commented 8 years ago

I cant really describe this as an issue since it is most likely to be caused by the low spec PC (32 bit single core) under Win7.

I have the PC and 2 RPis running Mosquitto / Paho on each.

The systems send about 5 topics each, every 10 seconds from weather, boiler (temp) and electricity monitors

Javaw.exe is showing about 49% CPU usage all the time on the PC which is running SPY. I'm also running a java program to collect the electricity data so I cant be certain which is taking up the CPU.

My other programs total about 51% , so my PC is maxed out. So at least half of the performance issue is NOT down to SPY.

I have a set of graphs for each system. These are working fine for my purposes, but because I'm using 100% CPU, its hard to adjust them.

I think I need to move this over to a bigger PC

Cheers,

Al

From: Kamil Baczkowicz [mailto:notifications@github.com] Sent: 01 February 2016 17:04 To: kamilfb/mqtt-spy Cc: acoxall Subject: Re: [mqtt-spy] Save graphs at regular intervals (#60)

Could you also describe the conditions under which it starts running slowly, e.g. what you do and how it behaves?

— Reply to this email directly or view it on GitHub https://github.com/kamilfb/mqtt-spy/issues/60#issuecomment-178070318 . https://github.com/notifications/beacon/AP1qcH8D3JnkfWpvzPvQnEFbLApCpgmGks5pf4eYgaJpZM4HQtGz.gif

kamilfb commented 8 years ago

Al, have a look at this one: tinyurl.com/mqtt-spy-download/mqtt-spy-0.5.0-beta-b1-jar-with-dependencies.jar and tell me if that's any good. There is a new item in the "Options" button on the chart window. Once you do Save as, it enables auto-export options.

acoxall commented 8 years ago

Hi Kamil,

This is working really well and is exactly just what I wanted!!! It is already up on my in-house web-site.

Thanks so much for this….It was just what I needed

Al

From: Kamil Baczkowicz [mailto:notifications@github.com] Sent: 01 February 2016 23:22 To: kamilfb/mqtt-spy Cc: acoxall Subject: Re: [mqtt-spy] Save graphs at regular intervals (#60)

Al, have a look at this one: tinyurl.com/mqtt-spy-download/mqtt-spy-0.5.0-beta-b1-jar-with-dependencies.jar and tell me if that's any good. There is a new item in the "Options" button on the chart window. Once you do Save as, it enables auto-export options.

— Reply to this email directly or view it on GitHub https://github.com/kamilfb/mqtt-spy/issues/60#issuecomment-178251427 . https://github.com/notifications/beacon/AP1qcLsvFaWQS_mQO5_D4mNWbF-s7o-dks5pf-AXgaJpZM4HQtGz.gif

kamilfb commented 8 years ago

I'm glad it works fine! Would you consider making a small donation to UNICEF at https://www.justgiving.com/mqtt-spy? Cheers!

acoxall commented 8 years ago

No problem, I will do that now and thanks again

Al

From: Kamil Baczkowicz [mailto:notifications@github.com] Sent: 02 February 2016 08:41 To: kamilfb/mqtt-spy Cc: acoxall Subject: Re: [mqtt-spy] Save graphs at regular intervals (#60)

I'm glad it works fine! Would you consider making a small donation to UNICEF at https://www.justgiving.com/mqtt-spy? Cheers!

— Reply to this email directly or view it on GitHub https://github.com/kamilfb/mqtt-spy/issues/60#issuecomment-178447567 . https://github.com/notifications/beacon/AP1qcENLJkSM19H_Mp3lKu85RFRV_PzSks5pgGMggaJpZM4HQtGz.gif

kamilfb commented 8 years ago

Awesome! Thank you for your support!