@Allan-McCombs
Adafruit_Python_DHT
Python library to read the DHT series of humidity and temperature sensors on a Raspberry Pi or Beaglebone Black.
For all platforms (Raspberry Pi and Beaglebone Black) make sure your system is able to compile Python extensions.
On Raspbian or Beaglebone Black's Debian/Ubuntu image you can ensure your system is ready by executing
sudo apt-get update
sudo apt-get install build-essential python-dev
/README.md/
So build-essential and python-dev are Debian packages...
About how to (not use DHT sensors on Omega please read this post.
I think this Omega Weather Station could be the perfect project for you instead of that Adafruit one.
might want to see if either of these commands might help you,
pip install –upgrade setuptools
pip install ez_setup
also, setting up a swap file if you do not already have one, is a good practice.
@György-Farkas said in newbie issue with gpioctl not seeing HIGH on Arduino Dock 2:
ATmega chip
That worked, thank you.
However I have an OLED on the expansion header so I would prefer to use the ATmega pins because that is why I bought the Arduino Dock 2 board.
I think I found the direction to flash the ATmega pins, however I don't see a sketch to program it with, or documentation on what commands to use to control those pins.
@magouero said in wifi disconnect:
@György-Farkas
Köszönöm.
Szívesen.
The only difference is:
"config interface 'wan'
option ifname 'eth0.2' => here you have eth0
option proto 'dhcp'
"
Do you know what this " .2 " means ?
I don't know too much.
eth0 is a physical network interface (a hardware device), eth0.1, eth0.2, ... are virtual network interfaces (not an existent hardware device but are linked to one).
root@Omega-5BE1:~# ifconfig
apcli0 Link encap:Ethernet HWaddr 42:A3:6B:00:5B:E1
...
br-wlan Link encap:Ethernet HWaddr 40:A3:6B:C0:5B:E3
...
eth0 Link encap:Ethernet HWaddr 40:A3:6B:C0:5B:E3
Interrupt:5
...
eth0.1 Link encap:Ethernet HWaddr 40:A3:6B:C0:5B:E3
...
lo Link encap:Local Loopback
...
ra0 Link encap:Ethernet HWaddr 40:A3:6B:C0:5B:E1
Interrupt:6
Do you have an Ethernet Expansion? Did you modify any network / firewall config files?
It seems the DHCP client is working well on my almost "default" Omega2+ (Wifi AP 192.168.3.1, client 192.168.100.x connected to my Internet gateway).
@György-Farkas , i just noticed this thread for first time and will download and refer to it while focused on the arduino dock. thank you for the effort in making the documents and sharing your work. i appreciate that.
the message you got might have something to do with needing admin rights to edit. i edited on windows machine and had no issue but perhaps on linux you need to edit while root. i do not know it just when you mention "no access" to a file that can mean opening editor via "sudo" maybe?
@Vijaya-Sekhar-Gullapalli said in Cannot connect to Wifi to setup Omega2 Plus (Unmatched double quote ?):
I do not have any quotes or double quotes in my router password. Do I still need to change it?
Maybe your network name should be double quoted when you enter into wifisetup "TN_private_WWUJ94" - especially if there are SPACEs instead of UNDERSCOREs (or maybe your password "**********" ;-).
i see there is a call to a python script from rc.local. what you have in rc.local looks fine. perhaps the python script? anyway, you could always switch to a cron job which takes place after boot finishes and not use rc.local to call the script.
@ice-master your command line is wrong, this,
mount /dev/<device name> /mnt/ ; tar -C /overlay -cvf - . | tar -C /mnt/ -xf - ; umount /mnt/
notice forward slash on each side of mnt.../mnt/ you missed it three times.
@Ary-Vinicius--Nervis-Frigeri
Versions of your Omega, your Arduino Dock, what did you "flash" that Dock ... so any info about your config would be great.
BTW if you have an Omega2(+) and an Arduino Dock 2 then you should install the arduino-dock-2 package.
Hi @Amyanshu-Jenamani ,
You can increase the available memory by creating a swap file on the USB drive. We have a guide on this here: https://docs.onion.io/omega2-docs/extending-omega-memory.html
Since you are already booting from the USB drive, I advise you back up your data before attempting this.
-Gabe
Looks like your connection to Community was lost, please wait while we try to reconnect.