- Select the correct display model according the model number on the back of the display board
- Include the line to configure the baud rate of tx and rx UART, ATTENTION ! use this same baudrate on esphome config
baud=115200
- Include the line, to disable Nextion sending response to commands (this is the default, but include to be sure)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import homeassistant | |
from homeassistant.helpers.template import Template | |
#from homeassistant.helpers.entity_registry import RegistryEntryHider | |
from homeassistant.helpers.entity_registry import RegistryEntryDisabler | |
from homeassistant.const import EVENT_SERVICE_REGISTERED | |
from homeassistant.core import Context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
location: Escritorio | |
devicename: mmwescritorio | |
LD1115H_INPUT_PIN: GPIO17 | |
TXPIN: GPIO1 | |
RXPIN: GPIO3 | |
esphome: | |
name: ${devicename} |
Criar um padrão de nomes de entidades para usar com o Home Assistant, o padrão deve ser simples para proporcionar uma interação mais intuitiva com a alexa e outros assistentes por voz.
- <prefixo_home_assistant> = nome do domínio da entidade ou dispositivo gerenciado pelo home assistant, esse item normalmente não é usado na interação com o assistente por voz
- <tipo_dispositivo_entidade> = tipo do dispositivo ou entidade a ser controlado ou monitorado ex: luz, tv, ar condicionado, temperatura, porta
- = local onde o dispositivo está instalado, ou se existirem mais dispositivos iguais dentro de um mesmo local pode se usar uma peça de mobília ou nome de pessoa como local ex: quarto, cozinha, pia, ricardo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<!-- ... --> | |
<qemu:commandline> | |
<qemu:arg value='-acpitable'/> | |
<qemu:arg value='file=/some/path/slic.bin'/> | |
<qemu:arg value='-acpitable'/> | |
<qemu:arg value='file=/some/path/msdm.bin'/> | |
<qemu:arg value='-smbios'/> | |
<qemu:arg value='file=/some/path/smbios_type_0.bin'/> | |
<qemu:arg value='-smbios'/> |