-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconnect to scale / provide Android Intent to trigger connect via an external app #518
Comments
First of all, you can't run in newer versions of Android background task anymore. But maybe I can trigger it via MQTT in openScale sync would that help? |
Hi, to trigger via MQTT does not help, as the scale needs to be discovered by the tablet - the Raspberry Pi hosting my home automation system is too far away. And I would prefer a "self contained" solution. |
I don't know the app Automate but can you trigger via Automate or your MQTT Server MQTT packet? |
Ok, so the Android background processing would be a major change of the OpenScale program, which is of course way beyond what I am looking for. Your idea to send a MQTT message in case the scale is discovered is perfectly doable. So we could trigger the connect in OpenScaleSync via an incomming MQTT message. |
If I have time, I will look into this feature request. |
that's awesome. Thank you very much in advance! |
Hi,
many thanks for the great app, I do like it very much!
I'm using a Mi Body Composition Scale 2 (XMTZC05HM) - the 2019 updated hardware with the glass top. It works as a charm from day one, I never used the vendor's Mi app for any kind of set-up (log attached).
For "data aquisition" I am using a wall mounted Android Tablet, that is permanently connected to the mains. The data is forwarded to my smart home system (fhem) via mqtt.
As discussed in #321 and #335 , openscale won't reconnect - which would be the intended behavior in my case.
Currently I try to work around this issue using an Automate flow which starts openScale (and thus triggers the connect). Unfortunately starting an other app on my tablet disturbs the intended main use, to permanently show a full screen web browsing app.
-> Is it possible to provide a Android Intent or other kind of hook (sorry for the terminology, I am not an programmer) that can triggered using Automate's App start block start block?
Thanks,
Robert
openScale_2019-11-24_11-04.txt
The text was updated successfully, but these errors were encountered: