Page 4 of 11

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 20:50
by tontze
safi78 wrote:
Maikie wrote: I only see info at the moment but that is because I don't have rooms setup I guess?
Si.
I also got same screen when i had https in config.js and i have https disabled, changed it to http, and worked after that :)

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 20:54
by Maikie
Changed to http and then it works.

See 1 problem in my test room, there are 2 humidity/temp sensors, but its showing comfortable and not the temperature or the humidity.

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:02
by safi78
Maikie wrote:Changed to http and then it works.

See 1 problem in my test room, there are 2 humidity/temp sensors, but its showing comfortable and not the temperature or the humidity.
That's how it works for 'now'.

If you want a change, or have a suggestion, you can either do it yourself, or suggest a kick-ass feature :) That's how OpenSource works, fun isn't it? :)

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:02
by tontze
jvdz wrote:
tontze wrote: But, on my setup, blinds just shows its tate, no control buttons :)
I had a try today as well and really like this approach!
I've made a fix for the Blinds as I saw the same thing and this also takes the device.MaxDimLevel into account to avoid getting a percentage problem.
Just edit framboise.js and replace/insert these lines:

Code: Select all

	
	case "Dimmer":
		if (device.Data == 'Off') {
			switchClass = 'btn btn-success btn-primary glyphicon glyphicon-off active';
		} else {
			switchClass = 'btn btn-warning btn-primary glyphicon glyphicon-off active';
		}
		$("#td-" + device.idx).html('<div class="slider-div"><input type="text" id="slider-' + device.idx + '" data-slider-value="' + device.LevelInt + '" data-slider-min="0" data-slider-max="' + device.MaxDimLevel + '" data-slider-tooltip="hide" />&nbsp;&nbsp;&nbsp;<button class="'+switchClass+'" Onclick="switchLight(' + device.idx + ')"></button></div>');
		$("#slider-" + device.idx).slider();
		$("#slider-" + device.idx).on("slideStop", function(slideEvt) {
			setDimmer(device.idx, slideEvt.value);
		});
		break;
	case "Blinds Percentage":
		if (device.Data == 'Open') {
			switchClass = 'btn btn-success btn-primary glyphicon glyphicon-off active';
		} else {
			switchClass = 'btn btn-warning btn-primary glyphicon glyphicon-off active';
		}
		$("#td-" + device.idx).html('<div class="slider-div"><input type="text" id="slider-' + device.idx + '" data-slider-value="' + device.LevelInt + '" data-slider-min="0" data-slider-max="' + device.MaxDimLevel + '" data-slider-step="1" data-slider-tooltip="hide" />&nbsp;&nbsp;&nbsp;<button class="'+switchClass+'" Onclick="switchLight(' + device.idx + ')"></button></div>');
		$("#slider-" + device.idx).slider();
		$("#slider-" + device.idx).on("slideStop", function(slideEvt) {
			setDimmer(device.idx, slideEvt.value);
		});
		break;
	case "Motion Sensor":
@safi78, maybe you can update your version or do you want me to create a pull request? (I am new to git, but used to CVS/SVN)

Jos
Blinds still dotn have control over it, i have "blinds inverted" control

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:05
by safi78
tontze wrote:
Blinds still dotn have control over it, i have "blinds inverted" control
That's correct. This project is 2 days live.

If you want to add it yourself, be my guest, otherwise add a request to the 'issues' page? Like suggested in the first post? That way we can keep track of all the work we still have to do, Rome wasn't built in 1 day ;)

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:24
by jvdz
tontze wrote: Blinds still dotn have control over it, i have "blinds inverted" control
I am sure you'll be able to figure this out when looking at the change I made what needs to be done. ;)
I don't have any inverted blinds to test with.

Jos

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:30
by safi78
I added a link to the 'Issues'-tracker.

If you are on the framb0ise page, click on the link next to the logo, a new tab will open to the issues tracker.

Please post your features & bug request there.

This will help to keep track of things and hopefully inspire other people to work on this, create pull-requests, etc.

Thanks ya'll :)

Re: framb0ise v2 - awesome new dashboard!

Posted: Sunday 23 April 2017 21:57
by Maikie
Presence is also switched, green = away, orange = @home
Image

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 11:13
by rickvanakkeren
I really like the simplicity of your dashboard and the way I can group information.

But... in Dashticz I can add some other nice things, like ´buienradar´, traffic info, sunset/sunrise.

For me, combining these two would be the best solution! So I'm gonna try to add this in Framb0ise, but maybe I need some help ;) :lol:

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 17:44
by safi78
rickvanakkeren wrote:I really like the simplicity of your dashboard and the way I can group information.

But... in Dashticz I can add some other nice things, like ´buienradar´, traffic info, sunset/sunrise.

For me, combining these two would be the best solution! So I'm gonna try to add this in Framb0ise, but maybe I need some help ;) :lol:
Enjoy the latest update then ;)

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 21:42
by safi78
jvdz wrote:@safi78,
Guess this setup is becoming quite popular. :)
Adding the slash after the url is indeed now working, but thought I tried that in the beginning as well... not important now.
I noticed that the script is not filtering the scene in the rooms and assumes they are device idx'es. I have scene in rooms as the DTGMENU setup is using the same approach as your web front-end and using the room definitions for the telegram inline menu structure. So I have quite some SCENEs/GROUPs defined in them which are showing now obviously strange information.
How do you feel about this? Should they be filtered out or should there be support for SCENE's/Groups like in the regular frontend?

Jos
A big thanks to jvdz for adding Scenes and Groups!

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:13
by henrivb
Hi, I installed it and it looks really nice. One question: I have created a roomplan called "Inputs" and it contains Input1..Input8. Each time I refresh the framb0ise screen the inputs are displayed in a different order, they jump around. It would be nice if they where always displayed in a same and sorted order. Another plan called "Relays" containing 8 relays has the same behavior.

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:23
by safi78
henrivb wrote:Hi, I installed it and it looks really nice. One question: I have created a roomplan called "Inputs" and it contains Input1..Input8. Each time I refresh the framb0ise screen the inputs are displayed in a different order, they jump around. It would be nice if they where always displayed in a same and sorted order. Another plan called "Relays" containing 8 relays has the same behavior.
Hi Henry,

I know, I use the same sorting stuff domoticz does, but it doesn't work for me. I have to look into this.

Can file a bug as a reminder?

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:23
by safi78
safi78 wrote:
henrivb wrote:Hi, I installed it and it looks really nice. One question: I have created a roomplan called "Inputs" and it contains Input1..Input8. Each time I refresh the framb0ise screen the inputs are displayed in a different order, they jump around. It would be nice if they where always displayed in a same and sorted order. Another plan called "Relays" containing 8 relays has the same behavior.
Hi Henry,

I know, I use the same sorting stuff domoticz does, but it doesn't work for me. I have to look into this.

Can you report a bug as a reminder?

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:30
by henrivb
Done. I created a bug report called: "framb0ise - jumping items", thanks in advance.

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:37
by safi78
henrivb wrote:Done. I created a bug report called: "framb0ise - jumping items", thanks in advance.
No problem, glad you like it.

Re: framb0ise v2 - awesome new dashboard!

Posted: Monday 24 April 2017 22:39
by safi78
henrivb wrote:Done. I created a bug report called: "framb0ise - jumping items", thanks in advance.
Where did you report it? :P

I meant in the repo: https://github.com/safi78/framb0ise/issues

Re: framb0ise v2 - awesome new dashboard!

Posted: Tuesday 25 April 2017 9:15
by henrivb
I put it on the domoticz forum bugs. It's now on safi78/framb0ise. I will close the domoticz one.

Re: framb0ise v2 - awesome new dashboard!

Posted: Tuesday 25 April 2017 9:54
by marcotrumpet
Hi

Just started yesterday with that awesome dashboard. No problem at all, but.. if I connect to http://myddns:port/framb0ise when I'm under wifi it's ok, if I go out I can connect to the page but nothing is listed.. It seems that I don't have any roomplans.. If I connect to domoticz main page with the same ddns everythings works fine.

Re: framb0ise v2 - awesome new dashboard!

Posted: Tuesday 25 April 2017 12:58
by safi78
marcotrumpet wrote:Hi

Just started yesterday with that awesome dashboard. No problem at all, but.. if I connect to http://myddns:port/framb0ise when I'm under wifi it's ok, if I go out I can connect to the page but nothing is listed.. It seems that I don't have any roomplans.. If I connect to domoticz main page with the same ddns everythings works fine.
Maybe take a look at the browser console? Usually found under develepment tools. If there are errors, they'll show up there :)