{"id":2437,"date":"2017-05-08T15:24:17","date_gmt":"2017-05-08T15:24:17","guid":{"rendered":"http:\/\/grodansparadis.com\/wordpress\/?p=2437"},"modified":"2017-05-08T15:24:17","modified_gmt":"2017-05-08T15:24:17","slug":"python-can-vscp-m2m-iot-can","status":"publish","type":"post","link":"https:\/\/grodansparadis.com\/wordpress\/?p=2437","title":{"rendered":"python-can #VSCP #m2m #IoT #CAN"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2026\" data-permalink=\"https:\/\/grodansparadis.com\/wordpress\/?attachment_id=2026\" data-orig-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?fit=800%2C336&amp;ssl=1\" data-orig-size=\"800,336\" 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=\"mount13\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?fit=580%2C244&amp;ssl=1\" class=\"alignnone size-full wp-image-2026\" src=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?resize=580%2C244\" alt=\"\" width=\"580\" height=\"244\" srcset=\"https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?resize=300%2C126&amp;ssl=1 300w, https:\/\/i0.wp.com\/grodansparadis.com\/wordpress\/wp-content\/uploads\/2016\/10\/mount13.png?resize=768%2C323&amp;ssl=1 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>In a support question today I got to know the <strong>python-can<\/strong> package which I was not aware of. This is a package for Python developers <a href=\"http:\/\/python-can.readthedocs.io\/en\/latest\/index.html\">python-can<\/a> wanting to work with CAN. The package supports CANAL but <strong>unfortunately<\/strong> the CANAL interface is named &#8220;<em>USB2CAN<\/em>&#8220;, which disappoints me a bit,\u00a0 but at least it&#8217;s there.<\/p>\n<p>So <a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=vscp_daemon_level_i_drivers\">all drivers here<\/a> should work with Python now.<\/p>\n<p>Interesting for <a href=\"http:\/\/www.vscp.org\">VSCP<\/a>&#8216;ers can the <a href=\"http:\/\/python-can.readthedocs.io\/en\/latest\/interfaces\/remote.html\">remote interface<\/a> of the package be. Here you can set up a lightweight connection to a <strong>CAN4VSCP<\/strong> bus (CAN bus) and feed it over TCP\/IP to a VSCP daemon or some other thing. Perfect for use on small Linux boards where the full\u00a0 <a href=\"http:\/\/www.vscp.org\/docs\/vscpd\/doku.php?id=start\">VSCP daemon<\/a> is too much.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a support question today I got to know the python-can package which I was not aware of. This is a package for Python developers python-can wanting to work with CAN. The package supports CANAL but unfortunately the CANAL interface is named &#8220;USB2CAN&#8220;, which disappoints me a bit,\u00a0 but at least it&#8217;s there. So all [&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_feature_clip_id":0,"_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":[33,24,55,13],"tags":[],"class_list":["post-2437","post","type-post","status-publish","format-standard","hentry","category-can4vscp","category-programming","category-python","category-vscp"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4raCZ-Dj","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\/2437","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=2437"}],"version-history":[{"count":1,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2437\/revisions"}],"predecessor-version":[{"id":2438,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2437\/revisions\/2438"}],"wp:attachment":[{"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2437"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grodansparadis.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}