Dashticz - Feature Requests

Moderators: leecollings, htilburgs, robgeerts

Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Lokonli »

stlaha2007 wrote: Monday 08 April 2019 13:02 Hi devs...

Recently replaced my bmp280 with an bmp180. Unfortunately discovered the new device wasn't diplaying correctly (Turned Up as a Switch :lol: ).
However looked into the code of the master and beta branch and dicovered only devices are displayed correctly when they are temp / hum / baro(pressure) or temp + hum or temp + hum + baro.
So the device temp + baro is missing.

I updated my running Beta-branch here
In js/main.js:
Just below function getAutoAppendSelector(device) {
around line 1314:

Code: Select all

         case 'Temp + Baro':
And below switch (device['Type']) {
around line 1407:

Code: Select all

        case 'Temp + Baro': 
I updated my running master-branch here
In js/main.js:
Just below function getAutoAppendSelector(device) {
around line 1248:

Code: Select all

         case 'Temp + Baro':
And below switch (device['Type']) {
around line 1340:

Code: Select all

        case 'Temp + Baro': 
And now working as expected for me...

Can this be integrated in the near future ??
Thanks for the proposed changes. They will be merged in the next beta.
bhennink
Posts: 6
Joined: Monday 10 June 2019 13:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Nederland
Contact:

Re: Dashticz - Feature Requests

Post by bhennink »

I am using at this moment 10 timers which sometime both triggen devicen in different groups and I find I lose overview clicking each time on by one
I would like a timer screen where you can have all active timers listed row by row (or column)
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Lokonli »

bhennink wrote: Wednesday 12 June 2019 20:19 I am using at this moment 10 timers which sometime both triggen devicen in different groups and I find I lose overview clicking each time on by one
I would like a timer screen where you can have all active timers listed row by row (or column)
I don't think I understand your question.
You can create a second Dashticz screen, and add all your timers to that screen. Is that what you're looking for?
bhennink
Posts: 6
Joined: Monday 10 June 2019 13:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Nederland
Contact:

Re: Dashticz - Feature Requests

Post by bhennink »

Yes something like that. I like the concept for a better WAF,:)
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Lokonli »

bhennink wrote: Thursday 13 June 2019 13:26 Yes something like that. I like the concept for a better WAF,:)
You can create several screens in CONFIG.js, like:

Code: Select all


//Definition of columns
columns = {}

columns[1] = { 
  blocks: [
    calendars.test,
    'garbage',
    'streamplayer',
    buttons.nunl,
    buttons.nos,
     120, 121, buttons.slide2, buttons.floorplan
     ],
  width: 4
}

columns[2] = {
  blocks : [buttons.moon,buttons.test, 120, 121, publictransport.ovinfo],
  width: 8
}

columns[3] = {
  blocks: ['sunrise','clock','traffic', 'train'],
  width: 2
}

columns[4] = {
  blocks: [
    'currentweather_big_owm', 'weather_owm'
  ],
  width: 10  
}

blocks['news_sport'] = {
    feed: 'http://www.nu.nl/rss/sport'
}

columns[5] = {
  blocks: [
    690,
    56,
    545,
    'news_sport'],
  width: 4     
}


//Definition of screens
screens = {}
screens[1] = {
  columns: [1, 2]
}
screens[2] = {
  columns: [3,4]
}

screens[3] = {
  columns: [5]
}

Of course you have to add the right devices to the columns you want to.
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by HansieNL »

Is it possible to have an icon/image in front of the Streamplayer. I would love to have it a look like this... Maybe is possible to make it optional.
Image
Blah blah blah
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by marmachine »

Is it possible to use icons

Code: Select all

icon: 'fas fa-calendar'
in blocks, type: blocktitle?

The following does not show:

Code: Select all

blocks['block_calendar'] = {
  type: 'blocktitle',
  icon: 'fas fa-calendar',
  title: 'calendar'
}
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Lokonli »

marmachine wrote: Wednesday 07 August 2019 10:21 Is it possible to use icons

Code: Select all

icon: 'fas fa-calendar'
in blocks, type: blocktitle?

The following does not show:

Code: Select all

blocks['block_calendar'] = {
  type: 'blocktitle',
  icon: 'fas fa-calendar',
  title: 'calendar'
}
Currently it's not supported.

I'll add it to the feature enhancement list.
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Dashticz - Feature Requests

Post by marmachine »

In the Garbage block, today (wednesday) is Grey-day.
This means that next week is (GFT) Green-day.
On the second row of the calendar the GFT is mentioned for "wednesday".

I think it would be better to add the date when the date is >= 7 days ahead from today, i think currenty this >7 days ahead from today

However, this is just a minor detail, it's functionality works fine! Thanks!
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by Lokonli »

marmachine wrote: Wednesday 07 August 2019 10:21 Is it possible to use icons

Code: Select all

icon: 'fas fa-calendar'
in blocks, type: blocktitle?

The following does not show:

Code: Select all

blocks['block_calendar'] = {
  type: 'blocktitle',
  icon: 'fas fa-calendar',
  title: 'calendar'
}
Added to latest beta. Can you test?
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Feature Requests

Post by pvklink »

Can you add city_id to OWM

There are 2 Rijswijk in Holland.
The config setting only offers city name.
I think city ID is in my case a better option, because i get the wrong Rijswijk and cant adjust it...
see the city list on the website of own
https://home.openweathermap.org
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

display no on/off but only update_date

Post by pvklink »

Hi,

I have a switch (regen) that turns on blue when it is (going) to rain. I use this switch for my irrigationsystem

The switch displays:
the name: regen
date: last updated
status: On/OFF

Is it possible to show the name, update_date but NOT the ON/OFF --> i can see that by the color blue that appears when it is on.
With the current block properties this combination is not possible...
when i set hide_data to true, the update_date also disappered, this date is important
Naamloos.png
Naamloos.png (4.68 KiB) Viewed 45 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: display no on/off but only update_date

Post by HansieNL »

pvklink wrote: Thursday 22 August 2019 12:09 Hi,

I have a switch (regen) that turns on blue when it is (going) to rain. I use this switch for my irrigationsystem

The switch displays:
the name: regen
date: last updated
status: On/OFF

Is it possible to show the name, update_date but NOT the ON/OFF --> i can see that by the color blue that appears when it is on.
With the current block properties this combination is not possible...
when i set hide_data to true, the update_date also disappered, this date is important
Naamloos.png
Naamloos.png (4.68 KiB) Viewed 45 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Can you try :

Code: Select all

blocks[IDX] = {
    title: 'regen',
	textOff: '',
	textOn: ''
}
Blah blah blah
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: display no on/off but only update_date

Post by Lokonli »

pvklink wrote: Thursday 22 August 2019 12:09 Hi,

I have a switch (regen) that turns on blue when it is (going) to rain. I use this switch for my irrigationsystem

The switch displays:
the name: regen
date: last updated
status: On/OFF

Is it possible to show the name, update_date but NOT the ON/OFF --> i can see that by the color blue that appears when it is on.
With the current block properties this combination is not possible...
when i set hide_data to true, the update_date also disappered, this date is important
Naamloos.png
Naamloos.png (4.68 KiB) Viewed 45 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
I think you can set the textOn and textOff parameters to empty strings:

Code: Select all

blocks[123] = {
   textOn: "",
   textOff: ""
}
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Feature Requests

Post by pvklink »

Naamloos.png
Naamloos.png (57.01 KiB) Viewed 3530 times
tried this in css and that did not work
.blocks_1423 {textOn: "", textOff: ""}

and

blocks[1423] = { textOn: "", textOff: ""}
Last edited by pvklink on Thursday 22 August 2019 12:58, edited 1 time in total.
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by HansieNL »

pvklink wrote: Thursday 22 August 2019 12:54 tried this in css and that did not work
.blocks_1423 {textOn: "", textOff: ""}
You have to use this in CONFIG.js
Blah blah blah
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by HansieNL »

pvklink wrote: Wednesday 21 August 2019 18:56 Can you add city_id to OWM

There are 2 Rijswijk in Holland.
The config setting only offers city name.
I think city ID is in my case a better option, because i get the wrong Rijswijk and cant adjust it...
see the city list on the website of own
https://home.openweathermap.org
Bug reported: https://github.com/Dashticz/dashticz/issues/35
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Feature Requests

Post by pvklink »

ok, when i add that line, dashticz wont start...
Must it be added in a particular place?

blocks[1423] = {}
blocks[1423]['title'] = 'Sensor';
blocks[1423]['icon'] = 'fas fa-cloud-showers-heavy';
blocks[1423]['hide_data'] = false;
blocks[1423]['width'] = 4;
blocks[1423]['speakOn'] = 'Regensensor aan';
blocks[1423]['speakOff'] = 'Regensensor uit';
blocks[1423]['switch'] = false;
blocks[1423]['last_update'] = true;
//blocks[1423]['testOn'] = '';
//blocks[1423]['testOff'] = '';
.blocks_1423 {textOn: "", textOff: ""}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Feature Requests

Post by HansieNL »

pvklink wrote: Thursday 22 August 2019 13:03 ok, when i add that line, dashticz wont start...
Must it be added in a particular place?

blocks[1423] = {}
blocks[1423]['title'] = 'Sensor';
blocks[1423]['icon'] = 'fas fa-cloud-showers-heavy';
blocks[1423]['hide_data'] = false;
blocks[1423]['width'] = 4;
blocks[1423]['speakOn'] = 'Regensensor aan';
blocks[1423]['speakOff'] = 'Regensensor uit';
blocks[1423]['switch'] = false;
blocks[1423]['last_update'] = true;
//blocks[1423]['testOn'] = '';
//blocks[1423]['testOff'] = '';
.blocks_1423 {textOn: "", textOff: ""}
You forget to remove the dot in front of .blocks_1423 {textOn: "", textOff: ""}
Blah blah blah
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Feature Requests

Post by pvklink »

domoticz hangs.. keeps loading

blocks[1423] = {}
blocks[1423]['title'] = 'Sensor';
blocks[1423]['icon'] = 'fas fa-cloud-showers-heavy';
blocks[1423]['hide_data'] = false;
blocks[1423]['width'] = 4;
blocks[1423]['speakOn'] = 'Regensensor aan';
blocks[1423]['speakOff'] = 'Regensensor uit';
blocks[1423]['switch'] = false;
blocks[1423]['last_update'] = true;
//blocks[1423]['testOn'] = '';
//blocks[1423]['testOff'] = '';
blocks_1423 {textOn: "", textOff: ""}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Locked

Who is online

Users browsing this forum: No registered users and 0 guests