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

My Home/Device/edit - add deviceType custom function buttons #300

Open
LazzaAU opened this issue Jul 27, 2020 · 4 comments
Open

My Home/Device/edit - add deviceType custom function buttons #300

LazzaAU opened this issue Jul 27, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request GUI
Milestone

Comments

@LazzaAU
Copy link
Contributor

LazzaAU commented Jul 27, 2020

Feature - Be able to configure a pre flashed Tasmota device with Alice compatible backlog commands

I think it would be a nice feature in the "My Home" screen that once you've added a device to a room,.... when you click on the device you get the window that appears that says "search for device"..... i'm thinking perhaps in that screen as well as the "search for device" button you put a " just configure me " button ( or similar name).

The Concept
Currently clicking the "search device" button goes through the entire Tasmota install process including flashing......
by clicking a "just configure me button" that process would NOT do the Tasmota flash but instead

  1. Store the new device UID etc in the database as it does now
    then
  2. Go through a little Q&A senario with Alice to get appropriate backlog details.. GPIO pins etc
    then
  3. Use that UID and name from step 1 and the details from step 2, to create a backlog.txt file which stores all the required backlog commands that a user can then copy and paste into existing Tasmota devices so that they are then Alice compatible.

This would also be helpful for those devices that can only be flashed initially with a FTDI adapter (not USB like alice requires) like my sonoff 4 channel switches :)

👍

@philipp2310
Copy link
Member

the sidebar is fully dynamically created for all possible device types depending on their config.
Will need to extend it with dynamic function calls defined in the DeviceType classes - but sounds like a really good idea!
👍

@philipp2310 philipp2310 self-assigned this Jul 27, 2020
@philipp2310 philipp2310 transferred this issue from project-alice-assistant/ProjectAliceSkills Sep 4, 2020
@philipp2310 philipp2310 added enhancement New feature or request GUI labels Sep 5, 2020
@philipp2310 philipp2310 added this to the 1.0.0-rc1 milestone Sep 5, 2020
@philipp2310
Copy link
Member

philipp2310 commented Sep 5, 2020

  • Allow deviceType functions in configure screen
    Skills:
  • Tasmota: upload/download config etc.
  • Roborock: Test vacuum room id
  • Roborock: Stop vacuum (for quick testing of room ids)

@philipp2310 philipp2310 changed the title [IDEA] - My Home - add a configure me button My Home/Device/edit - add deviceType custom function buttons Sep 15, 2020
@philipp2310
Copy link
Member

Quick concept I'm currently working on:
A skill will have to provide:

  • Button name
  • intent to call on click

Further it will have the option to specify if a "dialog view" overly should be opened - basically a chatbot-like view, that has the normal dialogflow. It has a text input and output - this allows you to copy api-keys/tokens/secrets when alice requests them or offers them to you as an output.

@philipp2310
Copy link
Member

can be integrated into config.vue and the custom action buttons

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

No branches or pull requests

2 participants