This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to control the KNX bus via SMS and send notices via SMS?
#46
Hi Daniel
I have the LM5 RIO with buildin LTE modem, and I am now trying to get the SMS to work with no luck. It should be used only for SMS, and the existing Ethernet should still be used for IP traffic.

I have added a new user library called sms with the contents shown here https://kb.logicmachine.net/notifications/sms/
I have added a resident script from the same page and I am using ttyUSB2 - I do not know if that is the correct one to use.

I have disabled 3G/4G connection in System config and I have added these lines to the init script to only use SMS
io.writefile('/sys/class/gpio/export', 8)
io.writefile('/sys/class/gpio/export', 71)

io.writefile('/sys/class/gpio/gpio8/direction', 'high')
os.sleep(1)
io.writefile('/sys/class/gpio/gpio8/direction', 'low')

io.writefile('/sys/class/gpio/gpio71/direction', 'high')

This is from this post https://forum.logicmachine.net/showthread.php?tid=5123 where it was recommended to do if you only need SMS.

I have power recycled my Logic Machine and verified everything is still there after power up again. There is no messages in the error logs, and nothing happens when I try to send or receive a SMS. The pin code on the sim card is disabled.

I am searching for debugging tools to help identify the problem. Is the sim card correct mounted, what is the comport and more. I hope you can assist with tools or things I can try.

Thanks in advance. Smile
Reply


Messages In This Thread
RE: How to control the KNX bus via SMS and send notices via SMS? - by EjvindHald - 07.08.2025, 19:10

Forum Jump: