more G-Labs products

Author Topic: Sending and Receiving SMS (Work in progress)  (Read 2654 times)

November 26, 2016, 11:37:56 PM
Reply #15

djatie

  • **
  • Information
  • Jr. Member
  • Posts: 34
I have use ur script and my own modified, ithink problem on my raspi or my os.
i use e173, e488, and vodafone zte, all being not responding after 1 hour.
i check from shell with
$ lsusb
modem detected
but if i check with
$ dmesg | grep tty
usb not shown
then i try to reload with command
$ sudo usb_modeswitch -c /etc/usb_modeswitch.conf
its back work again.

so i have modificate on startup.sh homegenie with thats command
now with your original script, or my own its work perfectly. 1 day i use it, not hang and stay respond all my command. so the problem is mine but i dont know coz the os or my hardware, or my raspi-config.

the problem is every i restart my homegenie or my raspi, GPIO status before restart is ON, after reset it to OFF, i dont know why, try to serach the problem.

November 27, 2016, 04:27:38 PM
Reply #16

[email protected]

  • *****
  • Information
  • Hero Member
  • Posts: 271

November 28, 2016, 03:16:29 PM
Reply #17

djatie

  • **
  • Information
  • Jr. Member
  • Posts: 34
No i use standard gpiomodules.hgx

my sms hang this day  :( not respond, restart then normal again  :D
i interest with easyiot its build in smsgateway.
i have load library to my VS2015, its hard 5 years not touch programing, but i will try.

or maybe use this https://www.nuget.org/packages/MessagingToolkit/

« Last Edit: November 28, 2016, 03:20:36 PM by djatie »

November 28, 2016, 03:18:30 PM
Reply #18

[email protected]

  • *****
  • Information
  • Hero Member
  • Posts: 271
Got any links to that and where they use it and I can have a look - I may have already dismissed that version for one reason or another if its available via google!

November 28, 2016, 03:48:26 PM
Reply #19

djatie

  • **
  • Information
  • Jr. Member
  • Posts: 34
u meand easy iot?
in this link http://iot-playground.com

i love homegenie  :-* but easyiot have sms gateway  :-\
my raspi installed on small city with minimum internet acess just got GPRS  ;D so sms is the alternative to control it.

November 29, 2016, 03:31:52 PM
Reply #20

[email protected]

  • *****
  • Information
  • Hero Member
  • Posts: 271
if you install ILSpy and then use that you can view what is in there and possibly re-write / add steps into my code if required - just check licensing first :)

I was going to create it as a more robust interface however the issue came around dealing with the serial port and the lack of event handling and then the limitations within the automation programs themselves.

David