What I use to find examples of configuration (github clones of best repos)

Create a file called ‘list’ with

https://github.com/arsaboo/homeassistant-config
https://github.com/badgerhome/home-assistant-configuration
https://github.com/Bahnburner/Home-Assistant-Config
https://github.com/CCOSTAN/Home-AssistantConfig
https://github.com/CiquattroFPV/Homeassistant-Example-Config
https://github.com/cyberjunky/home-assistant-custom-components
https://github.com/dale3h/homeassistant-config
https://github.com/happyleavesaoc/my-home-automation
https://github.com/Instagraeme/Home-Assistant-Configuration
https://github.com/JamesMcCarthy79/Home-Assistant-Config
https://github.com/lolouk44/homeassistant
https://github.com/metbril/home-assistant-config
https://github.com/mf-social/Home-Assistant
https://github.com/Norien/Home-Assistant-Config
https://github.com/ntalekt/homeassistant
https://github.com/pilotak/HomeAssistant-MyConfig
https://github.com/robbiet480/Home-Assistant-Config
https://github.com/SilvrrGIT/HomeAssistant
https://github.com/skalavala/smarthome
https://github.com/smccloud/Home-Assistant
https://github.com/stanvx/Home-Assistant-Configuration

Then clone each repo using the github account as folder name :

for i in `cat list`; do
  echo $i
  git clone --depth=1 $i.git `echo $i|cut -f4 -d/`
done

Delete the HTML/javascript/CSS

rm -rf arsaboo/www/
rm -rf mf-social/www/
rm -rf JamesMcCarthy79/config/www/
rm -rf CCOSTAN/config/www/
rm -rf skalavala/docs/assets/js

Then search for whatever you need

grep -r "now.*last_triggered" *

Any other good repos I should clone ? :stuck_out_tongue:

5 Likes

That’s me :smile:

2 Likes