-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loss sensor doesn't report value #32
Comments
please provide logs. |
The only logs I get from it is this (repeated every minute) when ping is blocked:
...and this when it's not blocked (every minute):
Here's my full esphome config:
|
there should be logs like below:
please enable debug log, and paste "all" the logs. |
Here are my logs with the "logger: debug" option set in the config: INFO Reading configuration /config/router-rebooter.yaml... The only debug logs I see are when I turn the relay on/off: 22:10:46 | [D] | [switch:017] | 'Sonoff Basic Relay' Turning OFF. I've tried on both the "latest" and "dev" esphome versions, but still not seeing debug logs like your example there. Not sure if there's a debug setting I don't know about or an issue with esphome or something. |
I can't find any logs fro "sensor" component. Try one of the examples, and make sure that the log includes messages from "sensor" component. After that, modify the config to your needs. |
I've configured my ping sensor like this:
However, its state only shows up as "NA" in the esphome webui, or "Unknown" in Home Assistant. I've tested with it being able to reach 8.8.8.8 and also having a firewall rule that drops ICMP from its IP address, and the logs reflect that (ping success and failure), but the sensor value doesn't change at all. Am I missing something?
The text was updated successfully, but these errors were encountered: