Welcome, Guest
Username: Password: Remember me

TOPIC: Call external apps/scripts

Call external apps/scripts 11 months 2 weeks ago #3479

After playing with the SMS interface for a few weeks now, juggling with a SIM900 module, an Olimex 3G USB modem and one of those orange chinese one with two SIM cards from two different providers, lots of ways of powering the SIM900 and the Raspberry, my conclusion is that the SMS interface is totally unreliable.
I don't want to break the bank with one of those outrageously overpriced (on the local market) Adafruit Fona modules hoping that they will work.
EasyIoT is not the culprit here but rather the Raspberry itself or the Raspbian because the same unreliabile behavior is exhibited with gammu-smsd as well. The modes work flawless on some Orange Pi boards but I can only test the gammu-smsd reliability as while EasyIoT app runs on Armbian just fine, there's no reference on how to wire the NRF24L01+ modules on the Orange Pi's GPIO pins.
So I'm left with the option of calling and external resource (eg. ssh on an OrangePi and use its gammu-smsd instance) by either a cronjob that would parse the EasyIoT logs, or create an automation program that would be able to call external resources and accomplish the same thing but in realtime rather that using a cronjob running every minute.
I know that the syntax is C#, however since I'm no programmer, I'm totally clueless on how the code snippet should look like. If it's even possible.
The administrator has disabled public write access.

Call external apps/scripts 11 months 5 days ago #3495

Running the EasyIoT.exe daemon inside a logging screen and parsing the file with "tail -f" allows me to do pretty much anything I need, including calling external apps. However it requires moderate Linux knowledge and lots of hardcoding.
The administrator has disabled public write access.

Call external apps/scripts 11 months 3 days ago #3496

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 833
  • Thank you received: 258
  • Karma: 24
mihai.aldea wrote:
After playing with the SMS interface for a few weeks now, juggling with a SIM900 module, an Olimex 3G USB modem and one of those orange chinese one with two SIM cards from two different providers, lots of ways of powering the SIM900 and the Raspberry, my conclusion is that the SMS interface is totally unreliable.
I don't want to break the bank with one of those outrageously overpriced (on the local market) Adafruit Fona modules hoping that they will work.
EasyIoT is not the culprit here but rather the Raspberry itself or the Raspbian because the same unreliabile behavior is exhibited with gammu-smsd as well. The modes work flawless on some Orange Pi boards but I can only test the gammu-smsd reliability as while EasyIoT app runs on Armbian just fine, there's no reference on how to wire the NRF24L01+ modules on the Orange Pi's GPIO pins.
So I'm left with the option of calling and external resource (eg. ssh on an OrangePi and use its gammu-smsd instance) by either a cronjob that would parse the EasyIoT logs, or create an automation program that would be able to call external resources and accomplish the same thing but in realtime rather that using a cronjob running every minute.
I know that the syntax is C#, however since I'm no programmer, I'm totally clueless on how the code snippet should look like. If it's even possible.

I've played a lot with GSM module nad EasyIoT server. I'm using one of these cheap USB 3G dongles. You can get them for 10$ on ebay. Regarding stability: you need really good power supply at least 2 A. I'm using Samsung charger. Also shotcut fuse on Raspberry to provide enough current to USB modem.
The administrator has disabled public write access.

Call external apps/scripts 11 months 3 days ago #3498

I used three types of chargers, all of them rated at 2A. I haven't shorted the fuse on the RPi, however I used one of these:
www.olimex.com/Products/USB-Modules/USB-CAP/
It should've get the job done without the shorted fuse.
I used it with:
www.olimex.com/Products/USB-Modules/MOD-USB3G/
and with two cheap chinese orange ones.

I also tried with this one:
www.aliexpress.com/item/DHL-EUB-10pcs-SI...-3o/32679805820.html
using separate external power and grounding it to the Pi. This one proved to be a bit more reliable than the others.

The thing is that since I started tinkering with Armbian, I seem to find the RPi/Raspbian combination more and more flimsier comparing to Armbian on other boards. And I believe that this is where the problem lies and not with EasyIoT.
Last Edit: 11 months 3 days ago by mihai.aldea.
The administrator has disabled public write access.
Time to create page: 0.122 seconds
Powered by Kunena Forum