Search found 130 matches

by Ewaldharmsen
Wednesday 14 February 2024 9:28
Forum: dzVents
Topic: conditional .switchOff().afterMin(15)
Replies: 1
Views: 219

conditional .switchOff().afterMin(15)

I want my light to switch off automatically after 15 minutes after I turned it on. I know I can do that with .switchOff().afterMin(15).
But I don't want to switch off if some condition is true at th emoment of switching off.

How can I do that?
by Ewaldharmsen
Thursday 14 May 2020 8:38
Forum: Other questions and discussions
Topic: Feature request: json error message
Replies: 3
Views: 323

Feature request: json error message

it is currently possible to send a message to domoticz with

Code: Select all

command&param=addlogmessage&message=
. This is always a status message. Would be nice if could specify which type of message it is like:

Code: Select all

command&param=addlogmessage&message=test&level=4
by Ewaldharmsen
Monday 27 April 2020 12:01
Forum: Dashticz
Topic: Setting the default graph for one graph
Replies: 1
Views: 230

Setting the default graph for one graph

Hi All,

I have setup dashticz to show the day graph by default with this:

Code: Select all

config['standard_graph'] = 'day';
But how can change this for one particular graph?

Code: Select all

standard_graph: 'month'
does not work
by Ewaldharmsen
Sunday 26 April 2020 18:01
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - Features, Fixes & Updates


You are missing the "popup" parameter in your block, which tells the block which popup config to use.
blocks[347] = {
title: 'Consumption',
flash: 500,
width: 4,
popup: 'popup_consumption'
}

blocks['popup_consumption'] = {
title: 'Energy Consumption Popup',
devices: [347],
datasetColors ...
by Ewaldharmsen
Sunday 26 April 2020 11:46
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - Features, Fixes & Updates

I am trying to modyfy a popup graph like this:


blocks[34] = {
width: 6
}

blocks['graph_34'] = {
devices: [34],
datasetColors: ['yellow']
}

The device shows up just fine in my dashboard, but the popup graph is not changed at all. The color is still red. What am I doing wrong?
If I add graph ...
by Ewaldharmsen
Friday 24 April 2020 21:40
Forum: How-tos
Topic: Use of variables
Replies: 0
Views: 3553

Use of variables

Maybe I missed it, but what I find quite usefull is the use of variables in my config:


//IDX List
Weerstation = 5;
Screen = 8;
Slaapkamer = 32;
Rain = 34;

//Definition of blocks
blocks = {}
blocks[Weerstation] = {
width: 6
}

blocks['temperature'] = {
title: 'Temperature',
devices ...
by Ewaldharmsen
Wednesday 04 March 2020 14:58
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates



But the gap is there still, I highligted it in red:

spanGaps will span any gaps (breaks) in a line. You do not have any gaps. The graph is accurately displaying the data provided from Domoticz. Understandably, If you want the graph to accurately report on the sensor for those 6 hours, the ...
by Ewaldharmsen
Wednesday 04 March 2020 9:49
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates

thank you very much!

I could not find config['standard_graph'] = 'day'; in the manual.

That one works now.
But the gap is there still, I highligted it in red:
gap.JPG

My current code is:

blocks['temperature'] = {
devices: [Temp_Studeerkamer,Weerstation],
graphTypes : ['te', 'hu'],
spanGaps ...
by Ewaldharmsen
Tuesday 03 March 2020 9:24
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates

Thanks!

This works now, but spanGaps: doesnt do anything, I stil have a gap in my graph, even if I make it true:

blocks['graph_5'] = {
devices: [Temp_Studeerkamer,Weerstation],
graphTypes : ['te', 'hu'],
spanGaps: false,
legend: {
'te_5': 'Outside',
'te_11': 'Inside',
'hu_5': 'Humidity ...
by Ewaldharmsen
Monday 02 March 2020 20:10
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates

I now have this:

blocks['graph_5'] = {
devices: [5,11],
graphTypes : ['te', 'hu'],
interval: 5,
sortDevices: true,
custom : {
"Vandaag": {
range: 'day',
filter: '24 hours',
data: {
Outside: 'd.te_5',
Inside: 'd.te_11',
Humidity: 'd.hu_5'
}
},
},
height : '300px'
}

Some other ...
by Ewaldharmsen
Monday 02 March 2020 19:45
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates

thanks! I was looking at the maste documentation
by Ewaldharmsen
Monday 02 March 2020 13:05
Forum: Dashticz
Topic: Dashticz Graphs - Features, Fixes & Updates
Replies: 188
Views: 22374

Re: Dashticz Graphs - New Features, Fixes & Updates

I have a problem with graphs as defined in the manual:
This works:

Code: Select all

columns[3]['blocks'] = [
    'graph_6'
]

But adding this has no effect:

Code: Select all


blocks['graph_6'] = {
    graphTypes : ['te', 'hu'],
    legend: true
}

Any clue why?
by Ewaldharmsen
Saturday 29 February 2020 15:45
Forum: Temperature and Weather
Topic: Include graph in custom dahsboard
Replies: 1
Views: 384

Include graph in custom dahsboard

I want to include the daily graph on a custom dashboard.

How can I do that?

I can of course do something like <iframe id="widget-frame" src="http://192.168.0.200/#/Devices/5/Log" width="256" height="256" frameborder="0" scrolling="no" style="border: none;" allowtransparency="true"></iframe>
But I ...
by Ewaldharmsen
Wednesday 12 June 2019 17:09
Forum: Python
Topic: Python Plugin: Chromecast
Replies: 206
Views: 53089

Re: Python Plugin: Chromecast

guess that's not possible, you have to wait till the first is finished.
Will change that in the plugin
by Ewaldharmsen
Saturday 01 June 2019 20:42
Forum: Python
Topic: Python Plugin: Chromecast
Replies: 206
Views: 53089

Re: Python Plugin: Chromecast


Hi,

I'm getting this error:
Error: (Chromecast) pychromecast is not up to date, it is currently version 3.2.2 it should be at least version 3.2.1. Please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade' and restart this plugin.

Updating as suggested doesn't solve it ...
by Ewaldharmsen
Friday 03 May 2019 19:50
Forum: Python
Topic: Buienradar Weather Lookup Plugin
Replies: 381
Views: 95352

Re: Buienradar Weather Lookup Plugin


I recently installed the rain radar plugin and so I don't know if it would have worked therefore.

I also get the following:

2019-04-25 07:52:11.288 Error: (Buienradar) failed to load 'plugin.py', Python Path used was 'C:\Program Files (x86)\Domoticz\plugins\buienradar\;C:\Program Files (x86 ...
by Ewaldharmsen
Friday 03 May 2019 19:49
Forum: Python
Topic: Python Plugin: Chromecast
Replies: 206
Views: 53089

Re: Python Plugin: Chromecast


hi i am getting this error((chromecast) pychromecast is not up to date, please upgrade by using this command: 'sudo pip3 install pychromecast --upgrade) and pychromecast is up to date.
what can i do?

thanx


can you update the plugin to version 4.4.0? That should solve the issue, or should show ...
by Ewaldharmsen
Tuesday 09 April 2019 14:58
Forum: Python
Topic: Buienradar Weather Lookup Plugin
Replies: 381
Views: 95352

Re: Buienradar Weather Lookup Plugin

Good to hear
by Ewaldharmsen
Saturday 06 April 2019 19:27
Forum: Python
Topic: Buienradar Weather Lookup Plugin
Replies: 381
Views: 95352

Re: Buienradar Weather Lookup Plugin

gerbenvanasselt wrote: Saturday 06 April 2019 15:10 Same for me, the last update gives no error in the domo-log but system (pi) is not accessible any more after a while and need a hard reboot.

Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
What versions are you on?
I am on Domoticz 4.10548 and python 3.5.3 and here everything works perfectly