Dashticz - Feature Requests

Moderators: leecollings, htilburgs, robgeerts

Locked
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Feature Requests

Post by robgeerts »

Regarding Flipclock, ask your questions with the author of this function:
https://github.com/robgeerts/dashticz_v2/issues/77
(michal-adamek)
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Feature Requests

Post by DewGew »

remb0 wrote: Monday 25 September 2017 19:00 Iframes is indeed a new option. Now I use an iframe for the domoticz security panel but it look awfull :P
Its really ugly :oops:
I use a button to open my security panel and also use the function openpopup instead. When an alarm device is change the security panal i shown. Then you dont need the security panal shown all the time.

Code: Select all

blocks[123]['openpopup'] = {};
blocks[123]['openpopup']['url'] = 'http://127.0.0.1:8080/secpanel/index.html';
blocks[123]['openpopup']['auto_close'] = 45; //seconds
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Onrust
Posts: 37
Joined: Saturday 24 June 2017 10:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Feature Requests

Post by Onrust »

DewGew wrote: Friday 29 September 2017 10:00
remb0 wrote: Monday 25 September 2017 19:00 Iframes is indeed a new option. Now I use an iframe for the domoticz security panel but it look awfull :P
Its really ugly :oops:
I use a button to open my security panel and also use the function openpopup instead. When an alarm device is change the security panal i shown. Then you dont need the security panal shown all the time.

Code: Select all

blocks[123]['openpopup'] = {};
blocks[123]['openpopup']['url'] = 'http://127.0.0.1:8080/secpanel/index.html';
blocks[123]['openpopup']['auto_close'] = 45; //seconds

Didn't know that was possible, thnx for the hint!
koowee
Posts: 62
Joined: Thursday 29 December 2016 18:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Finland
Contact:

Re: Dashticz - Feature Requests

Post by koowee »

Is it possible to add Google Transit to Public Transport module?
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - Feature Requests

Post by woody4165 »

HansieNL wrote: Thursday 28 September 2017 18:49 What are the options for the FlipClock? I mean, can I disable seconds and resize the clock?
@Rob... I hope you enjoyed your holiday.
How do you integrate Flipclock into Dashticz? It's very nice!

Regarding disabling seconds, I downloaded the flipclock zip and found a fila called "twenty-four-hour-clock-without-seconds.html" where seconds are disabled.

I haven't found anything regarding resizing.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by freakshock »

I use custom js/css for adding color to some switches if some condition is met.
This works great for on/off switches and for switches with numerical data, such as wind speed.

Example of working json data:

Code: Select all

"Data" : "On",
Or

Code: Select all

"Speed" : "2",
I do however want to use colors on some devices that do not have numerical only values in the json.
For instance amount of GB free (below a certain value) on my NAS, and power usage:

Code: Select all

"Data" : "60 GB",
And

Code: Select all

"Usage" : "300 Watt",
Is this in any way possible?
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Feature Requests

Post by robgeerts »

Verander 286 hieronder in de IDX van de device en voeg de code toe in custom.js:

Code: Select all

function getStatus_286(idx,value,device){ //regen
	
	if(parseFloat(device['Data'])<60){
		$('div.block_286').addClass('warning');
	}
	else {
		$('div.block_286').removeClass('warning');
	}
}
Voeg in custom.css de volgende code toe:

Code: Select all

.warning {
	background: rgba(132,22,12,0.30) !important;
	background-clip: padding-box;
	border: 7px solid rgba(255,255,255,0);
	-webkit-animation: BLINK-ANIMATION 1s infinite;
	-moz-animation: BLINK-ANIMATION 1s infinite;
	-o-animation: BLINK-ANIMATION 1s infinite;
	animation: BLINK-ANIMATION 1s infinite;
}
johansson
Posts: 75
Joined: Sunday 27 September 2015 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Dashticz - Feature Requests

Post by johansson »

johansson wrote: Monday 25 September 2017 11:29 Been setting up Dashticz to be used in a wall fixed tablet, showing temperatures, most common switches, shared calendars etc. Most of the stuff is beginning to be in place, but to make things perfect there're obviously some development requests:
1) any possibility to add user variable to dashboard? There's a script utilizing a user variable to set car heating schedule; would be great to have it visible on the screen. Even better if the user variable could be set through dashboard, but just showing the value would be a step forward
2) is there a way to embed any website (as a frame or something). The Finnish train schedules are not yet supported, but there are several sites displaying station specific schedules (e.g. https://www.junat.net/fi/oulunkyla), so that would do the trick as well. The optimal solution would having the same kind of public transport module as there's now for NL or Germany, but maybe that's a bit much asked :D
3) how could the security panel of Domoticz be presented in a bit cleaner way, the current panel pops out quite badly (see for example this post)
Points 2 & 3 are more or less under control, but anything on the user variable? The car heating season is starting...

For security panel I'm using a button approach the show the sec panel only when needed: is there a way to adjust size of the the pop up window and maybe even an autoclose function?
User avatar
gijsje
Posts: 132
Joined: Saturday 19 August 2017 14:28
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: Berkel Enschot, NL
Contact:

Include file for blocks info

Post by gijsje »

I have a long list to specify the blocks and i want to make it into a new file named something like blocks-info
Is it possible somehow to do this and keep the config.js cleaner?
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches
Ingmar
Posts: 51
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by Ingmar »

Is it possible to change the background based on the sunrise and sundown times (instead of the hard coded times that are standard)?
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Feature Requests

Post by robgeerts »

@johansson, not not yet..
@Ingmar, will add this to requests on github...
Ingmar
Posts: 51
Joined: Sunday 04 May 2014 1:34
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by Ingmar »

Thnx!
Synology NAS with stable release, AEON Z-wave, RFXCOM, Toon, Echo Dot, HAbridge, HarmonyHUB, Dashticz.
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - Feature Requests

Post by woody4165 »

Hi all

Is it possible to change the thermostat image with a fa icon?
I would like to have the thermostat icon change color based on the fact that boiler is on or off.

Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Feature Requests

Post by DewGew »

It would be nice with a better looking security panel integrated in dashticz.

Its possible to use json call in a js script like:

Code: Select all

settings['domoticz_ip'] + '/json.htm?type=command&param=setsecstatus&secstatus='+ level + '&seccode=' + pin;
and

Code: Select all

settings['domoticz_ip'] + '/json.htm?type=command&param=getsecstatus';
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
MsbS
Posts: 35
Joined: Friday 19 May 2017 14:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by MsbS »

One setting I'd like is to be able to set one of the screens as default when you open Dashticz - right now it is always screens[1]. This would make it possible to have 1 main screen in the middle, 1 on the left and 1 on the right. I know I can set the 'auto swipe back to #2, but on page refreshI'd still get screen 1 initially.

Another neat option would be 'wrap around', so scrolling left from the first screen would take you to the last one, and vice versa.
freakshock
Posts: 64
Joined: Friday 14 April 2017 13:39
Target OS: NAS (Synology & others)
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by freakshock »

I would like to be able to see the status of my Chromecast devices, if the playback on them has been initiated on another device.
For instance: I often start music playback with my Google Home of from my smartphone. This makes Spotify play on my chromecast audio group called 'Entire house'.
I would like to see what song is playing on my Dashticz. Media controls would be a nice addition, if possible.

I know there are plugins for Chromecast and for Spotify, but they both work only when initiating playback from Dashticz itself.

Is this possible?
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by h143 »

Should it be posible to implement graphs from grafana?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Feature Requests

Post by EdwinK »

Om domoticz I've got

Code: Select all

Total Usage: T1: 352.404 kWh, T2: 355.628 kWh, Total: 708.032 kWh
Counter: T1: 1390.844, T2: 1425.269
How can I get those counters and usage in blocks?

The JSON output for electra is. The data block seems to be the most interesting, as it hold the counters for T1 and T2
"Data" : "1391038;1425269;0;0;595;0",
I don't know what the other data is.
{
"ActTime" : 1514320158,
"AstrTwilightEnd" : "18:42",
"AstrTwilightStart" : "06:44",
"CivTwilightEnd" : "17:17",
"CivTwilightStart" : "08:09",
"DayLength" : "07:48",
"NautTwilightEnd" : "18:01",
"NautTwilightStart" : "07:25",
"ServerTime" : "2017-12-26 21:29:18",
"SunAtSouth" : "12:43",
"Sunrise" : "08:49",
"Sunset" : "16:37",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "2816.307",
"CounterDeliv" : "0.000",
"CounterDelivToday" : "0 kWh",
"CounterToday" : "10.557 kWh",
"CustomImage" : 0,
"Data" : "1391038;1425269;0;0;595;0",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 35,
"HardwareName" : "Toon",
"HardwareType" : "Toon Thermostat",
"HardwareTypeVal" : 34,
"HaveTimeout" : false,
"ID" : "1",
"LastUpdate" : "2017-12-26 21:25:00",
"Name" : "Electra",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "595 Watt",
"UsageDeliv" : "0 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "199"
}
],
"status" : "OK",
"title" : "Devices"
}
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Feature Requests

Post by robgeerts »

Could you try this in latest beta:

Code: Select all

columns[1]['blocks'] = ['199_6','199_7','199_8']
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Feature Requests

Post by EdwinK »

Screen Shot 2017-12-28 at 12.10.58.png
Screen Shot 2017-12-28 at 12.10.58.png (227.48 KiB) Viewed 4798 times
Yes. Works.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Locked

Who is online

Users browsing this forum: No registered users and 1 guest