{"id":1191,"date":"2015-11-12T14:47:22","date_gmt":"2015-11-12T14:47:22","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=1191"},"modified":"2015-11-12T14:47:22","modified_gmt":"2015-11-12T14:47:22","slug":"its-all-about-hal-or-what-iot-people-do-wrong","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=1191","title":{"rendered":"It&#8217;s all about HAL (or what #IoT people do wrong)"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1009\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=1009\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?fit=500%2C700&amp;ssl=1\" data-orig-size=\"500,700\" 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=\"vscp_new_v2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?fit=500%2C700&amp;ssl=1\" class=\"alignnone wp-image-1009\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?resize=198%2C277\" alt=\"vscp_new_v2\" width=\"198\" height=\"277\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2015\/08\/vscp_new_v2.png?resize=214%2C300&amp;ssl=1 214w\" sizes=\"auto, (max-width: 198px) 100vw, 198px\" \/><\/a><\/p>\n<p>I am old.\u00a0 I was in this game as a programmer when 1K of EPROM and 128 bytes of RAM was fantastic.\u00a0 Assembler of course. Half an hour to erase those EPROMS and five minutes to program them.\u00a0 Five minutes to walk to the programmer and replace the erase with new once and back again. Yes that is how old I am.<\/p>\n<p>I also did programs for the PC pre windows. We distributed things on diskettes. One diskette for the program we sold and fifteen, sometime thirty diskettes, with drivers for different keyboards, mice, graphical adapter, monitors etc etc. shipped along with that diskette to get things to work out at the customer. The PC era. A lot of diskettes.<\/p>\n<p>Then Microsoft came a long with windows and it changed everything.\u00a0 Software boomed and everyone made money. NO it was not the graphical interface. There where others that did that. It was HAL. The hardware abstraction layer. Suddenly we could ship our app.\u00a0 without worrying about what was connected to the machine. Windows handled that.<\/p>\n<p><strong>Lesson learned:<\/strong> Abstractions are good.<\/p>\n<p>Also at this time, but maybe a bit later, hypertext was sort of a hype. There where numerous applications that linked cards and pages together using hyperlinks. I think most of us saw this need. The amount of Information was increasing drastically. We needed ways to connect the dots. The docs for the windows SDK was well over a meter in my bookshelf alone.<\/p>\n<p>All those applications, well, they where called &#8220;programs&#8221; at the time,\u00a0 where proprietary and so was the format for the data. So if you bought a hypertext system from a supplier you where stuck with that supplier and that suppliers format.<\/p>\n<p>So when html came along it&#8217;s use of hyperlinks was not a surprise.\u00a0 Nor was they way pages was built using abstractions such as headers, pictures etc. And it was open. Everyone could use it, build it and improve it.<\/p>\n<p><strong>Lesson learned:\u00a0<\/strong> Abstractions are good.\u00a0 Openness to. It makes people creative &amp; productive.<\/p>\n<p>So a few days ago this big company announces a new app.\u00a0 <strong>An incredible IoT building application.\u00a0 <\/strong>They demonstrated how incredible it was by\u00a0 showing how one could turn on a LED on an Arduino board from a Samsung phone. The demonstrator was excited, like it was a hockey game and the lit LED was a goal, the quality of the video was high, this involved a production team, a few guys, sound, camera, crew, must have cost a few bucks. And yes they got +700 likes the first day. Hundreds of comments. WOW&#8217;s.\u00a0 From me they just got a &#8220;vertical&#8221; sigh&#8230;.<\/p>\n<p>That deep sigh is not because I usually get three likes and no comments for something involving <a href=\"http:\/\/www.vscp.org\">VSCP<\/a>.\u00a0\u00a0 Nor is it because they where controlling a LED.\u00a0 I have always appreciated the LED turn on\/off as the &#8220;hello world&#8221; of embedded programming. It&#8217;s a start. It works.\u00a0 The problem was the absence of abstraction. There was a LED controlled in the user interface also. The problem was also the vertical nature of\u00a0 everything.\u00a0 If you used this system you where stuck with this supplier from the LED up to the user interface. The problem was the prosperity of the steps involved between the LED and the user interface.\u00a0 Sigh again. Double sigh. No like from this old guy. You know grumpy old men&#8230;<\/p>\n<p>Me and some other guys started building VSCP around 2000.\u00a0 &#8220;Open&#8221; was a keyword from the beginning. &#8220;Layered&#8221; was another.\u00a0 Heavy use of abstractions a third. &#8220;Free&#8221; of course. Unbelievable it is fifteen years ago now. But it was built from lessons learnt.\u00a0 So one additional thing was available from the beginning in VSCP.\u00a0 The HAL for M2M\/home automation\/IoT will come some day and concur the world. We thought. Now fifteen years later. No. It has not come. I can&#8217;t even see it on the horizon.\u00a0 Just hype. Everything made today is useless shit. More or less. IF taken out of its vertical context that is.\u00a0 YES worthless.<\/p>\n<p>But we built VSCP so it was possible to preserve investments in development when the god of IoT came. \u00a0 And yes there is no five second way to appreciate that in VSCP just as there was no five second way to appreciate TCP\/IP when it came. Sometime we must dig deeper and beyond lit LED&#8217;s and headlines from big companies to appreciate things.\u00a0 Just as there are a difference between a comic strip and a novel. Yes it is a difference.<\/p>\n<p>Lets face it. What does the different alliances of today have to come with? Well another way to transport &#8220;23.56&#8221; from point A to point Z. Sometimes directly, but often traversing &#8220;R&#8221; and &#8220;B&#8221; on the way. And &#8220;23.56&#8221; is received at Z in a secure and safe way.\u00a0 Yes they all do. Often very good.<\/p>\n<p>But&#8230;<\/p>\n<p>No one specifies what &#8220;23.56&#8221; is. Is it my hourly wages in dollars? Is it a temperature.\u00a0 And if so is it expressed in Fahrenheit, in Kelvin or in Celsius?\u00a0 No problem you say. Each manufacturer decide what they send. The receive\u00a0 just have to gain that information. Or magically know it.<\/p>\n<p>Most of them even center around a transport type.\u00a0 To many to mention.\u00a0 Will a device world ever be conformant in transport mechanism.\u00a0 Is there even one person in the world that believe that?\u00a0 For god sake. MQTT is a way to transport information, it is NOT an IoT protocol. The same is true for the rest. Every one of them.<\/p>\n<p>But what happens now if &#8220;23.56&#8221; was standardized to SI as in VSCP.\u00a0 Well first the receiver know without question what he\/she gets and therefore can use it and display it in a correct way. But suppose that it also is standardized in the data format. If &#8220;xx.yy&#8221; also is known and can be encoded and decoded even if it is a different entity.\u00a0 Suddenly one data storage solution fits all measurements. One presentation solution fits all to. Etc etc. Must be good.\u00a0 At least old men like me think so.<\/p>\n<p>Not to mention device discovery. Or device configuration. Or device firmware update. What a wonderful world if they could be done in a common way.\u00a0 Is it possible.\u00a0 Well ask someone using VSCP. It has been for fifteen years now.\u00a0 <strong>Using an IoT protocol that was there before IoT was.<\/strong><\/p>\n<p>We are still waiting for the one that can unite them all.\u00a0 In the meantime VSCP can help preserved investments buy abstracting the thing to come. Well, or unite them all. Why not!?<\/p>\n<p>If you want to know more<\/p>\n<ul>\n<li style=\"text-align: left;\"><a href=\"http:\/\/www.slideshare.net\/keHedman\/a-black-box-for-xmas\">One to unite them all<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"http:\/\/www.slideshare.net\/keHedman\/a-black-box-for-xmas\">The black box and VSCP<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"http:\/\/www.vscp.org\/docs\/vscpspec\">The VSCP specification<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I am old.\u00a0 I was in this game as a programmer when 1K of EPROM and 128 bytes of RAM was fantastic.\u00a0 Assembler of course. Half an hour to erase those EPROMS and five minutes to program them.\u00a0 Five minutes to walk to the programmer and replace the erase with new once and back again. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_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}},"categories":[12],"tags":[],"class_list":["post-1191","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-jd","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\/1191","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=1191"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1191\/revisions"}],"predecessor-version":[{"id":1192,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1191\/revisions\/1192"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}