Is it possible to extend a dial so it also displays an extra on/off status?
Something like this:
blocks['myItho'] = {
type: 'dial',
min: 0,
max: 255,
values : [
{
value: '?' (dimmer switch type) Main value to show in Dial and needle can be used to change this value
idx: 422
},
{
value ...
Search found 89 matches
- Tuesday 02 February 2021 11:48
- Forum: Dashticz
- Topic: Dashticz Dial - Features, Fixes & Updates
- Replies: 199
- Views: 36957
- Wednesday 13 January 2021 14:45
- Forum: Dashticz
- Topic: Dashticz Graphs - Features, Fixes & Updates
- Replies: 188
- Views: 23196
Re: Dashticz Graphs - Features, Fixes & Updates
You're the man!
use_favorites was set to 1, I think that must have happened 7 months or so while trying to copy a config from someone else and merged it with mine. (I always set it to 0) Everything is working now! Thank you!
use_favorites was set to 1, I think that must have happened 7 months or so while trying to copy a config from someone else and merged it with mine. (I always set it to 0) Everything is working now! Thank you!
- Wednesday 13 January 2021 9:39
- Forum: Dashticz
- Topic: Dashticz Graphs - Features, Fixes & Updates
- Replies: 188
- Views: 23196
Re: Dashticz Graphs - Features, Fixes & Updates
(Beta 3.7.2) What does it mean when I see no Graphs generated and in console I see the error:
"(js/components/graph.js:26 Error: For graph graph_gas_gebruik device 41 does not exist"
I get the same message on several graphs.
In this case:
Checked: Does the device exist in Domoticz? Device 41 ("Type ...
"(js/components/graph.js:26 Error: For graph graph_gas_gebruik device 41 does not exist"
I get the same message on several graphs.
In this case:
Checked: Does the device exist in Domoticz? Device 41 ("Type ...
- Friday 05 June 2020 12:40
- Forum: Dashticz
- Topic: Dashticz IP Cameras - Features, Fixes & Updates
- Replies: 180
- Views: 35836
Re: Dashticz IP Cameras - Features, Fixes & Updates
What happens when you paste "http://192.168.1.102:9999/?t=1591347373278" into a browser?
I am still baffled as to why the error log references the camera.js, as this is specifically for IP camera blocks, which this isn't.
http://192.168.1.102:9999/?t=1591347373278
Works.
True about the IP ...
- Friday 05 June 2020 11:00
- Forum: Dashticz
- Topic: Dashticz IP Cameras - Features, Fixes & Updates
- Replies: 180
- Views: 35836
Re: Dashticz IP Cameras - Features, Fixes & Updates
GET http://192.168.1.102:9999/?t=1591347373278 net::ERR_CONNECTION_TIMED_OUT :9999/?t=1591347373278:1
Image (async)
attr @ bundle.js?t=2:37
access @ bundle.js?t=2:37
attr @ bundle.js?t=2:37
reloadImage @ js/components/camera.js:72
(anonymous) @ js/components/camera.js:41
It takes about 6 seconds ...
Image (async)
attr @ bundle.js?t=2:37
access @ bundle.js?t=2:37
attr @ bundle.js?t=2:37
reloadImage @ js/components/camera.js:72
(anonymous) @ js/components/camera.js:41
It takes about 6 seconds ...
- Friday 05 June 2020 10:04
- Forum: Dashticz
- Topic: Dashticz IP Cameras - Features, Fixes & Updates
- Replies: 180
- Views: 35836
Re: Dashticz IP Cameras - Features, Fixes & Updates
Sure! Whenever switch 338 changes to "On" (And only to On) a popup will show the videostream of the camera. It's a built-in gem of Dashticz.
Here's the block:
/* Camera popup when roomswitch is triggered */
blocks[338] = {}
blocks[338]['openpopupOn'] = {}
blocks[338]['openpopupOn']['url'] = 'http ...
Here's the block:
/* Camera popup when roomswitch is triggered */
blocks[338] = {}
blocks[338]['openpopupOn'] = {}
blocks[338]['openpopupOn']['url'] = 'http ...
- Monday 01 June 2020 22:59
- Forum: Dashticz
- Topic: Dashticz IP Cameras - Features, Fixes & Updates
- Replies: 180
- Views: 35836
Re: Dashticz IP Cameras - Features, Fixes & Updates
When I use the "onpopup" function my camera does not show anything. It keeps saying "loading" and gives a white screen. I tried Motioneye url (works inside browser) and domoticz url (Also works inside browser) Any ideas?
- Wednesday 27 May 2020 17:44
- Forum: Dashticz
- Topic: Dashticz Dial - Features, Fixes & Updates
- Replies: 199
- Views: 36957
Re: Dashticz Dial
I like the dials! I was thinking of using a dial for selector switches.
Dials would show LevelNames (Highlighting the current LevelName as in your picture e.g. "Auto")
Rotating the dial would change the level(Names)
Would it be hard to insert that into the current code?
Dials would show LevelNames (Highlighting the current LevelName as in your picture e.g. "Auto")
Rotating the dial would change the level(Names)
Would it be hard to insert that into the current code?
- Wednesday 27 May 2020 17:40
- Forum: Dashticz
- Topic: set color based on value
- Replies: 30
- Views: 5175
Re: set color based on value
The custom.css code did the trick! Small minor question: Can it be done for all blocks in custom.css instead of defining it for each individual block?
- Tuesday 26 May 2020 11:47
- Forum: Dashticz
- Topic: set color based on value
- Replies: 30
- Views: 5175
Re: set color based on value
What if I want to change the background of the block based on value?
Do I define those in custom.css and if how?
(On)
(Off)
Do I define those in custom.css and if how?
Code: Select all
div.mh.transbg.block_275.col-xs-4.onCode: Select all
div.mh.transbg.block_275.col-xs-4.off- Thursday 12 March 2020 11:12
- Forum: Speech & Voice Systems
- Topic: Domoticz to Google Assistant integration
- Replies: 285
- Views: 63277
Re: Domoticz to Google Assistant integration
Can we ask Home for the status? Something like: what's the status of Diningroomlight?
- Thursday 20 February 2020 18:29
- Forum: Speech & Voice Systems
- Topic: Domoticz to Google Assistant integration
- Replies: 285
- Views: 63277
Re: Domoticz to Google Assistant integration
Am I correct that everytime I restart dzga (Or actually ngrok) a new ngrok dns is created? So I have to update that in Google console?
- Tuesday 26 November 2019 2:01
- Forum: Dashticz
- Topic: Use value of different IDX in custom.js
- Replies: 5
- Views: 711
Re: Use value of different IDX in custom.js
[Can you spot the logical or grammatical error in this line of codes?
Brackets, if, else without or within brackets is not my strength (Any programing language)
if (levelNamesEncoded === true) names = window.atob(_idxvalues_236['LevelNames']).split('|'); //Show the text level of idx236
else ...
Brackets, if, else without or within brackets is not my strength (Any programing language)
if (levelNamesEncoded === true) names = window.atob(_idxvalues_236['LevelNames']).split('|'); //Show the text level of idx236
else ...
- Tuesday 26 November 2019 0:18
- Forum: Dashticz
- Topic: Use value of different IDX in custom.js
- Replies: 5
- Views: 711
Re: Use value of different IDX in custom.js
Thanx to Lokonli, i changed the code. No more block screw ups.
Example:
var _idxvalues_238;
function getStatus_238(idx,value,device){
$('.block_'+idx);
_idxvalues_238 = Object(device);
console.log("Debug block 238:", _idxvalues_238);
return _idxvalues_238;
}
Now you do can things like ...
Example:
var _idxvalues_238;
function getStatus_238(idx,value,device){
$('.block_'+idx);
_idxvalues_238 = Object(device);
console.log("Debug block 238:", _idxvalues_238);
return _idxvalues_238;
}
Now you do can things like ...
- Friday 22 November 2019 23:21
- Forum: Dashticz
- Topic: Use value of different IDX in custom.js
- Replies: 5
- Views: 711
Use value of different IDX in custom.js
How to get the variables of different idx:
How I now use it is like this but it scews up the probed block:
var deviceState='';
function getBlock_123(device, idx){
$('.block_'+idx);
if (device['Level']= 0) deviceState='Off';
else if (device['Lev[code]el']= 10) deviceState='CV';
else if (device ...
How I now use it is like this but it scews up the probed block:
var deviceState='';
function getBlock_123(device, idx){
$('.block_'+idx);
if (device['Level']= 0) deviceState='Off';
else if (device['Lev[code]el']= 10) deviceState='CV';
else if (device ...
- Sunday 10 November 2019 20:12
- Forum: Dashticz
- Topic: Dashticz v3.2.0 beta
- Replies: 94
- Views: 10475
Re: v3.2.0 beta
Probably an example error or maybe it's a bug, not sure. Tried it with:
"version": "3.2.0",
"branch": "beta",
I use the following code, taken from the example doc.
calendars.f1 = {
maxitems: 6,
url: 'https://www.f1calendar.com/#!/timezone/Europe-Amsterdam',
icalurl: 'http://www.f1calendar ...
"version": "3.2.0",
"branch": "beta",
I use the following code, taken from the example doc.
calendars.f1 = {
maxitems: 6,
url: 'https://www.f1calendar.com/#!/timezone/Europe-Amsterdam',
icalurl: 'http://www.f1calendar ...
- Tuesday 21 August 2018 13:32
- Forum: Dashticz
- Topic: Problem with selector with buttons
- Replies: 16
- Views: 3735
Re: Problem with selector with buttons
I just changed js/version.js
from
var levelNamesEncodeVersion = '3.9476'; /* Domoticz version above this, level names are encoded *
To:
var levelNamesEncodeVersion = '3.7476'; /* Domoticz version above this, level names are encoded *
and it worked. 3.7.476 is arbitrary. It only has to be lower ...
from
var levelNamesEncodeVersion = '3.9476'; /* Domoticz version above this, level names are encoded *
To:
var levelNamesEncodeVersion = '3.7476'; /* Domoticz version above this, level names are encoded *
and it worked. 3.7.476 is arbitrary. It only has to be lower ...
- Tuesday 13 February 2018 10:40
- Forum: ESP8266
- Topic: Esp8266 + Nextion remote for Domoticz
- Replies: 22
- Views: 10347
Re: Esp8266 + Nextion remote for Domoticz
I took your GUI but used another plugin (EspEasy plugin) so I could update the values through lua. Nextion editor doesn't like floats and it's a little more flexible. See here: http://www.letscontrolit.com/forum/view ... 639#p23905
- Tuesday 14 November 2017 17:52
- Forum: Dashticz
- Topic: Dashticz - Show your dashboard and how-to's!
- Replies: 1005
- Views: 346071
Re: Dashticz - Show your dashboard and how-to's!
Anyone tried the menu feature?
I did, and it looks great, just not for me.
Maybe I'll try it again when I'm going to update the system
Can you enlighten me on the relevant pieces in CONFIG.js? (Not main.js, I got that part)
I want to rule out some strange things on my laptop. (No menu ...
- Sunday 12 November 2017 12:33
- Forum: Dashticz
- Topic: Dashticz - Show your dashboard and how-to's!
- Replies: 1005
- Views: 346071
Re: Dashticz - Show your dashboard and how-to's!
Anyone tried the menu feature?