search option for scripts

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

search option for scripts

Post by poudenes »

Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: search option for scripts

Post by waaren »

poudenes wrote: Sunday 12 May 2019 13:38 Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.
something like ?
grep -irn <IDX> <domoticz dir>/scripts/
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: search option for scripts

Post by poudenes »

waaren wrote: Sunday 12 May 2019 13:45
poudenes wrote: Sunday 12 May 2019 13:38 Hi ,

Maybe a nice option to have a search option for all scripts where created inside domoticz with the editor.
When you change a IDX or replace it you can search for the IDX or value name so you cant forget any scripts that use this IDX inside the code.
something like ?
grep -irn <IDX> <domoticz dir>/scripts/
Damn you're good !!
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest