Comments (4)
- ✅ It works.
- ✅ It work, the timer stopped as soon it's going back to off
- ✅ It works the same way as #1 - because the timer is started when listening from MQTT
- ✅ Similar to #2
- ✅ Tested and it work
- ✅
- ✅ Not tested, but it should work. The Z2MA may send a turn off request if the timer expires while Z2M is offline. Not really a problem.
@ciotlosm Thanks!
from zigbee2mqttassistant.
I was planning this feature too... but there's a problem with the "timer button"... because there's many scenarios where the timer won't work...
- If you restart Z2MA
- If you are using another mean to activate the join...
My solution would be to activate a allowJoinTimeout
in the settings which would be activated no matter how you activated the feature. What do you think?
from zigbee2mqttassistant.
@ciotlosm
Implemented and published in Zigbee2MqttAssistant v0.3.95
.
Currently in the dev
branch... please take time to try it!
from zigbee2mqttassistant.
For posterity
Use cases:
-
Start pairing, wait time and stop
- send enable pairing
- start timer
- timer finished
- app disables pairing
-
Start paring but stop before timer
- send enable pairing
- start timer
- manual disable pairing
- cancel timer
-
Someone sends pairing request
- Listen on mqtt
- pairing request recevied from elsewhere
- start timer
- timer finished
- app disables pairing
-
Someone stops pairing remove
- send enable pairing
- start timer
- stop pairing recevied
- cancel timer
-
Restart container during pairing
- container starts
- container asks status from z2m
- container starts timer if pairing in progress
- normal flow continues
-
Start container (normal start)
- container starts
- container checks if pairing in progree
- if no pair in progress, do nothing
-
Container is running, pairing in progress, user restarts z2m
- pair started
- timer started
- user restarts z2m (has pairing by default off) - any way to check stop status?
- z2m starts
- z2m sends status
- cancel timer (do not send pairing stop)
from zigbee2mqttassistant.
Related Issues (20)
- Setting the base_topic for the docker image? HOT 2
- Devices are recognized but stated as "No components" [BUG] HOT 12
- unresponsive s. X hours vs. MQTT last_seen HOT 1
- [BUG]Unable to connect to MQTT server mqtt HOT 23
- Bug after HA last update HOT 12
- unable to connect to mqtt server HOT 9
- Don't show "NO COMPONENTS" error if not running as a HomeAssistant instance. HOT 1
- Network Map not working HOT 5
- Zigbee2MqttAssitant unable to connect to mqtt server HOT 3
- Use more of the available screen space (especially in the map view)
- Longer timeout before showing as unresponsive
- [BUG] Sengled E21-N1EA reporting not supported HOT 4
- [BUG] Issue with Sonoff SNZB-02 unresponsive HOT 1
- [BUG] Slae.sh CC2652RB stick is not listed in device tab of zigbee2mqttAssistant HOT 1
- System.InvalidCastException: Null object cannot be converted to a value type. HOT 1
- [BUG] only partial connection to z2m HOT 5
- Thanks for this project
- releases needed to track changes
- [BUG] Cannot download lasted Docker image and Z2MA not linking to Z2M
- [BUG] crashes when the network drops HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee2mqttassistant.