Domoboard - General Discussions

Domoboard is a dashboard for Domoticz based on Python Flask.

Moderator: wez3

Forum rules
Before posting here, make sure you are using the latest Beta or Stable version.

In order to fix issues or add features these have to be reported on the Domoboard Github pages.
This makes it possible to keep track of issues/features on a centralized place.

Refer to the issue of the github tracker when possible.

This subforum is meant to discuss issues and/or feature requests, or anything else related to Domoboard.
Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard - General Discussions

Post by Trigun » Thursday 09 March 2017 14:49

sander815 wrote:do i install this on my domoticz raspberry pi? or an an external rpi?
Both is possible


Sent from my iPhone using Tapatalk

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard - General Discussions

Post by Trigun » Thursday 09 March 2017 22:01

Trigun wrote:
squandor wrote:
Trigun wrote:
Ok, back to square 1 ;)

I've set it up like discussed before, the page is still but unfortunately no Wunderground.
this is the code so far:

Code: Select all

general_settings]
 [[wunderground]]
   api = X
   language = NL

  [[server]]
    url = X		# IP-address of Domoticz backend
    flask_url = X	# Please note: this is the internal IP-address including port of the Domoboard server
    user = X			# Username for Domoticz (if required)
    password = X			# Password for Domoticz (if required)
    secret_key = X	# A random secret key used for Python authentication. Change to anything random.
 
 [[users]]
    X = X			# Add users for Domoboard here. In this case login with username "username" and password "password"

  [[domoboard]]
    time = True				# True/False: show time in top bar
    date = True				# True/False: show date in top bar
    language = "gb"			# Change this to display date/time in local language and format
    google_maps_api_key = AIzaSyAKf7bHPrMEdMTcDMdmfIO-iRCwJ36hi4w		# Google Maps Embed API key

I just set some X's for the private data.

This is a room example:

Code: Select all

[slaapkamer2]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage, wunderground[condition], wunderground[forecast]
  [[top_tiles]]
[[wunderground]]
      [[[forecast]]]
      location = Borne, NL
         [[[condition]]]
         location = Borne, NL
  [[switches]]
  [[line_charts]]
  [[bar_charts]]
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15, lightbulb-o
	Totaal overloop lamp = 4, lightbulb-o
looking forward to your reply.
Thanks in advance!
Hmm wunderground has an issue with the language nl so could you try en there
sorry Squandor, still no luck :(
this is the entire code, did i do something crucially wrong?

Code: Select all

[general_settings]
 [[wunderground]]
   api = x
   language = EN

  [[server]]
    url = x:x				# IP-address of Domoticz backend
    flask_url = x:x			# Please note: this is the internal IP-address including port of the Domoboard server
    user = x					# Username for Domoticz (if required)
    password = x					# Password for Domoticz (if required)
    secret_key = x                 	# A random secret key used for Python authentication. Change to anything random.
 
 [[users]]
    x= x            # Add users for Domoboard here. In this case login with username "username" and password "password"

  [[domoboard]]
    time = True				# True/False: show time in top bar
    date = True				# True/False: show date in top bar
    language = en			# Change this to display date/time in local language and format
    google_maps_api_key = x-x	# Google Maps Embed API key

# Add Navbar items here. The key is the navbar link name. The first value is the URL name, second value can be any font awesome logo to be displayed.
[navbar]
	[[menu]]
		Dashboard 	= dashboard, dashboard
		Entree    	= entree, home
		Toilet 		= toilet1, venus-mars
		Woonkamer 	= woonkamer, television
		Keuken 		= keuken, cutlery
		Garage 		= garage, motorcycle
		Tuin 		= tuin, bug		
		Slaapkamer 1 	= slaapkamer1, bed
		Slaapkamer 2 	= slaapkamer2, bed
		Slaapkamer 3 	= slaapkamer3, bed
		Badkamer 	= badkamer, bath
		Werkkamer 	= werkkamer, briefcase
		Verkeer 	= verkeer, road
		Flitsers 	= flitsers, camera
		Server 		= server, desktop
		Instellingen 	= instellingen, wrench

# Each navbar item needs a section. Components specify which components are displayed on the page. Other subsections contain names, Domoticz IDX's and options of the components displayed.
[dashboard]
  [[display_components]]
	components = top_tiles, line_charts, switches, weather, news, map, power_usage, wunderground[condition], wunderground[forecast]
  [[top_tiles]]
	Temperatuur zolder = 36, fire
  [[line_charts]]
	Temperatuur zolder = 36, month, temp
  [[bar_charts]]
	Total Usage Zolderlamp = 15, month, usage
	Totaal overloop lamp = 4, month, usage
  [[switches]]
	Lamp Zolder = 6, switch
    	Lamp Overloop = 1, switch
	Dimmer = 43, dimmer
  [[power_usage]]
    	Total Usage Zolderlamp = 15
	Totaal overloop lamp = 4
  [[weather]]
    	Location = Borne, EN
 
  [[map]]
    [[[1]]]
      	Location = Borne, EN
    [[[2]]]
      	Location = Borne, EN
  [[news]]
    	rssfeed = http://www.nu.nl/rss/Algemeen

[statistics]
  [[display_components]]
    components = domoticz_smart_charts[1], domoticz_smart_charts[2], domoticz_temp_charts
   [[domoticz_smart_charts]]
      [[[1]]]
      [[[2]]]

   [[domoticz_temp_charts]]

[slaapkamer1]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage
  [[top_tiles]]
  [[switches]]
  [[line_charts]]
	Temperatuur zolder = 36, month, temp
  [[bar_charts]]
	Total Usage Zolderlamp = 15, month,
	Totaal overloop lamp = 4, month
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15,
	Totaal overloop lamp = 4,

[slaapkamer2]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage, wunderground[condition], wunderground[forecast]
  [[top_tiles]]
[[wunderground]]
      [[[forecast]]]
      location = Borne, EN
         [[[condition]]]
         location = Borne, EN
  [[switches]]
  [[line_charts]]
  [[bar_charts]]
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15, lightbulb-o
	Totaal overloop lamp = 4, lightbulb-o

 

[slaapkamer3]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage
  [[top_tiles]]
  [[switches]]
  [[line_charts]]
  [[bar_charts]]
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15, lightbulb-o
	Totaal overloop lamp = 4, lightbulb-o

[tuin]
  [[display_components]]
    components = buienradar, weather, camera[Garden]
  [[buienradar]]
  [[weather]]
  [[camera]]
    [[[Garden]]]

[security]
  [[display_components]]
    components = top_tiles, camera[Frontdoor], camera[Backdoor]
  [[top_tiles]]
  [[camera]]
    [[[Frontdoor]]]
    [[[Backdoor]]]

[server]
  [[display_components]]
    components = top_tiles, serverlog
  [[top_tiles]]
    	Memory = 37, percent
    	HDD = 39, percent
    Temperatuur = 40, fire
    	CPU = 41, percent
  [[line_charts]]
   	Temperatuur = 40, day, temp

[instellingen]
  [[display_components]]
    	components = settings
Hi Squandor,

I think I found out what the issue is.

after using the installer within Domoboard, it seems that Geocoder is needed.
Guess I'll have to install it first :)

I'll keep you posted!

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard - General Discussions

Post by Trigun » Thursday 09 March 2017 22:11

Trigun wrote:
Trigun wrote:
squandor wrote: Hmm wunderground has an issue with the language nl so could you try en there
sorry Squandor, still no luck :(
this is the entire code, did i do something crucially wrong?

Code: Select all

[general_settings]
 [[wunderground]]
   api = x
   language = EN

  [[server]]
    url = x:x				# IP-address of Domoticz backend
    flask_url = x:x			# Please note: this is the internal IP-address including port of the Domoboard server
    user = x					# Username for Domoticz (if required)
    password = x					# Password for Domoticz (if required)
    secret_key = x                 	# A random secret key used for Python authentication. Change to anything random.
 
 [[users]]
    x= x            # Add users for Domoboard here. In this case login with username "username" and password "password"

  [[domoboard]]
    time = True				# True/False: show time in top bar
    date = True				# True/False: show date in top bar
    language = en			# Change this to display date/time in local language and format
    google_maps_api_key = x-x	# Google Maps Embed API key

# Add Navbar items here. The key is the navbar link name. The first value is the URL name, second value can be any font awesome logo to be displayed.
[navbar]
	[[menu]]
		Dashboard 	= dashboard, dashboard
		Entree    	= entree, home
		Toilet 		= toilet1, venus-mars
		Woonkamer 	= woonkamer, television
		Keuken 		= keuken, cutlery
		Garage 		= garage, motorcycle
		Tuin 		= tuin, bug		
		Slaapkamer 1 	= slaapkamer1, bed
		Slaapkamer 2 	= slaapkamer2, bed
		Slaapkamer 3 	= slaapkamer3, bed
		Badkamer 	= badkamer, bath
		Werkkamer 	= werkkamer, briefcase
		Verkeer 	= verkeer, road
		Flitsers 	= flitsers, camera
		Server 		= server, desktop
		Instellingen 	= instellingen, wrench

# Each navbar item needs a section. Components specify which components are displayed on the page. Other subsections contain names, Domoticz IDX's and options of the components displayed.
[dashboard]
  [[display_components]]
	components = top_tiles, line_charts, switches, weather, news, map, power_usage, wunderground[condition], wunderground[forecast]
  [[top_tiles]]
	Temperatuur zolder = 36, fire
  [[line_charts]]
	Temperatuur zolder = 36, month, temp
  [[bar_charts]]
	Total Usage Zolderlamp = 15, month, usage
	Totaal overloop lamp = 4, month, usage
  [[switches]]
	Lamp Zolder = 6, switch
    	Lamp Overloop = 1, switch
	Dimmer = 43, dimmer
  [[power_usage]]
    	Total Usage Zolderlamp = 15
	Totaal overloop lamp = 4
  [[weather]]
    	Location = Borne, EN
 
  [[map]]
    [[[1]]]
      	Location = Borne, EN
    [[[2]]]
      	Location = Borne, EN
  [[news]]
    	rssfeed = http://www.nu.nl/rss/Algemeen

[statistics]
  [[display_components]]
    components = domoticz_smart_charts[1], domoticz_smart_charts[2], domoticz_temp_charts
   [[domoticz_smart_charts]]
      [[[1]]]
      [[[2]]]

   [[domoticz_temp_charts]]

[slaapkamer1]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage
  [[top_tiles]]
  [[switches]]
  [[line_charts]]
	Temperatuur zolder = 36, month, temp
  [[bar_charts]]
	Total Usage Zolderlamp = 15, month,
	Totaal overloop lamp = 4, month
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15,
	Totaal overloop lamp = 4,

[slaapkamer2]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage, wunderground[condition], wunderground[forecast]
  [[top_tiles]]
[[wunderground]]
      [[[forecast]]]
      location = Borne, EN
         [[[condition]]]
         location = Borne, EN
  [[switches]]
  [[line_charts]]
  [[bar_charts]]
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15, lightbulb-o
	Totaal overloop lamp = 4, lightbulb-o

 

[slaapkamer3]
  [[display_components]]
    components = top_tiles, line_charts, bar_charts, donut_charts, switches, power_usage
  [[top_tiles]]
  [[switches]]
  [[line_charts]]
  [[bar_charts]]
  [[donut_charts]]
  [[power_usage]]
    	Total Usage Zolderlamp = 15, lightbulb-o
	Totaal overloop lamp = 4, lightbulb-o

[tuin]
  [[display_components]]
    components = buienradar, weather, camera[Garden]
  [[buienradar]]
  [[weather]]
  [[camera]]
    [[[Garden]]]

[security]
  [[display_components]]
    components = top_tiles, camera[Frontdoor], camera[Backdoor]
  [[top_tiles]]
  [[camera]]
    [[[Frontdoor]]]
    [[[Backdoor]]]

[server]
  [[display_components]]
    components = top_tiles, serverlog
  [[top_tiles]]
    	Memory = 37, percent
    	HDD = 39, percent
    Temperatuur = 40, fire
    	CPU = 41, percent
  [[line_charts]]
   	Temperatuur = 40, day, temp

[instellingen]
  [[display_components]]
    	components = settings
Hi Squandor,

I think I found out what the issue is.

after using the installer within Domoboard, it seems that Geocoder is needed.
Guess I'll have to install it first :)

I'll keep you posted!
@ Squandor, I Got it working!
thank you very much for you help!
of to the next feature! :)

Cheers

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard - General Discussions

Post by Trigun » Friday 10 March 2017 9:49

Hi all,

Now I that I got the weather app running, I was wondering if it was possible to change the icons that wunderground is using?

Thanks all!


Sent from my iPhone using Tapatalk

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor » Friday 10 March 2017 12:19

Trigun wrote:Hi all,

Now I that I got the weather app running, I was wondering if it was possible to change the icons that wunderground is using?

Thanks all!


Sent from my iPhone using Tapatalk
At this moment that's not possible. it uses the icons which are given by wunderground's API itself. maybe in the future that this will be possible.

jensc
Posts: 47
Joined: Saturday 12 March 2016 2:49
Target OS: Windows
Domoticz version: 3.5494
Location: Columbia City, Oregon, USA
Contact:

Re: Domoboard - General Discussions

Post by jensc » Monday 13 March 2017 1:01

How do I get past this during Pi installation? : "html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 5.5.1)"

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by Trigun » Monday 13 March 2017 21:32

dutchdevil83 wrote:
Routernl wrote:Looking good !
Did you manage to get the traffic working with Google maps ?I'm still struggling with that.
Have got it to work. You have to generate a API key and fill this in your configuration file :

Code: Select all

[[domoboard]]
	google_maps_api_key = yourkeyhere	# Google Maps Embed API key
You also must activate your API key here : https://console.developers.google.com/a ... w?project=
Hi,

I am also looking into adding the google maps feature but cant seem to get it right though.
I already got the API but don't know how to proceed.
any chance someone can help me out?

Thanks all!

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor » Monday 13 March 2017 21:36

Trigun wrote:
dutchdevil83 wrote:
Routernl wrote:Looking good !
Did you manage to get the traffic working with Google maps ?I'm still struggling with that.
Have got it to work. You have to generate a API key and fill this in your configuration file :

Code: Select all

[[domoboard]]
	google_maps_api_key = yourkeyhere	# Google Maps Embed API key
You also must activate your API key here : https://console.developers.google.com/a ... w?project=
Hi,

I am also looking into adding the google maps feature but cant seem to get it right though.
I already got the API but don't know how to proceed.
any chance someone can help me out?

Thanks all!
how does you're config of the maps look? for example my config about the maps looks like this:

Code: Select all

  [[map]]
    [[[si Android]]]
    si iPhone = 198
    [[[li iPhone]]]
    li iPhone = 181
and in the text devices in domoticz are in my case latitude and longitude values but it can also be an address or street.

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor » Monday 13 March 2017 21:37

jensc wrote:How do I get past this during Pi installation? : "html5lib requires setuptools version 18.5 or above; please upgrade before installing (you have 5.5.1)"
did you try:

Code: Select all

pip install setuptools --upgrade 

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Domoboard - General Discussions

Post by Trigun » Monday 13 March 2017 23:03

squandor wrote:
Trigun wrote:
dutchdevil83 wrote:
Have got it to work. You have to generate a API key and fill this in your configuration file :

Code: Select all

[[domoboard]]
	google_maps_api_key = yourkeyhere	# Google Maps Embed API key
You also must activate your API key here : https://console.developers.google.com/a ... w?project=
Hi,

I am also looking into adding the google maps feature but cant seem to get it right though.
I already got the API but don't know how to proceed.
any chance someone can help me out?

Thanks all!
how does you're config of the maps look? for example my config about the maps looks like this:

Code: Select all

  [[map]]
    [[[si Android]]]
    si iPhone = 198
    [[[li iPhone]]]
    li iPhone = 181
and in the text devices in domoticz are in my case latitude and longitude values but it can also be an address or street.
Sorry I think I need to take a few steps back :)

My setup is similar but I have no idea what you mean with the instructions below. Can I just put in the location?


Sent from my iPhone using Tapatalk

Trigun
Posts: 184
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Domoboard - General Discussions

Post by Trigun » Tuesday 14 March 2017 0:02

Trigun wrote:
squandor wrote:
Trigun wrote:
Hi,

I am also looking into adding the google maps feature but cant seem to get it right though.
I already got the API but don't know how to proceed.
any chance someone can help me out?

Thanks all!
how does you're config of the maps look? for example my config about the maps looks like this:

Code: Select all

  [[map]]
    [[[si Android]]]
    si iPhone = 198
    [[[li iPhone]]]
    li iPhone = 181
and in the text devices in domoticz are in my case latitude and longitude values but it can also be an address or street.
Sorry I think I need to take a few steps back :)

My setup is similar but I have no idea what you mean with the instructions below. Can I just put in the location?


Sent from my iPhone using Tapatalk
Am i right to assume that it shows the location of your iPhone / Android device?


Sent from my iPad using Tapatalk

User avatar
EdwinK
Posts: 921
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by EdwinK » Wednesday 15 March 2017 18:30

wez3 wrote:
Reneb wrote:Does it also work on a Synology NAS? How to install?
We havent tested in on a Synology NAS. However, with python and the dependencies it should just work. I guess its worth a try.
Synology offers an third party python package which can be installed from the package center. After that install the python modules as mentioned on the github. I am not sure how the last thing works on the synology nas, i would say check whether easy_install or pip are installed on the synology NAS.
At least on my 413j Synology they are not :(
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor » Friday 17 March 2017 16:52

EdKo66 wrote:
wez3 wrote:
Reneb wrote:Does it also work on a Synology NAS? How to install?
We havent tested in on a Synology NAS. However, with python and the dependencies it should just work. I guess its worth a try.
Synology offers an third party python package which can be installed from the package center. After that install the python modules as mentioned on the github. I am not sure how the last thing works on the synology nas, i would say check whether easy_install or pip are installed on the synology NAS.
At least on my 413j Synology they are not :(
Does it shows an error? Which python version is installed on you're nas?

User avatar
EdwinK
Posts: 921
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoboard - General Discussions

Post by EdwinK » Friday 17 March 2017 20:25

Easy_install and Pip give the 'unknown command' error.

# python3 --version
Python 3.5.1

After restrting it seems I can use easy_install. Trying to get it working.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

GuyTreepbush
Posts: 19
Joined: Thursday 12 January 2017 14:26
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoboard - General Discussions

Post by GuyTreepbush » Friday 17 March 2017 21:48

Google is your best friend. Once you have Pip running on your Synology things become easier. Given the fact that you have a 'toon' I gues you would be able to read:

http://domoticx.com/synology-nas-python ... stalleren/

User avatar
EdwinK
Posts: 921
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoboard - General Discussions

Post by EdwinK » Friday 17 March 2017 22:44

Thanks. Still setting things up atm. Bit difficult as I'm used to another page (frontpage from G3rard), that is working with a settings.js file but I will get the hang of this config.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

jjnj
Posts: 232
Joined: Thursday 31 July 2014 13:51
Target OS: Windows
Domoticz version:
Location: NL
Contact:

Re: Domoboard - General Discussions

Post by jjnj » Saturday 18 March 2017 23:18

It's working great, thanks to everybody contributing!
I have one small question regarding the page scroll. Although everything fits the screen and i have enough blank space left, i can still scroll the mainscreen. The top bar where you can display the time and date will scroll out of the screen and that's it. There is no need to scroll and it causes unwanted accidental scrolling while dragging a dimmer for example.
How can i disable this scroll? I have the same behaviour on a tablet and laptop.

With top bar
Image

Scroll down to hide topbar
Image

User avatar
EdwinK
Posts: 921
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Domoboard - General Discussions

Post by EdwinK » Sunday 19 March 2017 12:14

Got it running almost how I want it. Need some more adding, but it looks like it's going to be okay.

I'm not sure how to go on next. I can have domoboard running, but only if I use a SSH connection to 192.168.0.10:8085 and then manually starting the script. It then only runs for as long as the terminal session is open. I'm sure that is not how it is supposed to be.

I start domoboard with

Code: Select all

[email protected]:/var/packages/domoboard# python server.py -c domo.conf
then getting the following

Code: Select all

* Running on http://192.168.0.10:8085/ (Press CTRL+C to quit)

192.168.0.20 - - [19/Mar/2017 10:44:18] "POST /api?type=devices&rid=54 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:18] "POST /api?type=devices&rid=2 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=devices&rid=54 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=graph&sensor=temp&idx=2&range=month HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=devices&rid=51 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=99 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=55 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=53 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=graph&sensor=temp&idx=2&range=month HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=devices&rid=2 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=devices&rid=95 HTTP/1.1" 200 -
I'm not a coder, just someone who wants this running, without loads of hassle. I do understand a very tiny bit of linux, but not enough to fix this.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor » Monday 20 March 2017 12:29

jjnj wrote:It's working great, thanks to everybody contributing!
I have one small question regarding the page scroll. Although everything fits the screen and i have enough blank space left, i can still scroll the mainscreen. The top bar where you can display the time and date will scroll out of the screen and that's it. There is no need to scroll and it causes unwanted accidental scrolling while dragging a dimmer for example.
How can i disable this scroll? I have the same behaviour on a tablet and laptop.

With top bar
Image

Scroll down to hide topbar
Image
Hi jjnj,

It's looking great :) unfortunately the scrolling is an temporary bug so the menu can be scrolled on mobile devices. We will try to fix the menu scrolling bug so that the unnecessary scrolling of the page can be disabled again

squandor
Posts: 201
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Domoboard - General Discussions

Post by squandor » Monday 20 March 2017 12:31

EdKo66 wrote:Got it running almost how I want it. Need some more adding, but it looks like it's going to be okay.

I'm not sure how to go on next. I can have domoboard running, but only if I use a SSH connection to 192.168.0.10:8085 and then manually starting the script. It then only runs for as long as the terminal session is open. I'm sure that is not how it is supposed to be.

I start domoboard with

Code: Select all

[email protected]:/var/packages/domoboard# python server.py -c domo.conf
then getting the following

Code: Select all

* Running on http://192.168.0.10:8085/ (Press CTRL+C to quit)

192.168.0.20 - - [19/Mar/2017 10:44:18] "POST /api?type=devices&rid=54 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:18] "POST /api?type=devices&rid=2 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=devices&rid=54 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=graph&sensor=temp&idx=2&range=month HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:28] "POST /api?type=devices&rid=51 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=99 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=55 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:29] "POST /api?type=devices&rid=53 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=graph&sensor=temp&idx=2&range=month HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=devices&rid=2 HTTP/1.1" 200 -
192.168.0.20 - - [19/Mar/2017 10:44:36] "POST /api?type=devices&rid=95 HTTP/1.1" 200 -
I'm not a coder, just someone who wants this running, without loads of hassle. I do understand a very tiny bit of linux, but not enough to fix this.
Hi Edko66

Pepijn wrote an small manual howto create an service file so domoboard could start with an startup script if you search in this top on service you will get his post but for the moment here is an copy of it :) :
You can also use the generic systemd method.

Create a file /etc/systemd/system/domoboard.service
Don't forget to modify the location of the domoboard installation and config file to your needs.

Code: Select all

[Unit]
Description=Domoboard Domotica Dashboard

[Service]
ExecStart=/usr/bin/python /opt/domoboard/server.py -d -c /etc/domoboard/config.conf
WorkingDirectory=/opt/domoboard
User=root
Group=root
Restart=on-failure

[Install]
WantedBy=multi-user.target
Enable on boot:

Code: Select all

systemctl enable domoboard.service
Start:

Code: Select all

systemctl start domoboard
Stop:

Code: Select all

systemctl stop domoboard
Get the status:

Code: Select all

systemctl status domoboard
To view the logs:

Code: Select all

journalctl -f -u domoboard

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest