Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GSM Modem + Docker + ioBroker

Featured Replies

Hallo. 

 

Hat jemand einen ioBroker mit dem gsmsms Adapter laufen und weiß, wie ich den LTE-Stick zum Docker durchgeschleift bekomme?
Hier im Forum wird in einigen Posts mal was erwähnt, meist im Zusammenhang mit den WMs. Da geht das easy mit zwei Klicks.


Ich weiß inzwischen, dass ich beim Erstellen des Docker das Device mit angeben muss.

 

Auch finde ich auf dem unraid Server den LTE Stick.

1.png.7ecba99cc383b87d4402b712dcfd6f58.png

 

Auch im USB Menü ist der Stick gelistet.

4.thumb.png.3548d91b9ff322c9c9cf6b6677fa01d5.png

 

Der Befehl  ls -l /dev/serial/by-id zeigt leider nicht.

 5.png.87b09b0d7fc4a255ff901d179ca2f6fd.png

 

Auf Basis des USB Menü müsste doch dann der Eintrag beim erstellen den Docker wie folgt lauten:

/dev/serial/by-id/HUAWEI_HUAWEI_Mobile_FFFFFFFFFFFFFFFF:/dev/ttyUSB1

da der Adapter auf USB1 wartet.

8.png.6797d76ac662c8df0704fe2f7905c675.png

6.png.0298e8a01092038d9e57ef6898fa91a1.png

 

 

Leider kann mit diesem Pfad der Docker nicht gestartet werden. 

7.thumb.png.3afa6837ba7e2ed3ebea6452e017d76d.png

 

 

Spannend ist aber, das ich ja beim erstellen des Docker den Bus auswählen kann. 

9.png.e16f02d7c7d4b9164c084fea2c838a57.png

 

So lässt sich der Docker auch starten. 

Im Terminal des Docker wird jedoch nichts angezeigt.

10.png.2cab3ca87114808485cde18ce497adbb.png

 

 

Wer kann mir bitte helfen? Wo hab ich einen Denkfehler? 

Kann es daran liegen, das der Befehl  ls -l /dev/serial/by-id nicht funktioniert?

 

Danke im voraus. 

 

 

 

Anbei noch die Link aus dem Forum:

 

 

 

 

6.png

Edited by Letztfetz1

  • Author

Thanks for the hint. It took me a while to find a solution.

With the command I was able to switch to modem.

 

/usr/bin/sg_raw /dev/sr0 11 06 20 00 00 00 00 00 01 00

 

15.png.38d679c1096d33cdffe9ce714567bb84.png

 

https://forums.raspberrypi.com/viewtopic.php?t=18996

 

Unfortunately, forwarding into the docker still does not work.

/dev/ttyS0:/dev/ttyS0 

 

  • Author

16.png.979851c6afaef3ff3dbf554e675f0981.png

 

The TTYS0 also arrives in the iobroker.

 

17.png.d364878a4fd105882f766c64d4ff25e5.png

 

18.png.d3c9f95dddaed9555441f6f0989ad701.png

 

19.png.b1e661ce79be0697d8fc3b2814d2fb8d.png

 

 

Oops ... /dev/ttyS0 seems correct, any info. from gsmsms "debug" ? ( I never try setup GSM-modules/sticks on linux / docker )

 

I think first troubleshoot does AT command ( ? ) have send to device and got response.

 

image.png.53b0d54ce1181c38aa317096e8b5dbbc.png

 

https://github.com/forelleblau/ioBroker.gsmsms

 

image.png.8c4f9c33fcef4baa5903ad69de068b38.png

 

Edit : I notice you set the ttys0 is variable, it should be device, for example my USB Zigbee dongle setting as below

 

image.png.558e172d7b369b9657795091f8bb9602.png

Edited by Vr2Io

  • Author

20.thumb.png.55f34a19b5620b89a80a2954dc147529.png

 

 

Hello and thanks.
I shirked the boys from the GSM SMS adapter whether they have an idea regarding the use of the TTYS0.

 

 

  • Author

I think it has to do with the handover to the docker, so that the TTYS0 does not arrive in the Docker. If I choose variable in the settings, the document does not start. With he hiring device.

 

21.png.7d810616017bfec026b50f3f6a8b56b7.png

22.png.f421b9ee658107e4b095216fc2c67bee.png

  • Author

Then I let it be with unraid. Thanks anyway.

3 hours ago, Letztfetz1 said:

Then I let it be with unraid. Thanks anyway.

bitte keine Threads "hiden", macht keinen Sinn, oder soll ich Ihn löschen ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.