homedash / kankun-json

A CGI script that provides a simple web interface and RESTful JSON API for the Kankun Small K wifi switch.
http://homedash.org
MIT License
34 stars 25 forks source link

Changing the structure of actions, will be incompatible with older versions of the html #7

Open mattjoyce opened 8 years ago

mattjoyce commented 8 years ago

I wanted to change actions from the current

to

this will allow us to add meta data about the actions, such as the type of parameter. (int / datetime) I'd like to be able to popup a date picker for schedules, or a slider for countdowns.

This would also allow us to move the 'canceljob' setter to an action, which is better I think.

thoughts?

Japh commented 8 years ago

Definitely something to consider. I'm planning to spend some decent time over the next week developing a more sane replacement for the web interface. Something that would also be compatible with adding in unrelated devices at some point even (such as smart light bulbs, etc.).

This is something for #10 too.