Radiation detector platform

Hello,

Recently I’m thinking about making a cheap radioactivity detector, and connect it to the HA.
The question is: would you use one too, have you seen any cheap detectors?
Think about a simple GM detector, nothing for identifying isotopes, just that shows you the cps for example.

Thanks four your ideas!

1 Like

You have definitely peaked my interest.

1 Like

Any progress? After few months 45km from Vilnius, largest city of Lithuania and my home, in Belarus, cheapest nuclear plant built by Russia will start operating… :frowning: I really need notification system as goverments do not agree on sharing information and it may be too late after in case you hear nuclear radiation alarm.

1 Like

Found some already made stuff. Will try to get one and try it. For example:

1 Like

I have been looking for the same sensor as @norcis for the same reason - Astravets Nuclear Power plant

I found that the European Commission publishes this data for all European countries on their website here approximately every hour: https://remon.jrc.ec.europa.eu/

A little bit of tinkering and I found the API endpoint that returns the latest data (looks to be updated hourly) in JSON. Sadly the data isn’t fully real-time but it gives average and maximum values that I will be using for the automations.

It is possible to track a specific station or an area of stations. For instance, I am tracking max and avg value in Kalveliai station (nearest station to the nuclear plant) and also getting an average of all stations in Vilnius area.

  - platform: rest
    name: Radiation in Kalveliai station
    resource: https://rewidget.jrc.ec.europa.eu/v3/objects/point?id=LT21042
    scan_interval: 1800 # check every 30 minutes
    unit_of_measurement: nSv/h 
    value_template: '{{ value_json.avg.val }}'
    headers:
      Content-Type: application/json
  - platform: rest
    name: Radiation in Kalveliai station Max
    resource: https://rewidget.jrc.ec.europa.eu/v3/objects/point?id=LT21042
    scan_interval: 1800 # check every 30 minutes
    unit_of_measurement: nSv/h 
    value_template: '{{ value_json.max.val }}'
    headers:
      Content-Type: application/json
  - platform: rest
    name: Radiation in Vilnius Area
    resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=622_294&zoom=7
    scan_interval: 1800 # check every 30 minutes
    unit_of_measurement: nSv/h 
    value_template: '{{ value_json.avg }}'
    headers:
      Content-Type: application/json
  - platform: rest
    name: Radiation in Vilnius Area Max
    resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=622_294&zoom=7
    scan_interval: 1800 # check every 30 minutes
    unit_of_measurement: nSv/h 
    value_template: '{{ value_json.max }}'
    headers:
      Content-Type: application/json

To change a station, simply replace LT21042 with the station identifier that could be found by looking at the Advanced map: https://remap.jrc.ec.europa.eu/Advanced.aspx


For tracking a hexagon area you may want to look at the simple map (https://remap.jrc.ec.europa.eu/Simple.aspx) and watch what requests browser is making when clicked on a chosen hexagon and replace the id and zoom values in the resource:

7 Likes

Wow, cool.

Hi, There!
To build an inexpensive geiger counter with a simple connection to Home Assistant / ESPHome, you can use the GGreg20_V3 module manufactured by IoT-devices LLC.

https://iot-devices.com.ua/en/product/ggreg20_v3-ionizing-radiation-detector-with-geiger-tube-sbm-20/

We recently posted on GitHub an example of connecting this module:

https://github.com/iotdevicesdev/ggreg20-v3-homeassistant-esphome-example
Using any master controller (and in the case of ESPHome firmware, it can be either ESP32 or ESP8266), you can: receive data from the sensor to the server and keep convenient records, build graphs, calculate derivatives for users, such as:

  • received for a certain period of time the radiation dose,
  • or average data thanks to built-in mechanisms in ESPHome such as Moving Average Filter;
  • also Home Assistant allows you to easily build a virtual sensor that shows the general nature of the change in the measured value - in this case, shows the speed at which the radiation background increases.
    It should also be noted that Home Assistant allows you to build automations with crossing thresholds, notifying users and, for example, emergency automatic blocking of ventilation ducts in the building in case of danger and more.

See also:
Derivative - Home Assistant
Understanding automations - Home Assistant
Sensor Component — ESPHome

With regard to the pulse counter generated by GGreg20_V3, this is very convenient and easy to implement.
The module uses an inexpensive and common Geiger-Mueller tube SBM-20.
Due to the fact that the GGreg20_V3 module has a very simple internal architecture and does not have an I2C, UART or SPI interface, which usually requires special driver support on the side of the main controller or platform to which it must be connected, this sensor integrates into any modern system with one line of code and takes up only one additional GPIO on the main controller.
The power supply of the module is also conveniently implemented - a wide range of input voltages is supported (2.2 - 5.5 V), compatible with all common hardware platforms for DYI.

With hope that this helps!

Best Regards,
Oleksii

1 Like

Are these still being sold? It looks like they were shipping directly from Kyiv so I’m thinking not.

Hi,
how can I use it in homeassistant?
Thank You.
Arnold.


Hi! Thanks for your question! And sorry for the delay.
We are pleased to announce that we have resumed sales and delivery of our modules on Tindie .
Currently available modules:

  • GGreg20_V3 Ionizing Radiation Detector;
  • I2CUI4_V1 keypad user interface module.
    Shipment of modules is performed in the usual time, but the delivery time may vary taking into account the logistics of the Ukrposhta service.
    We are waiting for your orders and are ready to supply our modules, well made and tested.
    Delivery of the order takes place from a warehouse in Kyiv.
    We are also working to fulfill a warehouse in the United States.

Source: Resumed sales of modules on Tindie. - Electronics manufacturer for IoT

1 Like

Hi! Thank you for your interest in our projects.
You may use intructions following the link for GGreg20_V3 on GitHub:

Today I got one GGreg20_V3, and wrote a small app, that integrates it to HA via mqtt; all seems great.
Now, I want to put it outdoor, so only needs a 3d printable enclosure; does anybody has one? Please upload it to thingverse, if I can ask for it :slight_smile:
If noone reply, I would make a poor quality one (so bad at cad), so save the world from it if you can :smiley:

1 Like

For me too :slight_smile:

Hello @sakalauskas
Thank you for your integration. It seems that the URL https://rewidget.jrc.ec.europa.eu/v3/objects/point?id=LT21042 doesn’t work anymore. Do you know if they have updated the adress of the json ?

2 Likes

Stoped working for me also… what the heck EU is working…

I got some bad news… I just got an e-mail from EURDEP… they discontinued the widgets service.

If you choose the simple map on website: Radiological Maps - European Commission
Open the developer tools of your browser, go to network tab.

Click on the desired area.
On the network tab, you’ll see a lot of requests, but you’ll need the last with url polygon?id=XX_YY&zoom=Z…
If you zoom in a bit, you’ll get closer data, as the zoom variable increases.

Copy the id to this link, and you’ll get the result in HA in XML format.
https://remap.jrc.ec.europa.eu/api/maps/polygon?id=74_35&zoom=4

Example xml:

<MapInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JRC.REM.EURDEP.Web.App.Map.Public.DAL.Controllers">
<Avg>64.79</Avg>
<Error i:nil="true"/>
<Max>64.79</Max>
<Min>64.79</Min>
</MapInfo>

For example see sakalauskas’s post up here. Check the rest sensor with te right url.

3 Likes

Here’s working snippet for Krakow, Poland (see previous post for the tips on polygon URL):

sensor:
  - platform: rest
    name: Radiation in Krakow
    resource: https://remap.jrc.ec.europa.eu/api/maps/polygon?id=604_275&zoom=7
    scan_interval: 1800 # check every 30 minutes
    timeout: 60 # seconds
    json_attributes:
      - avg
      - max
      - min
    unit_of_measurement: nSv/h
    value_template: "{{ value_json.avg }}"
    headers:
      Content-Type: application/json
4 Likes

https://remap.jrc.ec.europa.eu/api/maps/point?id=XX00000

Hi,
I have this device:

it generate a json file over http connection, and I use REST to get value in HA