Hey SharpTools community!
I bought my first smart sensors last week.
It started by wanting to monitor temperatures and power consumption in an effort to save some energy. So for now I have a few temp & humidity sensors, a few smart plugs (and camera to monitor our dog while away but that’s unrelated)
I’ve been digging into various platforms and integrations and for now it seems that SharpTools seems to be what works best for me.
I love how I can create more complex automations compared to the Tapo or SmartThings apps (and I’m not as experienced in coding yet to create my own SmartThings scripts)
So thanks for creating this great tool <3
I’ll probably get the premium account since I’m already getting used to custom and super tiles plus I need the variables for some of my automations!
On to my issue where I need help:
-
I got some Tapo P110 plugs to monitor power consumption but they don’t seem to show consumption on the tiles. I can only get the switch status.
-
I found that other people have the same issue in smartthings so followed the instructions and found out that the power consumption is reported as an object like this
{"start":"2024-07-25T15:46:22.201Z","end":"2024-07-25T16:01:22.201Z","energy":15,"deltaEnergy":4}
I imagine for the tiles to show it, it would need to be just a value and not JSON formatted.
- I created a rule that would trigger on a random event to see what info SharpTools gets from the plug and sure enough it gets this
So here are my questions:
-
Is there a way to get this info into a custom or super tile?
-
Is there a way to get this info (probably by inserting it into a variable?) and use it as a trigger for automations?
One of the things I want to do is create an automation where, if the plug is consuming less than a certain amount of energy , the plug switches off (to eliminate energy consumption by devices that still consume some watts while off)
I’d appreciate some help with these as I have some grasp of coding but the bear minimum! Thanks