Library to remote control an Alexa (Amazon Echo) device via LAN/WLAN.
Early code version.
see example folder
Partly based on Amazon Alexa Remote Control (PLAIN shell) and alexa-remote-control and OpenHab-Addon Thank you for that work.
- getNotification works, changeNotification not ... maybe change is DELETE +Create :-) (+ source for createNotification: https://github.com/noelportugal/alexa-reminders/blob/master/alexa-reminders.js#L75, and Delete/create: https://github.com/openhab/openhab2-addons/blob/f54c9b85016758ff6d271b62d255bbe41a027928/addons/binding/org.openhab.binding.amazonechocontrol/src/main/java/org/openhab/binding/amazonechocontrol/internal/Connection.java#L829)
- docu docu docu (sorry ... will come)
- (Apollon77) update cookie lib
- (Apollon77) Prevent some errors
- (Apollon77) Prevent some errors, dependency update
- (Apollon77) dependency updates
- (Zefau) add functionality for handling of lists
- nodejs 8.x is minimum now!
- (Apollon77) user different mqtt regex to hopefully support other countries better
- (Apollon77) make sure amazon domains are used as configured instead of "amazon.de" sometimes
- (Apollon77) also allow Reminders in Future >+1 day
- (Apollon77) enhance announce/ssml to allow send to multiple devices using one command
- (Apollon77) Finalize methods and logix to send and read and delete messages and what's needed for this
- (Apollon77) fix (finally) special case on authentication check
- (Apollon77) fix (finally) special case on authentication check
- (Apollon77) fix special case on authentication check
- (Apollon77) fix potential error on PUSH_MEDIA_PROGRESS_CHANGE push infos
- (Apollon77) change authentication check to hopefully better handle DNS or other "Network unavailable" errors
- (Apollon77) fix ssml
- (Apollon77) optimize handling for missing csrf cases
- (Apollon77) use alexa-cookie lib 2.1 with latest adoptions to Amazon changes (Cookie CSRF was missing)
- (Apollon77) fixed default cookie refresh interval
- (Apollon77) When Speak via SSML is done this is not send as card value
- (Apollon77) add PUSH_MEDIA_PROGRESS_CHANGE to known WS-MQTT topics
- (Apollon77) change WS reconnection logic to try once per minute
- (Apollon77) add new sequenceCommands "calendarNext", "calendarToday", "calendarTomorrow"
- (Apollon77) fix wake word handling and history sanitizing
- (Apollon77) add new sequenceCommands "deviceStop", "notification", "announcement" and finally "ssml"
- (Apollon77) upgrade amazon-cookie lib to 2.0
- (Apollon77) upgrade amazon-cookie lib
- (Apollon77) better handle ws errors and upgrade ws version to still support nodejs 6
- (Apollon77) upgrade amazon-cookie lib
- (Apollon77) upgrade amazon-cookie lib
- (Apollon77) small fix for strange history summary content
- (Apollon77) polishing and finalization and make it 1.0.0
- (Apollon77) rework scenes and add option to send Parallel or Sequencial commands
- (Apollon77) enhance methods for smart home device and group handling
- (Apollon77) several fixes and optimizations
- (Apollon77) enhance methods for smart home device and group handling
- (Apollon77) also allow new reminder on next day :-)
- (Apollon77) fix an error when getting new cookie
- (Apollon77) Add Reminder and Alarms support.
- (Apollon77) Enhance Push Connection
- (Apollon77) Added some more deviceTypes
- (Apollon77) Added Websocket/MQTT connection class and also initialize it when requested via alexa-remote class.
- (Apollon77) Websocet/MQTT class and also Alexa-Remote are now event emitters to be able to notify on push changes
- (Apollon77) many fixes and optimizations, changed code to be an ES6 class
- (Apollon77) reworked the "prepare" step and only initialize what's really needed and allow extra "init" methods also to update Devices, Bluetooth and such. Docs will follow
- (Apollon77) API breaking: executeAutomationRoutine is not expecting a routineId anymore, but the complete routine definition.
- (Apollon77) 0.2.8: fixes, fix shuffle/repeat commands, make sure speak object is a string
- (Apollon77) 0.2.7: speak maximum are 250 characters, routines will now queried 2000 at once (instead of only 20 before)
- (Apollon77) 0.2.6: fixes
- (Apollon77) 0.2.5: new functions to read musicproviders and send searchphrases for them
- (Apollon77) 0.2.5: by default direct all calls to "alexa."+amazonPage to be more generic, overwritable
- (Apollon77) 0.2.4: several smaller bugfixes
- (Apollon77) 0.2.4: an speak call with empty string will return an error
- (Apollon77) 0.2.4: add infos if multiroom device or member
- (Apollon77) 0.2.3: in non .com replace numbers with points into numbers with comma
- (Apollon77) 0.2.0: several optimizations and publish as alexa-remote2 on npm
- (Apollon77) 0.2.0: use [email protected] library to also offer proxy support
- (Apollon77) 0.2.0: retrieve automation routines in prepare
- (Apollon77) 0.2.0: enhanced sendCommand and added support for Routines and sequencial Commands
- (Apollon77) 0.1.3: Use specific User-Agents for Win32, MacOS and linux based platforms
- (Apollon77) 0.1.2: add logging for used Alexa-URL and user-Agent once at init
- (Apollon77) 0.1.1: rename "shuffle" to "ShuffleCommand" and repeat to RepeatCommand)
- (Apollon77) added automatic cookie renewal when email and password are provided
- (Apollon77) added authentication checks by bootstrap call (like alexa-remote-control)
- (Apollon77) several fixes
- (Apollon77) added logger option
- Versions by soef