T O P I C R E V I E W |
codref |
Posted - 01/22/2019 : 03:22:56 Guys, I thought you were trying to build a community around your product, maybe the removal of forum messages trying to publicize your product providing additional software which extends the features - is not the ideal way.
In any case I'm distributing under the GPL license a tool to download data and monitor in realtime the EMF-390 unit. The monitoring commands should work also on EMF-380 models.
Inside the repository (https://gitlab.com/codref/em390cli) you find binaries for windows and linux (arm and x86). Use at your own risk, they are meant to test out the tool and includes debug symbols.
An example case of use is the data retrieval from EMF unit and push to an InfluxDB (a database specific for time series) connected to a Grafana dashboard. If someone is interested I can provide further information.
|
13 L A T E S T R E P L I E S (Newest First) |
EmfDev |
Posted - 02/21/2020 : 09:39:08 sprezzatura, try to download the data while device is off. |
sprezzatura |
Posted - 02/21/2020 : 06:55:22 I wrote a download program in Qt/C++, but the GQ is extremely slow in responding. Is there some sort of flow control protocol in effect? |
EmfDev |
Posted - 02/20/2020 : 15:57:34 Hi vpitarque, does it not work on your computer? We have mac version of EMF_PRO but it looks like it doesn't always work to all MACs. |
vpitarque |
Posted - 02/20/2020 : 14:11:52 Any chance the folks at GQ or any other leading mind will release the SW for Catalina for non deeply tech users? Thanks! |
user18 |
Posted - 01/26/2020 : 08:07:02 quote: Originally posted by raffals
Can't find which port to use on the Mac. I think it may need a device driver, as I don't think Mac OSX sees anything when the gq-390 is connected via USB. I ran these commands on Mac OSX 10.13.6, with the gq-390 running in Vertical Mode and connected via USB:
When I connect EMF-390 using USB, 2 devices appear: /dev/tty.usbserial-1410 /dev/tty.wchusbserial1410
I was able to retrieve data using the latter with emf390cli.
OS X should have the driver built-in, I think, starting from Mojave. In fact, you may need to clean old drivers, at least that is what I read. (It may be a trivial thing, but you need to use the proper USB cable that can transfer data.) |
user18 |
Posted - 01/26/2020 : 07:59:23 quote: Originally posted by codref
I do not have a mac, but I just added OSX support. Here you can download the right binary https://gitlab.com/codref/em390cli/tags/v0.1.0 If you are able to test it out, let me know if it works.
Incredible work, codref, thank you! I've just tested it on Mac. Quickly downloaded logged data into a csv. I no longer need Windows for it.
Btw, the GQ EMF PRO Mac client (Oct-10-2019) unfortunately does not run on Catalina (10.15), I guess because 32-bit is no longer supported. |
EmfDev |
Posted - 09/24/2019 : 14:33:17 Hi raffals, the mac software for the EMF meters is now under development. The driver needed is the CH340 or CH34x Driver. And the baurdrate is 115200. |
raffals |
Posted - 09/24/2019 : 14:02:18 Can't find which port to use on the Mac. I think it may need a device driver, as I don't think Mac OSX sees anything when the gq-390 is connected via USB. I ran these commands on Mac OSX 10.13.6, with the gq-390 running in Vertical Mode and connected via USB:
c-98-210-32-20{rich:~/bin} emf390cli -l c-98-210-32-20{rich:~/bin} sudo dmesg | grep -i usb c-98-210-32-20{rich:~/bin} emf390cli -p /dev/ttyUSB0 -f '%w%d%e%t%k%E%M' --influx 'statuto_' Failed to open "/dev/ttyUSB0". Error: No such file or directory c-98-210-32-20{rich:~/bin} emf390cli -p /dev/tty.usbserial -f '%w%d%e%t%k%E%M' --influx 'statuto_' Failed to open "/dev/tty.usbserial". Error: No such file or directory c-98-210-32-20{rich:~/bin} ls /dev/tty* | grep -i usb c-98-210-32-20{rich:~/bin} -98-210-32-20{rich:~/bin} ioreg -p IOUSB -w0 +-o Root <class IORegistryEntry, id 0x100000100, retain 15> +-o AppleUSBXHCI Root Hub Simulation@14000000 <class AppleUSBRootHubDevice, id 0x10000030a, registered, matched, active, busy 0 (4 ms), retain 12> +-o Bluetooth USB Host Controller@14300000 <class AppleUSBDevice, id 0x100012341, registered, matched, active, busy 0 (5773 ms), retain 21> +-o Apple Internal Keyboard / Trackpad@14400000 <class AppleUSBDevice, id 0x100012347, registered, matched, active, busy 0 (636 ms), retain 19> +-o USB2.0 Hub@14200000 <class AppleUSBDevice, id 0x100012d4e, registered, matched, active, busy 0 (5 ms), retain 13> | +-o KB800HM Kinesis Freestyle2 for Mac@14210000 <class AppleUSBDevice, id 0x100012d60, registered, matched, active, busy 0 (348 ms), retain 19> | +-o Kensington Expert Mouse@14230000 <class AppleUSBDevice, id 0x10001451f, registered, matched, active, busy 0 (121 ms), retain 14> +-o USB2.0-Serial@14100000 <class AppleUSBDevice, id 0x100018a78, registered, matched, active, busy 0 (1 ms), retain 9>
|
e-mars |
Posted - 02/12/2019 : 06:17:33 quote: Originally posted by francois
I gave it a quick try. The EMF-390 is connected to an USB port and charging. Then I run `./emf390cli -l`trying to find what serial port I should use but it lists nothing.
You may try to run the command 'dmesg' and get a message like: [536146.821503] usbcore: registered new interface driver usbserial_generic [536146.821517] usbserial: USB Serial support registered for generic [536146.823203] usbcore: registered new interface driver ch341 [536146.823217] usbserial: USB Serial support registered for ch341-uart [536146.823229] ch341 2-1.4.2:1.0: ch341-uart converter detected [536146.824694] usb 2-1.4.2: ch341-uart converter now attached to ttyUSB0
That means the device is attached to /dev/ttyUSB0
|
francois |
Posted - 01/25/2019 : 16:09:43 I gave it a quick try. The EMF-390 is connected to an USB port and charging. Then I run `./emf390cli -l`trying to find what serial port I should use but it lists nothing. |
codref |
Posted - 01/24/2019 : 10:43:33 I do not have a mac, but I just added OSX support. Here you can download the right binary https://gitlab.com/codref/em390cli/tags/v0.1.0 If you are able to test it out, let me know if it works.
About Grafana and InfluxDB, indeed they provide a very intuitive way to compare measures. I think the EMF-390 logger wins over the realtime monitoring, mostly because of the difficulty to carry an internet connection (and a raspberrypi) in the exact point you want to monitor. I can write a short article - will let you know when and where. |
francois |
Posted - 01/23/2019 : 14:22:21 I guess you didn't test it on a mac?
Anyways, I would be very interested to see the end result of what you can do with InfluxDB and Grafana. Does it allow to "easily" compare daylong recordings of different rooms / different corners of the rooms?
|
EmfDev |
Posted - 01/22/2019 : 10:38:44 We deleted spam messages regularly and we might have accidentally deleted one of the non-spam threads.
Thank you for your software, haven't had the time to try it though. |
|
|