Sonoff NSPanel ESPHome Flashing lukt niet

Pagina: 1
Acties:

  • willemvdvliet
  • Registratie: Maart 2005
  • Laatst online: 11:47
Het flashen enzo is relatief makkelijk.
Ik maak gebruik van HomeAssistant en de ESPHOME addon.

In de ESPHOME add on heb je rechtsboven secrets:
Afbeeldingslocatie: https://tweakers.net/i/rnhiF5HC_oRlJnoi4pzQwE03MFE=/800x/filters:strip_exif()/f/image/jbQEM30ZarpJeLO8DJ5NPSoe.png?f=fotoalbum_large

Klik op dat linkje en dan kan je een secret aanpassen:
Afbeeldingslocatie: https://tweakers.net/i/NwghUrfQ-ZBL50n4aG0GgMdIZug=/full-fit-in/4000x4000/filters:no_upscale():fill(white):strip_exif()/f/image/ayikucpHsAsxQ3T5Q6bUL0t4.png?f=user_large

Vervolgens heb ik de yaml iets aangepast:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
substitutions:

###### CHANGE ME START ######

  device_name: "nspanel" 
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  nextion_update_url: "http://192.168.100.165:8123/local/nspanel_eu.tft" # URL to local tft File
#  nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_us.tft" # URL to Github

web_server:
  port: 80
  auth:
    username: admin
    password: ${wifi_password}
    ##### advanced config - change to use web_password ##### 
    # password: ${web_password}

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  manual_ip:
    # Set this to the IP of the ESP
    static_ip: 192.168.100.30
    # Set this to the IP address of the router. Often ends with .1
    gateway: 192.168.100.1
    # The subnet of the network. 255.255.255.0 works for most home networks.
    subnet: 255.255.255.0
    dns1: 192.168.100.1
    dns2: 192.168.100.1

##### CHANGE ME END #####



##### DO NOT CHANGE ANYTHING! #####

packages:
  ##### download esphome code from Github
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: beta
    files: [nspanel_esphome.yaml]
    refresh: 300s

##### DO NOT CHANGE ANYTHING! #####

Ref: kan je op main laten staan ik heb ervoor gekozen om hem op beta te zetten.
De IP referenties heb je niet perse nodig je kan hem ook automatisch een IP adres toekennen evenals de webserver.
Pagina: 1