Roborock: Add WiFi signal strength sensor#1918
Roborock: Add WiFi signal strength sensor#1918SLaks wants to merge 1 commit intorytilahti:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1918 +/- ##
==========================================
+ Coverage 81.41% 81.42% +0.01%
==========================================
Files 193 193
Lines 18636 18648 +12
Branches 4045 4049 +4
==========================================
+ Hits 15173 15185 +12
Misses 3180 3180
Partials 283 283 ☔ View full report in Codecov by Sentry. |
I plan to use this to draw a WiFi signal strength map of my house
|
Update: As I ran the vacuum, this sensor never changed. I'm not sure whether that means my implementation is incorrectly caching, or whether the vacuum reports stale data. |
|
I tried using https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/network_info.md instead, and watched it print the same value in the terminal as the vacuum moved halfway across the house. Either my WiFi coverage is literally perfect (which seems very unlikely) or the vacuum doesn't actually make this possible. Confusingly, my S7 reports 0, even after rebooting somewhere else. |
Re: #1914 (comment)
All I have is Q Revo and S7 (both cloud connected); I don't know about other devices.
Options include:
info()failures and skip this if it failsadd_update_method(connectivity_status)if the WiFi strength sensor is enabled in HA (requires a more complex refactor)