Is it possible to create an Error-Message that stays on top like a Toast-Message or a Confirm-Message?
I tried to “abuse” the dummybuttonsdevice with confirm, but it doesn´t work if you press the buttons by rule.
@michael-rudek I don’t know if this exists directly but for Anroid devices I use wolido (https://forum.pimatic.org/topic/3124/woli-control) It has several methods of notification including toast messages. For error reporting I prefer the speech notifications of wolido or plain old email. Another option are public notfication services like pushover, pushbullet, or pushsaver. For those pimatic plugin exists.
Wolido sometimes crashes for me and causes a cpu-load over 50% on my raspberry. I think the cause is my old tablet…
I used pushbullet in the past, but if you are not using it very often, you have to confirm your account. I think its the same with pushsaver and pushover.
I don´t like the e-mail idea, cause when something went wrong and pimatic is sending too much emails, the Telekom locks your ports. That happend to me twice and you have to renew all of your passwords at the Telekom. And its nearly impossible to explain a Telekom-“technician” what happend.They only understand “Virus” and "Trojan"
I would prefer a message-window in pimatic that i have to confirm.
Maybe another approach , use an iframe device and grep the daemon log for errors into a txt file and display these in the iframe
Nothing to confirm with a button but having a possiblity to get updated if there is some changes in the device.
@michael-rudek The function you mean is provided using sweetAlert2. At the moment, there is no function to trigger this manually or via plugin or rule, as i know.
@michael-rudek well, using an iframe is not a bad idea. However, pimatic isnt designed for displaying custom toast.
Maybe you could try this;
Create a page in the pimatic-mobile-frontend public dir. Add your toast system to that page and load the full pimatic as an iframe.
Now you need to figure out a way to get the information that you want in a toast.
I suggest you look into using the API, and for example, update a variable if there is an error, and get that error to your page through the API.
It a bit clumsy way to do it, but this should work.
Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.