I searched extensively but cannot find any example code that would allow me to understand how to trigger the Alexa notification that makes the orange light come up?
I believe it has to do with the SetDirective (function?) ... I just don't get it.
Here's what I like to do, I'd really appreciate some guidance or hints.
Create an Alexa skill that triggers the orange light based on a condition.
speaks content when Alexa is asked
Any help is much appreciated.
https://ifttt.com/connect/amazon_alexa/if_notifications
You can setup notifications and the user can ask if they have any notifications, because alexa will be blinking and showing that there is a notification waiting.
"Alexa do I have any notifications?"
You can actually do this with the NotifyMyEcho skill.
Here's an example with cURL.
curl -XPOST -H "Content-type: application/json" -d '{"notification": "string","accessCode": "ACCESS_CODE","title": "string"}' 'https://api.notifymyecho.com/v1/NotifyMe'
You can find more info about it here.
Here's the link to the skill as well.
Related
I often use Firebase phone auth in my applications. I have one user who religiously sends "STOP" to all text messages. Big oops. Now she can not login to any application using the system...
Short code phone # = 44398
If the user types "STOP" to that short code, the system responds with:
Firebase: You are opted out and will receive no further messages. For
HELP, reply HELP. Msg & Data rates may apply
Type "HELP", the response is:
Firebase: For more info: https://firebase.google.com/support/ -
Msg&Data rates may apply.
My question. How do you "RESTART" the service? The Firebase support page offers no help here.
I've tried "GO", "RESTART", "UNSTOP". All of those fail.
Here's a posting on how Twilio addresses the topic. Twilio uses START, YES and UNSTOP to restart a service (on long code source). Each of those fail here.
Twilio also provides a link to standards for short code expressions., but I'm not seeing anything on restarting a service.
Here is a screen shot (of my phone):
I cannot pass user info to firebase database, and I think this is the issue. My Authentication part works well, and can pass image to firebase storage. Can anyone explain to me what does this error mean?
Here is my method:
Also, in logcat, it shows "one way function results will be dropped but finished with status OK and parcel size 4", which I think is the same issue if I am not wrong
Here are my dependencies:
Can anyone help me please?
Searching elsewhere I found this answer:
"Seems like you have enabled App Check in your Firebase project. This feature was announced a few days ago, so it's unlikely you will find any info online. Check the docs to see if you have followed all the setup steps: https://firebase.google.com/docs/app-check "
When using the "Alexa Emulator" during skill testing, my skill works very well (when typing my utterances). However if I speak the same utterances to my Amazon Echo device, almost always it responds with, “There was a problem with the requested skills response”. I have no way to debug the issue since there's no problems when running the Emulator.
I am speaking very clearly to my Amazon Echo device. I've also tried changing my Skill invocation name, it doesn't avoid this issue.
Also, I didn't see any difference in the cloudwatch logs between the Echo Device and the Emulator.
Example utterances:
"Alexa, tell xxxxx xxxxx to start Michael Jackson Thriller"
"Alexa, tell xxxxx xxxxx to start watching Michael Jackson Thriller"
"Alexa, tell xxxxx xxxxx to start playing Michael Jackson Thriller"
Cloudwatch logs for the lambda function will be recorded to the same log group as you would find them when you used the emulator. But this is not an uncommon situation, where the emulator will be ok and the actual device not work. Especially with media and other directives.
There's a simple game that my friends and I play both in person and and online. I developed a CLI that records our in-person games (I just type in each move), but I now want to use it to record our online games. All I need to do is pipe the HTTP response bodies being sent to my browser (Firefox) to my CLI. Unfortunately. I can't figure out how to do this.
Ideally, I'm looking for a Ubuntu package that I can run from the command line that will capture and return all HTTP response bodies from a specific endpoint. I've looked into tcpdump and some simple proxy servers, but I'm not sure they do what I want them to do.
Thanks for your help! Let me know if I need to provide any further information!
I used MITMProxy as ZachChilders recommended in the comments. I found it somewhat difficult to get set up, so I'll include what directions I followed to get it up and running:
1) Install MITMProxy.
2) Configure Firefox.
3) Create Add On to parse body.
4) Stream data via Python to CLI (TODO).
I'm trying to create a dtwin of some sensors putting together eclipse-ditto and node-red frameworks. I'd like to be notified when the "thing" is updated via SSE, so i followed the instruction from the https://www.eclipse.org/ditto/httpapi-sse.html but when i'm trying to envoke the endpoint in this way:
curl -X GET -H 'Accept: text/event-stream' -H 'Authorization: Basic ZGl0dG86ZGl0dG8=' -i 'http://localhost:8080/api/2/things?ids=smart:factory_lwb' the request get stacked forever. I tryed with and without ID, but the result is the same. Could someone help me, please!
Thanks a lot in advance,
I'm not sure what you mean by "the request get stacked forever", but if it is what I think you mean, this is exactly the behaviour that is expected.
When you open the connection for an event stream the connection is expected to stay open.
You will then receive events on this connection.
You might want to add the -N flag to curl in order to make curl immediately print out the data the stream receives, instead of buffering it?
For example open a SSE stream and create a new thing. You will then see the created thing in your stream.
I hope I could help you and thank you for supporting eclipse ditto by asking questions on stackoverflow! :)