BoKKeR

Members
  • Posts

    153
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

BoKKeR's Achievements

Apprentice

Apprentice (3/14)

45

Reputation

1

Community Answers

  1. I quickly added the home assistant repo functionality. So far the build is only for x86-64. It should work if you add the repository: https://github.com/BoKKeR/unraidapi-re More info in the readme. I have also enabled issues on the repo. Please open issues there.
  2. Its in the first post in this thread, and in the Github readme. I will add it to the template and the webpage
  3. @emilgil env variable in the template. 20 000 should be 20 seconds Also you are running the tag 6.11 with unraid 6.12. They have to match
  4. No granular way to set polling on each feature, you can slow down polling as a whole by changing MQTTRefreshRate=20000
  5. @Puntoboy what version are you running of unraid? The config folder is the one thats set in the template, probably /mnt/user/docker/Unraid-API
  6. @Puntoboy can you check the config folder if there are any files? You could try wiping them also. You could enable writing the HTML files with the WRITE_HTML_OUTPUT=true environmental variable. That will generate more logs about the scraping. You can share these logs privately with me for more debugging.
  7. @corgan I am not sure how mqttDisabledDevices.json works, It looks like you can disable docker for a full host, but not really specific containers? I could look into disabling auto discovery since its quite messy with the docker containers... I am also not sure if the discovery feature is broken. I have not touched it from the old project and frankly I am not sure how that feature should behave. I will have to do some research or you can fill me in on the details if you have experience. The update intervall can be possibly adjusted with an environmental variable `MQTTRefreshRate` also seen on the screenshot. @viktortras I have not tested with a public myunraid address. Could you try locally on the same network? @Orishas Noted, will have to revisit this issue @vicious-transgression6851 You seem to have all the data so it might be unrelated to unraid-api? I mostly use this with home assistant. @Puntoboy There is no home assistant version. I am using it as a container deployed on UNRAID connecting it to HA with MQTT. The home assistant version would just run the unraid api container within HA OS.
  8. Yes, when I find time i will the entities that are broken. Hopefully this weekend.
  9. I am afraid that the current plugins and docker container community supporting unraid are not versioned properly to support a big influx of users on old unraid versions. There is no easy way of installing a plug-in which matches your old unraid version as far I know. The way of making these components match is just updating to latest bleeding edge of unraid OS and updating all supporting plugins/containers. With this change there will be many users stuck on older versions. They would have to manually match plugins to unraid versions. I maintain the unraid-api and there is not enough bandwidth to backport features. I can only implement those for the newest unraid versions. I keep tags for older releases. I am unsure if plugins have a similar mechanism. I welcome the change but I am afraid it will create a lot of noise for individual contributors who maintain smaller projects related to unraid. Also is there an official release date ?
  10. After the files from @light2089 I have fixed so the version returns an empty string in the meanwhile if the version is not found. I will investigate further since it works on my test machines and I suspect its some kind of a custom setting which hides the version on the main page
  11. @BlaM I would like to add this also, but unfortunately I dont own a UPS, is there a way I can emulate a UPS? Since once a feature is implemented it has to be maintained going forward. @light2089 Thanks for finding this bug and opening a PR (I somehow didnt get a github notification). I cant reproduce it on my 2 systems running 6.12.6, Are you using any custom theme? Could you run the container with WRITE_HTML_OUTPUT=true and send me over the dashboard.html file from your /config folder in private? So I can find a version a code that works for all of us. @ABEIDO The logs are coming from unraid itself. Since the container needs to ping the dashboard there is no way this container can fix it. The unraid team might be able to help in the future how to surpress them. I will look into the HA problem
  12. I have ended up using the terminal/ssh. example command: docker logs --follow `docker ps -aqf "name=Unraid-API-RE"`
  13. I have seen some reports of it working and not working on 6.12.6, I am currently away from my computer so I can’t test it but please submit your dashboard html files after running the container with WRITE_HTML_OUTPUT=true and send them over to me in a PM since they are not anonymised. @k11su @mkono87 @chompy18 try running npm ci instead, alternatively check how the docker file is setup. The packages are broken since before I took over the fork I will have to revisit the Unraid dashboard getting slow once I find more time to write a backing off strategy
  14. @syper @ByteHeaven could you try using the MQTTRefreshRate=60 env variable. Setting the refresh to every 60 seconds or even 120. Instead of the default 20 seconds. Also close the website since I noticed that the web browser has its own 3 second times, each tab would start a new 3s process. I will have to rewrite that... I suspect that when the server/ui becomes slow the unraid-api does not back off and just queues up more tasks ending up slowing down the UI indefinitely. I would like to rewrite that whole logic but my current fix would require an external redis service. Or implement some sort of logic for exponential backoff https://stackoverflow.com/a/52772266/2515404 @skank Does the entity show up as following?
  15. Are you able to wipe the /config folder and start again?