paspo's bloghttps://asperti.com/en/
en-UShttp://blogs.law.harvard.edu/tech/rss60Synology UPS and other machineshttps://asperti.com/en/synology-ups-and-other-machines
Fri, 22 Sep 2017 14:00:00 +0000paspohacks24@https://asperti.com/<p><p>If you have a Synology NAS and you're conscious about power protection, it's very likely that you have an UPS connected to it. And this is great. But what about other machines?</p>
</p><a href="https://asperti.com/en/synology-ups-and-other-machines#more24">Full story &raquo;</a><div class="item_footer"><p><small><a href="https://asperti.com/en/synology-ups-and-other-machines">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>

If you have a Synology NAS and you're conscious about power protection, it's very likely that you have an UPS connected to it. And this is great. But what about other machines?

]]>https://asperti.com/en/intruder-alert#commentshttps://asperti.com/en/?tempskin=_rss2&disp=comments&p=7[BgLUG] slack to rocket.chat migrationhttps://asperti.com/en/bglug-slack-to-rocket-chat
Tue, 11 Apr 2017 19:00:00 +0000paspoBgLUG6@https://asperti.com/<p>I'm part of the <a href="https://bglug.it">local LUG</a> (Linux Users Group) and despite our association is not exactly a startup (founded in 2001 if I remember well) we're not organized like we would want to be. Bu we're trying!</p>
<p>In fact, among other things, we move away from "closed source" services like slack (a very powerful chat service, with tons of users around the globe) because our goal is to support Open Source Software.</p>
<p>Entering <a href="https://rocket.chat/">rocket.chat</a>, an open source alternative to slack. And the good news is: it's great! It has everything we possibly need: mobile apps (android and iOS), desktop apps (linux, OSX and windows), bots, private groups, APIs, integration with other services... and Slack import :)</p>
<a href="https://asperti.com/en/bglug-slack-to-rocket-chat#more6">Full story &raquo;</a><div class="item_footer"><p><small><a href="https://asperti.com/en/bglug-slack-to-rocket-chat">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>I'm part of the local LUG (Linux Users Group) and despite our association is not exactly a startup (founded in 2001 if I remember well) we're not organized like we would want to be. Bu we're trying!

In fact, among other things, we move away from "closed source" services like slack (a very powerful chat service, with tons of users around the globe) because our goal is to support Open Source Software.

Entering rocket.chat, an open source alternative to slack. And the good news is: it's great! It has everything we possibly need: mobile apps (android and iOS), desktop apps (linux, OSX and windows), bots, private groups, APIs, integration with other services... and Slack import :)

]]>https://asperti.com/en/bglug-slack-to-rocket-chat#commentshttps://asperti.com/en/?tempskin=_rss2&disp=comments&p=6[piTofono] - Testing audiohttps://asperti.com/en/pitofono-testing-audio
Thu, 16 Mar 2017 19:00:00 +0000paspopitofono5@https://asperti.com/<div><div><a href="https://asperti.com/media/shared/global/posts/headquarters-1674029_640.png?mtime=1493124627" rel="lightbox[p5]" id="link_29"><img alt="[piTofono] - Testing audio" src="https://asperti.com/media/shared/global/posts/_evocache/headquarters-1674029_640.png/fit-320x320.png?mtime=1493124627" width="189" height="320" class="loadimg" /></a></div></div><p>The audio part of this project was tricky. The need is very clear: this is an IP phone that automatically places a call when somebody presses a button. The hard part is finding an IP softphone without a GUI.</p>
<p>I found that a lot of softphone apps (andrioid and iOS) are based on [pjlib](http://www.pjsip.org/), so luckily I'm not forced to go Plan-B (configure asterisk for the job). Pjlib supports a lot of protocols, it does everything I need and more. It also has bindings for python, and I'm feeling that Pitofono's final destination will involve some python coding.<br />
Another good point is video support embedded in the library; I still haven't investigated on this.</p><div class="item_footer"><p><small><a href="https://asperti.com/en/pitofono-testing-audio">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>

The audio part of this project was tricky. The need is very clear: this is an IP phone that automatically places a call when somebody presses a button. The hard part is finding an IP softphone without a GUI.

I found that a lot of softphone apps (andrioid and iOS) are based on [pjlib](http://www.pjsip.org/), so luckily I'm not forced to go Plan-B (configure asterisk for the job). Pjlib supports a lot of protocols, it does everything I need and more. It also has bindings for python, and I'm feeling that Pitofono's final destination will involve some python coding.
Another good point is video support embedded in the library; I still haven't investigated on this.

]]>https://asperti.com/en/pitofono-testing-audio#commentshttps://asperti.com/en/?tempskin=_rss2&disp=comments&p=5[piTofono] - Testing videohttps://asperti.com/en/pitofono-testing-video
Wed, 15 Mar 2017 19:00:00 +0000paspopitofono4@https://asperti.com/<div><div><a href="https://asperti.com/media/shared/global/posts/headquarters-1674029_640.png?mtime=1493124627" rel="lightbox[p4]" id="link_28"><img alt="[piTofono] - Testing video" src="https://asperti.com/media/shared/global/posts/_evocache/headquarters-1674029_640.png/fit-320x320.png?mtime=1493124627" width="189" height="320" class="loadimg" /></a></div></div><p>My top priority is video acquisition and streaming. So I investigated a little and I choose <strong>motion</strong> as the software component for this task: low requirements, it can stream via http in mjpg, and it's very configurable. After a while i found a compatible video source (the video out of my reflex): turns out that in 2017 it's difficult to have a device with an analog video out... </p>
<p>After a bit of fiddling I've got it working. Motion is not very resource demanding, and I need only the streaming feature, not the motion detection or the video/snapshot generation. Also a good feature is the video loopback: when a software is using a v4l2 device (say /dev/video0) this is blocked by the process and inaccessible to other processes, the loopback is able to create a "clone v4l2 device" accessible to other programs.</p><div class="item_footer"><p><small><a href="https://asperti.com/en/pitofono-testing-video">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>

My top priority is video acquisition and streaming. So I investigated a little and I choose motion as the software component for this task: low requirements, it can stream via http in mjpg, and it's very configurable. After a while i found a compatible video source (the video out of my reflex): turns out that in 2017 it's difficult to have a device with an analog video out...

After a bit of fiddling I've got it working. Motion is not very resource demanding, and I need only the streaming feature, not the motion detection or the video/snapshot generation. Also a good feature is the video loopback: when a software is using a v4l2 device (say /dev/video0) this is blocked by the process and inaccessible to other processes, the loopback is able to create a "clone v4l2 device" accessible to other programs.