{"id":2407,"date":"2022-09-17T08:39:21","date_gmt":"2022-09-17T05:39:21","guid":{"rendered":"https:\/\/iot-devices.com.ua\/pidklyuchennya-sensora-radiacziyi-ggreg20_v3-do-servera-home-assistant-cherez-integracziyu-esp-home-3\/"},"modified":"2025-12-25T19:23:37","modified_gmt":"2025-12-25T17:23:37","slug":"pidklyuchennya-sensora-radiacziyi-ggreg20_v3-do-servera-home-assistant-cherez-integracziyu-esp-home-3","status":"publish","type":"post","link":"https:\/\/iot-devices.com.ua\/en\/pidklyuchennya-sensora-radiacziyi-ggreg20_v3-do-servera-home-assistant-cherez-integracziyu-esp-home-3\/","title":{"rendered":"Connecting the GGreg20_V3 Radiation Sensor to the Home Assistant Server via ESP Home Integration \u2013 part 3"},"content":{"rendered":"\n<p>We offer you the the last, <strong>third part of the description<\/strong> of the procedure of connecting the detector (sensor) GGreg20 in combination with the main controller ESP8266 or ESP32 to the Home Assistant server via the ESP Home plug-in.<\/p>\n\n<p><strong>Second part of the description,<\/strong> see the link: <strong><a href=\"https:\/\/iot-devices.com.ua\/en\/connecting-ggreg20_v3-radiation-sensor-to-home-assistant-server-via-esp-home-integration-part2\/\" class=\"rank-math-link\">Connecting the GGreg20_V3 Radiation Sensor to the Home Assistant Server via ESP Home Integration &#8211; part 2<\/a><\/strong><\/p>\n\n<p> <\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note<\/strong> . This publication is suitable for all versions of the ionizing radiation detector manufactured by IoT-devices: GGreg20_V1, GGreg20_V2, GGreg20_V3 <br\/>Since the entire line of these detectors is focused on the SBM-20 tube, all versions of the devices have the same algorithm and coefficients for calculating the power level and dose of ionizing radiation.<br\/>The accuracy of the measurement is affected only by the individual properties of the SBM-20 tube installed in each GGreg20_V3 detector. The specifications of the tube manufacturer indicate a limit range of measurement accuracy of <a rel=\"noreferrer noopener\" href=\"https:\/\/zapadpribor.com\/sbm20\/\" target=\"_blank\">20%<\/a> . On practice, this means that two identical GGreg20 devices, but with different SBM-20 tubes, can give results (not more than) with the specified deviation in the number of pulses.<\/p><\/blockquote>\n\n<h2 class=\"wp-block-heading\">Steps to connect GGreg20 to Home Assistant \u2013 continued.<\/h2>\n\n<h5 class=\"wp-block-heading\">Step 8. Check the log of the new ESP8266 controller with GGreg20 connected<br\/>Step 9. Check for new entities on the server side<br\/>Step 10. Add GGreg20 radiation sensor widgets to the Dashboard<br\/>Step 11. Add a push notification automation script to the Home Assistant application for crossing thresholds<\/h5>\n\n<h3 class=\"wp-block-heading\">Entities and values of the device on the server<\/h3>\n\n<h4 class=\"wp-block-heading\"><strong>Step 8<\/strong> . Check the log of the new ESP8266 controller with GGreg20 connected<\/h4>\n\n<p>Here is an example of an active device console with GGreg20 and yaml settings similar to the ones we developed above.<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-1024x661.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"661\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-1024x661.png\" alt=\"\" class=\"wp-image-1097\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-1024x661.png 1024w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-454x293.png 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-300x194.png 300w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13-768x496.png 768w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-13.png 1393w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>Fig. Output to the device console (Logs) via the ESP Home interface<\/p>\n\n<h4 class=\"wp-block-heading\"><strong>Step 9<\/strong> . Check for new entities on the server side<\/h4>\n\n<p>There are two ways to verify that the corresponding GGreg20 entities are formed in the ESP Home plug-in and that the Home Assistant server sees them:<\/p>\n\n<ul class=\"wp-block-list\"><li>go to the Developer Tools menu on the sidebar of the Home Assistant interface and search for the relevant data as shown in Fig.<\/li><\/ul>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-1024x778.png\"><img decoding=\"async\" width=\"1024\" height=\"778\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-1024x778.png\" alt=\"\" class=\"wp-image-1100\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-1024x778.png 1024w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-454x345.png 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-300x228.png 300w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15-768x584.png 768w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-15.png 1104w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>Fig. Find the right entities through the Developer Tools menu<\/p>\n\n<ul class=\"wp-block-list\"><li>or go to the menu Configuration -&gt; Integration and search as shown in the following figures.<\/li><\/ul>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-1024x514.png\"><img decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-1024x514.png\" alt=\"\" class=\"wp-image-1102\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-1024x514.png 1024w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-454x228.png 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-300x151.png 300w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-768x385.png 768w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17-1536x771.png 1536w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-17.png 1670w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>Fig. Search for the desired entities through the menu Configuration -&gt; Integration<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-1024x475.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-1024x475.png\" alt=\"\" class=\"wp-image-1104\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-1024x475.png 1024w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-454x211.png 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-300x139.png 300w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-768x356.png 768w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18-1536x712.png 1536w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-18.png 1673w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>Fig. Search for the required entities through the menu Configuration -&gt; Integration : Devices \/ Entities<\/p>\n\n<h3 class=\"wp-block-heading\">Visualization and Automation<\/h3>\n\n<h4 class=\"wp-block-heading\"><strong>Step 10<\/strong> . Add GGreg20 radiation sensor widgets to the Dashboard<\/h4>\n\n<p>Here is an example of a demo tab from an active server for two devices GGreg20_V1 and GGreg20_V3 located in different coordinate axes. Each device uses the same yaml file as we created above.<\/p>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-1024x547.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-1024x547.png\" alt=\"\" class=\"wp-image-1098\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-1024x547.png 1024w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-454x243.png 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-300x160.png 300w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14-768x410.png 768w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2021\/07\/image-14.png 1415w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<p>Fig. The dashboard shows widgets with radiation level data from two sensors GGreg20_V1 and GGreg20_V3 located on different coordinate axes.<\/p>\n\n<h4 class=\"wp-block-heading\"><strong>Step 11<\/strong> . Add a push notification automation script to the Home Assistant application for crossing thresholds<\/h4>\n\n<p>Once we have made sure that the new device works and sends reliable data, it is possible to move on to the main task &#8211; Automation. This powerful tool is available to the administrator through the menu Configuration -&gt; Automation.<\/p>\n\n<p>Because the entities with the power and dose of ionizing radiation created by ESP Home are available through all components and functions of Home Assistant, the administrator can create any events, functions, scenarios with their use.<\/p>\n\n<p>For example, it is possible to create an automated exceeding notification of the normal power threshold of ionizing radiation with a message on a smartphone. And so on.<\/p>\n\n<p>However, these topics go far beyond this publication and we do not have the opportunity to consider them here.<\/p>\n\n<h2 class=\"wp-block-heading\">Conclusions<\/h2>\n\n<p>In parts <strong><a href=\"https:\/\/iot-devices.com.ua\/en\/connecting-ggreg20-radiation-sensor-to-home-assistant-server-via-esp-home-integration\/\" class=\"rank-math-link\">one<\/a><\/strong> and <strong><a href=\"https:\/\/iot-devices.com.ua\/en\/connecting-ggreg20_v3-radiation-sensor-to-home-assistant-server-via-esp-home-integration-part2\/\" class=\"rank-math-link\">two<\/a><\/strong> , we covered the steps<\/p>\n\n<p>Server<br\/>Step 1. Install (or start) the Home Assistant server<br\/><br\/>ESP Home plugin for Home Assistant<br\/>Step 2. Connect the ESP Home extension for the Home Assistant server via the Supervisor -&gt; Add-on Store menu<br\/><br\/>YAML-config of the new ESP device with GGreg<br\/>Step 3. Download the ready example of a batch yaml-configuration file of the GGreg20_V3 device for ESP8266 from our website<br\/>Step 4. Create (based on the example) in ESP Home the appropriate yaml configuration file<br\/><br\/>Hardware connection GGreg20_V3 and controller<br\/>Step 5. Select the GPIO pin on the controller that will register the pulses from GGreg20<br\/>Step 6. Connect the GGreg20_V3 radiation detector to the ESP8266 controller via the Out connector to the selected GPIO of the controller<br\/><br\/>Flashing the ESP device with GGreg<br\/>Step 7. Build and write firmware for the controller<\/p>\n\n<p>Next, we performed the following steps to connect GGreg20 to Home Assistant:<\/p>\n\n<h5 class=\"wp-block-heading\">Step 8. Check the log of the new ESP8266 controller with GGreg20 connected<br\/>Step 9. Check for new entities on the server side<br\/>Step 10. Add GGreg20 radiation sensor widgets to the Dashboard<br\/>Step 11. Add a push notification automation script to the Home Assistant application for crossing thresholds<\/h5>\n\n<p>We have considered in detail the easiest way to connect the GGreg20 detector with the ESP8266 controller to the Home Assistant server with the ESP Home plug-in.<\/p>\n\n<p>And we made sure that it is not difficult at all, because all the work for us is performed by :<\/p>\n\n<ul class=\"wp-block-list\"><li>Detector GGreg20_V3 &#8211; Immediately registers the pulses and transmits them to ESP8266;<\/li><li>ESP Home plugin &#8211; provides an interface for building firmware and programming ESP8266;<\/li><li>Ready-to-use yaml-file frees us from self-writing guidelines for sensor GGreg20;<\/li><li>The Home Assistant server allows us to conveniently connect, administer and receive information from any of our devices.<\/li><\/ul>\n\n<p>That&#8217;s all. Good luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We offer you the the last, third part of the description of the procedure of connecting the detector (sensor) GGreg20 in combination with the main controller ESP8266 or ESP32 to the Home Assistant server via the ESP Home plug-in. Second part of the description, see the link: Connecting the GGreg20_V3 Radiation Sensor to the Home [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4308,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","omw_enable_modal_window":"enable","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[88],"tags":[417,93,94,210,96,98],"class_list":["post-2407","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-en","tag-application-note-en","tag-esp32-en","tag-esp8266-en","tag-esphome-en","tag-ggreg20_v3-en","tag-home-assistant-en","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"_links":{"self":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/2407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/comments?post=2407"}],"version-history":[{"count":2,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/2407\/revisions"}],"predecessor-version":[{"id":4319,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/2407\/revisions\/4319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/media\/4308"}],"wp:attachment":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/media?parent=2407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/categories?post=2407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/tags?post=2407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}