Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for Water leak control system Neptun Smart #2260

Open
egric opened this issue Aug 30, 2024 · 6 comments
Open

Request support for Water leak control system Neptun Smart #2260

egric opened this issue Aug 30, 2024 · 6 comments
Labels
enhancement New feature or request new device Unsupported device

Comments

@egric
Copy link

egric commented Aug 30, 2024

Log message

Tuya Smart Zigbee Door Sensor receive loop has terminated....

Device matches None with quality of 0%. DPS: {"updated_at": 1725039081.0056617, "141": 0}
Device matches None with quality of 0%. DPS: {"updated_at": 1725039126.1111045, "137": 0, "140": 0, "141": 0}
Device matches None with quality of 0%. DPS: {"updated_at": 1725039350.8411925, "114": "AwMDAw=="}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000002fhoc\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"floor_cleaning_flag\",\"description\":\"Implemented as a switch in the settings window\",\"extensions\":{\"iconName\":\"icon-dp_water\",\"attribute\":\"4\"},\"name\":\"Floor cleaning\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"add_new_sensors\",\"description\":\"Flag of  starting procedure of add new sensors. Define as button in Sensor settings window.\",\"name\":\"Add new sensors\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"status_crane_group_1\",\"description\":\"Status of crane first group. Define as switch in main window of app\",\"extensions\":{\"iconName\":\"icon-icon-test10\",\"attribute\":\"5\"},\"name\":\"Status crane group 1\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"status_crane_group_2\",\"description\":\"Status of crane second group. Define as switch in main window of app\",\"extensions\":{\"iconName\":\"icon-icon-test10\",\"attribute\":\"5\"},\"name\":\"Status crane group 2\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"group_eneble\",\"description\":\"Enable separate on two group. Define as switch in config window\",\"name\":\"Group enable\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":112,\"accessMode\":\"rw\",\"code\":\"close_if_sensor_loss\",\"description\":\"Enable of closing cranes on loss of RF sensors . Define as switch in config window.\",\"name\":\"Close if sensor loss\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":113,\"accessMode\":\"rw\",\"code\":\"child_protection\",\"description\":\"If enabled then keyboard is blocked. Define in config window as switch.\",\"extensions\":{\"iconName\":\"icon-dp_lock\",\"attribute\":\"4\"},\"name\":\"Child protection\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":114,\"accessMode\":\"rw\",\"code\":\"line_settings\",\"description\":\"Settings for four lines.\\n{input_type_1, control_group_1 },\\n{input_type_2, control_group_2 },\\n{input_type_3, control_group_3 },\\n{input_type_4, control_group_4 }\\n\\ninput_type - byte, ref. as (0-sensor/1-key)\\ncontrol_group - byte, ref. as (1-control group 1; 2-control group 2; 3-control both group)\\n\",\"name\":\"Line settings\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":115,\"accessMode\":\"ro\",\"code\":\"status_wire_line\",\"description\":\"Status each from four wire lines.\\n{status_line_1, status_line_2, status_line_3, status_line_4}\\nEach status_line is а boolean. Use for notifications.\",\"name\":\"Status wire line\",\"typeSpec\":{\"type\":\"value\",\"max\":255,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":116,\"accessMode\":\"rw\",\"code\":\"relay_settings\",\"description\":\"Configuring relay triggering by events.\\n{event_close, event_attention}\\nevent_close - byte, can referenced as 0 - not triggered; 1- triggered if close crane 1 group; 2-if close crane 2 group; 3 - if close crane both group.\\nevent_attention - byte, can referenced as 0 - not triggered; 1- triggered if attention on 1 group; 2- if attention on 2 group; 3 - if  both group.\\n\\n\\n\",\"name\":\"Relay settings\",\"typeSpec\":{\"type\":\"value\",\"max\":15,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":117,\"accessMode\":\"rw\",\"code\":\"address_modbus\",\"description\":\"Address MODBUS RTU for extender module RS-485. Defined in settings menu\",\"name\":\"Address MODBUS\",\"typeSpec\":{\"type\":\"value\",\"max\":247,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":118,\"accessMode\":\"rw\",\"code\":\"modbus_speed\",\"description\":\"Settings speed of MODBUS RTU. Defined in settings menu\",\"name\":\"MODBUS speed\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"1200\",\"2400\",\"4800\",\"9600\",\"19200\",\"38400\",\"57600\",\"115200\",\"230400\",\"460800\",\"921600\"]}},{\"abilityId\":119,\"accessMode\":\"rw\",\"code\":\"count_rf_sensors\",\"description\":\"Counter of RF sensors. This value use for viewing window of configuration RF sensors.\",\"name\":\"Count of RF sensors\",\"typeSpec\":{\"type\":\"value\",\"max\":50,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":120,\"accessMode\":\"rw\",\"code\":\"settings_rf_sensors\",\"description\":\"Massive of settings RF sensors.  Max size of massive is 50. \\nSettings is defined control leakage on group.\\n{settings_rf_sensors} - data as 3 bytes for each sensor.\\nReferenced as:\\naddress of sensor - 2 bytes\\ngroup connection - 1 byte, referenced as:\\n   1 -  first group\\n   2 - second group\\n   3 - both group\",\"name\":\"Settings RF sensors\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":121,\"accessMode\":\"ro\",\"code\":\"status_rf_sensor\",\"description\":\"Massive of status RF sensors.  Max size of massive is 50. \\nEach element of massive consist five bytes.\\n{\\n battery_level (ref. 0-100),\\n rf_signal_level (0 - 4),\\n lost_sensor flag (0-1),\\n discharge_battery_flag (0-1),\\n attention_leakage_flag (0-1)\\n} \\n\",\"name\":\"Status RF sensors\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":122,\"accessMode\":\"rw\",\"code\":\"counters_data\",\"description\":\"Data of counters for four slots.\\n-Status counter n.m - 0/1 (byte)\\n-Value of counter n.m - 0 -99999999 (4 bytes)\\n-Step of counter n.m - 1,10,100 (byte)\\n-Type of connection n.m - 0/1 (no namur/namur) (byte);\\n-Error counter n.m - 0 -not, 1-short circuit, 2-brake (byte);\\nn.m - n-slot(1-4), m - counter (1-2).\\n\",\"name\":\"Counters data\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":123,\"accessMode\":\"ro\",\"code\":\"notifications\",\"description\":\"Fault for notifications\",\"extensions\":{\"scope\":\"fault\"},\"name\":\"Notifications\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"alarm_1_group\",\"alarm_2_group\",\"sens_discharge\",\"sensor_lost\",\"close_1_group\",\"close_2_group\",\"cleaning_floor\",\"slot1_error\",\"slot2_error\",\"slot3_error\",\"slot4_error\",\"counter1_error\",\"counter2_error\",\"counter3_error\",\"counter4_error\",\"counter5_error\",\"counter6_error\",\"counter7_error\",\"counter8_error\"],\"maxlen\":19}},{\"abilityId\":124,\"accessMode\":\"rw\",\"code\":\"name_rf_1_5\",\"description\":\"Name of sensors 1-5. Each name have size is 51 byte.\",\"name\":\"Name RF sens 1-5\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":125,\"accessMode\":\"rw\",\"code\":\"name_rf_6_10\",\"description\":\"Names of senors 6-10. Each name have size is 51 byte.\",\"name\":\"Name RF sens 6-10\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":126,\"accessMode\":\"rw\",\"code\":\"name_rf_11_15\",\"description\":\"Name of sensors 11-15. Each name have size is 51 byte.\",\"name\":\"Name RF sens 11-15\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":127,\"accessMode\":\"rw\",\"code\":\"name_rf_16_20\",\"description\":\"Name of sensors 16-20\",\"name\":\"Name RF sens 16-20\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":128,\"accessMode\":\"rw\",\"code\":\"name_rf_20_25\",\"description\":\"Name of sensors 20-25. Each name have size is 51 byte.\",\"name\":\"Name RF sens 20-25\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":129,\"accessMode\":\"rw\",\"code\":\"name_rf_26_30\",\"description\":\"Name of sensors 26-30. Each name have size is 51 byte.\",\"name\":\"Name RF sens 26-30\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":130,\"accessMode\":\"rw\",\"code\":\"name_rf_31_35\",\"description\":\"Name of sensors 31-35. Each name have size is 51 byte.\",\"name\":\"Name RF sens 31-35\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":131,\"accessMode\":\"rw\",\"code\":\"name_rf_36_40\",\"description\":\"Name of sensors 36-40. Each name have size is 51 byte.\",\"name\":\"Name RF sens 36-40\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":132,\"accessMode\":\"rw\",\"code\":\"name_rf_40_45\",\"description\":\"Name of sensors 40-50. Each name have size is 51 byte.\",\"name\":\"Name RF sens 40-45\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":133,\"accessMode\":\"rw\",\"code\":\"name_rf_46_50\",\"description\":\"Name of sensors 45-50. Each name have size is 51 byte.\",\"name\":\"Name RF sens 46-50\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":134,\"accessMode\":\"rw\",\"code\":\"name_lines\",\"description\":\"Name of wired lines. In array 4 names. Each name have size is 51 byte.\",\"name\":\"Name of Lines\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":135,\"accessMode\":\"rw\",\"code\":\"name_zones\",\"description\":\"Name of zones. In array 2 names. Each name have size is 51 byte.\",\"name\":\"Name of Zones\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":136,\"accessMode\":\"rw\",\"code\":\"name_of_counters\",\"description\":\"Names of counters. In array 8 names. Each name have size is 31 byte.\",\"name\":\"Name of Counters\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},{\"abilityId\":137,\"accessMode\":\"ro\",\"code\":\"counter1\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter1\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":138,\"accessMode\":\"ro\",\"code\":\"counter2\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter2\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":139,\"accessMode\":\"ro\",\"code\":\"counter3\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter3\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":140,\"accessMode\":\"ro\",\"code\":\"counter4\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter4\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":141,\"accessMode\":\"ro\",\"code\":\"counter5\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter5\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":142,\"accessMode\":\"ro\",\"code\":\"counter6\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter6\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":143,\"accessMode\":\"ro\",\"code\":\"counter7\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter7\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":144,\"accessMode\":\"ro\",\"code\":\"counter8\",\"description\":\"\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"Counter8\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":145,\"accessMode\":\"ro\",\"code\":\"slots_map\",\"description\":\"Slots map\",\"name\":\"Slots map\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
  },
  "success": true,
  "t": 1725036978625,
  "tid": "c6d1aa4866f011efbc016e7818a0f8a2"
}

Product ID

vptg13wa7y8xmoio

Product Name

Neptun Smart (Water leak control system)

Information about how the device functions

Neptun Smart is the head unit of the water leak monitoring system.
It is designed to process signals from sensors for monitoring water leakage and issuing a control signal to an actuator (electric ball valve) that blocks water.
Tuyalocal defines it as "Tuya Smart Zigbee Door Sensor", but this is not correct

@egric egric added the new device Unsupported device label Aug 30, 2024
@make-all make-all added the enhancement New feature or request label Aug 31, 2024
@make-all
Copy link
Owner

Since the dps returned by this device are not consistent, it is not possible to support currently. I hope in the not too distant future to make use of the local discovery to overcome this, but this will take some effort so not for the short term.

@egric
Copy link
Author

egric commented Aug 31, 2024 via email

@make-all
Copy link
Owner

Not consistent, meaning it is returning different dps each time it is queried.

@egric
Copy link
Author

egric commented Aug 31, 2024 via email

@egric
Copy link
Author

egric commented Aug 31, 2024

https:/allovaro/neptun_homeassistant
I found a repository where it is possible to connect the old model of the Neptun module. Can you get something from here?

@egric
Copy link
Author

egric commented Sep 3, 2024

https://community.home-assistant.io/t/neptun-smart-water-leakage-protection-system-integration/741137
Hello. Here there is also information about a possible connection to the Home Assistant. I have great faith in you. All hope is on you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new device Unsupported device
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants