Announcement

Collapse
No announcement yet.

Xiaomi vibration sensor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • w.vuyk
    replied
    Matthieu,

    The plugin always follows the status of a devcie as reported by deCONZ. II am sure deCONZ is doing the same, it follows the statusses reported by the zigbee devices.
    I am also pretty sure that per type of movement you are checking a different timeout applies (a dryer of Brand X has to show no changes for 2 minutes to be sure the dryer is done, another Brand Y machine might need 4 minbutes... etc)

    So I do not think this can be done reliable by the plugin.

    Wim

    Leave a comment:


  • MattL0
    replied
    Would it be possible to add a value '' no event '' to the sensor in this plugin?

    Let's say... if after 30 sec there's no new event set the sensors to no event.


    I kknow it could be done with events... but it would be pratical to get it from the plugin. ( or deconz)

    Leave a comment:


  • w.vuyk
    replied
    She wants you to empty the dryer then really

    Leave a comment:


  • logman
    replied
    Originally posted by racerfern View Post

    Unfortunately my wife says if I have that much interest in it, then it should text my phone, not hers.
    HA! And here for all these years I thought my wife was an only child. But nope! She's got a twin out there!

    --Barry

    Leave a comment:


  • racerfern
    replied
    My dryer has no exhaust vent, otherwise I might copy that idea :-)
    It works perfectly! Being ventless, there must be somewhere on the back of the dryer that gets warmer than usual.
    Here's screenshot of dryer coming on for a few minutes, then cooling down. It's just a matter of setting the temperature that signifies OFF.

    Since my vent sits almost on the floor and goes through the floor you can see the temp drop as the night wears on and the heat is set low.

    Unfortunately my wife says if I have that much interest in it, then it should text my phone, not hers.

    Click image for larger version

Name:	Screen Shot 01-11-19 at 04.39 PM.PNG
Views:	71
Size:	24.8 KB
ID:	1275055

    Leave a comment:


  • w.vuyk
    replied
    Not 100% sure if 0 is possible to be honest. I have set 0 just now. Be aware that the change you make to a Xiaomi sensor can take 1 hour before it is effective.

    And there is indeed no 'resting'or no motion level reported for this device. "has been in state for at least" would indeed be the only way to discover the dryer is finished.
    My dryer has no exhaust vent, otherwise I might copy that idea :-)

    Leave a comment:


  • racerfern
    replied
    1, not 0? Just confirming. Too bad it doesn't go back to a "no motion" state after a period of time. If it picks up when the dryer starts how will it pick up when the dryer stops? When X time has elapsed since the last update?

    I might be better off using the temp sensor checking the temperature of the exhaust vent. That updates quite often.

    Leave a comment:


  • w.vuyk
    replied
    Originally posted by racerfern View Post
    I just received another care package of sensors and switches from Xiaomi. However, I'm having trouble using .54 of deConz. As soon as I hold the small button for 5 seconds, deConz crashes, then comes right back. The sensor added, however, it does not show in JH HS3. Should I go back to .52 and try again?

    Why wait, I went back to .52 and the sensor appeared as a switch with a battery child. I get reports of shaked, tilted, dropped. I see a sensitivity setting of 0-21. Anyone have any luck with this? I don't see anywhere to put low, medium, high sensitivity.
    The high sensitity is set when you sent the sensitivity to 1, low is 21. At the high sensitivity setiting the device is responding to my dryer running. Which was a surprise to me :-)

    Leave a comment:


  • racerfern
    replied
    Originally posted by prsmith777 View Post
    Would these vibration sensors work on a washer and dryer to sense when they are in use?
    I don't see it as sensitive enough for washer or dryer sensor. However, I did also get delivery of the same size unit as a temp/humidity/pressure sensor. http://bit.ly/2shthKY
    I'm going to attach it to the dryer hose and try writing an event that picks up on the temperature drop when complete.

    Leave a comment:


  • racerfern
    replied
    I just received another care package of sensors and switches from Xiaomi. However, I'm having trouble using .54 of deConz. As soon as I hold the small button for 5 seconds, deConz crashes, then comes right back. The sensor added, however, it does not show in JH HS3. Should I go back to .52 and try again?

    Why wait, I went back to .52 and the sensor appeared as a switch with a battery child. I get reports of shaked, tilted, dropped. I see a sensitivity setting of 0-21. Anyone have any luck with this? I don't see anywhere to put low, medium, high sensitivity.

    Leave a comment:


  • Michael McSharry
    replied
    I did a load of laundry for a test. We use a 2 yr old top loader. Vibration was detected at many cycles with a total of 30 reports over the 50 minutes. The log is shown below. A quick scan shows relatively even spacing of the reports so one would not be able to isolate the particular washing cycle which is good for detecting done. Something like 5 minutes after last report would be a reasonable "done" indication for my case.

    I have tested them here on the dryer, dishwasher and washing machines without luck.
    Perhaps changing the sensitivity to high may improve success for your equipment. In my case our dishwasher is so quiet that no vibration would be detectable.



    Code:
      zigbee2mqtt:info 2018-12-13 11:22:51 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":6094848,"battery":99,"voltage":3015}'
      zigbee2mqtt:info 2018-12-13 11:24:04 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":6094848,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:25:05 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":6094848,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:28:04 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":7274496,"battery":99,"voltage":3015}'
      zigbee2mqtt:info 2018-12-13 11:28:08 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":7274496,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:29:17 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":7274496,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:30:17 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":7274496,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:31:17 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":7274496,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:33:04 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":7,"unknown_data":3080192,"battery":99,"voltage":3015}'
      zigbee2mqtt:info 2018-12-13 11:34:29 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3080192,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:35:30 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3080192,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:36:30 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3080192,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:37:31 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3080192,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:38:29 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3014656,"battery":99,"voltage":3015}'
      zigbee2mqtt:info 2018-12-13 11:38:32 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3014656,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:39:55 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":3014656,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:43:10 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3014656,"battery":99,"voltage":3015,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:43:29 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":2752512,"battery":99,"voltage":3015}'
      zigbee2mqtt:info 2018-12-13 11:43:30 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":2752512,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 11:47:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":2752512,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:48:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":2752512,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:49:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":2752512,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:50:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":7,"unknown_data":2752512,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:51:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":7,"unknown_data":4653056,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 11:52:57 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":6815744,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 11:53:27 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":6815744,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:54:28 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":6815744,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:55:28 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":6815744,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:57:58 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":5308416,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 11:58:58 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":5308416,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 11:59:58 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":5308416,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:02:58 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3670016,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:03:35 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3670016,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:04:35 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":3670016,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:05:35 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3670016,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:06:35 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":3670016,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:07:36 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":3670016,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:07:59 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":5636096,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:08:36 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":5636096,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:08:59 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":7,"unknown_data":8060928,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:09:36 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":8060928,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:09:59 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":2,"unknown_data":8060928,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:10:36 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":7,"unknown_data":8060928,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:10:59 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":8060928,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:11:40 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":8060928,"battery":99,"voltage":3005,"action":"vibration"}'
      zigbee2mqtt:info 2018-12-13 12:11:59 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":5,"unknown_data":8257536,"battery":99,"voltage":3005}'
      zigbee2mqtt:info 2018-12-13 12:12:46 MQTT publish, topic: 'zigbeeWA/0x00158d0002b23edc', payload: '{"angle_x":4,"angle_y":1,"angle_z":86,"angle_x_absolute":86,"angle_y_absolute":89,"linkquality":0,"unknown_data":8257536,"battery":99,"voltage":3005}'

    Leave a comment:


  • w.vuyk
    replied
    Originally posted by langenet View Post
    How about a glass break detector?
    That would work probably, as long a large part of a window breaks...

    Leave a comment:


  • w.vuyk
    replied
    prsmith777 I was hoping for that, but so far no, they are not sensitive enough for that. I have tested them here on the dryer, dishwasher and washing machines without luck.

    They are good for noticing rougher movements. I have heard from other users that it would notice a person on a chair... but I guess that also depends on the chair movements (heavy/light etc)
    I am using it for now on the wifes juwelbox

    Leave a comment:


  • Michael McSharry
    replied
    They would likely report vibration at various points in the wash cycle. For dryer will depend upon the damping design of the dryer. In both cases the issue is to know when it actually stopped as there is not a "vibration stopped" event reported.

    Typically the washer is the more difficult because of its various cycles and delays that change based upon settings for type of wash. The approach that I believe will give better result than vibration is power monitoring as the current used at various cycles is more deterministic than vibration.

    Leave a comment:


  • langenet
    replied
    How about a glass break detector?

    Leave a comment:

Working...
X