Domoboard - General Discussions

Domoboard is a dashboard for Domoticz based on Python Flask.

Moderators: leecollings, 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.
Post Reply
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 »

squandor wrote:and my traffic and cams obviously
Nice!

Whats the config for iCloud? Wanne try that as well. You might be careful posting your private data (numberplate etc) on the screen. This in combination with your agenda....
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

hmm i thought that the lack of quality of the picture was enough privacy for my numberplate :P

and the calendar is all test info which was inserted as an batch :) so no worry's :)

the config for the icloud is:
[general_settings]
[[icloud]]
user = appleid
password = pass


[dashboard]
[[display_components]]
components = icloud
[[icloud]]

make sure to install some dependencies with:

Code: Select all

sudo easy_install pyicloud calendar
zandhaas
Posts: 15
Joined: Wednesday 09 November 2016 5:11
Target OS: NAS (Synology & others)
Domoticz version: V3.8805
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by zandhaas »

squandor wrote:
zandhaas wrote:Hello,

I think my entries in the config file are not correct but I can not find more deteail information on how it should be exactly.
Can you please give some more detailed information on how to add the right config file entries for this plugin.
It seems like you're config settings aren't correct indeed. An format for the address could be:
[[anwb]]
startPoint = "Korte minrebroederstraat 1, Utrecht"
endPoint = "Korte Nieuwstraat 6, Nijmegen"

These points are working on my test situation, so hopefully it will work at your's to.
When I use your addresses every thing is working as expected but when I use my own addresses I still get error messages like:

KeyError: 'city' and IndexError: list index out of range

The difference I see is that you have streetnames consisting out of two words and cityname with only one word.
I have street names consisting of only one word and city names consisting out of two words.

So it looks like there's an issues with the correct reading the parameters from the config file.
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by blackdog65 »

If I start adding group/scene pushon buttons with their idx... how will it know that it is a scene idx and not a device idx?

Sean :D
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 »

Hi Squandor,

Will keep hitting you with my questions and findings. Domoboard really is very useful in making a flexibel interface to domoticz!

Feature requests:
1- add contact switches (for doors and windows etc)
2- add text switch (for Nefit Boiler status, Plex movie playing etc)
3- reposition humidity info above up/down arrow in small font to create consistent tile size.
temperature.png
temperature.png (29.32 KiB) Viewed 2292 times
Bugs:
4- displaying of switch in different browsers such as Safari & Firefox (see Github)
5- inconsistent displaying of setpoint (see image)
setpoint.png
setpoint.png (59.22 KiB) Viewed 2292 times
6- weather information is not always loading, requires reloads. Where can I find console.log?
weer.png
weer.png (22.53 KiB) Viewed 2292 times
Question
7- how do I configure '[map]'?
8- how do I configure '[verkeer]'?
9- what are other options in top_tiles (fire, temp, power-off, ...)
10- [verkeer] and [icloud] tiles show tool-icon, seems to have no function (yet). Is this a correct assumption?
11- On GitHub you have an example showing CV Pressure in Bar. How do I configure this?

About iCloud:
12- When using install option on settings page I got an error (Error occured during loading imports for the plugin icloud: No module named pyicloud) that went away after trying your suggestion about installing dependencies. However that doesn't work as expected, giving:

Code: Select all

Reading https://pypi.python.org/simple/calendar/
No local packages or download links found for calendar
error: Could not find suitable distribution for Requirement.parse('calendar')
Calendar also doesn't show any data, only 'undefined'...

That's all...! Can I do anything to help out in return? :)
Last edited by felix63 on Tuesday 03 January 2017 12:23, edited 1 time in total.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

blackdog65 wrote:If I start adding group/scene pushon buttons with their idx... how will it know that it is a scene idx and not a device idx?

Sean :D
Hi Blackdog65,

You can see this in the devices tab in domoticz. if you search with the keywords Scene or Group you will find you're idx numbers :)
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

zandhaas wrote:
squandor wrote:
zandhaas wrote:Hello,

I think my entries in the config file are not correct but I can not find more deteail information on how it should be exactly.
Can you please give some more detailed information on how to add the right config file entries for this plugin.
It seems like you're config settings aren't correct indeed. An format for the address could be:
[[anwb]]
startPoint = "Korte minrebroederstraat 1, Utrecht"
endPoint = "Korte Nieuwstraat 6, Nijmegen"

These points are working on my test situation, so hopefully it will work at your's to.
When I use your addresses every thing is working as expected but when I use my own addresses I still get error messages like:

KeyError: 'city' and IndexError: list index out of range

The difference I see is that you have streetnames consisting out of two words and cityname with only one word.
I have street names consisting of only one word and city names consisting out of two words.

So it looks like there's an issues with the correct reading the parameters from the config file.
you have pm so we can test this explicit with you city name.
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 »

squandor wrote:
blackdog65 wrote:If I start adding group/scene pushon buttons with their idx... how will it know that it is a scene idx and not a device idx?

Sean :D
Hi Blackdog65,

You can see this in the devices tab in domoticz. if you search with the keywords Scene or Group you will find you're idx numbers :)
I have these devices and scenes/group:
idx.png
idx.png (143 KiB) Viewed 2282 times
when I add

Code: Select all

	[[[Scenes]]]
		Spelen = 9, pushoff
I get

Code: Select all

Device with 9 is not available in Domoticz
And if I add 11 as a group it appears to switch the device not the group. So I think blackdog65 might have a point...
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

felix63 wrote:
squandor wrote:
blackdog65 wrote:If I start adding group/scene pushon buttons with their idx... how will it know that it is a scene idx and not a device idx?

Sean :D
Hi Blackdog65,

You can see this in the devices tab in domoticz. if you search with the keywords Scene or Group you will find you're idx numbers :)
I have these devices and scenes/group:
idx.png

when I add

Code: Select all

	[[[Scenes]]]
		Spelen = 9, pushoff
I get

Code: Select all

Device with 9 is not available in Domoticz
And if I add 11 as a group it appears to switch the device not the group. So I think blackdog65 might have a point...
It appears that you're idx 9 is an group so if you changed you're pushoff to group it should work fine. And yes the pushoff method uses the switch command in the api but only with the parameter on or off depending on you're choice.
But for scenes or groups you must use

Code: Select all

 Spelen = 9, group
or

Code: Select all

Spelen = 9, scene
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

felix63 wrote:Hi Squandor,

Feature requests:
1- add contact switches (for doors and windows etc)
2- add text switch (for Nefit Boiler status, Plex movie playing etc)
3- reposition humidity info above up/down arrow in small font to create consistent tile size.temperature.png
Tnx for you requests. we will add them to our list for features, but an text switch is actually an utility so we will look into that.
Bugs:
4- displaying of switch in different browsers such as Safari & Firefox (see Github)
5- inconsistent displaying of setpoint (see image)setpoint.png
6- weather information is not always loading, requires reloads. Where can I find console.log? weer.png
Thanks for you're switch and setpoint display bug we will look into that
And the weather template uses the Yahoo API which don't always returns information so we are trying to find an solution for this.
Question
7- how do I configure '[map]'?
in the config use the following configuration:

Code: Select all

[general_settings]
[[anwb]]
startPoint = "address housenumber, city"
endPoint = "address housenumber, city"
than you could add the anwb template to an page by adding it to the display components like:

Code: Select all

[dashboard]
[[display_components]]
components = anwb
[[anwb]]

8- how do I configure '[verkeer]'?
to add verkeer to an page or create an single page for it you can do the following:

Code: Select all

[navbar]
  [[menu]]
    Dashboard = dashboard
    Verkeer = verkeer

Code: Select all

[verkeer]
  [[display_components]]
    components = verkeer
  [[verkeer]]
 
9- what are other options in top_tiles (fire, temp, power-off, ...)
All the fontawesome icons. you can find the names at:
http://fontawesome.io/icons/
10- [verkeer] and [icloud] tiles show tool-icon, seems to have no function (yet). Is this a correct assumption?
You're completely right about that. We where thinking to use that in the future when there is more time :)
11- On GitHub you have an example showing CV Pressure in Bar. How do I configure this?
Which example do you mean exactly i can't find it :)


About iCloud:
12- When using install option on settings page I got an error (Error occured during loading imports for the plugin icloud: No module named pyicloud) that went away after trying your suggestion about installing dependencies. However that doesn't work as expected, giving:

Code: Select all

Reading https://pypi.python.org/simple/calendar/
No local packages or download links found for calendar
error: Could not find suitable distribution for Requirement.parse('calendar')
Calendar also doesn't show any data, only 'undefined'...

hmm the calendar option is tricky to test, what you could try is add the follow print statement to the icloud.py script located in the plugins folder:

Code: Select all

for i in events:
	print i
if you start the domoboard and open an page where the calendar is located you should see something in you're console.

Gr. Squandor
Last edited by squandor on Tuesday 03 January 2017 13:32, edited 2 times in total.
fransiefrans
Posts: 59
Joined: Sunday 14 June 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Netherlands
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by fransiefrans »

very nice dashboard!

I have Domoboard running and was trying to alter some idx and camera's but why can't I see what I've adjusted in de example.conf file?
I've restarted the server and still the old config opens.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

fransiefrans wrote:very nice dashboard!

I have Domoboard running and was trying to alter some idx and camera's but why can't I see what I've adjusted in de example.conf file?
I've restarted the server and still the old config opens.
Could it be you're cache? to make sure that domoboard uses you're config try to run it with

Code: Select all

sudo python server.py -c configfile.conf 
and for debugging purposes you could add the parameter -d
Snowtiger
Posts: 120
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10915
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by Snowtiger »

I installed all dependencies but still get this error :

Code: Select all

xx@raspberrypi:~/git/domoboard $ sudo python2.7 server.py -c myconf.conf
Traceback (most recent call last):
  File "server.py", line 4, in <module>
    from flaskext.auth import Auth, AuthUser, login_required, logout
ImportError: No module named auth
As you can see i already did the python2.7 trick - also tried to install auth via easy-install but that did not solve the error.
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 »

squandor wrote: You're completely right about that. We where thinking to use that in the future when there is more time :)
11- On GitHub you have an example showing CV Pressure in Bar. How do I configure this?
Which example do you mean exactly i can't find it :)
I saw it on your Github example on page https://github.com/wez3/domoboard in the example, the middle one.
charts.png
charts.png (212.67 KiB) Viewed 2222 times
Using the following in my config doesn't work:

Code: Select all

	[[domoticz_counter_charts]]
		Druk = 440, month, pressure
jjnj

Re: Domoboard a New Dashboard using Domoticz as backend

Post by jjnj »

squandor wrote:
proza wrote:
squandor wrote:here is an screenshot with the pushon button with D-Gong for example.
I was wondering what kind off domoboards everbody are creating. Just some samples Image
okay here are some pics from my test situation
Can you tell me how you made the code for your 'Woonkamer' switches that you have two rows of switches? Or is it one row switches, one row scenes?
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 »

squandor wrote:It appears that you're idx 9 is an group so if you changed you're pushoff to group it should work fine. And yes the pushoff method uses the switch command in the api but only with the parameter on or off depending on you're choice.
But for scenes or groups you must use

Code: Select all

 Spelen = 9, group
or

Code: Select all

Spelen = 9, scene
I have changed my config to

Code: Select all

  [[switches]]
	[[[Scenes]]]
		TV kijken = 3, group
		Slapen = 4, scene
		Alles uit = 5, scene
		Concert = 11, group
Now I have no switches anymore... so that does not seem to work!
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

felix63 wrote:
squandor wrote: You're completely right about that. We where thinking to use that in the future when there is more time :)
11- On GitHub you have an example showing CV Pressure in Bar. How do I configure this?
Which example do you mean exactly i can't find it :)
I saw it on your Github example on page https://github.com/wez3/domoboard in the example, the middle one. charts.png Using the following in my config doesn't work:

Code: Select all

	[[domoticz_counter_charts]]
		Druk = 440, month, pressure
Aah ok that's the counter chart, the config for this specific example was:

Code: Select all

[[display_components]]
components = domoticz_counter_charts
[[domoticz_counter_charts]]
CV Pressure = 73, month, Pressure
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

jjnj wrote:
squandor wrote:
proza wrote:
I was wondering what kind off domoboards everbody are creating. Just some samples Image
okay here are some pics from my test situation
Can you tell me how you made the code for your 'Woonkamer' switches that you have two rows of switches? Or is it one row switches, one row scenes?
Sure no problem i have used the following config:

Code: Select all

[woonkamer]
[[display_components]]
components = top_tiles, switches[Schakelaars], switches[Keuken Scenes]
[[switches]]
  [[[Schakelaars]]]
    Woonkamer dimmer = 126, dimmer
    Keuken Spot 1 = 182, rgb
    Keuken Spot 2 = 183, rgb
    Keuken Spot 3 = 184, rgb
    Hall Light = 185, switch
  [[[Keuken Scenes]]]
    Set Hue Arctic aurora = 193, pushon
    Set Hue Bright = 191, pushon
    Set Hue Concentrate = 189, pushon
    Start Scene Home = 5, scene
    Group Living Appliances = 6, group
that should work.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by squandor »

felix63 wrote:
squandor wrote:It appears that you're idx 9 is an group so if you changed you're pushoff to group it should work fine. And yes the pushoff method uses the switch command in the api but only with the parameter on or off depending on you're choice.
But for scenes or groups you must use

Code: Select all

 Spelen = 9, group
or

Code: Select all

Spelen = 9, scene
I have changed my config to

Code: Select all

  [[switches]]
	[[[Scenes]]]
		TV kijken = 3, group
		Slapen = 4, scene
		Alles uit = 5, scene
		Concert = 11, group
Now I have no switches anymore... so that does not seem to work!
that's because you don't have any switches configured at the moment.
If you edit your config and for example add an switch for Light 1 you will get:

Code: Select all

  
  [[switches]]
	[[[Scenes]]]
		TV kijken = 3, group
		Slapen = 4, scene
		Alles uit = 5, scene
		Concert = 11, group
		Light 1 = 133, switch
User avatar
blackdog65
Posts: 311
Joined: Tuesday 17 June 2014 18:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norfolk, UK
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by blackdog65 »

hmmm...
I still get scenes interpreted as devices

Code: Select all

[heating]
  [[display_components]]
     components = top_tiles, switches[Setpoints],switches[Controls], bar_charts
  [[top_tiles]]
    Sitting Room = 361, fire
    Kitchen = 372, fire
    Z-Bedroom = 374, fire
    V-Bedroom = 363, fire 
    S-Bedroom = 369, fire
    Outside = 77, fire
  [[switches]]
    [[[Setpoints]]]
     Sitting Room = 362, setpoint
     Kitchen = 373, setpoint
     Z-Bedroom = 375, setpoint
     V-Bedroom = 364, setpoint
     S-Bedroom = 370, setpoint
    [[[Controls]]]
     Off = 18, scene
     HotWater = 19, scene	
     Heating = 20, scene
     Holiday = 21, scene

  [[bar_charts]]
     SittingRoom-Rad = 365
     Kitchen-Rad = 368
     Z-Bedroom-Rad = 366
     V-Bedroom-Rad = 367
     S-Bedroom-Rad = 371

Code: Select all

Device with 19 is not available in Domoticz
In the device tab I have "device idx" 18, 20 & 21 and "scene idx" 18, 19, 20 & 21 so it appears that devices are seen and not scenes
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest