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.
bsmeding
Posts: 39
Joined: Tuesday 28 October 2014 19:29
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by bsmeding » Saturday 07 January 2017 15:46

bsmeding wrote:Whow this looks very nice!

Just installed and running lika a charm on desktop, only when running in Ipad in installed on the home screen, then the dashboard is loaded only when clicking other menu items it will redirect to safari

does anyone know how to solve this? so all the pages can be opened within the home screen app?

This is fixed by adding the following code : then the onclick function on ipad will loading in same window instead of opening safari when de dashboard is running from the Homescreen as 'native' app

Code: Select all

var a=document.getElementsByTagName("a");
for(var i=0;i<a.length;i++)
{
    a[i].onclick=function()
    {
        window.location=this.getAttribute("href");
        return false
    }
}

Awst6000
Posts: 162
Joined: Thursday 12 February 2015 8:51
Target OS: Linux
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by Awst6000 » Saturday 07 January 2017 17:30

wez3 wrote:Hi Guys,
The same period graph is a known issue...

Could you guys please use github to add issues and future requests?
https://github.com/wez3/domoboard/issues
Hi Wez3,
We fully understand that there will be no pause in the requests for enhancements ;)
Please take your time.

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 » Saturday 07 January 2017 17:38

we know about the issue about the yahoo api. at the moment i am writing an weather underground plugin which hopefully will be available soon.
The only "problem" with weather underground is that you must need an api key so i will build this that the plugin will look in you're config if the api key has been given.

a little screen for the current progress of weather underground:
Attachments
Screen Shot 2017-01-07 at 16.17.00.png
Screen Shot 2017-01-07 at 16.17.00.png (261.26 KiB) Viewed 1005 times

woody4165
Posts: 504
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by woody4165 » Saturday 07 January 2017 18:45

Very nice job.
In my browser, I see only the X, not the other two symbols?
Does it depend on the browser or some configuration?
Screenshot_2017-01-07-17-43-20-334_com.quoord.tapatalkpro.activity~01.png
Screenshot_2017-01-07-17-43-20-334_com.quoord.tapatalkpro.activity~01.png (4.49 KiB) Viewed 996 times
Thanks

wez3
Posts: 50
Joined: Friday 30 December 2016 13:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by wez3 » Saturday 07 January 2017 20:31

woody4165 wrote:Very nice job.
In my browser, I see only the X, not the other two symbols?
Does it depend on the browser or some configuration? Screenshot_2017-01-07-17-43-20-334_com.quoord.tapatalkpro.activity~01.png

Thanks
The other two buttons have been removed from Domoboard. They are "old" screenshots.

User avatar
felix63
Posts: 100
Joined: Monday 07 December 2015 10:30
Target OS: Raspberry Pi
Domoticz version: 3.8275
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 » Sunday 08 January 2017 0:16

squandor wrote:we know about the issue about the yahoo api. at the moment i am writing an weather underground plugin which hopefully will be available soon.
The only "problem" with weather underground is that you must need an api key so i will build this that the plugin will look in you're config if the api key has been given.

a little screen for the current progress of weather underground:
Looking good!

linconnu76
Posts: 2
Joined: Sunday 08 January 2017 20:30
Target OS: Raspberry Pi
Domoticz version: 3.4834
Location: Dieppe - Normandie
Contact:

UndefinedError: 'count' is undefined

Post by linconnu76 » Sunday 08 January 2017 20:42

Hello,
I'm french, then my english isnt' perfect ☺
When I try to connect with my username and pwd, the debugger indicates that :

File "/home/pi/domoboard/templates/index.html", line 9, in top-level template code
{% set count = count + 1 %}
UndefinedError: 'count' is undefined

Thanks

woody4165
Posts: 504
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: RE: Re: Domoboard a New Dashboard using Domoticz as backend

Post by woody4165 » Sunday 08 January 2017 20:58

wez3 wrote:
The other two buttons have been removed from Domoboard. They are "old" screenshots.
Thanks!

User avatar
felix63
Posts: 100
Joined: Monday 07 December 2015 10:30
Target OS: Raspberry Pi
Domoticz version: 3.8275
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 » Sunday 08 January 2017 21:43

squandor wrote:Nice Felix,

You're Dash looks awesome :) only bummer for the iCloud calendar? did you got any response from the iCloud plugin if you put an print to the for loop in iCloud.py ? :)
Whatever I try - no luck getting this to work! A pity - would be nice. Do you have any suggestions what I could try?

Cheers,
Lex

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 » Sunday 08 January 2017 22:24

felix63 wrote:
squandor wrote:Nice Felix,

You're Dash looks awesome :) only bummer for the iCloud calendar? did you got any response from the iCloud plugin if you put an print to the for loop in iCloud.py ? :)
Whatever I try - no luck getting this to work! A pity - would be nice. Do you have any suggestions what I could try?

Cheers,
Lex
do you maybe have 2 factor auth enabled on you're apple id? :)

User avatar
felix63
Posts: 100
Joined: Monday 07 December 2015 10:30
Target OS: Raspberry Pi
Domoticz version: 3.8275
Location: Gouda
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by felix63 » Sunday 08 January 2017 22:41

Yes - I have indeed. Is that the problem?

bsmeding
Posts: 39
Joined: Tuesday 28 October 2014 19:29
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by bsmeding » Sunday 08 January 2017 22:48

felix63 wrote:Yes - I have indeed. Is that the problem?
yes that is 'the problem' if you disable it for test you will see the calendar. There is a workaround for 2FA, but i didnt get it to work yet

see https://github.com/picklepete/pyicloud


don't have any time comming days to check it out myself, maybe next weekend

apt80
Posts: 4
Joined: Saturday 20 February 2016 13:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by apt80 » Sunday 08 January 2017 23:15

Minglarn wrote:
Lars65 wrote:I have made an new installation of raspbian jessie, and when I try to install domoboard do I get this when I try to start:
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


I did also try with Flask-Auth-0.85
But i didn't help.
Any suggestions?
Same here. A new fresh install with Jessie and I have the same as you.
Tried to install every suggested packets but still get the same results.
And same here, just tried installing, on Rasbian Jessie. No luck same auth package missing. I've tried all previously mentioned suggestions. I'm no Linux expert, so I'll just keep an eye on the thread to see if the problem may be solved at some point.

bsmeding
Posts: 39
Joined: Tuesday 28 October 2014 19:29
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by bsmeding » Monday 09 January 2017 11:05

apt80 wrote:
Minglarn wrote:
Lars65 wrote:I have made an new installation of raspbian jessie, and when I try to install domoboard do I get this when I try to start:
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


I did also try with Flask-Auth-0.85
But i didn't help.
Any suggestions?
Same here. A new fresh install with Jessie and I have the same as you.
Tried to install every suggested packets but still get the same results.
And same here, just tried installing, on Rasbian Jessie. No luck same auth package missing. I've tried all previously mentioned suggestions. I'm no Linux expert, so I'll just keep an eye on the thread to see if the problem may be solved at some point.

try install the Auth python moduel :

Code: Select all

pip install auth

jhenrikb
Posts: 26
Joined: Sunday 08 January 2017 20:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by jhenrikb » Monday 09 January 2017 12:16

Hi
Is this ment to be installed directly over a Domoticz installation or on a fresh Raspbian-Lite flashdrive?

I tried executing "sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests" on my Pi3 running domoticz,
but i recieved "sudo: easy_install: Command not found".

Sincerely
John

Snowtiger
Posts: 83
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Domoboard a New Dashboard using Domoticz as backend

Post by Snowtiger » Monday 09 January 2017 12:47

bsmeding wrote:
apt80 wrote:
Minglarn wrote:
Same here. A new fresh install with Jessie and I have the same as you.
Tried to install every suggested packets but still get the same results.
And same here, just tried installing, on Rasbian Jessie. No luck same auth package missing. I've tried all previously mentioned suggestions. I'm no Linux expert, so I'll just keep an eye on the thread to see if the problem may be solved at some point.

try install the Auth python moduel :

Code: Select all

pip install auth
That does not solve the problem - the error occurs when trying to import the Auth module from the Flask-Auth package, that error still occurs .... If you comment the Auth module out, the import will give and error on the next module to import

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 09 January 2017 13:20

jhenrikb wrote:Hi
Is this ment to be installed directly over a Domoticz installation or on a fresh Raspbian-Lite flashdrive?

I tried executing "sudo easy_install flask flask-auth configobj gitpython simplejson bleach requests" on my Pi3 running domoticz,
but i recieved "sudo: easy_install: Command not found".

Sincerely
John
It is possible to have this on the same raspberry as the domoticz installation. It seems that you're installation could find the easy_install command
could you try to install setuptools

Code: Select all

sudo apt-get install python-setuptools

fergalom
Posts: 73
Joined: Thursday 24 September 2015 11:44
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by fergalom » Monday 09 January 2017 16:02

Can two temperatures be displayed on the same line graph - if so, how to configure?
Quite useful for a thermostat setpoint and current temperature.

Lars65
Posts: 21
Joined: Thursday 14 July 2016 20:49
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by Lars65 » Monday 09 January 2017 19:13

Snowtiger wrote:
bsmeding wrote:
apt80 wrote:
And same here, just tried installing, on Rasbian Jessie. No luck same auth package missing. I've tried all previously mentioned suggestions. I'm no Linux expert, so I'll just keep an eye on the thread to see if the problem may be solved at some point.

try install the Auth python moduel :

Code: Select all

pip install auth
That does not solve the problem - the error occurs when trying to import the Auth module from the Flask-Auth package, that error still occurs .... If you comment the Auth module out, the import will give and error on the next module to import


tried to install pip install auth, but I still get this with full raspbian jessie:

apt80
Posts: 4
Joined: Saturday 20 February 2016 13:51
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoboard a New Dashboard using Domoticz as backend

Post by apt80 » Monday 09 January 2017 19:43

bsmeding wrote: try install the Auth python moduel :

Code: Select all

pip install auth
Yeah, thanks for the advice.

I did so. At first auth wouldn't install because of errors, not sure what exactly
I tried > sudo easy_install auth
Then > sudo pip install auth
which failed as well. Then I figured I need to install the python build tools to install auth. That worked.
After > sudo apt-get install build-essential python-dev
I was able to install auth with > sudo pip install auth

But it didn't solve the missing auth package error. Finally I tried this:
sudo easy_install flaskex Flask-OAuth2-Login Flask-OAuth Flask-ExtDirect Flask-Auth Flask-Login

Because of an earlier suggestion. But to no avail...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest