Closed detxm80 closed 1 year ago
Please can you properly fill in the bug report with clear steps to follow, details of your configuration and what was the last version that worked.
From what you have written I have no idea where you are putting the ip address, where you are getting the message from or what errors are shown in the log.
the latest screen is if i click configuration of device
i don t remember what is the latest version worked
Please run this command against your box:
Please run this command against your box:
Please run this command against your box:
{
"ASVersion":"Q220.000.23.00-AS_28.7.0",
"CAType":"VIDEOGUARD",
"DRMActivationStatus":true,
"IPAddress":"redacted",
"MACAddress":"redacted",
"activeStandby":true,
"airplaylD":"Sky2288",
"btID":"Sky2288",
"cable":false,
"chiplD":"273 626 3089 2",
"devicelD":"6763A50673652288",
"deviceType":"GATEWAYSTB",
"gateway":true,
"gatewaylPAddress":"not MR",
"hardwareModel":"ESi-160",
"hardwareName":"Amidala",
"hdrCapable":true,
"householdToken":"redacted",
"locallRDatabase":true,
"manufacturer":"HUMAX",
"meshEnabled":false,
"modelNumber":"Q220.000.23.00L (51rke0s)",
"networkVersion":"2.00",
"numDTTTuners":1,
"pipCapable":true,
"purchasebalance":"0.01",
"purchaselimit":"30.01",
"receiverlD":"redacted",
"serialNumber":"redacted",
"subscriberlD":"redacted",
"systemUptime":39979,
"uhdCapable":true,
"versionNumber":"6763A5",
"viewingCardNumber":"redacted",
"wakeReason":"ECO"
}
Please don't do screenshots, just paste the content using the <> in the GitHub toolbar, it will make it much easier to read.
Hi, I've the same problem. Here is my output from: http://192.168.1.224:9006/as/system/
Installed version: V2.11.2
{ "developerMessage" : "An URL which did not translate into an AS call was received. The URL was GET 9006/as/system/", "errorCode" : 101, "userMessage" : "Invalid URL" }
I've the same problem also if I delete and re-add the integration (reboot system anche clear browser cache)
HA and HACS are update to the last version.
Thank you for your work and any helps are appreciated.
Should have been this url, sorry.
Sorry, here is the correct output.
{
"ASVersion" : "Q220.000.23.00-AS_28.7.0",
"CAType" : "VIDEOGUARD",
"DRMActivationStatus" : true,
"IPAddress" : "192.168.1.224",
"MACAddress" : "redacted",
"activeStandby" : false,
"airplayID" : "Sky1592",
"btID" : "Sky1592",
"cable" : false,
"chipID" : "263 243 0773 0",
"deviceID" : "redacted",
"deviceType" : "GATEWAYSTB",
"gateway" : true,
"gatewayIPAddress" : "not MR",
"hardwareModel" : "ESi-160",
"hardwareName" : "Amidala",
"hdrCapable" : true,
"householdToken" : "redacted",
"localIRDatabase" : true,
"manufacturer" : "HUMAX",
"meshEnabled" : false,
"modelNumber" : "Q220.000.23.00L (5lrke0s)",
"networkVersion" : "2.00",
"numDTTTuners" : 1,
"pipCapable" : true,
"purchasebalance" : "0.01",
"purchaselimit" : "30.01",
"receiverID" : "redacted",
"serialNumber" : "redacted",
"subscriberID" : "redacted",
"systemUptime" : 41016,
"uhdCapable" : true,
"versionNumber" : "6763A3",
"viewingCardNumber" : "redacted",
"wakeReason" : "ECO"
}
thank you for your time!
- Are there any errors in the log?
From HA log:
`Traceback (most recent call last): File "/home/homeassistant/.homeassistant/custom_components/skyq/init.py", line 158, in _check_for_storage_contents file_content = json.load(infile) ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/homeassistant/.homeassistant/custom_components/skyq/init.py", line 64, in async_setup_entry _check_for_storage_contents(hass) File "/home/homeassistant/.homeassistant/custom_components/skyq/init.py", line 164, in _check_for_storage_contents except [json.decoder.JSONDecodeError, UnicodeDecodeError]: TypeError: catching classes that do not inherit from BaseException is not allowed`
- What happens when you delete and re-add the integration?
I have the same problem
- What is the last version where it worked?
I try re-add (from HACS) integration from V2.10.13 to the latest and I have the same problem
Thanks for your time!!!
Could you provide me a copy of the contents of .storage/skyq.restore_state
, so I can simulate the error.
Also try changing square brackets []
to round brackets ()
in line 164 of __init__.py
.
Could you provide me a copy of the contents of
.storage/skyq.restore_state
, so I can simulate the error.
I try to open the file with VS Code but I see a blanc file... in the file info seem that this is a "zero byte" file
Thank you
Same thing for me, i don’t have this file into custom_components/skyq/
Also try changing square brackets
[]
to round brackets()
in line 164 of__init__.py
.
This will fix the problem.
I know you were responding to the initial post, but always always provide all the information requested. With the right info, I was able to identify the issue in 5 minutes. Without it, I have no idea. Which is why I have changed the bug reporting template that forces people to provide everything.
Same thing for me, i don’t have this file into custom_components/skyq/
It is in the root of your config. I should have more correctly put /.storage/skyq.restore_state
To give an idea the error you provided gave the exact line the problem was on.
Should be fixed with v2.11.3 - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.11.3
Thanks!!!
Should be fixed with v2.11.3 - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.11.3
work like a charm... thank you for your work!!!!
Hi, it's a few version that my integration stop working.... If i put my skyq ip integration says "No devices or entities"
i've the latest version by hacs and HA
i tried to delete it and reinstall it without success