Setting up a Test ESPhome for YAML script testing

How do i go about setting up an offline instance of ESPhome that i can compile YAML scripts for testing..

Thread Status
13
190
3
3
0

Sort replies by:

If you want to test it with a development board first, then scr-485-new.yaml defaults to ESP32-C3. If you only have an ESP32 development board, you can change board: esp32-c3-devkitm-1 to board: esp32dev. But please note that scr-485 must use board: esp32-c3-devkitm-1

That is the thing, I don't have another SCR, I just want to setup a virtual machine for doing writing and testing YAML scripts .. I will see if it will load on a Arduino esp32 i have lying around 

This is a step-by-step tutorial about how to use ESPhome to configure SCR-485

https://www.iammeter.com/newsshow/quickstart-scr485

How do i go about setting up an offline instance of ESPhome that i can compile YAML scripts for testing..

I have set up esphome on a test machine and have a browser open on http://localhost:6052

I load the latest SCR_485 Script and update, get error..

INFO ESPHome 2024.6.1 

INFO Reading configuration d:\esphome\scr-485.yaml... 

Failed config http_request: [source d:\esphome\scr-485.yaml:84] 

ESPHome supports certificate verification only via ESP-IDF. Set 'verify_ssl: false' to skip certificate validation and allow less secure HTTPS connections. 

useragent: esphome/device 

id: http_request_data


Not sure what i have missed..

Cheers and thanks in advance

If your esphome is a version before 2024.6.0, please use scr-485.yaml(version: "1.1.6").

If your esphome is version 2024.6.0 or later, please use scr-485-new.yaml(version: "1.2.1" or later).

If you use the built-in auto_mode of scr-485, remember to change the time zone to your local time zone.

servers: pool.ntp.org: the internet cluster of ntp servers (ntppool.org)

timezone: List of tz database time zones - Wikipedia

time:
  - platform: sntp
    id: sntp_time
    servers: au.pool.ntp.org
    timezone: Australia/Brisbane

So far so good, compiled and got the screen below, but the Visit hyperlink goes to http://scr-485.local/ which doesn't take me anywhere, do i have to actually to load it up on an esp32-dev??


Cheers

You need to connect to the SCR WIFI directly after, then re-join it to your network SSID

That is the thing, I don't have another SCR, I just want to setup a virtual machine for doing writing and testing YAML scripts .. I will see if it will load on a Arduino esp32 i have lying around 

I have a Chip is ESP32-D0WDQ6 (revision v1.0)

Is there any support for this chip..

Cheers

you can change board: esp32-c3-devkitm-1 to board: esp32dev. 

I have a Chip is ESP32-D0WDQ6 (revision v1.0)Is there any support for this chip..Cheers

I used docker for my esphome, and added it to home assistant

That is the thing, I don't have another SCR, I just want to setup a virtual machine for doing writing and testing YAML scripts .. I will see if it will load on a Arduino esp32 i have lying around 
Looks like you are new here. Register for free, learn and contribute.