I’d like to help at ESPHome project to add new sensors in it but I don’t find any documentation enough detailed about doing it ! I have forked the dev branch of esphome and noticed most of components are in a sub-directory named components and then sud-dir depending of element type. Is it enought to add a new python script in the good directory to add a sensor in ESPHome or will it need something else ? Like declare that new sensor ? For my first new sensors it’ll be mainly a duplicate/adaptation of existing sensors for some sensors different versions or models.
Yep I had seen that page but to be honest and no offence at @OttoWinter but I have been pretty lost reading that page. There is a chapter about setup of dev environnment and chapter about git fork but don’t understand really how both works together ! As I want to add some new sensors I guess I need to work on ESPHome-Core no ? Basically I thought I just need to fork ESPHome-core in my own github account, get a copy on my computer, makes changes in it to add a sensor for example, (not sure yet how to be able to test it on a local copy), and then once tested, sync it back to my github fork and publish a PR against main project right ?
Sorry but I try to avoid as much as possible Discord, that is just a fantastic tool to loose so much time and don’t want to bother @OttoWinter with all my beginners question for now !
I am in no way an expert, but I do tinker a lot with esp’s en tuya devices and would like to share.
I also find the current way of contributing documentation too complicated. I have experience with confluence, mediawiki, docuwiki and more tools like it, but the current way to contribute seems too complicated and time consuming. That’s why I share it here.
Yep and have to find out too how to test codes added in project as I don’t see any easy way to test modifications done before pushing them into PR I have setup I guess correctly a local copy of the forks I made of each of the 3 projects making part on ESPHome system. I’m able to open the core project in Platform.io (used in Atom). I notice I can build the project without errors but a little lost with that. It looks to compile some demo projects included in the code (fastled, livingroom…). Should I create a new demo project for my own integrations I plan to add at ESPHome ? and if so where is the firmware file once compiled ? as I’m unable to find it in project directories
I’ve done similar things in the past so I know how much work they can be (it’s more than you think). Plus I don’t have any talent for user interfaces, it’s important to get that stuff right. So no time, no talent, it’s not going to be me making it.
Yep thanks and with help of @zewelor on discord I have setup the whole thing so ready to add some new integrations now Will figure out later once finished my first integration how to contribute it back at project !!