Page 2 of 32
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 0:10
by Eoreh
Thx for help and ofc share this. Finally its starts on my RPI3
Now i have to figure how this works and on start do little "localization" for Polish language.
Next to completing the list of sensors
I dont need also "login pages".
Thx again.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 12:47
by blackdog65
Hi,
Sorry if this appears dense, but I'm not getting very far with this.
The install looks to have gone ok but when I run
I get
Code: Select all
Device with 13 is not available in Domoticz
which I expect as I haven't set devices yet... I want to get it to run before I go through that LOOOOONG process
But when I go to 192.168.1.120:80 I get the nginx welcome page
Where am I going wrong? Do I need to kill nginx?
Many thanks
Sean
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 12:58
by squandor
I believe that it's necessary to have at least 1 device in the dashboard.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:00
by wez3
Hi blackdog65,
If you are going to run the dashboard on port 80, nginx needs to be killed. You can also run the dashboard on a different port by specifying it in the flask_url config setting (e.g. 192.168.1.120:5000) starts the dashboard on port 5000.
The error "Device with 13 is not available in Domoticz" means that there is no device with IDX 13 available in Domoticz, however u probably specified it somewhere in the config. The dashboard checks whether devices exist in Domoticz before starting. So make sure only existing IDX's from Domoticz are specified in the config.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:02
by Siewert308SW
blackdog65 wrote:Hi,
Sorry if this appears dense, but I'm not getting very far with this.
The install looks to have gone ok but when I run
I get
Code: Select all
Device with 13 is not available in Domoticz
which I expect as I haven't set devices yet... I want to get it to run before I go through that LOOOOONG process
But when I go to 192.168.1.120:80 I get the nginx welcome page
Where am I going wrong? Do I need to kill nginx?
Many thanks
Sean
lol...
encountered the same thing and ending up committing out all devices in the conf and changed one idx to one of my own just to see it running.
question:
I have a 2x a Youless for gas and electric.
But if i fill in the idx i get no stats...
Code: Select all
[statistics]
[[display_components]]
components = domoticz_smart_charts[1], domoticz_smart_charts[2], domoticz_temp_charts
[[domoticz_smart_charts]]
[[[1]]]
Energie = 80, week, energy
[[[2]]]
Gas = 82, month, gas
[[domoticz_temp_charts]]
#Temperatuur = 74, day, temp
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:09
by Awst6000
Does this run on Windows 10 too for testing purposes?
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:11
by squandor
I got it running on an Windows 10 machine you just have to make sure to install all the Python dependencys
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:13
by wez3
@Siewert
Is the type of the domoticz IDXs "P1 Smart Meter"? We've tested it again that, that works.
Here is a working config:
[[domoticz_smart_charts]]
[[[1]]]
Stroomverbruik = 155, week, energy
[[[2]]]
Gas = 156, month, gas
Removing [[domoticz_temp_charts]] might help, as its not used (also from display_components).
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:14
by squandor
Siewert308SW wrote:blackdog65 wrote:Hi,
Sorry if this appears dense, but I'm not getting very far with this.
The install looks to have gone ok but when I run
I get
Code: Select all
Device with 13 is not available in Domoticz
which I expect as I haven't set devices yet... I want to get it to run before I go through that LOOOOONG process
But when I go to 192.168.1.120:80 I get the nginx welcome page
Where am I going wrong? Do I need to kill nginx?
Many thanks
Sean
lol...
encountered the same thing and ending up committing out all devices in the conf and changed one idx to one of my own just to see it running.
question:
I have a 2x a Youless for gas and electric.
But if i fill in the idx i get no stats...
Code: Select all
[statistics]
[[display_components]]
components = domoticz_smart_charts[1], domoticz_smart_charts[2], domoticz_temp_charts
[[domoticz_smart_charts]]
[[[1]]]
Energie = 80, week, energy
[[[2]]]
Gas = 82, month, gas
[[domoticz_temp_charts]]
#Temperatuur = 74, day, temp
Everything looks fine but I suggest to remove domoticz_temp_charts from the display components because you comment out the idx.
We didn't had any youless devices so possibly the data that returns from domoticz is different than an p1 smart meter.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:19
by Siewert308SW
wez3 wrote:@Siewert
Is the type of the domoticz IDXs "P1 Smart Meter"? We've tested it again that, that works.
Here is a working config:
[[domoticz_smart_charts]]
[[[1]]]
Stroomverbruik = 155, week, energy
[[[2]]]
Gas = 156, month, gas
Removing [[domoticz_temp_charts]] might help, as its not used (also from display_components).
Type is not p1.
Reinstalling Domoboard at the moment, will try your suggestion.
Hope it works as it is one of my main most wanted features to show of on the wallmount
Code: Select all
81 Electra - Meterstand 80 1 Electra - Meterstand YouLess Meter YouLess counter 29760.717 kWh 2058 Watt
82 Gas - Meterstand 80 1 Gas - Meterstand YouLess Meter YouLess counter 17441.279 kWh 0 Watt
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:29
by wez3
You could check the Domoticz log page (behind the "Log" button) of the device. If the javascript function: ShowSmartLog is called in domoticz, it should work in Domoboard as well. We are using the original Domoticz javascript functions (slightly modified) to display the graphs.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:41
by Siewert308SW
wez3 wrote:You could check the Domoticz log page (behind the "Log" button) of the device. If the javascript function: ShowSmartLog is called in domoticz, it should work in Domoboard as well. We are using the original Domoticz javascript functions (slightly modified) to display the graphs.
Got something to display, but only total usage of the counter, week and month.
But current usage is something i can't get, whats the command for current usage?
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 13:53
by wez3
Is domoticz able to display this current usage in a graph?
If so, I would recommend you to do the following:
Open Chrome, turn on inspect > network tab.
Visit the Log page of your Youless device. API calls are visible now to the Domoticz API.
Select the API call you want in Domoboard and fill it into the config. For example:
/json.htm?type=graph&sensor=counter&idx=155&range=week
becomes on our config:
Wekelijks energie verbruik = 155, week, energy
The last options can be one of the following:
"energy"
"gas"
"water"
"counter"
If you can't figure it out with above information, can you share the API call you want to displayed on Domoboard so i can figure out why this should not work in the current setup?
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 14:47
by jjnj
Is it necessary to run Domoboard on the same system as Domoticz? I have Domoticz on a Windows machine currently.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 14:50
by Siewert308SW
jjnj wrote:Is it necessary to run Domoboard on the same system as Domoticz? I have Domoticz on a Windows machine currently.
Nope, running it on a other raspi to test.
Just fill the ip and username of you domoticz server in the example conf and you capable of running it every where
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 14:55
by blackdog65
Ok!
Many thanks for the help, I have it running... sort of.
I have dashboard partially populated.
The switches.html needed to be edited so that "Schakelaars" became "Switches". I assume there will be many more translations needed once I dig deeper.
Weather and news feeds working ok for UK.
None of my navbar links work

(except "Settings"), all lead to 404 and then back to previous page. Is this because I translated them?... though some are unchanged...
The whole thing looks very good though.
I have a stack of old 7" tablets which I have modded to wireless charging that I plan to use around the house on wall docks... this project is perfect for them!
Keep up the good work
Sean
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 14:59
by wez3
A navbar item needs to exist in the config, otherwise 404 pages are thrown. If you specify the following navbar:
[navbar]
[[menu]]
Dashboard = dashboard
A component dashboard needs to exists in the rest of the config. e.g.:
[dashboard]
[[display_components]]
components = top_tiles
[[top_tiles]]
Temperatuur tuin = 31, fire
I've created the link that is used to generate the pages in bold.
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 15:00
by Siewert308SW
wez3 wrote:Is domoticz able to display this current usage in a graph?
If so, I would recommend you to do the following:
Open Chrome, turn on inspect > network tab.
Visit the Log page of your Youless device. API calls are visible now to the Domoticz API.
Select the API call you want in Domoboard and fill it into the config. For example:
/json.htm?type=graph&sensor=counter&idx=155&range=week
becomes on our config:
Wekelijks energie verbruik = 155, week, energy
The last options can be one of the following:
"energy"
"gas"
"water"
"counter"
If you can't figure it out with above information, can you share the API call you want to displayed on Domoboard so i can figure out why this should not work in the current setup?
Nevermind, can't explain what i mean in english.
But the current usage like displayed in the widget o de Domoticz dashboard is what i mean.
The graph shows what it is expected to do, year, week only daily isn't working.
Only thing is that the graph in Domoticz shows for 24hr usage per hour total and per 5 min line.
For the current usage i amended the line saying Stroomverbruik TV = 13, plug to my Youless idx
It does show a output but it's the total counter of my Youless not the current usage.
I like the idea of your project and looks promising.
Don't have chrome installed, Already working on it since last night.
For me it's to much work to get it al working as i'm short on time.
Thx for the help and will keep a eye on this thread and when i do have more time i will see what i can do.
Thx for the afford and keep up the good working...
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 15:06
by blackdog65
wez3 wrote:A navbar item needs to exist in the config, otherwise 404 pages are thrown. If you specify the following navbar:
[navbar]
[[menu]]
Dashboard = dashboard
A component dashboard needs to exists in the rest of the config. e.g.:
[dashboard]
[[display_components]]
components = top_tiles
[[top_tiles]]
Temperatuur tuin = 31, fire
I've created the link that is used to generate the pages in bold.
Many thanks,
I think I'll clean out the existing config as it has a mass of commented out info and I think I'm getting confused.
I'll start from scratch as per your instructions.
Thanks again
Sean
Re: Domoboard a New Dashboard using Domoticz as backend
Posted: Friday 30 December 2016 15:11
by wez3
Siewert308SW wrote:wez3 wrote:Is domoticz able to display this current usage in a graph?
If so, I would recommend you to do the following:
Open Chrome, turn on inspect > network tab.
Visit the Log page of your Youless device. API calls are visible now to the Domoticz API.
Select the API call you want in Domoboard and fill it into the config. For example:
/json.htm?type=graph&sensor=counter&idx=155&range=week
becomes on our config:
Wekelijks energie verbruik = 155, week, energy
The last options can be one of the following:
"energy"
"gas"
"water"
"counter"
If you can't figure it out with above information, can you share the API call you want to displayed on Domoboard so i can figure out why this should not work in the current setup?
Nevermind, can't explain what i mean in english.
But the current usage like displayed in the widget o de Domoticz dashboard is what i mean.
The graph shows what it is expected to do, year, week only daily isn't working.
Only thing is that the graph in Domoticz shows for 24hr usage per hour total and per 5 min line.
For the current usage i amended the line saying Stroomverbruik TV = 13, plug to my Youless idx
It does show a output but it's the total counter of my Youless not the current usage.
I like the idea of your project and looks promising.
Don't have chrome installed, Already working on it since last night.
For me it's to much work to get it al working as i'm short on time.
Thx for the help and will keep a eye on this thread and when i do have more time i will see what i can do.
Thx for the afford and keep up the good working...
To bad that your short on time. I think i get what you mean, however its pretty hard to debug without the device itself. Do not hesitate to contact us whenever you have time to continue

, that way we can keep improving the dashboard.
Also i see that the config can be pretty hard to configure the dashboard. We will see whether we can simplify this in the future.
@Sean
Yes the best way is to start with a clean config, adding components one by one. Like that its pretty easy to debug
