I have come into possession of a Quirky Egg Minder that is supported by Wink. It paired fine with wink and reports the status of the eggs to the Wink app, but the entities don’t get pulled into Hassio when I call the service “pull newly added device from wink”. I was expecting some binary_sensors I guess. Anyone else have experience with the Quirky Egg Minder to Hassio?
It’s is actually just a sensor with a value if count if eggs. That service call should work, if not have your tried to restart Hass?
Any lunk with this? I just got one.
Mine works fine, are you not seeing yours either after pairing and rebooting HA?
Forgot I have HASS using a different wink account. I had to share the eggminder with HASS.
I just opened a feature request over here https://github.com/python-wink/python-wink/issues/113
I picked up a few eggminders and would like the ability to see the age of each egg in HA. Do you think that’s possible?
Just pushed the python-wink update. There will have to be work done in HA, but I can send you a test file some time this week and have you test it out.
Can you run custom components?
If so I have a eggminder update for you to test. Add the following https://pastebin.com/raw/BFUnnNR9 to YOUR_HA_CONFIG_DIR/custom_components/wink/sensor.py
This template will print out all of the non-zero dates on an eggminder called eggminder
{% for egg_time in states.sensor.egg_minder.attributes.egg_times %}{% if egg_time != 0 %}{{egg_time|timestamp_local}},{% endif %}{% endfor %}
Hi w1ll1am23, I tried this by making sensor.py in Hassio/config/custom_components/wink. sensor.py contains the text from https://pastebin.com/raw/BFUnnNR9. I copy and paste the template into the template editor and nothing happens. No errors in the system log. I have two Eggminders, sensor.egg_minder and sensor_egg_minder_1. I run a Hue sensor custom_component with no issues.
edit: just realized this is intended for home assistant by adding pywink. Can that be done to Hassio?
@mcfarlde and @rabittn sorry I totally forgot about the python-wink update. It has been added to dev already, but hasn’t been pushed out yet. If you are running in docker, I am not sure you will be able to test this out until the release unless you know how to install the latest version of python-wink and keep it around after a container restart.
I am not using docker. Ill see if I can get python-wink upgraded and try the custom component.
Awesome! The paths are changing in the next release so I was testing on dev which is why I said wink/sensor.py
Is this how you were wanting the data presented? Or is there something I can do it make it easier for you to do what you are wanting?
I assume they are in some type of order that will stay consistent? I have a small backyard flock of chickens and was able to score a nice pile of egg minders. So using home assistant to manage the egg production is the end goal.
My hope is to have a card showing the age of each egg in days. Which I can do with your output and some jinja. Kind of the way the wink app does it. Like this

other goals include alerting as eggs get too old.
Long term I want to be able to ask home assistant how old egg 6 is or something of the sort. So I think what you have done is perfect.
Or something a little less fancy gets me this.
From what I can tell egg number 1 is bottom left and egg number 8 is bottom right.
Not super sure on the order, but the list will be in the same order every time. This sounds like a cool project! So if you are good with what we have here I’ll open up a official pull request.
Yes, this is perfect thank you.

