rhannink / m5stack-ha-alarm-panel Goto Github PK
View Code? Open in Web Editor NEWM5stack alarm panel with RFID face to control Home Assistant MQTT alarm panel
License: Apache License 2.0
M5stack alarm panel with RFID face to control Home Assistant MQTT alarm panel
License: Apache License 2.0
Hi, thanks for sharing this great project with us ! I am in the process of implementing this. The m5stack has been flashed but for the time being I use no RFID add on, just the buttons.
My config in Arduno for MQTT :
const char* mqtt_clientId = "M5stack-alarm";
const char* mqtt_state_topic = "home/alarm";
const char* mqtt_command_topic = "home/alarm/set";
const char* mqtt_state_full = "armed_away";
const char* mqtt_state_part = "armed_home";
const char* mqtt_state_off = "disarmed";
const char* mqtt_state_pending = "pending";
const char* mqtt_command_full = "ARM_AWAY";
const char* mqtt_command_part = "ARM_HOME";
const char* mqtt_command_off = "DISARM";
const char* display_state_full ="Fully Armed";
const char* display_state_part ="Partially Armed";
const char* display_state_off ="Switched Off";
const char* display_state_pending ="Pending";
const char* display_present_card = "Please present Card!";
const char* button_a_text = "Off";
const char* button_b_text = "Home";
const char* button_c_text = "Away";
My config of the mqtt entry in configuration.yaml :
alarm_control_panel:
and finally my config in the Lovelace card :
entity: alarm_control_panel.mqtt_alarm
name: M5Stack Alarm Panel
states:
Is this a correct configuration ?
I do not see any changes when pressing the M5Stack buttons ...
Thanks for your help !
Tony
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.