Page 22 of 32

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 21:53
by desertdog
sorry. I did, but couldn't find it

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:36
by jhenrikb
Update post 1 with needed dependencies?
sudo apt-get python-setuptools, Geofence etc. Those questions gets asked over and over, me included :P
I used a long to figure just which "language" you guys are talking. I barely know anything about linux and the RP.

As for Button and text size, they look the same even if I put in 100 pixels text and just incrase the button.css pixels by 100.
So i'll scratch that idea for now. On computer this is no problem, but on the pad hanging in the hallway, i'm missing big buttons that is easy to hit.

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:40
by desertdog
Maybe someone can also include how to place the config file and where. I understand the example file, but still no idea of and where to place this on the rasberry. Extensive search of the web hasnt given me the answer.

Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:45
by Snowtiger
desertdog wrote:Maybe someone can also include how to place the config file and where. I understand the example file, but still no idea of and where to place this on the rasberry. Extensive search of the web hasnt given me the answer.
The config file is in the the Domoboard directory - the same directory as the server.py is in, make a myconf.conf file as a copy of example.conf, fill in the settings part - delete the rest and start building your own config file, using the example.conf as reference material

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:48
by squandor
Snowtiger wrote:
desertdog wrote:Maybe someone can also include how to place the config file and where. I understand the example file, but still no idea of and where to place this on the rasberry. Extensive search of the web hasnt given me the answer.
The config file is in the the Domoboard directory - the same directory as the server.py is in
Actually it doesn't matter where to put the config if you give the path after the -c for example if you put the config in the home directory of you're user you can do the following:

Code: Select all

sudo python server.py -c /home/pi/test.conf

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:54
by Snowtiger
squandor wrote:Actually it doesn't matter where to put the config if you give the path after the -c for example if you put the config in the home directory of you're user you can do the following:

Code: Select all

sudo python server.py -c /home/pi/test.conf
I know but I tried to keep it simple ;)

Re: Domoboard - General Discussions

Posted: Thursday 26 January 2017 22:56
by squandor
Haha wasn't specific for you snow tiger but the phone doesn't always do what I want :)

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 10:37
by anconakip
up and running. But only when i have open my telnet. When i close the telnet link, the webpage isnt reacheable anymore.

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 10:38
by squandor
anconakip wrote:up and running. But only when i have open my telnet. When i close the telnet link, the webpage isnt reacheable anymore.
you could fix it by let it running in the background or creating an service.
Because we are still developing we have it running under screen so the process will be active when we logout.

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 10:41
by anconakip
squandor wrote:
anconakip wrote:up and running. But only when i have open my telnet. When i close the telnet link, the webpage isnt reacheable anymore.
you could fix it by let it running in the background or creating an service.
Because we are still developing we have it running under screen so the process will be active when we logout.
And how do i do that?

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 10:42
by squandor
anconakip wrote:
squandor wrote:
anconakip wrote:up and running. But only when i have open my telnet. When i close the telnet link, the webpage isnt reacheable anymore.
you could fix it by let it running in the background or creating an service.
Because we are still developing we have it running under screen so the process will be active when we logout.
And how do i do that?
if you haven't installed screen you can run

Code: Select all

sudo apt-get install screen
after that if you type

Code: Select all

screen
you will get in a new window.
If you start you're server there you can use the keyboard combination CTRL + A + D and you're screen will disappear in the background.

when you want to get back to you're screen session you can simply type:

Code: Select all

screen -d -r

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 16:55
by jhenrikb
Hi Squandor.
Seems the .css editing worked fine, I just noticed Chrome doesnt update design when refreshing the page, but Microsoft edge does.
Now I have huge buttons for scenes, on-off and dimmer slider which is really comfortable when using it on the tablet with the finger.

Do you know where the setpoint style is located? For thermostats.

John

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 21:50
by squandor
jhenrikb wrote:Hi Squandor.
Seems the .css editing worked fine, I just noticed Chrome doesnt update design when refreshing the page, but Microsoft edge does.
Now I have huge buttons for scenes, on-off and dimmer slider which is really comfortable when using it on the tablet with the finger.

Do you know where the setpoint style is located? For thermostats.

John
Depends which setpoint the slider or the arrows?
The arrows are located in the buttons CSS I think but the slider is an combination of the bootstrap slider and the domoboard js

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 21:58
by thenecroscope
Hi, this looks really good! just out of interest is possible to create a dark theme, black background etc...? can i do this by editing the css file? many thanks

Re: Domoboard - General Discussions

Posted: Friday 27 January 2017 22:21
by wez3
thenecroscope wrote:Hi, this looks really good! just out of interest is possible to create a dark theme, black background etc...? can i do this by editing the css file? many thanks
Changing the theme colours is possible by changing the CSS files. Mainly this will be custom.css. If you created some cool theme, feel free to share it.

Re: Domoboard - General Discussions

Posted: Saturday 28 January 2017 15:19
by thenecroscope
wez3 wrote:
thenecroscope wrote:Hi, this looks really good! just out of interest is possible to create a dark theme, black background etc...? can i do this by editing the css file? many thanks
Changing the theme colours is possible by changing the CSS files. Mainly this will be custom.css. If you created some cool theme, feel free to share it.
Great I will give it a try and report back if I make anything good. Thanks for the help! :D

Re: Domoboard - General Discussions

Posted: Tuesday 31 January 2017 10:34
by squandor
Hi,
Sorry if where are so quiet, at the moment are priority goes to develop an procedure to create, edit and update the config using domoboard itself.

It's difficult to develop an webconfig editor because of the extendability of the config so if anyone has any idea's they are always welcome :)!

Re: Domoboard - General Discussions

Posted: Tuesday 31 January 2017 12:58
by pvm
Could it be an idea to use xml based configuration and xsd as validation and xsd to document the possible modules and configuration options?

Re: Domoboard - General Discussions

Posted: Tuesday 31 January 2017 13:16
by pvm
Could it be an idea to use xml based configuration and xsd as validation and xsd to document the possible modules and configuration options?

Re: Domoboard - General Discussions

Posted: Tuesday 31 January 2017 21:49
by Awst6000
squandor wrote:Hi,
...if anyone has any idea's they are always welcome...
Unfortunately I'm not a coder. But I hope you guys take the time needed and work something out that works intuitive.