{"id":3037,"date":"2018-01-29T13:07:02","date_gmt":"2018-01-29T13:07:02","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=3037"},"modified":"2018-01-29T13:07:02","modified_gmt":"2018-01-29T13:07:02","slug":"lua-on-the-vscp-server","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=3037","title":{"rendered":"#Lua on the #VSCP server"},"content":{"rendered":"<p>It might not look beautiful looking at raw in the browser like this but this\u00a0 is a decision matrix row that runs a Lua script. The scripts can read\/write VSCP remote variables and send\/receive events. &amp;That means you have a choice between JavaScipt and Lua when you want to do something when events are received by the VSCP server. Events that can be a measurement or something else like a pressed button.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3039\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=3039\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?fit=1264%2C733&amp;ssl=1\" data-orig-size=\"1264,733\" 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 2018-01-29 14-01-48\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?fit=580%2C336&amp;ssl=1\" class=\"alignnone size-full wp-image-3039\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?resize=580%2C336\" alt=\"\" width=\"580\" height=\"336\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?w=1264&amp;ssl=1 1264w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?resize=300%2C174&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?resize=768%2C445&amp;ssl=1 768w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?resize=1024%2C594&amp;ssl=1 1024w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2018\/01\/Screenshot-from-2018-01-29-14-01-48.png?w=1160&amp;ssl=1 1160w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It might not look beautiful looking at raw in the browser like this but this\u00a0 is a decision matrix row that runs a Lua script. The scripts can read\/write VSCP remote variables and send\/receive events. &amp;That means you have a choice between JavaScipt and Lua when you want to do something when events are received [&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":[76,75,74,13],"tags":[],"class_list":["post-3037","post","type-post","status-publish","format-standard","hentry","category-decision-matrix-dm","category-javascript","category-lua","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-MZ","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\/3037","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=3037"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3037\/revisions"}],"predecessor-version":[{"id":3040,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3037\/revisions\/3040"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}