DescriptionOpenWRT widget works fine without any interfaceName: specified, however as soon as one is added, the status switches to API error. v0.8.8, deployed via LCX on Proxmox 8.1 OpenWRT is deployed as x86 on an Intel N5105 based router. homepage version0.8.8 Installation methodOther (please describe above) Configuration- OpenWRT:
href: http://x.x.x.x
icon: openwrt.png
widget:
type: openwrt
url: http://x.x.x.x
username: xxxxxxxx
password: xxxxxxxx
interfaceName: eth1Container LogsNo response Browser LogsNo response TroubleshootingHave tried with the "friendly" name of the interface (wan, Wan, WAN) and the interface name (eth1). Have also tried with other interfaces. No joy. Removing the interfaceName: line reverts to default (not-interface-specific) config, which works fine. |
Replies: 4 comments 13 replies
|
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Based on the context provided, it seems that the issue you're experiencing with the OpenWRT widget displaying an API error when the
Since you've mentioned that removing the If the issue persists after verifying these points, consider reaching out to the Homepage community for support or checking if there are any open issues in the GitHub repository that match your problem. This comment was generated by Glime. |
|
I have no way to check, if the above doesn’t resolve it let me know we can ask the widget author |
|
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
@chain710 @shamoon @DanGRT
OpenWRT forum has solved this one for us! I will create a PR to update the docs, but basically the changes required are:
rpc.d - remove list write '*':
homepage.json - missing comma at the end of "network.device": ["status"]
{ "homepage": { "description": "Homepage widget", "read": { "ubus": { "network.interface.wan": ["status"], "network.interface.lan": ["status"], "network.device": ["status"]…