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.

range abfrage mit check_tf_temp_ext.py funktioniert nicht

Featured Replies

Geschrieben

Hallo zusammen,

mit dem o.a. Script möchte ich die Luftfeuchtigkeit am Humidity Bricklet von einem Servermonitoring Kit abfragen.

Mode low oder high funktionieren auch problemlos.

Ich möchte aber mit einer range arbeiten und da bekomme ich immer einen falschen Returnwert.

Abfrage:

python check_tf_temp_ext.py -H 10.50.0.97 -u xDy -t humidity -m range -w 20 -w2 60 -c 10 -c2 70

CRITICAL : humidity too high 27.0 %RH

 

Was ist falsch?

 

Vielen Dank und Gruß

Carsten

Geschrieben
  • Autor

OK, Problem selber gelöst.

Die Erklärung auf der Website ist falsch. Die Werte der Range müssen vertauscht werden.

Korrekt ist:

python check_tf_temp_ext.py -H 10.50.0.97 -u xDy -t humidity -m range -w 60 -w2 20 -c 70 -c2 10

OK : 26.6 %RH

 

Gruß

Carsten

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.