Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

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.

Featured Replies

Geschrieben

Hallo,

hab mir diese Woche meine ersten Tinkerforge-Teile gekauft:
1x Master-Brick
1x RGB-LED-Button Bricklet
1x ePaper Bricklet

Brickdaemon und Brickviewer wurden installiert. Über den Brickviewer lässt sich alles einwandfrei steuern, auf das ePaper zeichnen, Tasterzustand des Button-Bricklets auslesen usw. - die Hardware funktioniert also auf jeden Fall.

Als nächstes hab ich die Javascript-Bindings runtergeladen und wollte mit den Browser-Examples (kein node.js) erste Funktionstests machen.
Hierzu hab ich zunächst noch den Pfad zur Tinkerforge.js, sowie die UID und den Port (beides aus dem Brickviewer) in den entsprechenden Html-Dateien angepasst und diese dann lokal im Browser geöffnet. Wenn ich dann den entsprechenden Button zum starten des Tests klicke, erhalte ich im Textfeld bei allen Beispielen nur "Error: 13" angezeigt. Die Javascript-Console selbst meldet, dass keine Websocket-Verbindung zu 'ws//localhost:4223' (<- genaue Meldung hab ich nicht im Kopf, sitze grad nicht an dem PC auf dem das läuft. ) hergestellt werden kann.

Getestet habe ich Chrome und Firefox in den aktuellen Versionen. 
Weiß vielleicht zufällig jemand auf die schnelle wo ich hier noch etwas übersehe? 

 

Geschrieben
  • Autor

Ok - habe grad jetzt noch diesen Thread gefunden:
Werd erst Nachmittags dazu kommen, das dort angesprochene zu testen.


 

Geschrieben
  • Autor

So - kaum aktiviert man die Websockets in der .ini, schon funktionierts auch 😄

Großes Lob an dieser Stelle - das funktioniert wirklich alles sehr einfach 🙂

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

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.