Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface to edit automations #10

Open
depuits opened this issue Dec 7, 2020 · 3 comments
Open

Interface to edit automations #10

depuits opened this issue Dec 7, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@depuits
Copy link
Contributor

depuits commented Dec 7, 2020

Currently the only way to edit the automations is through the sql database. It would probably be nice if we could edit those using the ui.

@akmolina28
Copy link
Owner

Agreed. Edit/delete for automations is on my to-do list.

@akmolina28 akmolina28 added enhancement New feature or request good first issue Good for newcomers labels Dec 7, 2020
@jaycrossler
Copy link

Just notes for anyone coming to this and wanting to edit automations, open the Docker container, click the 'CLI' icon on "lw_mysql".

At the command line, login to SQL with:
mysql homestead --user=homestead --password=secret

Then edit automations using raw sql (here's the one I have to trigger a BlueIris camera to record in HD):

show tables;
select * from web_request_configs;
update web_request_configs set url='http://192.168.x.x:81/admin?trigger&camera=driveway_1&user=aiuser&pw=aipassword' where id=4;

@akmolina28
Copy link
Owner

You can also connect using any mysql client if you prefer a GUI experience. I'm using TablePlus.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants