DescriptionHi, I'm trying to set a widget in my homepage for OpenWRT, however i'm always met instantly with "API Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data". The router can be pinged from the machine homepage is running and i've did all the configuration on the website. I've seen another discussion and the widget seems to be problematic by itself, but now the problem may be the new version of OpenWRT, since I'm running 24.10.4 and maybe the API changed? homepage versionv1.8.0 Installation methodDocker Configuration- OpenWRTA:
icon: pfsense.png
href: https://192.168.2.2
widget:
type: openwrt
url: https://192.168.2.2
username: homepage
password: passwdContainer LogsNo response Browser LogsNo response TroubleshootingTry to ping the router with the machine running homepage and logging into the web interface using the created user for homepage, also changing the router url to http. |
Replies: 4 comments 1 reply
|
Okay, so after downloading the code and running locally and spending way too much time reverse engineering it I simply found the problem is the password needs to have quotes like: 'passwd'. If possible add that to wiki so people don't complain like me for something so stupid and simple. Thanks for the awesome project and the boatloads of widgets, they are a god send. |
|
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. |

Okay, so after downloading the code and running locally and spending way too much time reverse engineering it I simply found the problem is the password needs to have quotes like: 'passwd'. If possible add that to wiki so people don't complain like me for something so stupid and simple. Thanks for the awesome project and the boatloads of widgets, they are a god send.