OwnTrack batterystatus attributes availability request


OwnTrack batterystatus attributes availability request
Hello how i can use this attribute?
Thanks for the help

@brianwilson

What driver are you using for this? The author made a mistake in the code. I would let them know. (If you have access to it, there is probably something like attribute "batteryStatus", "TEXT" at the top that should be attribute "batteryStatus", "STRING", assuming it's a text value.)

1 Like

OwTracks virtual mobile presence driver

Try editing the driver as mentioned above. Replace TEXT with STRING. if it works, Iโ€™ll update the driver for all.

attribute "batteryStatus", "STRING"

1 Like

I will try it soon

it work perfectly thanks :champagne:
Thanks to @bertabcd1234 too :slight_smile:

Thanks for testing. I've updated the HPM version and all attribute types from TEXT to STRING.

1 Like

Hi thwere is someting in cant undersand about battery status

This Code is working perfectly


the log confirm

I tryed to use the predicate
but the rule is never executed (unplugged or charging)

the oly time i see the rule executed is during the plug or the unplug
looks like the predicate is true during the trigger *changed
Need help

See this condition


the log only show this

I will not be helpful as I donโ€™t use rule machine at all and do all my logic through nodered. Rule machines interface is overly complicated for me.

1 Like

How can i help ?
Can i do some test ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.