-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
🐛 When adding device with Admin user, entities never work and create JSON error in logs #145
Comments
👋 @FattusMannus, it is checked whether there is a bug. Please have some patience. |
Hi unfortunately this is a problem of Xplora. I can't handle the exception because the service goes down mostly at night. |
👋 @FattusMannus, we found the bug, it will be fixed shortly. |
@Ludy87 anything else I can do here to help? |
please wait until the new update is released. |
After update: No error message in logs but still doesnt update entities - how can I debug this? |
@FattusMannus Hi, you are using an account without admin rights. |
@Ludy87 this is the admin account. |
Is there a debug output? |
Debug logging is enabled If I need to look somewhere else, please tell me. Thanks |
If no data is available, the debugging mode is not active |
this is not the right mode, you have to enter this in the configuration.ymal: https://github.com/Ludy87/xplora_watch#debug |
hello, I can add the integration but no entities are created 2023-11-21 21:42:49.664 DEBUG (MainThread) [custom_components.xplora_watch.switch] {'__typename': 'Child', 'id': '10fb383d0889d11eebe5d9b070c2251a7', 'guardian': {'__typename': 'User', 'id': None, 'userId': None, 'name': None, 'nickname': None, 'gender': None, 'birth': None, 'birthStr': None, 'weight': None, 'height': None, 'firstName': None, 'lastName': None, 'countryCode': None, 'city': None, 'address1': None, 'address2': None, 'zipCode': None, 'emailAddress': None, 'countryPhoneCode': None, 'phoneNumber': None, 'mobilePhoneNumber': None, 'faxNumber': None, 'emailConfirm': None, 'description': None, 'status': None, 'file': None, 'lastLoginDate': None, 'changePasswordDate': None, 'loginFailCount': None, 'extra': None, 'xcoin': None, 'currentStep': None, 'totalStep': None, 'create': None, 'update': None, 'roles': None, 'children': None, 'contacts': None}, 'ward': {'__typename': 'User', 'id': '0111003b103a5f5f775f5f7369671633', 'userId': '__w__sikey_194c358d0889c11ee8fd0074e4b1b6a16', 'name': 'Alice', 'nickname': 'Alice', 'gender': 'UNKNOWN', 'birth': 0, 'birthStr': '', 'weight': '', 'height': '', 'firstName': '', 'lastName': '', 'countryCode': 'it', 'city': '', 'address1': '', 'address2': '', 'zipCode': '', 'emailAddress': '', 'countryPhoneCode': '+39', 'phoneNumber': 'xxxxx', 'mobilePhoneNumber': 'xxxxx', 'faxNumber': '', 'emailConfirm': 'NO', 'description': '', 'status': 'ENABLE', 'file': {'__typename': 'File', 'id': '1a9a981e0889f11ee8e9d192d0dbd70fd', 'name': 'file.jpg', 'origName': 'file.jpg', 'contentType': 'image/jpeg', 'description': '', 'ipaddress': '', 'extra': {}, 'create': 1700592982, 'update': 1700592987}, 'lastLoginDate': 0, 'changePasswordDate': 1700591658, 'loginFailCount': 0, 'extra': {'lang': 'it', 'timeZone': 'Europe/Rome'}, 'xcoin': 0, 'currentStep': 0, 'totalStep': 0, 'create': 1700591658, 'update': 1700592994, 'roles': [], 'children': [], 'contacts': []}, 'flag': 'SECOND', 'approval': 'COMPLETE', 'listOrder': 0, 'create': 1700591864} b34cf1b8a458d70d00450885314d4ff3 - no config options |
What version of Integration has the issue?
2.5.7
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Solcast PV Forecast
Sonoff
Spotify
Checklist
Describe the issue
I added the integration through HACS and entered admin details for the integration.
The integration finds the watch, but the entities never update. The log shows:
Error requesting xplora_watch- data: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.myxplora.com/api')
Reproduction steps
Debug logs
The text was updated successfully, but these errors were encountered: