Ping the NovaStar processors and the Resi decoder as a second opinion.
The UHD Jr was switched off and the NovaStar module still reported Connected (even after a restart), so LED stayed green. LED now also checks that each processor answers ping; the Resi decoder (send-only RossTalk) gets the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -246,6 +246,13 @@ class TestChecks(unittest.TestCase):
|
||||
self.assertEqual(checks["http://10.6.7.13:8080/"], 5)
|
||||
self.assertEqual(checks["https://central.resi.io/"], 30)
|
||||
|
||||
def test_device_off_while_module_says_connected(self):
|
||||
# 2026-10-08: UHD Jr powered off, NovaStar module still "Connected".
|
||||
self.snap.ping["10.1.14.115"] = 2
|
||||
tiles, _ = run_steps(sp.Engine(CONFIG), self.snap, self.now, 4)
|
||||
self.assertEqual(tiles["led"]["x"], "LED\nUHDJR OFFLINE")
|
||||
self.assertEqual(tiles["video"]["x"], "VIDEO\nUHDJR OFFLINE")
|
||||
|
||||
def test_ingest_services(self):
|
||||
del self.snap.launchd["org.waterschurch.resi-propresenter"]
|
||||
self.snap.launchd["org.waterschurch.lobby-captions"] = None
|
||||
|
||||
Reference in New Issue
Block a user