EcoBee Battery Level


#1

Hello,

I am not able to see my EcoBee sensor in the Battery section of WC devices

When I add the sensor in other sections of connected devices, then add the sensor to my Battery Report, it always reads 0%

Thanks in advance
Rick

image


5) Attach any logs (From ST IDE and by turning logging level to Full)

Logs
10/14/2017, 7:51:35 AM +320ms
+0ms ╔Received event [Shlikes].test = 1507992695305 with a delay of 14ms
+269ms ║RunTime Analysis CS > 20ms > PS > 48ms > PE > 202ms > CE
+281ms ║Runtime (42721 bytes) successfully initialized in 48ms (v0.2.0fa.20171011) (279ms)
+282ms ║╔Execution stage started
+294ms ║║Condition #50 evaluated false (6ms)
+295ms ║║Condition group #49 evaluated false (state did not change) (8ms)
+309ms ║║Comparison (dynamic) 0 is_less_than_or_equal_to (integer) 25 = true (1ms)
+311ms ║║Condition #32 evaluated true (10ms)
+312ms ║║Condition group #30 evaluated true (state did not change) (11ms)
+314ms ║║Cancelling statement #33’s schedules…
+319ms ║║Executed virtual command setVariable (3ms)
+335ms ║║Comparison (dynamic) 0 is_less_than_or_equal_to (integer) 25 = true (1ms)
+336ms ║║Condition #37 evaluated true (8ms)
+337ms ║║Condition group #36 evaluated true (state did not change) (10ms)
+340ms ║║Cancelling statement #38’s schedules…
+349ms ║║Calculating (string) == (string) % >> (boolean) false
+357ms ║║Calculating (string) + (string) >> (string)
+361ms ║║Calculating (string) + (string) EcoSensor: Living Room >> (string) EcoSensor: Living Room
+364ms ║║Calculating (string) EcoSensor: Living Room + (string) : >> (string) EcoSensor: Living Room:
+369ms ║║Calculating (string) EcoSensor: Living Room: + (string) 0 >> (string) EcoSensor: Living Room: 0
+372ms ║║Calculating (string) EcoSensor: Living Room: 0 + (string) % >> (string) EcoSensor: Living Room: 0%
+378ms ║║Executed virtual command setVariable (3ms)
+385ms ║║Cancelling statement #40’s schedules…
+391ms ║║Calculating (string) :battery::exclamation:Low battery on + (string) EcoSensor: Living Room: 0% >> (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0%
+394ms ║║Calculating (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0% + (string) >> (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0%
+397ms ║║Executed virtual command setState (1ms)
+403ms ║║Executed virtual command noop (4ms)
+407ms ║║Cancelling statement #43’s schedules…
+412ms ║║Executed virtual command setVariable (3ms)
+421ms ║║Cancelling statement #46’s schedules…
+431ms ║║Calculating (string) : == (string) % >> (boolean) false
+439ms ║║Calculating (string) Current battery levels: + (string) >> (string) Current battery levels:
+442ms ║║Calculating (string) Current battery levels: + (string) EcoSensor: Living Room >> (string) Current battery levels: EcoSensor: Living Room
+445ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room + (string) : >> (string) Current battery levels: EcoSensor: Living Room:
+450ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room: + (string) 0 >> (string) Current battery levels: EcoSensor: Living Room: 0
+453ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room: 0 + (string) % >> (string) Current battery levels: EcoSensor: Living Room: 0%
+459ms ║║Executed virtual command setVariable (4ms)
+466ms ║╚Execution stage complete. (185ms)
+468ms ║Setting up scheduled job for Sat, Oct 14 2017 @ 6:00:00 PM PDT (in 36504.213s)
+483ms ╚Event processed successfully (483ms)


#2

please post a green snapshot and logs with trace turned on so the line numbers from the log can be matched up.

also, not relevant for this question, but the empty every 12 hours is not doing anything … you can safely remove it.


#3

OK here you go

I set the log to full, enabled trace then selected Test
Rick

10/14/2017, 7:51:35 AM +320ms
+0ms ╔Received event [Shlikes].test = 1507992695305 with a delay of 14ms
+269ms ║RunTime Analysis CS > 20ms > PS > 48ms > PE > 202ms > CE
+281ms ║Runtime (42721 bytes) successfully initialized in 48ms (v0.2.0fa.20171011) (279ms)
+282ms ║╔Execution stage started
+294ms ║║Condition #50 evaluated false (6ms)
+295ms ║║Condition group #49 evaluated false (state did not change) (8ms)
+309ms ║║Comparison (dynamic) 0 is_less_than_or_equal_to (integer) 25 = true (1ms)
+311ms ║║Condition #32 evaluated true (10ms)
+312ms ║║Condition group #30 evaluated true (state did not change) (11ms)
+314ms ║║Cancelling statement #33’s schedules…
+319ms ║║Executed virtual command setVariable (3ms)
+335ms ║║Comparison (dynamic) 0 is_less_than_or_equal_to (integer) 25 = true (1ms)
+336ms ║║Condition #37 evaluated true (8ms)
+337ms ║║Condition group #36 evaluated true (state did not change) (10ms)
+340ms ║║Cancelling statement #38’s schedules…
+349ms ║║Calculating (string) == (string) % >> (boolean) false
+357ms ║║Calculating (string) + (string) >> (string)
+361ms ║║Calculating (string) + (string) EcoSensor: Living Room >> (string) EcoSensor: Living Room
+364ms ║║Calculating (string) EcoSensor: Living Room + (string) : >> (string) EcoSensor: Living Room:
+369ms ║║Calculating (string) EcoSensor: Living Room: + (string) 0 >> (string) EcoSensor: Living Room: 0
+372ms ║║Calculating (string) EcoSensor: Living Room: 0 + (string) % >> (string) EcoSensor: Living Room: 0%
+378ms ║║Executed virtual command setVariable (3ms)
+385ms ║║Cancelling statement #40’s schedules…
+391ms ║║Calculating (string) :battery::exclamation:Low battery on + (string) EcoSensor: Living Room: 0% >> (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0%
+394ms ║║Calculating (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0% + (string) >> (string) :battery::exclamation:Low battery on EcoSensor: Living Room: 0%
+397ms ║║Executed virtual command setState (1ms)
+403ms ║║Executed virtual command noop (4ms)
+407ms ║║Cancelling statement #43’s schedules…
+412ms ║║Executed virtual command setVariable (3ms)
+421ms ║║Cancelling statement #46’s schedules…
+431ms ║║Calculating (string) : == (string) % >> (boolean) false
+439ms ║║Calculating (string) Current battery levels: + (string) >> (string) Current battery levels:
+442ms ║║Calculating (string) Current battery levels: + (string) EcoSensor: Living Room >> (string) Current battery levels: EcoSensor: Living Room
+445ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room + (string) : >> (string) Current battery levels: EcoSensor: Living Room:
+450ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room: + (string) 0 >> (string) Current battery levels: EcoSensor: Living Room: 0
+453ms ║║Calculating (string) Current battery levels: EcoSensor: Living Room: 0 + (string) % >> (string) Current battery levels: EcoSensor: Living Room: 0%
+459ms ║║Executed virtual command setVariable (4ms)
+466ms ║╚Execution stage complete. (185ms)
+468ms ║Setting up scheduled job for Sat, Oct 14 2017 @ 6:00:00 PM PDT (in 36504.213s)
+483ms ╚Event processed successfully (483ms)


#4

thanks. if you look in the ST app do you see a battery value for the ecobee? also, in the ST IDE what is the battery level shown for the ecobee device?


#5

No

Rick


#6

ok. in the ST IDE what is the battery level shown for the ecobee device?


#7

I don’t think the ecobee sensors broadcast battery levels (that is available to outside apps). I have not seen it on the stock or third party device handler.


#8

The sensors don’t send battery info. They don’t even send it to Ecobee, you just get a notification from Ecobee when they disconnect.


#9

Thanks everyone for the help

I thought for sure it was something I was missing

Thanks bangali for spotting the empty 12 hour do loop. Since this was a piston I inherited, I hadn’t seen that section before, it’s gone now and I feel sooooo much better for it /sarc :slight_smile:

Rick


#10

sorry it didnt work out, was just trying to be helpful.