{"id":4517,"date":"2020-05-26T13:34:59","date_gmt":"2020-05-26T13:34:59","guid":{"rendered":"https:\/\/grodansparadis.com\/wordpress\/?p=4517"},"modified":"2020-05-26T13:34:59","modified_gmt":"2020-05-26T13:34:59","slug":"getting-started-with-node-red-contrib-vscp","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=4517","title":{"rendered":"Getting started with node-red-contrib-vscp"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this howto I will give a short introduction on how to setup a system that use <a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-vscp\">node-red-contrib-vscp<\/a> (1.2.1) and the <a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-vscp-tcp\">node-red-contrib-vscp-tcp<\/a> (1.2.1) nodes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The system we will talk to is called <strong>pi11<\/strong> here at the office. It is mounted as a test system on a wall in one of the rooms just inside the entrance (office entrance below).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1623\" height=\"913\" data-attachment-id=\"4518\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4518\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?fit=1623%2C913&amp;ssl=1\" data-orig-size=\"1623,913\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IMG_20200520_104230292\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?fit=580%2C326&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?fit=580%2C326&amp;ssl=1\" alt=\"\" class=\"wp-image-4518\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?w=1623&amp;ssl=1 1623w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/IMG_20200520_104230292.jpg?resize=1200%2C675&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The setup is used to monitor some doors and two temperatures (the room in which it is mounted in and in the main entrance). The setup also control a very load alarm beeper. We will describe control of it in another post.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hardware wise the setup consist of a <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Raspberry Pi 3B+<\/li><li><a href=\"https:\/\/www.grodansparadis.com\/frankfurt\/rs232\/frankfurt-rs232.html\">CAN4VSCP Frankfurt RS-232<\/a> module.<\/li><li><a href=\"https:\/\/www.grodansparadis.com\/powerinjector\/can4vscp_big\/powerinjector.html\">CAN4VSCP power injector<\/a> module.<\/li><li><a href=\"https:\/\/www.grodansparadis.com\/paris\/paris.html\">CAN4VSCP Paris<\/a> module.<\/li><li><a href=\"https:\/\/www.grodansparadis.com\/kelvin1w\/index.html\">CAN4VSCP Kelvin 1-wire<\/a> module.<\/li><li><a href=\"https:\/\/www.grodansparadis.com\/beijing\/beijing.html\">CAN4VSCP Beijing<\/a> module.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It runs Raspbian Buster with the <a href=\"https:\/\/docs.vscp.org\/vscpd\/latest\/#\/\">VSCP daemon<\/a> and <a href=\"https:\/\/nodered.org\/\">node-red<\/a> running on it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Connecting to this setup with <a href=\"https:\/\/docs.vscp.org\/vscpworks\/latest\/#\/\">vscpworks<\/a> will show the events generated.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1085\" height=\"799\" data-attachment-id=\"4519\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4519\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?fit=1085%2C799&amp;ssl=1\" data-orig-size=\"1085,799\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-10-17-42\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?fit=580%2C427&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?fit=580%2C427&amp;ssl=1\" alt=\"\" class=\"wp-image-4519\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?w=1085&amp;ssl=1 1085w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?resize=300%2C221&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?resize=1024%2C754&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-17-42.png?resize=768%2C566&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You see mostly heartbeats from the nodes and from the <strong>VSCP daemon<\/strong> but also some temperature readings. Above is the temperature reading for the main entrance selected (sensor index 0) and below for the room (sensor index 6).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1094\" height=\"803\" data-attachment-id=\"4523\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4523\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?fit=1094%2C803&amp;ssl=1\" data-orig-size=\"1094,803\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-10-58-43-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?fit=580%2C426&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?fit=580%2C426&amp;ssl=1\" alt=\"\" class=\"wp-image-4523\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?w=1094&amp;ssl=1 1094w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?resize=300%2C220&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?resize=1024%2C752&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-10-58-43-1.png?resize=768%2C564&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We will only deal with the temperatures in this howto but below is the sequence generated when someone walk out of the office and back in again. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1078\" height=\"520\" data-attachment-id=\"4524\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4524\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?fit=1078%2C520&amp;ssl=1\" data-orig-size=\"1078,520\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-06-58\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?fit=580%2C280&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?fit=580%2C280&amp;ssl=1\" alt=\"\" class=\"wp-image-4524\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?w=1078&amp;ssl=1 1078w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?resize=1024%2C494&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-06-58.png?resize=768%2C370&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This involves a gang of  PIR sensors and some magnetic sensors but I will go thru that setup in a separate howto later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the temperature readings you may notice that one is coded as a  float and one is coded as a string. This is the two formats the CAN4VSCP Kelvin 1-wire module can send measurement events on. We could have instructed the driver in the VSCP Daemon to automatically translate them to Level II measurement event if we wanted. But for this demo it is just good and a bit more real world if they are of different coding. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note also that the unit for both temperatures are set to <strong>1<\/strong>, meaning that it is in degrees Celsius. Other possibilities here would be <strong>0<\/strong> (Kelvin) and <strong>2<\/strong> (Fahrenheit).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here we do our node-red setup on the pi11 system itself. We could of course have done it on a machine in some other part of the office or in another part of the world instead. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First we test the connection to the VSCP daemon to see if we see any events in node-red<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"89\" data-attachment-id=\"4525\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4525\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-26-40.png?fit=421%2C89&amp;ssl=1\" data-orig-size=\"421,89\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-26-40\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-26-40.png?fit=421%2C89&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-26-40.png?resize=421%2C89&#038;ssl=1\" alt=\"\" class=\"wp-image-4525\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-26-40.png?w=421&amp;ssl=1 421w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-26-40.png?resize=300%2C63&amp;ssl=1 300w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><figcaption>We need to have <a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-vscp-tcp\">node-red-contib-vscp-tcp<\/a> installed or this. Install it in the Manage Palette in node-red.<\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">[{\"id\":\"69a3065d.809ce\",\"type\":\"vscp-tcp-in\",\"z\":\"d55b6e63.6443a8\",\"name\":\"pi11\",\"host\":\"4aea1560.bc50a4\",\"username\":\"admin\",\"password\":\"<strong>PWRD<\/strong>\",\"filter\":\"\",\"keyctx\":\"fghuy\",\"x\":210,\"y\":80,\"wires\":[[\"c754d7c6.1a22a8\"]]},{\"id\":\"c754d7c6.1a22a8\",\"type\":\"debug\",\"z\":\"d55b6e63.6443a8\",\"name\":\"\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"true\",\"targetType\":\"full\",\"x\":430,\"y\":80,\"wires\":[]},{\"id\":\"4aea1560.bc50a4\",\"type\":\"vscp-tcp-config-host\",\"z\":\"\",\"name\":\"Localhost\",\"host\":\"localhost\",\"port\":\"9598\",\"timeout\":\"10000\",\"interface\":\"\",\"keepalive\":\"\"}]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We have a setup that is like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"515\" height=\"471\" data-attachment-id=\"4527\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4527\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-34-19.png?fit=515%2C471&amp;ssl=1\" data-orig-size=\"515,471\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-34-19\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-34-19.png?fit=515%2C471&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-34-19.png?resize=515%2C471&#038;ssl=1\" alt=\"\" class=\"wp-image-4527\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-34-19.png?w=515&amp;ssl=1 515w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-34-19.png?resize=300%2C274&amp;ssl=1 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That is a connection to the VSCP Daemon on the local host using default credentials (not very secure). No filter is set up so all events will be delivered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The server setup looks like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"522\" height=\"480\" data-attachment-id=\"4528\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4528\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-36-42.png?fit=522%2C480&amp;ssl=1\" data-orig-size=\"522,480\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-36-42\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-36-42.png?fit=522%2C480&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-36-42.png?resize=522%2C480&#038;ssl=1\" alt=\"\" class=\"wp-image-4528\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-36-42.png?w=522&amp;ssl=1 522w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-36-42.png?resize=300%2C276&amp;ssl=1 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nothing very exciting here either.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we deploy this setup we will see VSCP events in the debug window. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"337\" height=\"781\" data-attachment-id=\"4529\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4529\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-38-38.png?fit=337%2C781&amp;ssl=1\" data-orig-size=\"337,781\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-38-38\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-38-38.png?fit=337%2C781&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-38-38.png?resize=337%2C781&#038;ssl=1\" alt=\"\" class=\"wp-image-4529\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-38-38.png?w=337&amp;ssl=1 337w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-38-38.png?resize=129%2C300&amp;ssl=1 129w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The actual event is in msg.payload<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"560\" data-attachment-id=\"4531\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4531\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-40-51.png?fit=299%2C560&amp;ssl=1\" data-orig-size=\"299,560\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-40-51\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-40-51.png?fit=299%2C560&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-40-51.png?resize=299%2C560&#038;ssl=1\" alt=\"\" class=\"wp-image-4531\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-40-51.png?w=299&amp;ssl=1 299w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-40-51.png?resize=160%2C300&amp;ssl=1 160w\" sizes=\"auto, (max-width: 299px) 100vw, 299px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And above is the VSCP event from temperature sensor 0 (<em>databyte 0 is 72 = 0x48 = 010 01 000b (coding,unit,sensorindex<\/em>) . The rest of the data is the temperature as a string (&#8220;12.500&#8221;), as the coding is 010b = string. And the string is in degrees Celsius as the unit is 01b.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Don&#8217;t get afraid.<\/strong> There is a node-red node that handle all this for you. Install <a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-vscp\">node-red-contrib-vscp<\/a> and use the <strong>event2value<\/strong>. It will take care of all this for you. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we insert it in the flow<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"80\" data-attachment-id=\"4532\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4532\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-53-04.png?fit=638%2C88&amp;ssl=1\" data-orig-size=\"638,88\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-53-04\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-53-04.png?fit=580%2C80&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-53-04.png?resize=580%2C80&#038;ssl=1\" alt=\"\" class=\"wp-image-4532\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-53-04.png?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-53-04.png?resize=300%2C41&amp;ssl=1 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">[{\"id\":\"69a3065d.809ce\",\"type\":\"vscp-tcp-in\",\"z\":\"d55b6e63.6443a8\",\"name\":\"pi11\",\"host\":\"4aea1560.bc50a4\",\"username\":\"admin\",\"password\":\"<strong>PWRD<\/strong>\",\"filter\":\"\",\"keyctx\":\"pi11a\",\"x\":210,\"y\":80,\"wires\":[[\"fa389899.e0f0a\"]]},{\"id\":\"c754d7c6.1a22a8\",\"type\":\"debug\",\"z\":\"d55b6e63.6443a8\",\"name\":\"\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"true\",\"targetType\":\"full\",\"x\":670,\"y\":80,\"wires\":[]},{\"id\":\"fa389899.e0f0a\",\"type\":\"event2value\",\"z\":\"d55b6e63.6443a8\",\"btransparent\":true,\"bvalue2payload\":false,\"name\":\"\",\"x\":450,\"y\":80,\"wires\":[[\"c754d7c6.1a22a8\"]]},{\"id\":\"4aea1560.bc50a4\",\"type\":\"vscp-tcp-config-host\",\"z\":\"\",\"name\":\"Localhost\",\"host\":\"localhost\",\"port\":\"9598\",\"timeout\":\"10000\",\"interface\":\"\",\"keepalive\":\"\"}]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and check Transparent in it&#8217;s setup<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"519\" height=\"297\" data-attachment-id=\"4533\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4533\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-55-05.png?fit=519%2C297&amp;ssl=1\" data-orig-size=\"519,297\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-55-05\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-55-05.png?fit=519%2C297&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-55-05.png?resize=519%2C297&#038;ssl=1\" alt=\"\" class=\"wp-image-4533\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-55-05.png?w=519&amp;ssl=1 519w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-55-05.png?resize=300%2C172&amp;ssl=1 300w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We will still get the events in the debug window. But if we investigate a temperature event we see that there is a <strong>msg.measurement<\/strong> object also added,<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"287\" data-attachment-id=\"4534\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4534\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-57-56.png?fit=320%2C287&amp;ssl=1\" data-orig-size=\"320,287\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-11-57-56\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-57-56.png?fit=320%2C287&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-57-56.png?resize=320%2C287&#038;ssl=1\" alt=\"\" class=\"wp-image-4534\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-57-56.png?w=320&amp;ssl=1 320w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-11-57-56.png?resize=300%2C269&amp;ssl=1 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>msg.measurement<\/strong> object is only added to measurement events. It contains all relevant values associated with measurements. The original event is still available in <strong>msg.payload<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If we we uncheck the <strong>Transparent<\/strong> checkbox only measurement events will be passed through the event2value node.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can also instead check the other checkbox like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"271\" data-attachment-id=\"4535\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4535\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-01-30.png?fit=514%2C271&amp;ssl=1\" data-orig-size=\"514,271\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-12-01-30\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-01-30.png?fit=514%2C271&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-01-30.png?resize=514%2C271&#038;ssl=1\" alt=\"\" class=\"wp-image-4535\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-01-30.png?w=514&amp;ssl=1 514w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-01-30.png?resize=300%2C158&amp;ssl=1 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now we will get an even simpler handling of measurement values. The <strong>value to payload<\/strong> checkbox will put the value in <strong>msg.payload<\/strong>. All measurement data is available as before in <strong>msg.measurement<\/strong> and the original event is preserved in <strong>msg.event<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"294\" height=\"270\" data-attachment-id=\"4536\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4536\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-23-49.png?fit=294%2C270&amp;ssl=1\" data-orig-size=\"294,270\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-25-12-23-49\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-23-49.png?fit=294%2C270&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-25-12-23-49.png?resize=294%2C270&#038;ssl=1\" alt=\"\" class=\"wp-image-4536\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Many times, if not even always, we want to take care of a measurement value and do something with them. Most standard nodes in node-red expect the value to be located in msg.payload. Just as we explain above it is easy to adopt to this standard while still preserved important information such as unit, origin etc. The need to separate data from a specific sensor into it&#8217;s own line of flow is often needed in this. The GUID for a VSCP node is one thing to filter on and in this the VSCP filter node can do the work. But other items relates to measurements such as <em>unit, sensorindex, zone, subzone<\/em> may also have a need to be filtered on. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can be done with a standard node-red function node. with code like<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nif ( msg.measurement.sensorindex === 6) {\n    return msg;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">From here we can do some real work. For example display the two temperatures in the UI with a flow like this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"96\" data-attachment-id=\"4537\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4537\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?fit=984%2C163&amp;ssl=1\" data-orig-size=\"984,163\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-14-41-08\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?fit=580%2C96&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?resize=580%2C96&#038;ssl=1\" alt=\"\" class=\"wp-image-4537\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?w=984&amp;ssl=1 984w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?resize=300%2C50&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-08.png?resize=768%2C127&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">resulting in this UI output<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"330\" height=\"434\" data-attachment-id=\"4538\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4538\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-57.png?fit=330%2C434&amp;ssl=1\" data-orig-size=\"330,434\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-14-41-57\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-57.png?fit=330%2C434&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-57.png?resize=330%2C434&#038;ssl=1\" alt=\"\" class=\"wp-image-4538\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-57.png?w=330&amp;ssl=1 330w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-14-41-57.png?resize=228%2C300&amp;ssl=1 228w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">[{\"id\":\"e8317c43.6b84b\",\"type\":\"vscp-tcp-in\",\"z\":\"d55b6e63.6443a8\",\"name\":\"pi11\",\"host\":\"e596ab59.2b98c8\",\"username\":\"admin\",\"password\":\"<strong>PWRD<\/strong>\",\"filter\":\"\",\"keyctx\":\"pi11a\",\"x\":130,\"y\":640,\"wires\":[[\"bfbea091.cafac8\"]]},{\"id\":\"d983e233.3832b\",\"type\":\"event2value\",\"z\":\"d55b6e63.6443a8\",\"btransparent\":true,\"bvalue2payload\":true,\"name\":\"\",\"x\":490,\"y\":640,\"wires\":[[\"62ad61e2.4f2e38\",\"5e5cbfa3.097938\"]]},{\"id\":\"8ccd6651.e136b\",\"type\":\"ui_gauge\",\"z\":\"d55b6e63.6443a8\",\"name\":\"Office Entrance\",\"group\":\"7b0c853e.555bac\",\"order\":0,\"width\":0,\"height\":0,\"gtype\":\"gage\",\"title\":\"Office Entrance\",\"label\":\"\u02daC\",\"format\":\"{{value}}\",\"min\":\"0\",\"max\":\"35\",\"colors\":[\"#00b500\",\"#e6e600\",\"#ca3838\"],\"seg1\":\"20\",\"seg2\":\"25\",\"x\":880,\"y\":640,\"wires\":[]},{\"id\":\"bfbea091.cafac8\",\"type\":\"vscpfilter\",\"z\":\"d55b6e63.6443a8\",\"vscppriority\":\"\",\"vscpclass\":\"\",\"vscptype\":\"\",\"vscpguid\":\"\",\"name\":\"\",\"x\":300,\"y\":640,\"wires\":[[\"d983e233.3832b\"]]},{\"id\":\"b09eb66.ccf27c8\",\"type\":\"ui_gauge\",\"z\":\"d55b6e63.6443a8\",\"name\":\"Main Entrance\",\"group\":\"7b0c853e.555bac\",\"order\":0,\"width\":0,\"height\":0,\"gtype\":\"gage\",\"title\":\"Main Entrance\",\"label\":\"\u02daC\",\"format\":\"{{value}}\",\"min\":\"0\",\"max\":\"35\",\"colors\":[\"#00b500\",\"#e6e600\",\"#ca3838\"],\"seg1\":\"20\",\"seg2\":\"25\",\"x\":880,\"y\":720,\"wires\":[]},{\"id\":\"62ad61e2.4f2e38\",\"type\":\"function\",\"z\":\"d55b6e63.6443a8\",\"name\":\"\",\"func\":\"if ( msg.measurement.sensorindex === 0) {\\n return msg;\\n}\",\"outputs\":1,\"noerr\":0,\"x\":650,\"y\":640,\"wires\":[[\"8ccd6651.e136b\"]]},{\"id\":\"5e5cbfa3.097938\",\"type\":\"function\",\"z\":\"d55b6e63.6443a8\",\"name\":\"\",\"func\":\"if ( msg.measurement.sensorindex === 6) {\\n return msg;\\n}\",\"outputs\":1,\"noerr\":0,\"x\":650,\"y\":720,\"wires\":[[\"b09eb66.ccf27c8\"]]},{\"id\":\"e596ab59.2b98c8\",\"type\":\"vscp-tcp-config-host\",\"z\":\"\",\"name\":\"pi11\",\"host\":\"192.168.1.44\",\"port\":\"9598\",\"timeout\":\"10000\",\"interface\":\"\",\"keepalive\":\"10000\"},{\"id\":\"7b0c853e.555bac\",\"type\":\"ui_group\",\"z\":\"\",\"name\":\"Temperatures\",\"tab\":\"7cdacae9.143d2c\",\"order\":1,\"disp\":true,\"width\":\"6\",\"collapse\":false},{\"id\":\"7cdacae9.143d2c\",\"type\":\"ui_tab\",\"z\":\"\",\"name\":\"Home\",\"icon\":\"dashboard\",\"disabled\":false,\"hidden\":false}]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As the filtering on measurement items is such a common thing to filter on there is a node m-filter that allows for this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This node can filter on<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>unit<\/li><li>sensorindex<\/li><li>index<\/li><li>zone<\/li><li>subzone<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This means that we can replace the above flow with<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"98\" data-attachment-id=\"4539\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4539\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?fit=957%2C162&amp;ssl=1\" data-orig-size=\"957,162\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-15-05-21\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?fit=580%2C98&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?resize=580%2C98&#038;ssl=1\" alt=\"\" class=\"wp-image-4539\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?w=957&amp;ssl=1 957w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?resize=300%2C51&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-05-21.png?resize=768%2C130&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Where the upper m-filter is<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"425\" data-attachment-id=\"4540\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4540\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-06-45.png?fit=520%2C425&amp;ssl=1\" data-orig-size=\"520,425\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-15-06-45\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-06-45.png?fit=520%2C425&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-06-45.png?resize=520%2C425&#038;ssl=1\" alt=\"\" class=\"wp-image-4540\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-06-45.png?w=520&amp;ssl=1 520w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-06-45.png?resize=300%2C245&amp;ssl=1 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That is events from temperature sensor 0 (sesorindex=0) with unit=1 (Degrees Celsius)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And the other<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"505\" height=\"440\" data-attachment-id=\"4541\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4541\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-08-14.png?fit=505%2C440&amp;ssl=1\" data-orig-size=\"505,440\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-15-08-14\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-08-14.png?fit=505%2C440&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-08-14.png?resize=505%2C440&#038;ssl=1\" alt=\"\" class=\"wp-image-4541\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-08-14.png?w=505&amp;ssl=1 505w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-08-14.png?resize=300%2C261&amp;ssl=1 300w\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That is events from temperature sensor 6 (sesorindex=6) with unit=1 (Degrees Celsius).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The result in the UI is the same as before<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"298\" height=\"428\" data-attachment-id=\"4542\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=4542\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-09-30.png?fit=298%2C428&amp;ssl=1\" data-orig-size=\"298,428\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-from-2020-05-26-15-09-30\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-09-30.png?fit=298%2C428&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-09-30.png?resize=298%2C428&#038;ssl=1\" alt=\"\" class=\"wp-image-4542\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-09-30.png?w=298&amp;ssl=1 298w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-26-15-09-30.png?resize=209%2C300&amp;ssl=1 209w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">[{\"id\":\"69a3065d.809ce\",\"type\":\"vscp-tcp-in\",\"z\":\"d55b6e63.6443a8\",\"name\":\"pi11\",\"host\":\"e596ab59.2b98c8\",\"username\":\"admin\",\"password\":\"<strong>PWRD<\/strong>\",\"filter\":\"\",\"keyctx\":\"pi11a\",\"x\":110,\"y\":460,\"wires\":[[\"67cb55bc.a4b854\"]]},{\"id\":\"fa389899.e0f0a\",\"type\":\"event2value\",\"z\":\"d55b6e63.6443a8\",\"btransparent\":true,\"bvalue2payload\":true,\"name\":\"\",\"x\":470,\"y\":460,\"wires\":[[\"18fa4e78.ba8042\",\"65526990.3e0138\"]]},{\"id\":\"3cf5f43a.efd9d4\",\"type\":\"ui_gauge\",\"z\":\"d55b6e63.6443a8\",\"name\":\"Office Entrance\",\"group\":\"7b0c853e.555bac\",\"order\":0,\"width\":0,\"height\":0,\"gtype\":\"gage\",\"title\":\"Office Entrance\",\"label\":\"\u02daC\",\"format\":\"{{value}}\",\"min\":\"0\",\"max\":\"35\",\"colors\":[\"#00b500\",\"#e6e600\",\"#ca3838\"],\"seg1\":\"20\",\"seg2\":\"25\",\"x\":860,\"y\":460,\"wires\":[]},{\"id\":\"67cb55bc.a4b854\",\"type\":\"vscpfilter\",\"z\":\"d55b6e63.6443a8\",\"vscppriority\":\"\",\"vscpclass\":\"\",\"vscptype\":\"\",\"vscpguid\":\"\",\"name\":\"\",\"x\":280,\"y\":460,\"wires\":[[\"fa389899.e0f0a\"]]},{\"id\":\"eb7dd64e.3636f\",\"type\":\"ui_gauge\",\"z\":\"d55b6e63.6443a8\",\"name\":\"Main Entrance\",\"group\":\"7b0c853e.555bac\",\"order\":0,\"width\":0,\"height\":0,\"gtype\":\"gage\",\"title\":\"Main Entrance\",\"label\":\"\u02daC\",\"format\":\"{{value}}\",\"min\":\"0\",\"max\":\"35\",\"colors\":[\"#00b500\",\"#e6e600\",\"#ca3838\"],\"seg1\":\"20\",\"seg2\":\"25\",\"x\":860,\"y\":540,\"wires\":[]},{\"id\":\"18fa4e78.ba8042\",\"type\":\"m-filter\",\"z\":\"d55b6e63.6443a8\",\"unit\":\"1\",\"sensorindex\":\"0\",\"index\":\"\",\"zone\":\"\",\"subzone\":\"\",\"name\":\"\",\"x\":650,\"y\":460,\"wires\":[[\"3cf5f43a.efd9d4\"]]},{\"id\":\"65526990.3e0138\",\"type\":\"m-filter\",\"z\":\"d55b6e63.6443a8\",\"unit\":\"1\",\"sensorindex\":\"6\",\"index\":\"\",\"zone\":\"\",\"subzone\":\"\",\"name\":\"\",\"x\":650,\"y\":540,\"wires\":[[\"eb7dd64e.3636f\"]]},{\"id\":\"e596ab59.2b98c8\",\"type\":\"vscp-tcp-config-host\",\"z\":\"\",\"name\":\"pi11\",\"host\":\"192.168.1.44\",\"port\":\"9598\",\"timeout\":\"10000\",\"interface\":\"\",\"keepalive\":\"10000\"},{\"id\":\"7b0c853e.555bac\",\"type\":\"ui_group\",\"z\":\"\",\"name\":\"Temperatures\",\"tab\":\"7cdacae9.143d2c\",\"order\":1,\"disp\":true,\"width\":\"6\",\"collapse\":false},{\"id\":\"7cdacae9.143d2c\",\"type\":\"ui_tab\",\"z\":\"\",\"name\":\"Home\",\"icon\":\"dashboard\",\"disabled\":false,\"hidden\":false}]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It is now equally easy to save data into databases, tables, show them in diagram or further process the measurement data. We will present some other examples here later.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is also worth mentioning that we do not filter on GUID above for simplicity. This is a must if there are temperature measurements coming in from several VSCP devices. In this case only one node generated temperature measurements so it is possible to skip that step.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also note how VSCP abstract the transport mechanism. In this case it is tcp\/ip, but the vscp-tcp-in node could be replaced by the <a href=\"https:\/\/flows.nodered.org\/node\/node-red-contrib-canal\">CANAL node<\/a> which allow for CAN transport or even other transports, or MQTT or some other method could be used. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is also worth noting that  the hardware that do the actual measurement is replaceable (and reusable) without any code changes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Have fun!<\/em><\/strong><br><strong>\/Ake<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ps<\/strong> More info about the VSCP IoT\/m2m framework can be found <a href=\"https:\/\/www.vscp.org\">here<\/a>. <strong>ds<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this howto I will give a short introduction on how to setup a system that use node-red-contrib-vscp (1.2.1) and the node-red-contrib-vscp-tcp (1.2.1) nodes. The system we will talk to is called pi11 here at the office. It is mounted as a test system on a wall in one of the rooms just inside the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[53,80,83,13],"tags":[],"class_list":["post-4517","post","type-post","status-publish","format-standard","hentry","category-howtos","category-node-js","category-node-red","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-1aR","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4517"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4517\/revisions"}],"predecessor-version":[{"id":4543,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4517\/revisions\/4543"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}