Search found 126 matches
- Tuesday 31 March 2020 15:54
- Forum: dzVents
- Topic: how to differentiate a manual action from the dashboard and an action controlled by a script? [Solved]
- Replies: 2
- Views: 772
Re: how to differentiate a manual action from the dashboard and an action controlled by a script? [Solved]
thanks waaren, i trie with persitent data
- Tuesday 31 March 2020 13:43
- Forum: dzVents
- Topic: how to differentiate a manual action from the dashboard and an action controlled by a script? [Solved]
- Replies: 2
- Views: 772
how to differentiate a manual action from the dashboard and an action controlled by a script? [Solved]
hello is there a command to differentiate a manual action from the dashboard and an action commanded by a script? I want to update the state of a shutter which can be ordered by dz via the dashboard and another independent system. the action via dz acts on the third-party system and reverses the dz ...
- Monday 30 March 2020 23:45
- Forum: dzVents
- Topic: lodash escape / unescape function [Solved]
- Replies: 6
- Views: 1033
- Monday 30 March 2020 22:23
- Forum: dzVents
- Topic: lodash escape / unescape function [Solved]
- Replies: 6
- Views: 1033
Re: lodash escape / unescape function [Solved]
thanks waaren all the html caracters and the replacement ['	'] = ' ', ['
'] = ' ', ['!'] = '!', ['"'] = '"', ['"'] = '"', ['"'] = '"', ['"'] = '"', ['#'] = '#', ['$'] = '$', ['%'] = '%%', ['''] = "'", ['('] = '(', ['&rpar ...
- Monday 30 March 2020 18:08
- Forum: dzVents
- Topic: lodash escape / unescape function [Solved]
- Replies: 6
- Views: 1033
Re: lodash escape / unescape function [Solved]
D'un qu'on D'un côté, avec Mars vous voulez effectuer une opération un peu risquée depuis chez vous, mais on vous dit que vous prenez un risque inutile et on vous met des bâtons dans les roues. Ne vous butez pas, écoutez ce qu'on vous dit et laisser votre intuition vous guider. q ...
- Monday 30 March 2020 17:00
- Forum: dzVents
- Topic: lodash escape / unescape function [Solved]
- Replies: 6
- Views: 1033
lodash escape / unescape function [Solved]
hello i have escape / unescape fonctions very very very long and i want to simplify it the lodhash librairy have this https://lodash.com/docs/4.17.11#unescape but it not implemented in dz https://htmlpreview.github.io/?https://github.com/rwaaren/lodash.lua/blob/master/doc/index.html is there a way ...
- Monday 30 March 2020 16:38
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
Re: HTTPResponses array? [Solved]
thanks boum and waaren my finished script --[[ name : script_time_horoscope.lua auteur : papoo Mise à jour : 30/03/2020 Création : 26/06/2016 =>V1.x https://github.com/papo-o/domoticz_scripts/blob/master/Lua/script_time_horoscope.lua https://pon.fr/dzvents-horoscope-v2 https://easydomoticz.com/forum/ ...
- Monday 30 March 2020 15:50
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
Re: HTTPResponses array? [Solved]
mea culpa, to test I had reduced httpresponses to a single item and forgot to put it back to normal
- Monday 30 March 2020 15:27
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
Re: HTTPResponses array? [Solved]
with witch code? with mine there is only one httpresponse the 2 responses is same 2020-03-30 15:22:01.446 Status: dzVents: Info: Horoscope v2.0: ------ Start external script: horoscope.lua: HTTPResponse: "cancer" 2020-03-30 15:22:01.446 Status: dzVents: Debug: Horoscope v2.0: --- --- --- traitement ...
- Monday 30 March 2020 15:02
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
Re: HTTPResponses array? [Solved]
no only the first two openurl but only one httpresponse processed 2020-03-30 14:58:00.467 Status: dzVents: Info: Horoscope v2.0: ------ Start external script: horoscope.lua:, trigger: "every 2 minutes" 2020-03-30 14:58:00.468 Status: dzVents: Debug: Horoscope v2.0: --- --- --- traitement Horoscope 1 ...
- Monday 30 March 2020 14:52
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
Re: HTTPResponses array? [Solved]
there is only one httpresponse, the first
how can i test each item.trigger in the if (item.isHTTPResponse) with a for boucle ?
do I have to create each test independently?
how can i test each item.trigger in the if (item.isHTTPResponse) with a for boucle ?
do I have to create each test independently?
- Monday 30 March 2020 13:48
- Forum: dzVents
- Topic: HTTPResponses array? [Solved]
- Replies: 11
- Views: 1611
HTTPResponses array? [Solved]
I wish query a website several times by changing a parameter for each request in the same script with the domoticz.openURL command httpTesponses can be an array? how to recover the name of multiple httpresponses? the beginning of my script local les_horoscopes = {} les_horoscopes[#les_horoscopes+1 ...
- Saturday 28 December 2019 10:32
- Forum: dzVents
- Topic: how to use seticon function? [Solved]
- Replies: 8
- Views: 1588
- Friday 27 December 2019 22:00
- Forum: dzVents
- Topic: how to use seticon function? [Solved]
- Replies: 8
- Views: 1588
Re: how to use seticon function? [Solved]
I tested my script again to collect the info to answer you, and it works now.
Unfortunately,
I don't know what was wrong.
sorry for inconvenience, thanks.
please, can you tell me if there is a possibility to display the name of Custom icons and their number with dzvents or json?
Unfortunately,
I don't know what was wrong.
sorry for inconvenience, thanks.
please, can you tell me if there is a possibility to display the name of Custom icons and their number with dzvents or json?
- Thursday 26 December 2019 23:17
- Forum: dzVents
- Topic: how to use seticon function? [Solved]
- Replies: 8
- Views: 1588
Re: how to use seticon function? [Solved]
i use custom icons. the first is 101, etc like this 2019-12-15 20_32_57-Window.png it work fine with this json request dz.settings['Domoticz url'] .. '/json.htm?type=setused&used=true&name=' .. dz.utils.urlEncode(device.name) .. '&description=' .. dz.utils.urlEncode(device.description ...
- Thursday 26 December 2019 21:52
- Forum: dzVents
- Topic: how to use seticon function? [Solved]
- Replies: 8
- Views: 1588
Re: how to use seticon function? [Solved]
i try it also
attempt to call a nil value (field 'setIcon')
I don't write the function correctly surely
attempt to call a nil value (field 'setIcon')
I don't write the function correctly surely
- Thursday 26 December 2019 21:48
- Forum: dzVents
- Topic: how to use seticon function? [Solved]
- Replies: 8
- Views: 1588
how to use seticon function? [Solved]
hello i try to use this function in a script : setIcon(iconNumber): Function. 2.4.17 method to update the icon for devices. Supports command options. like this device.switchOn().seticon(105) but i have this error : attempt to call a nil value (field 'seticon') i know how i can replace with a json ...
- Wednesday 30 October 2019 22:01
- Forum: dzVents
- Topic: script to supress notifications for period of time
- Replies: 2
- Views: 441
Re: script to supress notifications for period of time
a 100% functional waaren script for this
https://www.domoticz.com/forum/viewtopi ... 42#p204958
https://www.domoticz.com/forum/viewtopi ... 42#p204958
- Thursday 04 July 2019 23:03
- Forum: dzVents
- Topic: is it possible to use an array to declare persistent data? [Solved]
- Replies: 5
- Views: 2720
Re: is it possible to use an array to declare persistent data? [Solved]
thanks
work fine
work fine
- Thursday 04 July 2019 21:58
- Forum: dzVents
- Topic: is it possible to use an array to declare persistent data? [Solved]
- Replies: 5
- Views: 2720
Re: is it possible to use an array to declare persistent data? [Solved]
Unfortunately no