LoVoN, the SMS-gateway now for Raspberry Pi 2

posted 23 Apr 2015, 06:31 by JO3RI Read Grab Share   [ updated 23 Apr 2015, 06:32 ]

Some things in the LoVoN project have changed. Although the project stays open-source, it now is a project owned by NiiP. The LoVoN image is free for you to download on the bitbucket page. It can use very specific sender and receiver rules, but those are not part of the image. If you need specific filters, you'll have to contact us. (like: email white lists, user list to the system).

Once you have put the image on an SD-card, booted, added your modem and have configured LoVoN, you can start using your Raspberry Pi model 2 as an SMS-Gateway-Server.

You can find all about the why and the how on the LoVoN project wiki page. The things that have changed the most are: image for Rasp Pi model 2, auto-start on boot, installed location = /usr/local/lovon, usage of service scripts and you can attach HDMI after boot.

LoVoN, the SMS-gateway for Raspberry Pi, now does work

posted 9 Jul 2013, 02:33 by JO3RI Read Grab Share   [ updated 16 Jun 2017, 01:23 ]

In a previous post, I talked about the LoVoN project, an SMS-gateway running on a Raspberry Pi with an USB-modem. But than it seemed our build would be to heavy for the raspberry Pi. Well, all that is over now. We were able to make LoVoN work on the rapsberry pi, as it was meant to.

When we first started out with LoVoN we decided to use an object database (db4o) instead of a relation database. It seemed like a good idea at the time, removing a lot of the complexities that come with maintaining a relational database and the idea of “not having to deal with the object-relational impedance mismatch” we soon discovered it introduced a whole new set of issues.

Most importantly memory management. We’re not sure whether that’s because we do not fully understand how to use object databases or because object databases are simply not suited for the problem we’re trying solve but given the extreme memory leaks and performance issues we experienced we decided not to stick around and find out. Instead we simply implemented LoVoN with SQLite as the backend. As a result we’re no longer experiencing memory leaks, queries are a lot faster and LoVoN runs on the RaspberryPI without any issues.

If you want to find out more about the project itself, visit it's project page at bitbucket.

Is LoVoN the sms-gateway to heavy for Raspberry Pi?

posted 3 Mar 2013, 02:55 by JO3RI Read Grab Share   [ updated 4 Mar 2013, 01:08 ]

In a previous post, I talked about the LoVoN project, an SMS-gateway running on a Raspberry Pi with an USB-modem. Well, could it be the Raspberry Pi is not quit suited for this task? While our setup has been running for more than 2 months, we suddenly found out, sms where send more than once. Strange behaviour that was not exactable. After excluding all possible errors, we finally managed to find out what was happening.

It seems that our Raspberry Pi running Mono, could handle things fast enough. Not a problem, we thought, because if the SMS is 5 minutes late, it ain't a big deal. But then we found the real problem. While the modem does hardware interrupts, our build-in smtp handler got interrupted too. Meaning that, before it could tell the other email-servers (in our case Google): OK got the email, they hang up. (right behaviour, because it sometimes took more than 2 minutes). Google in this case, assumes the email didn't get delivered, so it retried up to 4 times, although LoVoN actually did receive the email the very first time.

We couldn't let that happen, in a life production, so we decided to put the whole of LoVoN on a normal computer for now. Guess what, all problems are solved. We might look into the real problem, meaning, can't we get this to speed up, but for know we'll abandon the Raspberry Pi as the hardware running LoVoN. I'll keep you informed.

Building an SMS-gateway

posted 18 Feb 2013, 03:10 by JO3RI Read Grab Share   [ updated 20 Feb 2013, 01:34 ]

About a year ago I order a SMS-gateway for the company I work at. We got one, but it failed or crashed way to much. Because we still needed one and we weren't willing to use an SMS-gateway service for some good reasons, I decided to build one myself. Soon enough I found out, I wouldn't be capable of doing this on my own. So I went to @delegatevoid to ask for help.

And I'll give you the good news right away: it works and it's up and running for about a month now (18/02/2013). Why building your own SMS-gateway?

  • SMS-gateway services ask you to put the recipient into the subject, meaning you can't use address books in a simple way
  • SMS-gateway services ask way to much money for there services.
  • We needed a traceable way of sending sms and receiving an answer

So we created LoVoN. You can read some more on LoVoN on this web page and you can download the code for building your own.

Boot my Raspberry Pi

posted 21 Aug 2012, 00:54 by JO3RI Read Grab Share   [ updated 21 Aug 2012, 00:55 ]

Ok, so suddenly I happen to have a Raspberry Pi. I got home, only to find out I couldn't find my HDMI cable, nor a micro-usb cable. Oh well, patience is a virtue they say. So when I finally found a micro-usb cable I was able to boot with an SD-card running the latest Debian image for Raspberry Pi, I found on the download page. Still using the video-out and not HDMI, but it works (what a relieve).

Now when first sniffing around on the console, it reminded me of the NSLU2 I used to run Debian on. That also was an ARM based box, made by Linksys. I even got more into that idea, when using X on the Raspi. It ain't fast, but it does work.

I didn't buy a Raspberry Pi just for fun (well maybe a bit), but I did because I will be using it in a project: LoVoN (a 2-way sms / email server). Of course, I'll be testing some distro's with the Raspi as well. And I'll post my findings here, so don't forget to check this blog time to time.

1-5 of 5