Hi guys,
I am quiet currios how to achieve this idea and I think asking some experts to point me into the right direction might be usefull.
What I want to do is monitor our github projects:
For example:
- Open Pull requests
- Last Commits
- results of some tests
As the rest sensor can only handle max 255 bytes as input (this was the error I got when testing it with the pullrequest api from github) I startetd to develop a appdeamon script which can ask the API for open pullrequests, last commiets etc. pp.
Now I am really curious how I get this information into my hass.io dashboard and how i pass the repo name from hass.io config to the appdeamon script. What I do have in mind is something like this in my config.yaml
GithubSensors:
githubsensor_repo1_pr:
type: "OpenPullrequests"
repositoryName: "PixelManiacs/repo1"
updateInterval: 6000
githubsensor_repo2_pr:
type: "OpenPullrequests"
repositoryName: "PixelManiacs/repo2"
updateInterval: 8000
What I want is that my appdeamon Github script is called every 6000(seconds) wich can now fetch the wanted information (OpenPullrequests) from the repository (PixelManiacs/repo1)
Am I thinking in the overall wrong direction? How would you guys achieve something like that?
Thanks so far for borrowing me your brain