Comments (8)
Hi
I'm not sure if this is the right issue to add my comments but you will tell me if not.
I did install zwave2 adapter yesterday on my system and moved my rules to the new endpoints of the zwave2 devices. This did work without any problems. Then I restarted my system at some point and after a few minutes, I think when each device did send his status report, all my rules connected to a physical switch were triggered. You can imagine that my house was like a disco! Lights went on and off, shutters went up and down, music started, stopped and started again.
I couldn't believe so I started debugging and realised that on the first status report of a switch each scene endpoint updated the value, for example for a switch on button 1 value 0 was sent. This triggered my rules as this is like a physical button pressed.
My investigation did bring up that state "ready" is changed when the device sends first report. What I now built in my rule is a check on state "ready" when an event is triggered. If state "ready" is lastchanged less than 5 seconds before then my rule stops. Like this I was able to stop this startup disco.
I think this is a bug and you should look at this.
If you need more information please let me know.
Kind regards
Beat
from iobroker.zwave2.
Yeah, this might be related. Could you share an example of your scripts so I can see how you use the triggers?
from iobroker.zwave2.
I'm using NodeRed for my rules. In fact I have a ioBroker node pointing the topic to the Scene state of a switch. Whenever there is a change on that state the rule is triggered.
Does that make sense for you?
from iobroker.zwave2.
Whenever there is a change on that state the rule is triggered.
Does that rule check if the state was actually changed or does it trigger whenever the value is updated (not necessarily changed)?
from iobroker.zwave2.
Kinda depends on https://github.com/AlCalzone/node-zwave-js/issues/987
from iobroker.zwave2.
In the upcoming version this will be fixed. Please check the new FAQ how to avoid triggering after a restart:
https://github.com/AlCalzone/ioBroker.zwave2/blob/master/docs/en/FAQ.md
from iobroker.zwave2.
The mentioned change should resolve most of these problems (at least for all values that are read from the cache file). For all other updates that happen during the interview, I first need to solve https://github.com/AlCalzone/node-zwave-js/issues/987.
from iobroker.zwave2.
Thank you! I will send you the log file about the other bug tomorrow.
from iobroker.zwave2.
Related Issues (20)
- Thermostat SRT-321 has no BinarySwitch and ThermostatMode states HOT 9
- Thermostat receiver SSR303 does not change the BinarySwitch and ThermostatMode states HOT 1
- Automatic sending of changed configuration parameters when the status changes from "asleep" to "alive" (battery-operated units) HOT 8
- Widom - Smart Double Switch 7 HOT 4
- Qubino ZMNHXD Datenpunkt w_produced bleibt immer 0 auch wenn w_consumed negativ wird HOT 13
- Verlust der Kommunikation mit 2 ZWave-Geräten - TechniSat 0300/9496
- Z-Wave Gateway (Schwaiger HA102) via LAN mit Adapter verbinden HOT 2
- Update stable version in repo from 3.0.5 to 3.1.0 HOT 1
- Devolo MT02648 Tamper wird nie "false"
- "Eurotronics Spirit" einfügen nicht möglich HOT 1
- Zwave2 startet nach Update nicht mehr HOT 1
- Feature Request: Custom-Names for Nodes HOT 6
- Enhancement Request: Network Graph just nice but not helpful HOT 1
- Qubino ZMNHXD reports produced power, but it is actually consumed power HOT 10
- S2 Security HOT 2
- Kein Starten des Adapter - auch nicht nach Neuinstallation HOT 3
- Please consider merging WEBLATE pull request HOT 1
- danfoss lc-13 overrideState has to be type "number" but received type "string" HOT 1
- Re-Interview status HOT 5
- Z-Uno: Fehlende Binary Switch Endpunkte HOT 8
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 iobroker.zwave2.