Sonoff NSPanel Blueprint - Configure your own custom NSPanel easy via a Blueprint

You can have wrong version on ESPHome logs when no version is reported, which means the Blueprint is not connected to the panel.
Please double check in your blueprint settings if the panel is selected properly.

I’m still waiting to fix one of my NS Panels which refuses to complete the TFT update, but I have another which is working great on all the 4.0.2 files.

My question is, where do I find the settings to select the media player to be controlled? I don’t see it anywhere in the Blueprint.

On any button you can assign a media player entity.

We are working on a new upload engine, but still in dev. Do you want to try that?

I’m definitely keen to try it.

So, in your ESPHome yaml settings, on the remote_package area, change from ref: main to ref: dev. Flash your device again and then try to Upload TFT (please capture logs).
After that, change it back to ref: main and flash your device again. (please don’t try to transfer TFT again if you already succeeded from dev).
Please let me know how it goes.

1 Like

Success! You are a legend mate. So far I’ve just flashed the dev ESPhome file and uploaded the TFT. I’ll now upload the main ESPhome file again. Unfortunately I did it all from my phone so didn’t get the logs but it went smoothly. I’ll see if I can grab anything using my PC shortly.

EDIT: I had a look at the logs but nothing to see there, I definitely should have used my PC during the TFT update. Sorry about that.

1 Like

No worries about logs. I’m happy to hear you succeed uploading the TFT file.

1 Like

So… with the newly released wake word stuff in HA and ESPhome, would it be possible to include that functionality in the NS Panels by wiring in a microphone? That would be epic. I guess it will come down to what resources are left in the NS Panel’s ESP with the existing package on there.

1 Like

With the media players, I’m noticing that with the ones I have setup which only have ‘up’ and ‘down’ volume rather than a slider, simply show no volume control at all.

This really needs up and down volume control.

Even better would be input selection

Could you please go to Developer Tools, tab States, then look for this entity and let me know what it is in its attributes? Ims specially interested on the supported_features attribute.
By the way, which integration are you using for this media player device?

That would be awesome. In fact, there are some GPIO probably available (gpio2, gpio23?) so finding a pin for your mic might not be an issue.

So this is an old AV receiver which I’m controlling via SmartIR with a Broadlink IR blaster. Basically HA can only send it commands for power, volume, mute and input selection, then expect that it got through. For volume it can therefore only give up and down commands with no knowledge of the actual volume level. In media cards this normally just give up and down buttons rather than a slider.

image

Plus an input selector drop-down menu

image

I actually have two systems like this.

Supported features is 4024:

    PAUSE = 1
    SEEK = 2
    VOLUME_SET = 4
  ->VOLUME_MUTE = 8
  ->PREVIOUS_TRACK = 16
  ->NEXT_TRACK = 32

  ->TURN_ON = 128
  ->TURN_OFF = 256
  ->PLAY_MEDIA = 512
  ->VOLUME_STEP = 1024
  ->SELECT_SOURCE = 2048
    STOP = 4096
    CLEAR_PLAYLIST = 8192
    PLAY = 16384
    SHUFFLE_SET = 32768
    SELECT_SOUND_MODE = 65536
    BROWSE_MEDIA = 131072
    REPEAT_SET = 262144
    GROUPING = 524288
    MEDIA_ANNOUNCE = 1048576
    MEDIA_ENQUEUE = 2097152

We use volume set to define if volume buttons are shown, but I understand in your case volume up/down buttons should be there.
Volume step is probably the best one in this case, but that will require changes in the service calls also, as currently the +/- also use volume set service.
I will take a look at this.

1 Like

Is there a way to change an icon based on the state of a sensor within the nspanel?

None of my groups are working as buttons. Am I doing something wrong? It is working in Home Assistant as it should…

Hi Edward, still having issues. All updated to 4.02, but it appears that on one panel it ignores the blueprint. It says Retry 1…2…3… and so on. I dont get it, all looks fine ? Any idea what the issue might be ?

The symbol for climate entity is always visible, at least in my setup.
There is no Stby mode.
This are the available attributes

hvac_modes: heat, off
min_temp: 8
max_temp: 28
preset_modes: eco, comfort
current_temperature: 20
temperature: 19.5
preset_mode: null
battery_low: false
battery_level: 50
holiday_mode: false
summer_mode: false
window_open: false
friendly_name: Wohnzimmer Heizung
supported_features: 17

Is it possible to influence that somehow?

This is not based on attributes, but in the state of that entity. It could be off, heating or idle (it’s set to heat, but as it is above the target temperature, it is in standby and isn’t heating right now). That icon woukd be shown when state is idle.

Try removing that specific panel from you HA devices and then adding again, then go to your automation and make sure the panel is correctly selected.

By the way, have you renamed any entity of this panel?

Not at this moment. Could you please add as a feature request on GitHub?

How are you creating the groups?

I mean, if at the end your entities ar of type group.xxxxx that is not supported, but if you are creating groups of specific domains, that should be transparent to the Blueprint.