Page 26 of 32

Re: Domoboard - General Discussions

Posted: Thursday 02 March 2017 21:48
by squandor
Awst6000 wrote:
squandor wrote:
Awst6000 wrote:Hi Squandor,
and if you try the config to be:
Rolluik woonkamerraam = 126, blinds, Data
Rolluik slaapkamerraam = 135, blinds, Data
Scherm boven balkondeur = 151, blinds
Do you still got an dash?
Unfortunately still 2 dashes.
hmm strange.
And if you try the following code in the domoboard.js located in static/js/domoboard.js at line 111 so it looks like this:

Code: Select all

  requestAPI(url, function(d) {
    console.log('debug hier------');  
    console.log(d);
		var obj = JSON.parse(d);
   console.log('type:');
    console.log(typeof(obj));
		if (obj.result != undefined) {
and then refresh the server and domoboard and check the console of you're browser and post the results.

Re: Domoboard - General Discussions

Posted: Monday 06 March 2017 20:02
by Trigun
Hi All,

first of all, great job on the Domoboard project!
I am fairly new to Domoboard but after installing it I am really looking forward to setting it up for own home.

I got one question so far, where are the icons located for the menu, I am looking a some icons to setup.
for example: a kitchen icon or a garage icon etc.

looking forward to your reply.

Thanks in advance!

Re: Domoboard - General Discussions

Posted: Monday 06 March 2017 20:07
by squandor
Trigun wrote:Hi All,

first of all, great job on the Domoboard project!
I am fairly new to Domoboard but after installing it I am really looking forward to setting it up for own home.

I got one question so far, where are the icons located for the menu, I am looking a some icons to setup.
for example: a kitchen icon or a garage icon etc.

looking forward to your reply.

Thanks in advance!
Hi great that youre trying domoboard. It uses the fontawesome icons so for example if you want to use the bug icon you can set bug in the config i believe that there is an example in example.conf

Re: Domoboard - General Discussions

Posted: Tuesday 07 March 2017 8:39
by Trigun
squandor wrote:
Trigun wrote:Hi All,

first of all, great job on the Domoboard project!
I am fairly new to Domoboard but after installing it I am really looking forward to setting it up for own home.

I got one question so far, where are the icons located for the menu, I am looking a some icons to setup.
for example: a kitchen icon or a garage icon etc.

looking forward to your reply.

Thanks in advance!
Hi great that youre trying domoboard. It uses the fontawesome icons so for example if you want to use the bug icon you can set bug in the config i believe that there is an example in example.conf
Hi Squandor,

working great!, thnx a lot!

Cheers

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 20:22
by Trigun
Hi Squandor,

sorry to bother you again but I really want to get my head around Domoboard.
I am looking for the console log to see what is going on as Iwant to get the wunderground app working but so far no luck.
I searched the forum but can't seem to find a good description, I already have an API key though.

is there a chance you can help me out?

Thnx!

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 20:50
by squandor
Trigun wrote:Hi Squandor,

sorry to bother you again but I really want to get my head around Domoboard.
I am looking for the console log to see what is going on as Iwant to get the wunderground app working but so far no luck.
I searched the forum but can't seem to find a good description, I already have an API key though.

is there a chance you can help me out?

Thnx!
Hi trigun
No problem :)! The console log can be found in you're browser for example google chrome right click on the page and choose inspect

What kind of configuration did you use for the wunderground plugin?

Cheers squandor

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 20:56
by Trigun
squandor wrote:
Trigun wrote:Hi Squandor,

sorry to bother you again but I really want to get my head around Domoboard.
I am looking for the console log to see what is going on as Iwant to get the wunderground app working but so far no luck.
I searched the forum but can't seem to find a good description, I already have an API key though.

is there a chance you can help me out?

Thnx!
Hi trigun
No problem :)! The console log can be found in you're browser for example google chrome right click on the page and choose inspect

What kind of configuration did you use for the wunderground plugin?

Cheers squandor

Hi Squandor,

thank you for your quick reply.
ok, the console log was quite a dumb question ;P

this is the feedback from the browser:
Error
Error: no results. See console log for details.

I got the following setup for the code for wunderground.

Code: Select all

[general_settings]

  [[wunderground]]
	api = Wunderground API
    	language = "gb"		
I just tried the following setup(don't mind the room) I am still in test fase :)

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

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 20:58
by squandor
Trigun wrote:
squandor wrote:
Trigun wrote:Hi Squandor,

sorry to bother you again but I really want to get my head around Domoboard.
I am looking for the console log to see what is going on as Iwant to get the wunderground app working but so far no luck.
I searched the forum but can't seem to find a good description, I already have an API key though.

is there a chance you can help me out?

Thnx!
Hi trigun
No problem :)! The console log can be found in you're browser for example google chrome right click on the page and choose inspect

What kind of configuration did you use for the wunderground plugin?

Cheers squandor

Hi Squandor,

thank you for your quick reply.
ok, the console log was quite a dumb question ;P

I got the following setup for the code for wunderground.

Code: Select all

[general_settings]

  [[wunderground]]
	api = Wunderground API
    	language = "gb"		
I just tried the following setup(don't mind the room) I am still in test fase :)

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
Haha no problem. Are there spaces between wunderground and [forecast] because that could be the problem

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:05
by Trigun
squandor wrote:
Trigun wrote:
squandor wrote: Hi trigun
No problem :)! The console log can be found in you're browser for example google chrome right click on the page and choose inspect

What kind of configuration did you use for the wunderground plugin?

Cheers squandor

Hi Squandor,

thank you for your quick reply.
ok, the console log was quite a dumb question ;P

I got the following setup for the code for wunderground.

Code: Select all

[general_settings]

  [[wunderground]]
	api = Wunderground API
    	language = "gb"		
I just tried the following setup(don't mind the room) I am still in test fase :)

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
Haha no problem. Are there spaces between wunderground and [forecast] because that could be the problem

Yes you are right, didn't notice :(
I changed it but now I can't seem to get the page up again.

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:19
by squandor
Trigun wrote:
squandor wrote:
Trigun wrote:

Hi Squandor,

thank you for your quick reply.
ok, the console log was quite a dumb question ;P

I got the following setup for the code for wunderground.

Code: Select all

[general_settings]

  [[wunderground]]
	api = Wunderground API
    	language = "gb"		
I just tried the following setup(don't mind the room) I am still in test fase :)

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
Haha no problem. Are there spaces between wunderground and [forecast] because that could be the problem

Yes you are right, didn't notice :(
I changed it but now I can't seem to get the page up again.
Hmm do you have an error on the server? Maybe it's missing some modules

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:27
by Trigun
squandor wrote:
Trigun wrote:
squandor wrote: Haha no problem. Are there spaces between wunderground and [forecast] because that could be the problem

Yes you are right, didn't notice :(
I changed it but now I can't seem to get the page up again.
Hmm do you have an error on the server? Maybe it's missing some modules
I did a restart but it keeps crashing.
Do I also need to install some modules seperately?
I've installed the following:
flask flask-auth configobj gitpython simplejson bleach requests

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:29
by squandor
Trigun wrote:
squandor wrote:
Trigun wrote:

Yes you are right, didn't notice :(
I changed it but now I can't seem to get the page up again.
Hmm do you have an error on the server? Maybe it's missing some modules
I did a restart but it keeps crashing.
Do I also need to install some modules seperately?
I've installed the following:
flask flask-auth configobj gitpython simplejson bleach requests
Well i think that the server crashes with an error and that error will say that some
Modules are missing and that you need to install them

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:35
by Trigun
squandor wrote:
Trigun wrote:
squandor wrote: Hmm do you have an error on the server? Maybe it's missing some modules
I did a restart but it keeps crashing.
Do I also need to install some modules seperately?
I've installed the following:
flask flask-auth configobj gitpython simplejson bleach requests
Well i think that the server crashes with an error and that error will say that some
Modules are missing and that you need to install them
ok, this is going to sound dumb again :) but where can I see what the server replies?
I've checked the console log but since there is no page, there is no info.

sorry, still kinda new to all this AMAZING stuff!

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:36
by squandor
Trigun wrote:
squandor wrote:
Trigun wrote:
I did a restart but it keeps crashing.
Do I also need to install some modules seperately?
I've installed the following:
flask flask-auth configobj gitpython simplejson bleach requests
Well i think that the server crashes with an error and that error will say that some
Modules are missing and that you need to install them
ok, this is going to sound dumb again :) but where can I see what the server replies?
I've checked the console log but since there is no page, there is no info.

sorry, still kinda new to all this AMAZING stuff!
No problem :) the line where you start you're server with python server.py there will be an error when you try to start it.

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 21:54
by Trigun
squandor wrote:
Trigun wrote:
squandor wrote:
Well i think that the server crashes with an error and that error will say that some
Modules are missing and that you need to install them
ok, this is going to sound dumb again :) but where can I see what the server replies?
I've checked the console log but since there is no page, there is no info.

sorry, still kinda new to all this AMAZING stuff!
No problem :) the line where you start you're server with python server.py there will be an error when you try to start it.
Ah, got it!
The thing is I use PM2 to make it run constantly.
If I change something I just use PM2 restart ID(which is 0 in my case)
I am going to try all over just to see how it is working and I'll make sure that to check the server reply when using with server.py.
will let you know ASAP.

thanks again for all your effort!

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 22:07
by Trigun
Trigun wrote:
squandor wrote:
Trigun wrote:
ok, this is going to sound dumb again :) but where can I see what the server replies?
I've checked the console log but since there is no page, there is no info.

sorry, still kinda new to all this AMAZING stuff!
No problem :) the line where you start you're server with python server.py there will be an error when you try to start it.
Ah, got it!
The thing is I use PM2 to make it run constantly.
If I change something I just use PM2 restart ID(which is 0 in my case)
I am going to try all over just to see how it is working and I'll make sure that to check the server reply when using with server.py.
will let you know ASAP.

thanks again for all your effort!
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!

Re: Domoboard - General Discussions

Posted: Wednesday 08 March 2017 22:08
by squandor
Trigun wrote:
Trigun wrote:
squandor wrote: No problem :) the line where you start you're server with python server.py there will be an error when you try to start it.
Ah, got it!
The thing is I use PM2 to make it run constantly.
If I change something I just use PM2 restart ID(which is 0 in my case)
I am going to try all over just to see how it is working and I'll make sure that to check the server reply when using with server.py.
will let you know ASAP.

thanks again for all your effort!
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

Domoboard - General Discussions

Posted: Wednesday 08 March 2017 22:35
by Snowtiger
squandor wrote:Hmm wunderground has an issue with the language nl so could you try en there
Language = EN in global settings -
[[wunderground]]
api = X
language = EN
and NL in location part
location = Borne, NL

Domoboard - General Discussions

Posted: Wednesday 08 March 2017 23:14
by Trigun
squandor wrote:
Trigun wrote:
Trigun wrote:
Ah, got it!
The thing is I use PM2 to make it run constantly.
If I change something I just use PM2 restart ID(which is 0 in my case)
I am going to try all over just to see how it is working and I'll make sure that to check the server reply when using with server.py.
will let you know ASAP.

thanks again for all your effort!
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

Re: Domoboard - General Discussions

Posted: Thursday 09 March 2017 13:49
by Trigun
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