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

ok, maybe, this fits better into the general discussion rather than on the project ideas section... :)

I've noticed an issue while testing the MQTT Bindings. on my linux system...

MQTT Bindings 2.0.16
I am calling the tinkerforge_mqtt with the following command:

python3 /usr/local/bin/tinkerforge_mqtt --ipcon-host 123.456.78.9 --ipcon-port 4215 --broker-host 123.456.78.10 --broker-port 1883 --broker-username <user> --broker-password <password> --debug --show-payload --init-file /usr/local/bin/barometer_test.txt

the password does contain some special characters - especially it is using an underscore _ followed by too exclamation marks !!, a questionmark and again an exclamartion mark: "_!!?"
In this case, it seems, that the script can't handle the too exclamation marks - and does combine different parts of the other arguments.

I got strange errors when executing the script, for example:

tinkerforge_mqtt: error: unrecognized arguments: /usr/local/bin/tinkerforge_mqtt /usr/local/bin/tinkerforge_mqtt --h?!

Here, you can see, that it has replaced the two exclamation marks from the password with the path: /usr/local/bin/tinkerforge_mqtt --h?!

I am not sure, if this is an issue with the script itself - or if this might be related to the Debian - or maybe even with the Webshell from Proxmos...
When I hit the arrow-up key to reuse the command, it did show the mixed-up command that was causing the issue.
It happened every time when I used the command - until I've changed the password on the broker and removed these characters.

After that, the script could be executed without any issues.

Would it be possible to check, if this might be an issue in the script itself?

Thanks!

OK, I don't know why I haven't found this yesterday...
!! is a logical NOT in the bash command...
So this might explain the behave....

 

bearbeitet von CChris

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.