eWeLinkCUBE / node-red-contrib-ewelink-cube

Node-RED nodes to control eWeLink Cube.
MIT License
1 stars 0 forks source link

Contact sensor event-state node states #3

Closed rdaraujo closed 3 months ago

rdaraujo commented 4 months ago

I have some contact sensors that used to work great. But, for some reason after eWeLink CUBE 2.0.0 update, all them stopped updating states on Node RED, although they work normally on iHost.

image

I can't remember what options it had before as State, but now it shows only Battery state and I suspect the lack of a "contact" state (opened/closed) causes the component to be useless when used with a contact sensor.

image

As a matter of fact, a temperature sensor I have shows all possible states as expected:

image

node-red-contrib-ewelink-cube version: 1.2.2 eWeLink CUBE version: 2.0.0

rdaraujo commented 4 months ago

Same problem occurs in the homebridge-plugin-ewelink-cube. No state updates for any contact sensor anymore (Aqara Door/Window ZigBee Sensor - MCCGQ11LM).

Log shows: [6/25/2024, 4:54:54 PM] [homebridge-plugin-ewelink-cube] This plugin generated a warning from the characteristic 'Contact Sensor State': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.

SuiKaSan commented 3 months ago

Please upgrade your node-red-contrib-ewelink-cube to version 1.2.4. Then you should be able to receive the state in event-state node with "All" option selected.

It's a temporary workaround. We'll release a new version to completely fix the problem.

SuiKaSan commented 3 months ago

We're also trying to fix the problem in homebridge-plugin-ewelink-cube. We'll let you know if anything new release.