homebridge-vera icon indicating copy to clipboard operation
homebridge-vera copied to clipboard

Fibaro flood sensor

Open igitlin opened this issue 7 years ago • 6 comments

Have a problem with FGFS-101 (not a gen5) in VeraPlus has device #36 flood and #38 Temperature But added only Temperature sensor #38 and unknown sensor "1" #37 In theolder version of the hb-vera (0.0.9) the sensor was added normally, but it was identified as a binary one. In the homebridge-zway, the same sensor is defined as a leakage sensor and in Home appears in the automation 17:56:27[33;1mVeraLink [0mBalcony door ID:34 [33m+0ms [0m 17:56:27[33;1mVeraLink [0m------ Sensor Added: Balcony door ID:34 [33m+7ms [0m 17:56:27[33;1mVeraLink [0mWater Flood ID:36 [33m+1ms [0m 17:56:27[33;1mVeraLink [0m1 ID:37 [33m+0ms [0m 17:56:27[33;1mVeraLink [0m------ Sensor Added: 1 ID:37 [33m+1ms [0m 17:56:27[33;1mVeraLink [0mTemp ID:38 [33m+0ms [0m 17:56:27[33;1mVeraLink [0m------ Temp sensor Added: Temp ID:38 [33m+0ms [0m 17:56:27 Process Device 34: Balcony door 17:56:27 Process Device 37: 1 ?????? 17:56:27 Process Device 38: Temp 17:56:27 [37m[2017-8-11 17:56:27] [39m [36m[Vera] [39m Initializing platform accessory 'Balcony door'... 17:56:27 [37m[2017-8-11 17:56:27] [39m [36m[Vera] [39m Initializing platform accessory '1'... 17:56:27 [37m[2017-8-11 17:56:27] [39m [36m[Vera] [39m Initializing platform accessory 'Temp'...

full log Vera log.txt

igitlin avatar Aug 11 '17 18:08 igitlin

Please post a screenshot from your Vera UI / Devices,

Data from you vera as files:

  • http://vera_ip:3480/data_request?id=sdata
  • http://vera_ip:3480/data_request?id=user_data
  • http://vera_ip:3480/data_request?id=lu_sdata

neptunix avatar Aug 28 '17 08:08 neptunix

Hello,

Process Device 70: Fibaro Dimmer 2                                                                                              
Process Device 73: Балкон                                                                                                       
Process Device 75: 1                                                                                                            
Process Device 76: Температура                                                                                                  
Process Device 79: Лоджия                                                                                                       
Process Device 81: Дверь                                                                                                        
Process Device 84: Свет коридор                                                                                                 
Process Device 86: Свет холл                                                                                                    
Process Device 2: Light off 10min                                                                                               
Process Device 3: Ligh hall 10 min off                                                                                          
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Fibaro Dimmer 2'...                                             
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Балкон'...                                                      
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory '1'...                                                           
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Температура'...                                                 
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Лоджия'...                                                      
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Дверь'...                                                       
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Свет коридор'...                                                
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Свет холл'...                                                   
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Light off 10min'...                                             
[2017-9-8 18:35:13] [VeraPlus] Initializing platform accessory 'Ligh hall 10 min off'...

data.zip

igitlin avatar Sep 08 '17 18:09 igitlin

2 files that you've posted are not json, can't process them. You may use http://jsoneditoronline.org to edit them

There is definitely a FloodSensor in your Vera setup

{
      "id": 74,
      "id_parent": 1,
      "embedded": 0,
      "disabled": 0,
      "impl_file": "",
      "altid": "4",
      "ip": "",
      "mac": "",
      "time_created": "1504889807",
      "states": [ ...  ],
      "category_num": 4,
      "pnp": "2227",
      "manufacturer": "Fibaro",
      "model": "FGFS-101",
      "subcategory_num": "2",
      "device_file": "D_FloodSensor1.xml",
      "device_json": "D_FloodSensorWithTamper1.json",
      "onDashboard": "1",
      "name": "Протечка",
      "room": "2",
      "ControlURLs": { ...  },
      "device_type": "urn:schemas-micasaverde-com:device:FloodSensor:1",
      "poll": [
        "1504889949-1",
        "1504889949-1"
      ],
      "wakeup": {
        "list": [
          1504893635,
          1504895484
        ],
        "lastKnown": 1504889807
      },
      "local_udn": "uuid:4d494342-5342-5645-004a-000002fb1429"
    }

Device that is listed as "1" is a HumiditySensor with "name: 1":

      "id": 75,
      "name": "1",
      "device_type": "urn:schemas-micasaverde-com:device:HumiditySensor:1",
      "id_parent": 74,
      "disabled": 0,
      "device_file": "D_HumiditySensor1.xml"

I don't see your lu_sdata file - get it from Vera again and check if there is a device with ID 74 or better post it please

neptunix avatar Sep 08 '17 21:09 neptunix

I don't have HumiditySensor, Flood sensor is device id74, and id76 - his temperature, homebridge-vera sees only id75+76 instead id74+76 i don't see any drevice with id75 in my VeraPlus dashboard and Vera device page.

VeraPlus.zip VeraPlus2.zip

igitlin avatar Sep 09 '17 20:09 igitlin

Vera reports that HumiditySensor is a SubDevice of the Flood Sensor (integrated) (in the user_data.json) but the device is missing in the lu_sdata Try to skip device_id 75 with ignoredevices config param so it won't bother you

Conserning Flood sensor - I checked the source code and there is no support for it currently although it seems trivial to add it.

Should be done as subcategory: 2 category: 4

Lets keep the issue open

neptunix avatar Sep 09 '17 21:09 neptunix

I’ve encountered the same issue recently. I’ve 2 Fibaro Z-wave devices, Fibaro Smoke and CO sensor and also the Fibaro Flood sensor. The Homebridge plugin shows both temperature + smoke in case of the Smoke sensor, however I can only see the Temperature in the Flood sensor. Do you have any solution for this? 🤗

szerglyiphone avatar Jan 07 '20 19:01 szerglyiphone