I just got my GQ GMC320 Geiger Counter with Wifi. It logs data and it also can send the data directly to the website of GMC where it stores it (based on an interval you set).
However you can modify some of the parameters (in the device) so it actually sends the data to another destination. You can set two fields: A website ‘server’ (example ‘www.gmcmap.com’) and a website ‘URL’ (example ‘log2.asp’).
I recommend setting up a “man-in-the-middle” file on some webserver you have access to (preferably the raspberry pi hass is running on, google helps with setting up your own webserver). Just set up a webserver and put some file (like mim.html) in the web-base.
Thanks. Never really got it connected. You project looks cool. However not sure how I can make it work with my GQ. I was hoping I could use the build in ability of the GQ to post the data to something that is available to HASS. I also need it connected via wifi as the location near to my hass server was giving some issues now and then with the geiger counter (for still unknown reasons)
EDIT: I just found some software to log it on a PC. That could work (although not ideal). The issue is it stores the data on the PC (I have one running 24/7). I would then need to find a way to read that data from the PC into HASS…
gmcmap seems unavailable, this happens more? i would like to fetch just a value from around my neighbourhood, would that be possible without having the device?
For sensor_id, you can find a device nearby on that map and copy value for sensor_id from the map. Just move the mouse cursor over “History Button” and you will find the id in the link that button points to
They’ve recently gone through some changes and when it came back up my script stopped working. I’m not familiar with parsing JSON and I’m hoping someone knows what the issue might be.
Sorry about the late reply, yes, I was using the same rest code as Bodek333 and it started working but has stopped as of late this afternoon. No idea what’s going on with that site but I’m going to shelve this for now.
I’ve found the error I was getting with GMCMap. It’s an error with their output, they have an HTML tag suck on the end of their JSON and it’s causing a parse error. I’ve posted about it on their forums so hopefully gets their attention. I’m upset at myself for not seeing it earlier but I was just looking at the output in my browser and missed it.
The HTML line break at the end is not defined by JSON and while it will not show up when viewed in a >web browser, it will cause JSON parsers to break. You can “view page source” to verify that the HTML >line break exists.
Parse error on line 1:
...19.81","uSv":"0.19"}<br>
-----------------------^
Expecting 'EOF', '}', ',', ']', got 'undefined'