Create standalone software from yaml code

Hi !

I created a final working software with esp home on an esp8266 (d1 mini pro) which I now want to convert to a standalone application which would work without HomeAssistant.
This software should provide a web view for some data and a possibility for setting up some ranges which are used in the code.
Are there any recommendations how to transfer the working yaml code ?

ESPhome already works without being connected to HA, as long as you aren’t requiring the device to retrieve data from HA. I have ESP’s running ESPhome that run independently of HA just fine.

Jep but esp home would be still required to flash and HomeAssistant to view the data or setting up the configurable values which are available from created entities…
My intention is to have an application which is kind of working „out of the box“

Not sure what you are aiming for, but you can install ESPhome without home assistant. Setup your device with access point enabled, and webserver. You should then be able to deploy your solution.

Flashing of the binary can be done through ESPhome web, or command line tools.

And you can set values from the web server component served up from the ESP:

Of course for continous work without being connected to HA is worth mentioning that you must set “reboot_timeout” to zero for api, or module will restart every 15 minutes (by default).

1 Like

As the others have said, nope, incorrect. If you create ESPhome entities such as ‘numbers’, you will be able to edit them from the Web server UI. HA is not needed at all.

1 Like

Besides the built in webserver (which has a rest api you should look at), the esphome api is open source, so you can implement outside ha. At least one other home automation project has done it.

There is also this HTTP Request — ESPHome to communicate with the outside world.

I want to use ESPhome as standallone for 5x Xiaomi temperature meters. I dont have HA and for this (reading only) purpose I dont need it. I want just to extend BT range and read the data.

Is this possible with ESPhome only? Can I use ATOM Lite ESP32 IoT Development Kit for this?