✶Update 09/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
1121314...

✶Update 09/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
168 Reply
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 11:32:50 - last edited 2020-05-11 11:33:39

@Ronald1965, yes Omada Controller is a heavy process for RasPi 3, but the community version of Omada Controller doesn't focus on this platform historically. I like the RasPi for testing software which I don't want to install on our server at first, albeit I would not recommend a RasPi 3 as a production system for managing more than a few EAPs with Omada Controller. You're right, even for managing a few EAPs only it's best to use a RasPi 3 dedicated to only this task.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#146
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 15:23:48

@Ronald1965 

 

Thanx for the info.

I already moved Node-red to my spare pi 3b because on the other pi I run Domoticz and zigbee2mqtt.

My goal is to to cover my house and garden with 2 eap245 AP's

if the pi is not working, I will probably buy the oc200 instead of an extra pi

 

  0  
  0  
#147
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 15:44:05

@Anjerlaan Good advice from the others. I am running the controller on a 3b with one other service for Nest for a Smartthings SmartApp. I have two EAP225 on the controller and it seems to be handling it fine. It is sitting with about 50% free memory and average load is 8%

 

Jason

Jason Omada Software Controller ER605 v1.0, TL-SG2008P v1.0, EAP225(US) v3.0 (2x)
  0  
  0  
#148
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 17:47:28

@jasonsf 

I made an extra docker tag  3.2.10-1-lomem with giving the java process only 512M max mem and seems to run fine. docker stats omada-controller says only 212MB in use.

I let it run for some time because java memory tends to grow during the time. And check it out if it stays stable. 

  0  
  0  
#150
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 17:54:58

@R1D2 

Omada Controller is a heavy process for RasPi 3, but the community version of Omada Controller doesn't focus on this platform historically

 

Yes, I keep that in mind, but with smaller non-commercial setup's this should run fine. And since Raspberry is a very popular platform to use for it, it really fun to have this working.  Thanks for keeping it up-to-date anyway.

  0  
  0  
#151
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-11 20:19:21

@Ronald1965 

 

which installation steps do I need to follow to run your omada controller docker image on an Rpi3 with Raspbian Buster?

I don't have installed docker yet.

  0  
  0  
#152
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-12 13:43:06 - last edited 2020-05-12 13:48:43

@Anjerlaan 

 

apt-get install docker.io

 

After that you are ready to run docker containers.

 

I made a little script to start it up. This is what I am currently running:

 

#version=latest
version=3.2.10-1-lomem
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
docker rm omada-controller
omadadata="/opt/tplink/$version/OmadaController/data"
omadawork="/opt/tplink/$version/OmadaController/work"
omadalogs="/opt/tplink/$version/OmadaController/logs"
mkdir -p $omadadata
mkdir -p $omadawork
mkdir -p $omadalogs

docker run -d \
    --name omada-controller \
    --network host \
    --memory 900m \
    -e TZ=Europe/Amsterdam \
    -e SMALL_FILES=true \
    -p 8088:8088   -p 8043:8043   -p 27001:27001/udp   -p 27002:27002   -p 29810:29810/udp   -p 29811:29811   -p 29812:29812   -p 29813:29813  \
    -v $omadadata:/opt/tplink/OmadaController/data   -v $omadawork:/opt/tplink/OmadaController/work   -v $omadalogs:/opt/tplink/OmadaController/logs \
    ronaldo1965/omada-controller:$version

 

P.S. be carefull if you change version. You might need to make a copy of your current directories. I implemented it like this, so I can go back to previous version. 

 

Anjerlaan wrote

@Ronald1965 

 

which installation steps do I need to follow to run your omada controller docker image on an Rpi3 with Raspbian Buster?

I don't have installed docker yet.

 

  0  
  0  
#153
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-13 05:18:55

@Ronald1965 

 

do I need to install and run docker and docker containers as root user or home/pi user?
 

  0  
  0  
#154
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-13 12:49:16
What version of debian do you recommend for this version?
  0  
  0  
#155
Options
Re:✶Update 04/2020✶ Omada Controller 3.2.10 for Debian, Raspbian and other Linux systems
2020-05-13 14:00:05

@Ferse, I did test it on Jessie and Stretch, but it should also run on Buster or Bullseye.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#156
Options