Search found 73 matches

by rbisschops
Thursday 23 August 2018 17:07
Forum: Other questions and discussions
Topic: Best practices for Domoticz logfile?
Replies: 28
Views: 10752

Re: Best practices for Domoticz logfile?

Just sharing my working logrotate conf for domoticz (the key settings here being su and copytruncate ): /your_path/to/domoticz.log { #replace the above path with the path to your domoticz logfile su (your_domoticz_logfile_user) (your_domoticz_logfile_group) #replace the above user and group with th...
by rbisschops
Friday 10 August 2018 8:35
Forum: dzVents
Topic: dzVents - Possible to use a variable for a timed event
Replies: 21
Views: 1234

Re: dzVents - Possible to use a variable for a timed event

@waaren: Thx for setting this up. Highly appreciated! Is it possible to do this: dz.variables(timeVar).time.hour, dz.variables(timeVar).time.minutes As far as I understand from the documentation, its a string (even though its a date var) yes this works. I tested this with uservars type time Which v...
by rbisschops
Thursday 09 August 2018 17:01
Forum: dzVents
Topic: dzVents - Possible to use a variable for a timed event
Replies: 21
Views: 1234

Re: dzVents - Possible to use a variable for a timed event

@waaren: Thx for setting this up. Highly appreciated! Is it possible to do this: dz.variables(timeVar).time.hour, dz.variables(timeVar).time.minutes As far as I understand from the documentation, its a string (even though its a date var) What I can't figure out is why you use: on = { variables = {"t...
by rbisschops
Monday 06 August 2018 16:34
Forum: dzVents
Topic: Rain prediction - weather underground
Replies: 34
Views: 5428

Re: Rain prediction - weather underground

@elmortero: thanks, that helps. Script is working like a charm, it can use minor updates for version 2.4.X of dzVents :-). Will test and submit my latest version here as well.
by rbisschops
Monday 06 August 2018 16:26
Forum: dzVents
Topic: dzVents - Possible to use a variable for a timed event
Replies: 21
Views: 1234

Re: dzVents - Possible to use a variable for a timed event

@waaren: but unfortunately the var does not change that often (its more a setting)
by rbisschops
Sunday 05 August 2018 9:09
Forum: dzVents
Topic: Rain prediction - weather underground
Replies: 34
Views: 5428

Re: Rain prediction - weather underground

Hi all, you can not get a new api key anymore for WU. Also the API description seems not visible anymore.Anyone has a link to the API description that works? Or maybee an ofline copy?
by rbisschops
Sunday 05 August 2018 9:00
Forum: dzVents
Topic: dzVents - Possible to use a variable for a timed event
Replies: 21
Views: 1234

Re: dzVents - Possible to use a variable for a timed event

Hi, That is not exactly what i was lookling for. I want the time set in the domoticz variable to be the trigger. So 7:30 in the variable should be the trigger to kick off the script. For now I have a 15 minute time trigger and check in the script if the domo variable time is the same as the system t...
by rbisschops
Tuesday 31 July 2018 13:06
Forum: dzVents
Topic: dzVents - Possible to use a variable for a timed event
Replies: 21
Views: 1234

dzVents - Possible to use a variable for a timed event

Hi All, As I'm using dzVents for all my Lua scripts now, i stumbled into a thought, but not sure how to do this or even if it is possible. I created a script controling my blinds. It lowers the blinds at a fixed time in the morning and raises them in the evening. Both at a fixed time coded in the sc...
by rbisschops
Friday 20 July 2018 15:55
Forum: dzVents
Topic: can I do forEach on a table in global_data? [closed]
Replies: 2
Views: 453

Re: can I do forEach on a table in global_data? [closed]

Thx @dannybloe, was expecting that.
by rbisschops
Monday 25 June 2018 16:11
Forum: dzVents
Topic: can I do forEach on a table in global_data? [closed]
Replies: 2
Views: 453

can I do forEach on a table in global_data? [closed]

Hi all, I have a table in global_data that looks like this: harmony = { poweroff = { ['name']='PowerOff', ['índex']=10, ['lightscene']='video' }, television = { ['name']='Televisie', ['índex']=20, ['lightscene']='video' } } it is part of the helpers I can call it with: domoticz.log (domoticz.helpers...
by rbisschops
Wednesday 20 June 2018 22:31
Forum: Suggestions
Topic: Request for the use of friendly names in addition to device names
Replies: 5
Views: 654

Re: Request for the use of friendly names in addition to device names

in dzvents you can do this by defining this at the top of the execute section: local scriptname = domoticz.devices("dashboardname") Was overthinking this again. Using local vars is not very helpfull. If you have coded device names like PirLivingroom and PirHalway, you want to use filters or wildcar...
by rbisschops
Monday 18 June 2018 14:17
Forum: Suggestions
Topic: Request for the use of friendly names in addition to device names
Replies: 5
Views: 654

Re: Request for the use of friendly names in addition to device names

in dzvents you can do this by defining this at the top of the execute section: local scriptname = domoticz.devices("dashboardname") Good suggestion, thinking out loud this might me something to define as global variables is dzVents for the time beeing, however there is more than dzVents when it com...
by rbisschops
Monday 18 June 2018 12:36
Forum: Suggestions
Topic: Request for the use of friendly names in addition to device names
Replies: 5
Views: 654

Request for the use of friendly names in addition to device names

Hi All, In other platforms I see the use of a "device name" and a "friendly name". The device name can be something like: "VirtualSwitchFoo", where the friendly name can be "Foo switch". This would help using more complex names as the device name for use in scripts, while the dashboard stays readabl...
by rbisschops
Thursday 14 June 2018 12:45
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 1031

Re: Updating text through MQTT [solved]

@D'rMorris sometimes life is simple and an error easily overlooked. domoticz/in instead of Domoticz/in was thé golden tip! Thx!! Ralph Very welcome, glad you got it sorted out! Since the other flow was working, do you have multiple MQTT configutations defined? I have only 1 domoticz/in configuratio...
by rbisschops
Wednesday 13 June 2018 22:27
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 1031

Re: Updating text through MQTT

@D'rMorris sometimes life is simple and an error easily overlooked. domoticz/in instead of Domoticz/in was thé golden tip!
Thx!!

Ralph
by rbisschops
Wednesday 13 June 2018 20:52
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 1031

Re: Updating text through MQTT

Thx @waaren and @D'rMorris for the anwers, however it does not seem to work. I'm also using NodeRed. It creates: {"command":"udevice","idx":229,"svalue":"unknown"} However when pushed to Domoticz/in, nothing happens. I dubble checked the idx twice. For reference, this: {"command":"switchlight","idx"...
by rbisschops
Wednesday 13 June 2018 8:49
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 1031

Re: Updating text through MQTT

... What is the json string I need to create and push through MQTT to update a text dummy text sensor with a new text? from this wiki page http://domoticzIP:domoticzPORT//json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=TEXT IDX = id of your device (This number can be found in the device...
by rbisschops
Tuesday 12 June 2018 22:46
Forum: Switches and Scenes
Topic: Updating text through MQTT [solved]
Replies: 9
Views: 1031

Updating text through MQTT [solved]

Hi all,

Probably a simple question, but i’m strugling with it.
What is the json string I need to create and push through MQTT to update a text dummy text sensor with a new text?

Thx

Ralph
by rbisschops
Saturday 09 June 2018 17:17
Forum: News & Updates
Topic: Domoticz version 3.8153 released (Stable)
Replies: 201
Views: 173483

Re: Domoticz version 3.8153 released (Stable)

+1 for a new stable version. Current one is getting pretty old now. I also agree with the folks requesting a more structured approach towards releases. No doubt developers and contributers are working hard to bring new features and fixes! Highly respected! But I also think that it should not be forg...
by rbisschops
Friday 08 June 2018 23:00
Forum: Bugs and Problems
Topic: dzVents 'There is no device with that name or id ...'
Replies: 6
Views: 1053

Re: dzVents 'There is no device with that name or id ...'

Hi All, Is this already resolved? And is there a workaround for those running the latest stable (V3.8153) with dzVents 2.2.0. Need to run a script an get this blocking error. Then upgrade to Beta or wait until the next stable release. I dislike beta for the production environment controlling my hou...