Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106441

Creating a sensor from other sensor values

$
0
0

I’m having trouble searching for/ explaining what I’m after and I’m hoping someone can guide me in the right direction.

I have a 3D printer which reports a serial number, color, material, and filament remaining for the currently loaded spool of filament. I would like to use this data to build a table of all my spools and their last-seen data. I’m not quite sure how to approach this, or if it’s even possible.

Here’s what the spool sensor reports:

What I am trying to create would be somewhere I can see a list of all the recently seen spools, along with their color / filament remaining / etc. That way I don’t have to go rummaging around in my closet to see how much yellow I have left. I have literally dozens of rolls, each with a unique serial number reported.

I know you can use a sensor template to create a sensor from attributes, but that seems like something you’d use in a one-off, rather than wanting to build a database of values like this.

Any help in the right direction would be much appreciated.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>