SONOFF NSPanel - stock GUI with custom repository

Hi everyone!
For several days he has been trying to change the NSPanel configuration and merge several repositories
I started with NSPanel running ESPHome connected to Home Assistant - YouTube and repo github://pr#2702
with components [“nspanel”]. The way how Dean Smith showing widget adding is very clear for me.

Next day i found repository with information how to get data from my temperature sensor (in HA) and send it to panel under weather condition icon. Instruction was made by Christopher Masto (Flashing the Sonoff NSPanel with ESPHome - how to get a custom UI for Home Assistant! - YouTube) and showing more interesting features like dimming screen or sensors infomration. Unfortunately it based on another components (source: github://pr#2956 components: [nextion] and i can’t merge it. any one can help my with that ? any hints ?
mainly i am interested in temperature function.

Thank you in advance for any hints

#external_components:
#  - source: github://pr#2956
#    components: [nextion]
#    refresh: 1h


# NSpanel drivers no fix
external_components:
 - source: github://pr#2702
   components: ["nspanel"]
   refresh: 0s
sensor:

# Grab current temperature from Home Assistant
  - platform: homeassistant
    id: current_temperature
    entity_id: sensor.landing_temperature_calibrated
    attribute: temperature
    on_value:
      # Push it to the display
      then:
#not working with components: ["nspanel"]
        - lambda: 'id(disp1).set_component_text_printf("temp", "%.1f ""\xb0""F", x);'

        
1 Like

assuming you flashed it correctly ( I am not going to provide help on that one ), I used marcfagers solution ootb and this started up fine. As it had no connection to any of my sensors, I then modified that to make it work for me

marcfager/nspanel-mf: Custom HMI controlled by ESPHome for the Sonoff NSPanel. Includes media player card and home screen with weather data and clock. More to come. (github.com)

yes. i saw this solution but i want to stay on original UI. thx!

1 Like

?? you are including links that do not represent ‘original’…and what is original.
Anyhow, I am out of this conversation :slight_smile:

1 Like