Server setup step by step

TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Thu Dec 08, 2016 3:36 pm

Strange thing is that devices connect to it ok. I have a ESP gate module online right now.
alv
Posts: 74
Joined: Sat Jul 09, 2016 11:36 am

Thu Dec 08, 2016 9:51 pm

I am working on scripts for auto provisioning. Should support multiple distribution like debian, ubuntu. Not only for automated installation, but the latest software downloaded directly from github. All you have to do is log in via ssh. This require python on supla server and python on client (with pip install ansible)
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Fri Dec 09, 2016 5:39 am

Well the server is installed but dont know why the app is not connecting to it. It just says connecting forever.
alv
Posts: 74
Joined: Sat Jul 09, 2016 11:36 am

Fri Dec 09, 2016 7:21 am

Use debug mode:
export LD_LIBRARY_PATH=/usr/lib/supla-server
/usr/sbin/supla-server -D
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Fri Dec 09, 2016 7:27 am

Way over me. Have no idea on how to debug this.
Thx anyway.
I hope you will have the script ready soon :)

As i will have a lot of devices and need the server closer to me so everything happens fast.

Currently im trying to install virtualbox on my ubuntu cloud server so i can run the VM on the download site of supla.

EDIT:

IT must be something with the app. I just tried a server on my local network. The app will not connect to a ip on my local network.
User avatar
pzygmunt
Posts: 3861
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Fri Dec 09, 2016 8:07 am

Teamviewer ?
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Fri Dec 09, 2016 9:43 am

sent a pm
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Sat Dec 10, 2016 5:47 am

Lol i quit. Everything i tried did not work. Virtual Box VM, Raspberry pi image, and a custom installation on a cloud platform does not work.

Its one problem every time. Android app will not connect to the server. Devices connect ok or at least 1 that i tried. I tried others and they connected
but they start disabled. At least that is what the serial terminal says for my ESP. For some reason when they start that way i cant see them in the Supla cloud devices tab.

So thx pzygmunt for the time to help me get my server running on my cloud host but this is too much for me and im afraid of it going down or not working for some reason.

I have over 25 devices ready to setup with Supla, too bad i cant get it to work.
User avatar
pzygmunt
Posts: 3861
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Sat Dec 10, 2016 7:28 am

yesterday i was offline. we can check your devices today via teamviewer
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Sat Dec 10, 2016 7:38 am

Sent you a pm
Post Reply