Open 5c00by opened 1 year ago
I am experiencing this as well.
All was working fine until around 9am ET today. Currently having the same issue. Just my base stations are showing and everything else is dead. Tried deleting the integration and setting up again, but all it's seeing are the base stations.
Hi @mdb17 and @ultrathew , would you be able to enable debugging and share the outputs of the tryfi logs in HA?
@sbabcock23 - Strangely enough, I just re-added the integration to generate a log and everything's working just fine again. I'm seeing both bases and my dog's collar. I tried doing the same remove/re-add a couple of times earlier today and only saw the bases.
How would I go about enabling debug mode for this?
Hi @5c00by ,
In your HA configuration you can add the following lines to you configuration.yaml file.
logger:
default: debug
Once you see the issue, grep the log for tryfi (grep -i tryfi home-assistant.log > tryfi.log) and share it please.
2023-02-07 17:34:58.517 DEBUG (SyncWorker_5) [pytryfi.common.query] getBaseList: {'data': {'currentUser': {'typename': 'User', 'id': '3YX7Fz7MPFuLnoIS6oVvkS', 'email': '', 'firstName': '', 'lastName': '*', 'phoneNumber': '+19999999', 'fiNewsNotificationsEnabled': True, 'chipReseller': None, 'userHouseholds': [{'typename': 'UserHousehold', 'household': {'typename': 'Household', 'pets': [{'typename': 'Pet', 'id': '4rhXU5c1iKv6Le6JbDSAS6', 'name': 'Penny', 'homeCityState': '??, NewYork', 'yearOfBirth': 2022, 'monthOfBirth': 3, 'dayOfBirth': None, 'gender': 'FEMALE', 'weight': 18.140589569160998, 'isPurebred': False, 'breed': {'typename': 'Breed', 'id': '4oZsd8q0Zv2wLcg4UAczEG', 'name': 'Australian Cattle Dog', 'popularityScore': 0}, 'photos': {'typename': 'PhotoFeed', 'first': {'typename': 'Photo', 'id': '689iGVcbujh5GbZFGwzoGS', 'caption': None, 'date': '2023-01-11T18:47:25.449Z', 'likeCount': 1, 'liked': False, 'image': {'typename': 'Image', 'fullSize': 'https://barkinglabs-media.s3.amazonaws.com/pet/avatar/c903202f5d8245aa388b159237e9daaaf66fb2441f53683866e6719def2c4482.jpg'}}, 'items': [{'typename': 'Photo', 'id': '689iGVcbujh5GbZFGwzoGS', 'caption': None, 'date': '2023-01-11T18:47:25.449Z', 'likeCount': 1, 'liked': False, 'image': {'typename': 'Image', 'fullSize': 'https://barkinglabs-media.s3.amazonaws.com/pet/avatar/c903202f5d8245aa388b159237e9daaaf66fb2441f53683866e6719def2c4482.jpg'}}]}, 'instagramHandle': None, 'chip': None, 'device': {'typename': 'Device', 'id': 'FC32M559341', 'moduleId': 'FC32M559341', 'info': {'credentialPackHash': 'qWeNeuTzDjtyMIFdy9mWHjHzCw394/AZk2EGmizXDkc=', 'wifiNetworkNames': ['Linksys'], 'buildId': '4.6.8-5d745a38f-fc3_f3-prod', 'batteryPercent': 97, 'batteryVoltage': 4219, 'batteryHealth': 94, 'batteryHealthStatus': 1, 'batteryNominalAvailableCapacity': 252, 'batteryFullAvailableCapacity': 261, 'batteryRemainingCapacity': 228, 'batteryFullChargeCapacity': 237, 'temperature': 3106, 'uptime': 357700, 'clock': {'low': 357700936, 'high': 0, 'unsigned': True}, 'wifiFirmwareVersion': 65, 'batteryResistanceProfile': [8, 9, 11, 13, 11, 10, 11, 11, 11, 12, 13, 16, 26, 52, 199], 'nrf52840GpioStats': {}, 'batteryQmaxcell0': 16384, 'bleConnectionStats': {'minConnIntervalMs': 200, 'maxConnIntervalMs': 200, 'connSupTimeoutMs': 4000, 'mtu': 247, 'dleTx': 251, 'dleRx': 251}, 'stats': {'gnssOnTime': 213, 'modemOnCount': 2, 'modemOnTime': 180, 'ledPowerOnCount': 1, 'ledPowerOnTime': 6, 'bleConnCount': 25, 'bleModeConnOnTime': 357082, 'lteModeConnOnTime': 303, 'wifiModeConnTime': 19, 'wifiConnectAttempt': 1, 'wifiDisconnect': 1, 'noconnModeTime': 289, 'wifiWakeHoldUpTime': 18811, 'mainLoopTurns': 1246976, 'pubsubTotalPublishedMessages': 209, 'mainLoopSleepEnterCalls': 1246934, 'gnssToCpuDataAnnouncements': 16, 'modemToCpuDataAnnouncements': 46, 'bleEventHandlerCalls': 49637, 'appTimerStartCalls': 15476, 'appTimerStopCalls': 30985, 'cpuTaskletScheduleCalls': 5227, 'bq27421ConfigUpdatedEvents': 1, 'bq27421ItporEvents': 1, 'wifiAssocColdStartCount': 1, 'i2cNackRetryCount': 3, 'wifiScanCount': 1}, 'selfTestResults': {}}, 'subscriptionId': '66eaf0d4a47114667b7e57433f8ed940', 'hasActiveSubscription': True, 'hasSubscriptionOverride': False, 'nextLocationUpdateExpectedBy': '2023-02-07T22:41:34.819Z', 'operationParams': {'typename': 'OperationParams', 'mode': 'NORMAL', 'ledEnabled': False, 'ledOffAt': None}, 'lastConnectionState': {'typename': 'ConnectedToBase', 'date': '2023-02-07T22:34:34.762Z', 'chargingBase': {'typename': 'ChargingBase', 'id': 'FB32M881423'}}, 'ledColor': {'typename': 'LedColor', 'ledColorCode': 7, 'hexCode': '00ffff', 'name': 'Cyan'}, 'availableLedColors': [{'typename': 'LedColor', 'ledColorCode': 2, 'hexCode': 'ff4242', 'name': 'Red'}, {'typename': 'LedColor', 'ledColorCode': 3, 'hexCode': '3cba0f', 'name': 'Green'}, {'typename': 'LedColor', 'ledColorCode': 4, 'hexCode': '0071ff', 'name': 'Blue'}, {'typename': 'LedColor', 'ledColorCode': 5, 'hexCode': 'ff2fcc', 'name': 'Purple'}, {'typename': 'LedColor', 'ledColorCode': 6, 'hexCode': 'ffff01', 'name': 'Yellow'}, {'typename': 'LedColor', 'ledColorCode': 7, 'hexCode': '00ffff', 'name': 'Cyan'}, {'typename': 'LedColor', 'ledColorCode': 8, 'hexCode': 'ffffff', 'name': 'White'}]}}, {'typename': 'Pet', 'id': 'XTzuZbFFP8bf5iScJiKcO', 'name': 'Domino', 'homeCityState': '??, NewYork', 'yearOfBirth': 2021, 'monthOfBirth': 1, 'dayOfBirth': None, 'gender': 'FEMALE', 'weight': 24.94331065759637, 'isPurebred': True, 'breed': {'typename': 'Breed', 'id': '2mJ4qvf2VXxkghX7vMzYxn', 'name': 'American Staffordshire Terrier', 'popularityScore': 0}, 'photos': {'typename': 'PhotoFeed', 'first': {'typename': 'Photo', 'id': '5pipvFvx5IAHhXlvrzbZUg', 'caption': None, 'date': '2023-01-11T18:45:22.556Z', 'likeCount': 1, 'liked': False, 'image': {'typename': 'Image', 'fullSize': 'https://barkinglabs-media.s3.amazonaws.com/pet/avatar/1499eaee347e540e15d7d448b9b52b9ad9cc3bd4da2c063ee219ab262b788866.jpg'}}, 'items': [{'typename': 'Photo', 'id': '5pipvFvx5IAHhXlvrzbZUg', 'caption': None, 'date': '2023-01-11T18:45:22.556Z', 'likeCount': 1, 'liked': False, 'image': {'typename': 'Image', 'fullSize': 'https://barkinglabs-media.s3.amazonaws.com/pet/avatar/1499eaee347e540e15d7d448b9b52b9ad9cc3bd4da2c063ee219ab262b788866.jpg'}}]}, 'instagramHandle': None, 'chip': None, 'device': {'__typename': 'Device', 'id': 'FC32M560109', 'moduleId': 'FC32M560109', 'info': {'credentialPackHash': 'qWeNeuTzDjtyMIFdy9mWHjHzCw394/AZk2EGmizXDkc=', 'wifiNetworkNames': ['Linksys'], 'buildId': '4.6.8-5d745a38f-fc3_f3-prod', 'batteryPercent': 85, 'batteryVoltage': 4120, 'batteryHealth': 100, 'batteryHealthStatus': 3, 'batteryNominalAvailableCapacity': 249, 'batteryFullAvailableCapacity': 291, 'batteryRemainingCapacity': 224, 'batteryFullChargeCapacity': 266, 'temperature': 3072, 'uptime': 363410, 'clock': {'low': 363410570, 'high': 0, 'unsigned': True}, 'wifiFirmwareVersion': 54, 'batteryResistanceProfile': [8, 9, 11, 13, 11, 10, 11, 11, 11, 12, 13, 16, 26, 52, 199], 'nrf52840GpioStats': {}, 'batteryQmaxcell0': 17885, 'bleConnectionStats': {'minConnIntervalMs': 200, 'maxConnIntervalMs': 200, 'connSupTimeoutMs': 4000, 'mtu': 247, 'dleTx': 251, 'dleRx': 251}, 'stats': {'gnssOnTime': 3390, 'modemOnCount': 43, 'modemOnTime': 2328, 'modemRegTime': 22562, 'modemRegCount': 14, 'agnssReqCount': 2, 'ledPowerOnCount': 2, 'ledPowerOnTime': 4626, 'bleConnCount': 121, 'httpReqStartCount': 20, 'httpReqCompleteCount': 10, 'httpReqErrorCount': 1, 'bleModeConnOnTime': 354886, 'lteModeConnOnTime': 5103, 'agnssBytes': 38744, 'reportBytes': 11894, 'wifiModeConnTime': 280, 'wifiConnectAttempt': 18, 'wifiConnectFailure': 2, 'wifiDisconnect': 16, 'noconnModeTime': 3130, 'wifiWakeHoldUpTime': 230470, 'mainLoopTurns': 1332910, 'pubsubTotalPublishedMessages': 16212, 'mainLoopSleepEnterCalls': 1322668, 'gnssToCpuDataAnnouncements': 2791, 'modemToCpuDataAnnouncements': 1820, 'bleEventHandlerCalls': 49729, 'appTimerStartCalls': 17736, 'appTimerStopCalls': 33899, 'cpuTaskletScheduleCalls': 5818, 'bq27421ConfigUpdatedEvents': 1, 'wifiAssocColdStartCount': 29, 'i2cNackRetryCount': 8, 'wifiScanCount': 29}, 'selfTestResults': {}}, 'subscriptionId': '66eaf24ddc56bf66e96aa74e62a20d0c', 'hasActiveSubscription': True, 'hasSubscriptionOverride': False, 'nextLocationUpdateExpectedBy': '2023-02-07T22:40:55.309Z', 'operationParams': {'typename': 'OperationParams', 'mode': 'NORMAL', 'ledEnabled': False, 'ledOffAt': None}, 'lastConnectionState': {'typename': 'ConnectedToBase', 'date': '2023-02-07T22:33:55.013Z', 'chargingBase': {'typename': 'ChargingBase', 'id': 'FB32M881423'}}, 'ledColor': {'typename': 'LedColor', 'ledColorCode': 5, 'hexCode': 'ff2fcc', 'name': 'Purple'}, 'availableLedColors': [{'typename': 'LedColor', 'ledColorCode': 2, 'hexCode': 'ff4242', 'name': 'Red'}, {'typename': 'LedColor', 'ledColorCode': 3, 'hexCode': '3cba0f', 'name': 'Green'}, {'typename': 'LedColor', 'ledColorCode': 4, 'hexCode': '0071ff', 'name': 'Blue'}, {'typename': 'LedColor', 'ledColorCode': 5, 'hexCode': 'ff2fcc', 'name': 'Purple'}, {'typename': 'LedColor', 'ledColorCode': 6, 'hexCode': 'ffff01', 'name': 'Yellow'}, {'typename': 'LedColor', 'ledColorCode': 7, 'hexCode': '00ffff', 'name': 'Cyan'}, {'typename': 'LedColor', 'ledColorCode': 8, 'hexCode': 'ffffff', 'name': 'White'}]}}], 'bases': [{'typename': 'ChargingBase', 'baseId': 'FB32M881423', 'name': 'FB32M881423', 'position': {'typename': 'Position', 'latitude': 33.942783913150826, 'longitude': -84.09814607352018}, 'infoLastUpdated': '2023-02-07T22:34:34.779Z', 'networkName': 'Linksys', 'online': True, 'onlineQuality': 'HEALTHY'}, {'typename': 'ChargingBase', 'baseId': 'FB32L561934', 'name': 'FB32L561934', 'position': {'typename': 'Position', 'latitude': 33.942783913150826, 'longitude': -84.09814607352018}, 'infoLastUpdated': '2023-02-07T22:34:55.537Z', 'networkName': 'Linksys', 'online': True, 'onlineQuality': 'HEALTHY'}]}}]}}}
I edited most of the personal info but this is what I have
To update my issue, deleting and reading the integration fixed it for me.
Oh like removing the entire integration and installing it again through HACS or just deleting the config?
@5c00by , the information above that you shared can you describe the error you are getting in HA?
So it's not giving an error per se' more like not showing all the information. I'm only able to see entries for the charging bases and not the collars or the information from the collars themselves
@mdb17 Just tried deleting the integration and re-adding it and still it's only detecting just the two bases only and not the collars
@5c00by I just deleted the instance not the entire integration, though my problem was a little different. I could see the collar but it was unavailable.
Curious what version you're using @mdb17?
From the logs it does seem as if it's reading the information on the collars and showing it in debug just not passing it as an entity within homeassistant for whatever reason.
I am running the most recent of everything; TryFi, Home Assistant and OS
Same here Still getting the same thing if I just delete the instance and re-add it
Now seeing the same thing here. TryFi, Home Assistant and OS all completely up to date.
Everything was working fine until about 24 hours ago and then a bunch of the entities were just no longer being published by the integration. I have two collars and 4 bases, both collars show up without all their entities, and only one has a device_tracker entity. None of the bases show are found
Restarts, delete-redownload-reinstall-reconfigure did not get these additional entities to reappear.
Happy to submit debug info if needed.
Following up on this. I'm still only getting the bases showing up. I've full on deleted the whole integration and re-installed it and still the same thing happens. Any ideas/luck on fixing this?
Im having this issue, is there a fix?
So I have manged to install this with no issue except that it only shows information on the bases connections and not the information on the collars. I have tried deleting the integration and reconnecting it and reloading many times. Nothing seems to update. The base status does seem to work but I cannot connect to anything else.