Page 10 of 32

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 14:46
by bsmeding
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
    }
}

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 16:30
by Awst6000
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.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 16:38
by squandor
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:

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 17:45
by woody4165
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 2415 times
Thanks

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 19:31
by wez3
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.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Saturday 07 January 2017 23:16
by felix63
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!

UndefinedError: 'count' is undefined

Posted: Sunday 08 January 2017 19:42
by linconnu76
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

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

Posted: Sunday 08 January 2017 19:58
by woody4165
wez3 wrote:
The other two buttons have been removed from Domoboard. They are "old" screenshots.
Thanks!

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Sunday 08 January 2017 20:43
by felix63
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

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Sunday 08 January 2017 21:24
by squandor
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? :)

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Sunday 08 January 2017 21:41
by felix63
Yes - I have indeed. Is that the problem?

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Sunday 08 January 2017 21:48
by bsmeding
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

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Sunday 08 January 2017 22:15
by apt80
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.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 10:05
by bsmeding
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

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 11:16
by jhenrikb
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

Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 11:47
by Snowtiger
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

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 12:20
by squandor
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

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 15:02
by fergalom
Can two temperatures be displayed on the same line graph - if so, how to configure?
Quite useful for a thermostat setpoint and current temperature.

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 18:13
by Lars65
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:

Re: Domoboard a New Dashboard using Domoticz as backend

Posted: Monday 09 January 2017 18:43
by apt80
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...