Skip to content

Conversation

@dham1012
Copy link

Stored codes can be sent by simplified json command (no need to copy the code or raw data to sending services (IFTTT etc). e.g. http://xxx.xxx.xxx.xxx:80/json?btn[1]. Where 1 is the stored button name.

The same command URL (bar IR controller IP) can be used across multiple IR Controllers (assuming the same stored IR command name is used)

dham1012 added 7 commits June 17, 2018 19:14
Updated to including some detail on storing and sending remote control commands
Store received codes from home page as local JSON files on the SPIFFs file system. Stored codes can be sent using /json?btn['btn nane','btn name2'...]
Test received codes directly from home page
Upload back to esp previously downloaded and/or updated json files.
Backup stored json files

I have added in bootstrap required libraries to make some of the interface changes work, if there is a more efficient way to deliver this work please update!
I have tested adding many stored codes, and tried to keep the code as efficient as possible, though i only have basic programming abilities. I haven't tested these changes with the alexa integration as I don't currently use.
I have moved some of the original code about, just to make it easier for me to update bits. 
I have commented some sections out that only print to serial to save space
Updated to handle state for stored commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant