The HomePlate makes use of MQTT Discovery so it should automatically add its sensors to your Home Assistant instance if MQTT is already setup.
For example dashboard yaml see dashboard.md.
You can change the activity running on the HomePlate by publishing the following MQTT message to the topic: homeplate/activity/run
The example below launches the QR activity:
{
"action": "qr"
}
You can add additional data to the action as well. To display a text message:
{
"action": "message",
"message": "Hello World!"
}
type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.homeplate_boot_count
secondary_info: last-updated
- entity: sensor.homeplate_activity_count
secondary_info: last-updated
- entity: sensor.homeplate_temperature
secondary_info: last-updated
- entity: sensor.homeplate_voltage
secondary_info: last-updated
- entity: sensor.homeplate_battery
secondary_info: last-updated
- entity: sensor.homeplate_boot_reason
secondary_info: last-updated
- entity: sensor.homeplate_wifi_signal
secondary_info: last-updated
- entity: sensor.homeplate_version
secondary_info: last-updated
title: HomePlate
state_color: false
- type: grid
cards:
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: homeplate/activity/run
qos: '1'
payload: '{ "action": "hass" }'
retain: true
target: {}
icon: mdi:home-assistant
name: Dashboard
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: homeplate/activity/run
qos: '1'
payload: '{ "action": "qr" }'
retain: true
target: {}
icon: mdi:qrcode
name: WiFi
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: homeplate/activity/run
qos: '1'
payload: '{ "action": "info" }'
retain: true
target: {}
icon: mdi:information-outline
name: Info
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: homeplate/activity/run
qos: '1'
retain: true
payload_template: >-
{ "action": "message", "message": "{{
states('input_text.homeplate_message') }}"}
target: {}
icon: mdi:message
name: Message
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: homeplate/activity/run
qos: '1'
retain: true
payload_template: >-
{ "action": "img", "message": "{{ states('input_text.homeplate_message')
}}"}
target: {}
icon: mdi:image
name: Image
columns: 4
- type: entities
entities:
- entity: input_text.homeplate_message
name: Message
show_header_toggle: false