Skip to content
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

Arcadyan gateway doesn't always provide all signal information #64

Open
asheingold opened this issue Mar 18, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@asheingold
Copy link

When the Arcadyan gateway returns the status of the signal, it doesn't always provide both 4g and 5g bands if not connected. For example, my gateway pulls this currently:

{ "device": { "friendlyName": "5G Gateway", "hardwareVersion": "R01", "isEnabled": true, "isMeshSupported": true, "macId": MACADDRESS, "manufacturer": "Arcadyan", "manufacturerOUI": "001A2A", "model": "KVD21", "name": "5G Gateway", "role": "gateway", "serial": SERIAL, "softwareVersion": "1.00.16", "type": "HSID", "updateState": "latest" }, "signal": { "4g": { "bands": [ "b66" ], "bars": 2.0, "cid": 3, "eNBID": 778528, "rsrp": -116, "rsrq": -13, "rssi": -103, "sinr": 0 }

When this happens, there is a key error for ['signal']['5g']['bands'].

@highvolt-dev
Copy link
Owner

Thank you for reporting. I don't have an Arcadyan gateway so the support that I added was thanks to a generous person granting me remote access to theirs, and unfortunately the API response in this situation was considered undefined behavior because that person had 5G signal available.

This should be an easy fix - I'll try to get this fixed for you this weekend!

Short of requesting remote access again, I'm going to write this update mocking against the API response you provided above.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants