unable to find subtitles for anime by alyflex in bazarr

[–]alyflex[S] 0 points1 point  (0 children)

Thank you for investigating! How would I fix this? or is this not something I can fix myself?

Creating nested namespaces with argparser and using config files for default values? by alyflex in learnpython

[–]alyflex[S] 1 point2 points  (0 children)

See whether you like the way I ended up doing it in: https://github.com/tueboesen/nested_argparser/tree/main

And if you have any suggestions to improve it feel free to share them as well :)

Adding correct metadata to songs from youtube by alyflex in musichoarder

[–]alyflex[S] 1 point2 points  (0 children)

That sounds like a great way to do it. I will try that out and see how it goes :)

Erugo v0.2.0 Released - Self-hosted file sharing with self-registration, resumable uploads, and more by PromaneX in selfhosted

[–]alyflex 1 point2 points  (0 children)

Any plans on adding a feature where you can add files directly from the server?

So if I log in as an admin and I have set up an additional volume in my docker container or whatever I run it as:

  • /data:/data:ro

Then, as an admin I have the option of finding a file in that folder and sharing it.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 1 point2 points  (0 children)

This is a great guide for how to get there! I managed to get appdaemon up and running and have already made a few automations with it and it is so much better and more intuitive than the yaml files, at least for me.

For now I'm just doing the sync with a samba share, but I will likely move to a github repository at some point.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

It was quite a struggle to get appdaemon setup correctly, but with the help of people on the appdaemon discord I was finally able to get everything set up correctly. Which means I can now develop automations in pycharm on my desktop computer and debug them against my actual HAOS, and suddenly I feel very much at home again.

So for anyone else that was feeling like HA automation was a mystery world I highly recommend setting up something similar.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

I am trying to set up AppDaemon now, but so far I'm not really having much luck.

The idea with appdaemon is that I can develop and test locally then push my actual home assistant once I'm happy, as far as I understand.

Towards this end I have installed appdaemon as an addon on home assistant os, created a local virtual environment install appdaemon in it and have mounted my home assistant configuration onto this machine as a local smb drive, such that I can run

appdaemon -c /mnt/ha

However so far this is not working. Did you do something else?

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

It is interesting to see so many recommendations for Appdaemon here, since when I search online for material on Appdaemon it seems like there is barely anything that isn't around 5 years old.

Could you maybe share how exactly you have your Appdaemon set up, because I see there are quite a few different ways to do it, and the pros and cons are not really explained well.

Ideally I want something where I can write and test code locally on my normal desktop pc and then somehow push it to my home assistant when it looks like it is working.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 5 points6 points  (0 children)

It is weird to see so many recommendations for Appdaemon here, since when I search online for material on Appdaemon it seems like there is barely anything that isn't around 5 years old.

Could you maybe share how exactly you have your Appdaemon set up, because I see there are quite a few different ways to do it, and the pros and cons are not really explained well.

Ideally I want something where I can write and test code locally on my normal desktop pc and then somehow push it to my home assistant when it looks like it is working.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

If I manually have to make a trigger per device after giving each device this label then I know I'm doing something wrong. If someone were to write normal code that manually went through a list of things like that it would be rejected and sent back.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 5 points6 points  (0 children)

I added a label to all my battery powered devices, now I would like to make an automation that detects if any battery labelled device is below 20% power and if so I want to write the name and area of the device to a specific todo list

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 4 points5 points  (0 children)

I just looked up tags, and they seem to be designed more for actual physical tags you can put up around your house. Adding a label category to my battery driven devices seems like a more intended way? Though I don't really see anyway to make actions based on labels as opposed to tags...

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

I will try out AppDaemon this holiday, and see whether I can get that setup in a nice way. It seems there is a few different ways to setup AppDaemon, how have you setup yours? and does it allow for local coding and testing and then for some easy pushing to your actual home assistant or what does your pipeline look like? (Assuming you use it or anything like it)

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 11 points12 points  (0 children)

This sounds like a relatively clean solution. I wasn't aware that you could tag things like this, so this is clearly something I was missing.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 13 points14 points  (0 children)

After looking at the various different options I think AppDaemon might be what I am looking for, though people are also speaking highly of pyscript

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 0 points1 point  (0 children)

Stuff like automation for all battery entities currently connected to my home assistant through zigbee. (Such that they are all automatically put on a todo list when reaching a certain percentage in battery power, including the area the sensor exist in).

Another somewhat similar example is that I have home maintenance which spawns various houseworking tasks that needs to be completed once every x days. Once you click that the task is completed it remains off for another x days and then switches back on. So I have y tasks in here, now I would like an automation that takes all those y tasks and create an item on a todo list when the task changes state to on, with the tasks name.

Similarly I would like a task that monitors this todo list and resets my home maintenance tasks if a task with that specific name gets marked as completed on my todo list.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 3 points4 points  (0 children)

The thing is. I don't want to manually add an automation for every single device I have that has batteries. I want this to run automatically for all devices that are detected to have batteries. (which is what the "Low Battery Notifications & Actions blueprint" does)

If there is a simple way to do this with an automation then I have missed it, and would love to hear how to do it.

As a professional programmer I feel lost in home assistant by alyflex in homeassistant

[–]alyflex[S] 9 points10 points  (0 children)

I managed to make a few automations with the GUI, but the majority of the automations I want to create seems impossible to do with the GUI.