Comments (9)
It should be, I haven't been interested in those kind of features so I haven't looked. If you enable debug and look at the messages that fall out from a double tap I can try to help you decode them.
from ha-plejd.
I turned on debug and tested this out, there are no noticeable events in the log, nothing about a double tap being detected
2021-01-09 22:33:24 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned True
2021-01-09 22:33:25 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned True with brightness 3b3b
2021-01-09 22:33:40 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned False
2021-01-09 22:33:41 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned False with brightness 3b3b
2021-01-09 22:33:42 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned True
2021-01-09 22:33:42 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned False
2021-01-09 22:33:44 DEBUG (MainThread) [custom_components.plejd.light] Cinema(0b) turned False with brightness 3b3b
from ha-plejd.
Interesting. If something happens on the network that the platform doesn't recognize it should either log "No match for device..." or "No match for command..."
I'm not using the plejd scenes or double taps, so I haven't looked into this.
from ha-plejd.
Could it be that the command is stored locally on the button? It seems unlikely that no message would be sent through the mesh upon activation.
from ha-plejd.
So I just tried this.
The relevant log when triggering a scenario is "No match for device '02' (b'02011000210200000080')" which we can then disect:
02 = ? some sort of broadcast
0110 = command
0021 = the command identifier
02 = scene identifier
00000080 = ?
I'm not sure how this would be useful to represent in homeassistant.
from ha-plejd.
To generate this output, did you assign a scene to the button first? I tested on a button with no assigned scene.
from ha-plejd.
Yes. Given how plejd seems to work I think it's unlikely we can get anything from an "unassigned" double click.
from ha-plejd.
Ah. Then i think the usecase is very limited. Perhaps to notify homeassistant that a scene was triggered however every plejd scene needs an assignment which means if you want homeasssitant to also do an action the button would always do at least 2 things. the one defined by plejd scene and the one defined in hass
from ha-plejd.
Closing due to limited usecase.
from ha-plejd.
Related Issues (20)
- Exception while access self._brightness
- ha-plejd not working on RPI/ Bluetooth needing restart HOT 9
- Cannot use/login to Plejd integration since a few weeks ago HOT 1
- Unique entity id for lights HOT 2
- Deprecation warnings HOT 1
- Trying to get ha-plejd to work on home assistant docker on Synology nas HOT 9
- dbus app-armor blocking? HOT 3
- Time zone setting needed HOT 7
- No plejd devices found. Radio interference?
- Light won't turn on HOT 4
- DIM-01 New FW not discovered correctly HOT 2
- Typo in light.py HOT 1
- Plejd SPR-01 Smart Plug on/off HOT 3
- newbie instructions for hassio HOT 2
- suddenly plejd stopped working HOT 2
- Crypto key on IOS HOT 4
- Shelly as BT-adapter? HOT 2
- Integration has likely been deprecated? HOT 2
- Failed to start discovery. Operation already in progress HOT 1
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 ha-plejd.