{"id":7278,"date":"2024-04-02T11:01:23","date_gmt":"2024-04-02T10:01:23","guid":{"rendered":"https:\/\/www.chatteris.biz\/blog\/?p=7278"},"modified":"2025-03-07T08:14:09","modified_gmt":"2025-03-07T08:14:09","slug":"bk-g4m-gas-meter-home-assistant","status":"publish","type":"post","link":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/","title":{"rendered":"BK-G4M  Gas Meter &#8211; Home Assistant"},"content":{"rendered":"\n<p class=\"has-small-font-size\"><em>Updated &#8211; 7 March 2025<\/em><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"121\" height=\"125\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg\" alt=\"\" class=\"wp-image-7279\"\/><\/figure>\n<\/div>\n\n\n<p>I wanted to measure the volume of gas taken by my Ideal Vogue 18kW boiler in order to convert this to input energy in kW and therefore determine if the boilers displayed efficiency is accurate.<\/p>\n\n\n\n<p>I decided to get a secondary gas meter fitted inline with the gas feed to the boiler, the meter was a BK-G4M from Electric Meter Sales UK who are now no longer trading.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/IMG_6151-Medium.jpeg\" alt=\"\" class=\"wp-image-7281\" srcset=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/IMG_6151-Medium.jpeg 1024w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/IMG_6151-Medium-300x225.jpeg 300w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/IMG_6151-Medium-768x576.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The meter comes with a prewired switch assembly to count the number of 1\/100 of m<sup>3<\/sup> wheel rotations:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ebcb5548e2f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ebcb5548e2f\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/zenner_meter_pulse_switch-1024x588.jpg\" alt=\"pulse meter\" class=\"wp-image-7280\" srcset=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/zenner_meter_pulse_switch-1024x588.jpg 1024w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/zenner_meter_pulse_switch-300x172.jpg 300w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/zenner_meter_pulse_switch-768x441.jpg 768w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/zenner_meter_pulse_switch.jpg 1300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>I&#8217;m a complete novice when it comes to Home Assistant and rely wholly on YouTube, community forums and search engines for information, and I would like to pass my sincere thanks onto all content creators who help folks like me.<\/p>\n\n\n\n<p>I used a<a href=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/esp-nodemcu-v1_pinouts_ll-3186198064.jpg\"> ESP8266<\/a> flashed from within Home Assistant with the coding configuration to enable the meters switch to increment the displayed gas reading on the dashboard of Home Assistant.<\/p>\n\n\n\n<p><strong>Current code used below:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-c03dcaae-f095-444b-8106-fc6946c5948e\" href=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/esp8266-gas.txt\">esp8266-gas<\/a><a href=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/esp8266-gas.txt\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-c03dcaae-f095-444b-8106-fc6946c5948e\">Download<\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>The above code gives a stable output to Home Assistant with no creep over time \ud83d\ude42<\/p>\n\n\n\n<p>Once the data is being imported into Home Assistant you can manipulate in many ways:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ebcb5549305&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ebcb5549305\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"272\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" data-id=\"7285\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/clips.jpg\" alt=\"\" class=\"wp-image-7285\" srcset=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/clips.jpg 540w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/clips-300x151.jpg 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ebcb55495e8&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ebcb55495e8\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"131\" height=\"74\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" data-id=\"7284\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/gas-reading1.jpg\" alt=\"\" class=\"wp-image-7284\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/IMG_6320-Medium.jpeg\" alt=\"\" class=\"wp-image-7320\" srcset=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/IMG_6320-Medium.jpeg 1024w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/IMG_6320-Medium-300x225.jpeg 300w, https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/05\/IMG_6320-Medium-768x576.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>ESP8266 mounted on breakout board from Aliexpress, the other items within the enclosure are an M-Bus reader and Open Energy Monitor Pi for my heat meter.<\/p>\n\n\n\n<p><strong>Links to Sources &#8211;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/community.home-assistant.io\/t\/esphome-pulscounter-with-in-z61-gascounter\/335598\/17\">https:\/\/community.home-assistant.io\/t\/esphome-pulscounter-with-in-z61-gascounter\/335598\/17<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/blog.insanegenius.com\/2021\/08\/09\/esp32-water-and-gas-utility-meter\/\">https:\/\/blog.insanegenius.com\/2021\/08\/09\/esp32-water-and-gas-utility-meter\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/svenwal\/gaszaehler-home-assistant-esphome\">https:\/\/github.com\/svenwal\/gaszaehler-home-assistant-esphome<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/community.home-assistant.io\/t\/gas-meter-tracking-with-counting-in-home-assistant-instead-of-on-esp32-side\/635688\/2\">https:\/\/community.home-assistant.io\/t\/gas-meter-tracking-with-counting-in-home-assistant-instead-of-on-esp32-side\/635688\/2<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/simplyexplained.com\/blog\/tracking-gas-usage-with-esphome-home-assistant-and-tcrt5000\/\">https:\/\/simplyexplained.com\/blog\/tracking-gas-usage-with-esphome-home-assistant-and-tcrt5000\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/kalinchuk\/esp32_pulse_meter\">https:\/\/github.com\/kalinchuk\/esp32_pulse_meter<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/smarthome.ms1.de\/projekte\/gasverbrauch\/\">https:\/\/smarthome.ms1.de\/projekte\/gasverbrauch\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/community.home-assistant.io\/t\/track-a-gas-meter-with-esphome\/162669\/22\">https:\/\/community.home-assistant.io\/t\/track-a-gas-meter-with-esphome\/162669\/22<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/community.home-assistant.io\/t\/help-required-analog-dial-dumb-gas-meter-monitor-for-a-1991-ugi-gas-meters-ltd-analog-meter\/482222\/27\">https:\/\/community.home-assistant.io\/t\/help-required-analog-dial-dumb-gas-meter-monitor-for-a-1991-ugi-gas-meters-ltd-analog-meter\/482222\/27<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Updated &#8211; 7 March 2025 I wanted to measure the volume of gas taken by my Ideal Vogue 18kW boiler in order to convert this to input energy in kW and therefore determine if the boilers displayed efficiency is accurate. I decided to get a secondary gas meter fitted inline with the gas feed to &hellip; <a href=\"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">BK-G4M  Gas Meter &#8211; Home Assistant<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[334],"tags":[492,505,497,495,493,494,506],"class_list":["post-7278","post","type-post","status-publish","format-standard","hentry","category-plumbing-heating","tag-bk-g4","tag-esp8266","tag-gas-meter-reading-import","tag-home-assistant","tag-secondary-gas-meter","tag-z61-switch","tag-zetter-pulse-meter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>BK-G4M Gas Meter - Home Assistant - My Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BK-G4M Gas Meter - Home Assistant - My Blog\" \/>\n<meta property=\"og:description\" content=\"Updated &#8211; 7 March 2025 I wanted to measure the volume of gas taken by my Ideal Vogue 18kW boiler in order to convert this to input energy in kW and therefore determine if the boilers displayed efficiency is accurate. I decided to get a secondary gas meter fitted inline with the gas feed to &hellip; Continue reading BK-G4M Gas Meter &#8211; Home Assistant &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/\" \/>\n<meta property=\"og:site_name\" content=\"My Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/search\/top\/?q=chatterisweather\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/search\/top\/?q=chatterisweather\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-02T10:01:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-07T08:14:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"121\" \/>\n\t<meta property=\"og:image:height\" content=\"125\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@chatterisdotbiz\" \/>\n<meta name=\"twitter:site\" content=\"@chatterisdotbiz\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/\"},\"author\":{\"name\":\"Ian\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#\\\/schema\\\/person\\\/8c24a0b1bf9624c7f930fe2f3a5b5f37\"},\"headline\":\"BK-G4M Gas Meter &#8211; Home Assistant\",\"datePublished\":\"2024-04-02T10:01:23+00:00\",\"dateModified\":\"2025-03-07T08:14:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/\"},\"wordCount\":291,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#\\\/schema\\\/person\\\/8c24a0b1bf9624c7f930fe2f3a5b5f37\"},\"image\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/HAlogo.jpg\",\"keywords\":[\"bk-g4\",\"esp8266\",\"gas meter reading import\",\"home assistant\",\"secondary gas meter\",\"z61 switch\",\"zetter pulse meter\"],\"articleSection\":[\"Plumbing &amp; Heating\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/\",\"url\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/\",\"name\":\"BK-G4M Gas Meter - Home Assistant - My Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/HAlogo.jpg\",\"datePublished\":\"2024-04-02T10:01:23+00:00\",\"dateModified\":\"2025-03-07T08:14:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/HAlogo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/HAlogo.jpg\",\"width\":121,\"height\":125},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/bk-g4m-gas-meter-home-assistant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BK-G4M Gas Meter &#8211; Home Assistant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/\",\"name\":\"My Blog of Stuff\",\"description\":\"A blog about stuff that interests me or I have done.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#\\\/schema\\\/person\\\/8c24a0b1bf9624c7f930fe2f3a5b5f37\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/#\\\/schema\\\/person\\\/8c24a0b1bf9624c7f930fe2f3a5b5f37\",\"name\":\"Ian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/chatteris.jpg\",\"url\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/chatteris.jpg\",\"contentUrl\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/chatteris.jpg\",\"width\":170,\"height\":80,\"caption\":\"Ian\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.chatteris.biz\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/chatteris.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.chatteris.biz\",\"https:\\\/\\\/www.facebook.com\\\/search\\\/top\\\/?q=chatterisweather\",\"https:\\\/\\\/x.com\\\/chatterisdotbiz\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/Chatterisdotbiz\",\"Ian\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BK-G4M Gas Meter - Home Assistant - My Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/","og_locale":"en_GB","og_type":"article","og_title":"BK-G4M Gas Meter - Home Assistant - My Blog","og_description":"Updated &#8211; 7 March 2025 I wanted to measure the volume of gas taken by my Ideal Vogue 18kW boiler in order to convert this to input energy in kW and therefore determine if the boilers displayed efficiency is accurate. I decided to get a secondary gas meter fitted inline with the gas feed to &hellip; Continue reading BK-G4M Gas Meter &#8211; Home Assistant &rarr;","og_url":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/","og_site_name":"My Blog","article_publisher":"https:\/\/www.facebook.com\/search\/top\/?q=chatterisweather","article_author":"https:\/\/www.facebook.com\/search\/top\/?q=chatterisweather","article_published_time":"2024-04-02T10:01:23+00:00","article_modified_time":"2025-03-07T08:14:09+00:00","og_image":[{"width":121,"height":125,"url":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg","type":"image\/jpeg"}],"author":"Ian","twitter_card":"summary_large_image","twitter_creator":"@chatterisdotbiz","twitter_site":"@chatterisdotbiz","twitter_misc":{"Written by":"Ian","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#article","isPartOf":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/"},"author":{"name":"Ian","@id":"https:\/\/www.chatteris.biz\/blog\/#\/schema\/person\/8c24a0b1bf9624c7f930fe2f3a5b5f37"},"headline":"BK-G4M Gas Meter &#8211; Home Assistant","datePublished":"2024-04-02T10:01:23+00:00","dateModified":"2025-03-07T08:14:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/"},"wordCount":291,"commentCount":2,"publisher":{"@id":"https:\/\/www.chatteris.biz\/blog\/#\/schema\/person\/8c24a0b1bf9624c7f930fe2f3a5b5f37"},"image":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg","keywords":["bk-g4","esp8266","gas meter reading import","home assistant","secondary gas meter","z61 switch","zetter pulse meter"],"articleSection":["Plumbing &amp; Heating"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/","url":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/","name":"BK-G4M Gas Meter - Home Assistant - My Blog","isPartOf":{"@id":"https:\/\/www.chatteris.biz\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#primaryimage"},"image":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg","datePublished":"2024-04-02T10:01:23+00:00","dateModified":"2025-03-07T08:14:09+00:00","breadcrumb":{"@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#primaryimage","url":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg","contentUrl":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2024\/04\/HAlogo.jpg","width":121,"height":125},{"@type":"BreadcrumbList","@id":"https:\/\/www.chatteris.biz\/blog\/bk-g4m-gas-meter-home-assistant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.chatteris.biz\/blog\/"},{"@type":"ListItem","position":2,"name":"BK-G4M Gas Meter &#8211; Home Assistant"}]},{"@type":"WebSite","@id":"https:\/\/www.chatteris.biz\/blog\/#website","url":"https:\/\/www.chatteris.biz\/blog\/","name":"My Blog of Stuff","description":"A blog about stuff that interests me or I have done.","publisher":{"@id":"https:\/\/www.chatteris.biz\/blog\/#\/schema\/person\/8c24a0b1bf9624c7f930fe2f3a5b5f37"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.chatteris.biz\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.chatteris.biz\/blog\/#\/schema\/person\/8c24a0b1bf9624c7f930fe2f3a5b5f37","name":"Ian","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2022\/03\/chatteris.jpg","url":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2022\/03\/chatteris.jpg","contentUrl":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2022\/03\/chatteris.jpg","width":170,"height":80,"caption":"Ian"},"logo":{"@id":"https:\/\/www.chatteris.biz\/blog\/wp-content\/uploads\/2022\/03\/chatteris.jpg"},"sameAs":["https:\/\/www.chatteris.biz","https:\/\/www.facebook.com\/search\/top\/?q=chatterisweather","https:\/\/x.com\/chatterisdotbiz","https:\/\/www.youtube.com\/user\/Chatterisdotbiz","Ian"]}]}},"_links":{"self":[{"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/posts\/7278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/comments?post=7278"}],"version-history":[{"count":16,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/posts\/7278\/revisions"}],"predecessor-version":[{"id":7754,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/posts\/7278\/revisions\/7754"}],"wp:attachment":[{"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/media?parent=7278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/categories?post=7278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chatteris.biz\/blog\/wp-json\/wp\/v2\/tags?post=7278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}