ElectricBrainUK

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by ElectricBrainUK

  1. Hey, As for default image I don't see why not, I'll look into it. I currently have no plans to provide a https end point so I would recommend using a proxy for now. I will also look at adding progress for the parity check and mover, shouldn't be a massive change. Let me know if there is anything else Cheers
  2. Hey, I've replied to your message on discord but if you'd rather discuss here that is no problem, my initial thoughts are around the unraid ui being accessible
  3. Hey - sorry for the delay it took a bit longer than I first thought. If you check the beta tag for the api you should be able to get images by just sending the image url to the api. So normally you would have http://unraidServerIpAddress/state/plugins/dynamix.docker.manager/images/bazarr-icon.png now it is http://unraidapi(:port)/state/plugins/dynamix.docker.manager/images/bazarr-icon.png
  4. Hey, Thanks and also great idea, looks good! I love to see others doing work with the API and this looks like it'll be very useful I'm happy to help with the images, but instead of downloading them I could just proxy the unraid versions right? Unless you think that'll cause an issue? Good spot on the typo, I'll have a look at fixing it but I don't want to break anyone's automations that are already based on the typo, whoops
  5. That is great that it worked! Im glad and happy to help. As for the switch I think for now it is best left to be manually added, as some people may not have the sleep plug in so I wouldnt want to add the switch to their config. Ill see if I can detect this and set one up automatically in the future. However for now if you add the following to your home assistant config: - platform: mqtt command_topic: "homeassistant/sger_unraid01/sleep" payload_on: false, payload_off: true, value_template: "{{ value_json.on }}", state_topic: "homeassistant/sger_unraid01", name: "sger_unraid01_sleep" It will create a switch for you
  6. Ah yeah there was a bug, I’ve pushed a fix if you could try again that would be great
  7. Ah you’re right, the command I gave you is wrong, there should be no / before homeassitant. Thank you for your help, I appreciate it, there is no need to apologise these things often take time to work out the teething issues and by helping me test you are being very helpful.
  8. Hey, sorry for the delay - you don’t need to worry about the REST one using home assistant. Could you try updating again and trying again with the mqtt command now? Could you also let me know if there is anything unusual in the logs after you run the command?
  9. Hey @ph0b0s101 thanks for the details, I have updated the beta tag with a sleep command, if it works fine for you Ill move it into the latest tag. If you dont know how to switch tags, when you edit the docker, under repository add :beta to the end of electricbrainuk/unraidapi to make electricbrainuk/unraidapi:beta. If you are using Home Assistant / MQTT you need to call it via /basetopic/servername/sleep or via the REST API it would be POST /api/changeServerStatus { action: "sleep", server: "IPAddress", auth: Base64(user:password)) If you could let me know how you get on that would be really helpful, thanks (Also let me know if there is anything you need help with)
  10. Ah okay sure, just a thought. If it is just a delay then I would say it was probably because your MQTTRefreshRate variable is too fast, MQTTCacheTime is also a little fast but that shouldnt matter as much. Try setting them to at least 5.
  11. Hi both, sorry for the delay. @Jokerigno Ive looked and I cant see why you would be experiencing this issue, the only thing I can think of is your home assistant appears to be in a language other than English, do you think it could be because my unraid api isnt playing nicely with that? Seems unlikely but it is the only thing I can think of. @ph0b0s101 sleep is definitly achievable but I would like to know if you currently sleep your unraid machine and how you do it? Hooking into an existing function would be easier than writing one from scratch but one from scratch might be more universal
  12. Hey, that is unusual, I'll take a look tomorrow as well. However I don't recommend having a mqtt cache time and refresh rate of one, you could end up spamming your home assistant and slowing it down or even crashing it depending on the spec of your home assistant box/VM
  13. Okay great, I'll let you know when I have an update, will take a look tomorrow
  14. Hey, I'm glad it has been useful! Just to check do you mean sleeping the unraid host? I could probably do that relatively easily
  15. Hi @giustanca and @danielpiccoli, I have pushed a potential fix, please let me know if it solves your problem
  16. Hi @giustanca and @danielpiccoli, it looks like you are both having the same problem, relating around it failing to get a piece of information about dockers. Do you guys have dockers enabled? And which version of unraid are you each running?
  17. Hey - that is unusual however there are two variables MQTTCacheTime (default 20 which is in seconds) and MQTTRefreshRate (default 60 which is in minutes) increasing these values should reduce the strain on your system.
  18. Hey sorry I missed this, it does seem that way - I will look into it. If you would like the functionality in the meantime I recommend you use the unraid docker - sorry for the inconvenience
  19. Overview: Support for Docker image idleminerdashboard in the electricbrain repo. Docker Hub: https://hub.docker.com/r/electricbrainuk/idleminerdashboard Github/ Docs: https://github.com/ElectricBrainUK/IdleMiner Discord: https://discord.gg/Qa3Bjr9 If you feel like supporting our work: https://www.paypal.me/electricbrain Thanks a lot guys, I hope this is useful!
  20. Hey, You do that via the web interface, open the UI and configure your unraid server. However the Home Assistant add-on is still in alpha and has some problems. The docker for unraid is more reliable if you face issues.
  21. That's great, I'm glad it is working for you now!
  22. Hey, seems I missed a few posts on this thread - sorry about that - I will answer them here: @Keith Ellis yes you can pause the dockers /basetopic/servername/dockername/paused should do the trick @paulmorabi I am working on a fix for the latest RC of unraid @dbs179 & @neepninja if you are getting 503 errors in the logs the problem is between the unraid API and the unraid server. Your mqtt setup within ha seems fine. The problem could be many things, if you're using the latest RC that could cause issues which I'm working on, or if the server uses https and the API hasn't been configured to connect over https, or if your UI uses non standard ports you need to list those in the URL field, could be a simple user/password mismatch as well. Finally if you're MQTTCacheTime or MQTTRefreshTime is too fast unraid can block the API for spamming it with requests. i hope this helps - let me know if there are further questions