Comments (4)
Hi @emilohman & @Gustafssondavid,
I've identified and fixed the issue with dimming from flows in the Homey Plejd app. The problem was in the runWriteLoop
function, where the command queue was not handling the commands efficiently, leading to issues with dimming. The fix involves using .pop()
to retrieve commands from the queue, and then filtering out any older commands for the same device with the same action. This ensures that only the most recent command for each device is executed, improving the consistency and reliability of dimming through flows.
You can find the details of the fix in pull request #62. Feel free to check it out for more information.
Best regards,
Coderax
from homey-plejd.
For anyone looking for a temporary workaround, the last good commit was c44680d. You can check that out, then use the homey CLI to install the app.
homey login
npm install --omit=dev
(Installing dev dependencies don't work as it references some packages in a private registry)homey app install
This should revert your app version to v3.3.4 and mark it as a Development app so it won't be updated. I'm not sure how to get off the development version and restore to the production version but that's a problem for future me, at least the dimming works again now.
Edit: You can simply install the app again from the app store to overwrite the development version
from homey-plejd.
Thank you @Coderaxx! The PR is merged into master and published on app store!
from homey-plejd.
Also experiencing this issue after app update recently
from homey-plejd.
Related Issues (20)
- Scenarios
- Cant login HOT 1
- appen kraschade HOT 1
- Won’t work
- Issues with Homey Pro 2023 and Plejd. HOT 2
- On/off status wrong if dimmer slider used. HOT 1
- Plejd Devices became unavailable HOT 4
- Plejd app freezes the Homey 2023 Testflight
- Dimming not available for CTR-01 HOT 5
- Lost all my connections for 2 days HP19
- Lost connection to all Plejd devices after switched to HP23 HOT 6
- Plejd relä ctr-01 funkar inte med Early 2018 HOT 3
- Stopped working since the latest update HOT 6
- Plejd Sockets acts like lights, they get turned off by the card `Turn off all lights in zone` HOT 1
- BLE network crashes HOT 1
- Dubbelklick? HOT 1
- Bevegelsesføler
- WPH-01 Homey Pro 2023
- Log says that Plejd turned on light.
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 homey-plejd.