{"id":2742,"date":"2024-01-09T14:18:25","date_gmt":"2024-01-09T13:18:25","guid":{"rendered":"https:\/\/deltronic.se\/?page_id=2742"},"modified":"2024-01-11T14:41:20","modified_gmt":"2024-01-11T13:41:20","slug":"lorawandetails","status":"publish","type":"page","link":"https:\/\/deltronic.se\/en\/lorawandetails\/","title":{"rendered":"lorawandetails"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2742\" class=\"elementor elementor-2742\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5fa85a2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5fa85a2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-65d389a\" data-id=\"65d389a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1f7ed34 elementor-widget elementor-widget-text-editor\" data-id=\"1f7ed34\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Examples of decoding and downloads to be used with our smoke and heat detectors with LoRa.<br><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-818f8c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"818f8c0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d7c2e91\" data-id=\"d7c2e91\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-03aeda1 elementor-tabs-view-horizontal elementor-widget elementor-widget-tabs\" data-id=\"03aeda1\" data-element_type=\"widget\" data-widget_type=\"tabs.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-tabs\">\n\t\t\t<div class=\"elementor-tabs-wrapper\" role=\"tablist\" >\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-3861\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-3861\" aria-expanded=\"false\">At console in Linux<\/div>\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-3862\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3862\" aria-expanded=\"false\">Python<\/div>\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-3863\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"false\" data-tab=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3863\" aria-expanded=\"false\">Javascript<\/div>\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-3864\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"false\" data-tab=\"4\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3864\" aria-expanded=\"false\">Node-RED<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"elementor-tabs-content-wrapper\" role=\"tablist\" aria-orientation=\"vertical\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-3861\" aria-expanded=\"false\">At console in Linux<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-3861\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-3861\" tabindex=\"0\" hidden=\"false\"><p>To be able to decode payload in a Linux console from the detectors, the definition file below is needed.<\/p><p>Example from Linux environment:<\/p><p><strong>Install protobuf-compiler:<\/strong><\/p><p><em>apt install protobuf-compiler<\/em><\/p><p>To manually decode a payload, run this in the folder where you have the proto file:<\/p><p>echo -n \u201cpayload hex string\u201d | xxd -r -p | protoc \u2013decode Uplink uplink.proto<\/p><p>\u00a0<\/p><\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3862\" aria-expanded=\"false\">Python<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-3862\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-3862\" tabindex=\"0\" hidden=\"hidden\"><p>To be able to use python to\u00a0 decoded the payload from the detectors, a compiled version of the definition file below is needed.<\/p><p>Example from Linux environment:<\/p><p><strong>Install protobuf-compiler:<\/strong><\/p><p><em>apt install protobuf-compiler<\/em><\/p><p><strong>Compile definition file:<\/strong><\/p><p><em>protoc -I=$src_dir \u2013python_out=$dst_dir $src_dir\/uplink.proto<\/em><\/p><p>(Example:\u00a0\u00a0\u00a0\u00a0\u00a0 protoc -I=. \u2013python_out=. uplink.proto )<\/p><p>A file named uplink_pb2.py will be created.<\/p><h5>Python code example:<\/h5><p>from uplink_pb2 import Uplink<\/p><p>#Example of payload to decode<br \/>payload = &#8220;0a0b08f91c1010187120e1a201120b086110a0dba80418012015220808a0dba80410944e2a1a0a18d001d001d101d001ce01ce01d101d001cf01cf01cf01d001&#8221;<br \/>#print(&#8220;payload: &#8220;, payload)<\/p><p>#Decode the payload with protobuf<br \/>data = bytes.fromhex(payload)<br \/>uplink_data = Uplink()<br \/>uplink_data.ParseFromString(data)<br \/>print(&#8220;data: &#8220;, uplink_data)<\/p><p># Split decoded payload into segments<br \/>if uplink_data.HasField(&#8220;heartbeat&#8221;):<br \/>\u00a0 print (&#8220;batt: &#8220;, uplink_data.heartbeat.battery_voltage)<br \/>\u00a0 print (&#8220;tx: &#8220;, uplink_data.heartbeat.tx_power)<br \/>\u00a0 print (&#8220;rssi: &#8220;, uplink_data.heartbeat.downlink_rssi)<br \/>\u00a0 print (&#8220;temp: &#8220;, uplink_data.heartbeat.temperature)<\/p><p>if uplink_data.HasField(&#8220;end_of_alarm&#8221;):<br \/>\u00a0 print (&#8220;eof_alarm_count: &#8220;, uplink_data.end_of_alarm.counter)<br \/>\u00a0 print (&#8220;eof_timestamp: &#8220;, uplink_data.end_of_alarm.timestamp)<\/p><p>if uplink_data.HasField(&#8220;announcement&#8221;):<br \/>\u00a0 print (&#8220;hw: &#8220;, uplink_data.announcement.hardware_version)<br \/>\u00a0 print (&#8220;sw: &#8220;, uplink_data.announcement.software_version)<\/p><p>if uplink_data.HasField(&#8220;software_assertion&#8221;):<br \/>\u00a0 print (&#8220;assertion_file: &#8220;, uplink_data.software_assertion.file)<br \/>\u00a0 print (&#8220;assertion_line: &#8220;, uplink_data.software_assertion.line)<\/p><p>if uplink_data.HasField(&#8220;metadata&#8221;):<br \/>\u00a0 print (&#8220;meta_uptime: &#8220;, uplink_data.metadata.uptime)<br \/>\u00a0 print (&#8220;meta_no: &#8220;, uplink_data.metadata.magic_no)<\/p><p>if uplink_data.HasField(&#8220;temperature_history&#8221;):<br \/>\u00a0 print(uplink_data.temperature_history)<\/p><p>#print(&#8220;Smoke sensor events:&#8221;, len(uplink_data.smoke_sensor_event))<br \/>for event in uplink_data.smoke_sensor_event:<br \/>\u00a0 print(&#8220;frame_id&#8221;, event.frame_id)<br \/>\u00a0 print(&#8220;timestamp&#8221;, event.timestamp)<br \/>\u00a0 print(&#8220;counter&#8221;, event.counter)<\/p><\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"false\" data-tab=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3863\" aria-expanded=\"false\">Javascript<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-3863\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-3863\" tabindex=\"0\" hidden=\"hidden\"><p>To be able to decode payload in a Linux console from the detectors, the definition file below is needed.<\/p><p>Example from Linux environment:<\/p><p>First install Node, nodejs and npm.<\/p><p><strong>To decode protobuf:<\/strong><\/p><p>npm install protobufjs<\/p><p>npm install protobufjs-cli<\/p><p><strong>Create a js-file of below definition file (uplink.proto)<\/strong><\/p><p>&#8220;.\/node-modules\/.bin\/pbjs -t static-module -w commonjs -o uplink.js uplink.proto&#8221;<\/p><p><strong>To run a testfile:<\/strong><\/p><p>node parser.js<\/p><\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"false\" data-tab=\"4\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-3864\" aria-expanded=\"false\">Node-RED<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-3864\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-3864\" tabindex=\"0\" hidden=\"hidden\"><p>Example of a Node-RED flow, which can be downloaded below.<\/p><p>(node-red-contrib-protobuf need to be installed)<\/p><p><a href=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/Node-RED.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-2782 size-full\" src=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/Node-RED.png\" alt=\"\" width=\"913\" height=\"217\" srcset=\"https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png 913w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-300x71.png 300w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-768x183.png 768w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-700x166.png 700w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-64x15.png 64w\" sizes=\"(max-width: 913px) 100vw, 913px\" \/><\/a><\/p><p>Result:<\/p><p><a href=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/Node-RED-result.png\"><img decoding=\"async\" class=\"alignnone wp-image-2781 size-full\" src=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/Node-RED-result.png\" alt=\"\" width=\"728\" height=\"361\" srcset=\"https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-result.png 728w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-result-300x149.png 300w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-result-700x347.png 700w, https:\/\/deltronic.se\/en\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED-result-64x32.png 64w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/a><\/p><\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1c67d29 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1c67d29\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d5d25f6\" data-id=\"d5d25f6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-f23b8d3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f23b8d3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-668619f\" data-id=\"668619f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-13247a7 elementor-widget elementor-widget-text-editor\" data-id=\"13247a7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Definition file for Google Protocol Buffers<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-efa1eca elementor-widget elementor-widget-text-editor\" data-id=\"efa1eca\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Test file for Javascript<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4af2cc5 elementor-widget elementor-widget-text-editor\" data-id=\"4af2cc5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Node-RED flow<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-1741604\" data-id=\"1741604\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-62f549e elementor-widget elementor-widget-text-editor\" data-id=\"62f549e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><a href=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/uplink.proto\">uplink.proto from 2021-08-25<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2e2902 elementor-widget elementor-widget-text-editor\" data-id=\"b2e2902\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><a href=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/parser.js\">parser.js<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-be979c3 elementor-widget elementor-widget-text-editor\" data-id=\"be979c3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><a href=\"https:\/\/deltronic.se\/wp-content\/uploads\/2024\/01\/Node-RED-flow.json\">example flow<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Examples of decoding and downloads to be used with our smoke and heat detectors with LoRa. At console in Linux Python Javascript Node-RED At console in Linux To be able to decode payload in a Linux console from the detectors, the definition file below is needed. Example from Linux environment: Install protobuf-compiler: apt install protobuf-compiler [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2742","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>lorawandetails - Deltronic English<\/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:\/\/deltronic.se\/en\/lorawandetails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"lorawandetails\" \/>\n<meta property=\"og:description\" content=\"Examples of decoding and downloads to be used with our smoke and heat detectors with LoRa. At console in Linux Python Javascript Node-RED At console in Linux To be able to decode payload in a Linux console from the detectors, the definition file below is needed. Example from Linux environment: Install protobuf-compiler: apt install protobuf-compiler [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/deltronic.se\/en\/lorawandetails\/\" \/>\n<meta property=\"og:site_name\" content=\"Deltronic English\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-11T13:41:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/\",\"url\":\"https:\/\/deltronic.se\/en\/lorawandetails\/\",\"name\":\"lorawandetails - Deltronic English\",\"isPartOf\":{\"@id\":\"https:\/\/deltronic.se\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png\",\"datePublished\":\"2024-01-09T13:18:25+00:00\",\"dateModified\":\"2024-01-11T13:41:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/deltronic.se\/en\/lorawandetails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage\",\"url\":\"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png\",\"contentUrl\":\"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/deltronic.se\/en\/lorawandetails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/deltronic.se\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"lorawandetails\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/deltronic.se\/en\/#website\",\"url\":\"https:\/\/deltronic.se\/en\/\",\"name\":\"Deltronic English\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/deltronic.se\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"lorawandetails - Deltronic English","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:\/\/deltronic.se\/en\/lorawandetails\/","og_locale":"en_US","og_type":"article","og_title":"lorawandetails","og_description":"Examples of decoding and downloads to be used with our smoke and heat detectors with LoRa. At console in Linux Python Javascript Node-RED At console in Linux To be able to decode payload in a Linux console from the detectors, the definition file below is needed. Example from Linux environment: Install protobuf-compiler: apt install protobuf-compiler [&hellip;]","og_url":"https:\/\/deltronic.se\/en\/lorawandetails\/","og_site_name":"Deltronic English","article_modified_time":"2024-01-11T13:41:20+00:00","og_image":[{"url":"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/deltronic.se\/en\/lorawandetails\/","url":"https:\/\/deltronic.se\/en\/lorawandetails\/","name":"lorawandetails - Deltronic English","isPartOf":{"@id":"https:\/\/deltronic.se\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage"},"image":{"@id":"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage"},"thumbnailUrl":"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png","datePublished":"2024-01-09T13:18:25+00:00","dateModified":"2024-01-11T13:41:20+00:00","breadcrumb":{"@id":"https:\/\/deltronic.se\/en\/lorawandetails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/deltronic.se\/en\/lorawandetails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/deltronic.se\/en\/lorawandetails\/#primaryimage","url":"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png","contentUrl":"https:\/\/deltronic.se\/wp-content\/uploads\/sites\/5\/2024\/01\/Node-RED.png"},{"@type":"BreadcrumbList","@id":"https:\/\/deltronic.se\/en\/lorawandetails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/deltronic.se\/en\/"},{"@type":"ListItem","position":2,"name":"lorawandetails"}]},{"@type":"WebSite","@id":"https:\/\/deltronic.se\/en\/#website","url":"https:\/\/deltronic.se\/en\/","name":"Deltronic English","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/deltronic.se\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/pages\/2742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/comments?post=2742"}],"version-history":[{"count":0,"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/pages\/2742\/revisions"}],"wp:attachment":[{"href":"https:\/\/deltronic.se\/en\/wp-json\/wp\/v2\/media?parent=2742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}