Current status (thanks for all the suggestions BTW)
Just set gmail to allow insecure apps and setup filter rule so any email from Automagic is labeled and sent to its own folder so it doesn't pollute my Inbox
Also got the Tasker MQTT plugin installed so I can send messages that route as well/maybe instead of
My main use case idea is to get WhatsApp message alerts/incoming phone call happening into Node-RED and then get Node-RED to to shout out to all Alexas in the house.
I've got a Fitbit watch (old model that daughter passed on when she upgrade to Apple Watch) but that doesn't alert when out of range of my phone so this is my attempt to work around that
So, if I just send MQTT messages to my house broker - that'll prob do what I want since no point in getting Alexa's to shout out if I'm not at home
So currently got Alexa in my room shouting out on any WhatsApp alert (need to implement a 9pm->9am curfew on that)
Since I've worked out that I only need to send messages when I'm at home on the LAN network - using http requests could be the method to use
Because, for some reason, when I leave the house and return, Automagic doesn't reliably send MQTT messages out anymore but the http requests it makes seem to work
[edit]More testing required as I went to pick my phone up and suddenly got my last 3 whatapps messages appearing in Node-RED[/edit]
The notifications are being picked up consistently, immediately and reliably by the Automagic flow that's sending the http requests - its the MQTT ones that aren't making it to my broker reliably and timely
More investigations going on @Dave - You say without issue
Do you have Tasker itself installed as well as Automagic or just the plugin like me?
No I don't have Tasker installed, just AutoMagic and the mqtt plugin, I added the 'without issue' statement because I read some comments on the play google page for this plugin that it wasn't reliable, but as I say I have no problems it has been working consistently for me. v1.4.0 no idea if that's the latest ? (I don't have a android phone so I have no idea if this could be the problem)
My Usage.. I have a cheap android tablet mounted on the wall, its is only used to display my dashboard controls nothing else, it normally runs on battery power, I get a battery % mqtt message from AutoMagic each 30 sec, in node-red I display the battery state on the dashboard also i check if the battery state is <50% if it is nr turns the power on to the tablet via a small relay until the battery reaches 100% I also control the tablet display with the same relay when power is applied the tablet the screen starts up by default and displays my dashboard, the display is timed out using AutoMagic dreamtime via mqtt which turns off the relay/display etc etc
I'm using Tasker with the Webneurons MQTT client. Much more stable then the one mentioned above. Also, you can subscribe to MQTT topics and get incoming messages. Highly recommended.