Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

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.

Klesius

Validating
  • Joined

  • Last visited

Solutions

  1. Klesius's post in upload data from orangepi to thingspeak was marked as the answer   
    hi everyone, I have this program that displays temperature and humidity on my orange pi, what string can I add to upload this data to the site? thanks
     
    from pyA20.gpio import gpio
    from pyA20.gpio import port
    #import RPi.GPIO as GPIO
    import dht11
    import time
    import datetime
    # initialize GPIO
    #gpio.setwarnings(False)
    #gpio.setmode(GPIO.BCM)
    PIN2 = port.PA6
    gpio.init()
    #gpio.cleanup()

    # read data using pin 14
    instance = dht11.DHT11(pin=PIN2)
    while True:
        result = instance.read()
        if result.is_valid():
            print("Last valid input: " + str(datetime.datetime.now()))
     

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.