Page 1 of 2
Problem with module "Fire Protection"
Posted: 02 Jul 2016 15:09
by bjoern812
Hello,
I have 3 smoke sensors included in my network, 2x Fibaro FGSS-001 and 1x Fibaro FGSD-002. I've changed the
/opt/z-way-server/automation/modules/ZWave/postfix.json
viewtopic.php?f=3422&t=22509&p=61064&hi ... sor#p61064 (thanks to @AlphaX2!), so that the Fibaro FGSD-002 shows all the alarm classes (113) on UI.
Now I want to use the module "Fire Protection".I can select the older FGSS-001 without problems, but I cannot
select the Fibaro FGSD-002 device. The FGSD-002 creates, amongst other, zway vDevs with 113-1-2 and 113-1-3.
So looking at the modules.json from module "Fire Protection":
"field": "enum",
"datasource": "namespaces",
"enum": "namespaces:devices_sensorBinary:alarm:smoke:deviceId,namespaces:devices_sensorBinary:alarmSensor:smoke:deviceId",
"required": true
the namespace "devices_sensorBinary:alarm:smoke" must match my vDev Fibaro FGSD-002 113-1 !?
I have no idea, why the FGSD-002 is not listet.
Anyone an idea?
Thanks
Bjoern.
Re: Problem with module "Fire Protection"
Posted: 07 Jul 2016 19:41
by bjoern812
Hello,
i found out that changing following lines in modules.json from:
Code: Select all
"enum": "namespaces:devices_sensorBinary:alarm:smoke:deviceId,namespaces:devices_sensorBinary:alarmSensor:smoke:deviceId"
to
Code: Select all
"enum": "namespaces:devices_sensorBinary:smoke:deviceId,namespaces:devices_sensorBinary:alarmSensor:smoke:deviceId"
does the trick to select the Fibaro FGSD-002 smoke sensor.
So looking into the automation/modules/ZWave/index.js I found other lines (2288...):
Code: Select all
switch (notificationTypeId) {
case 0x01: // Smoke
a_defaults.metrics.icon = 'smoke';
a_defaults.probeType = a_defaults.metrics.icon;
Changing this to:
Code: Select all
switch (notificationTypeId) {
case 0x01: // Smoke
a_defaults.metrics.icon = 'smoke';
a_defaults.probeType = 'alarm_smoke';
works also.
Is this a bug in ZWave/index.js?
BTW, there are other lines in Zwave/index.js (for co and flood) that looks same as for smoke alarm.
Maybe, a developer can have a look at it.
Thanks
Bjoern
Re: Problem with module "Fire Protection"
Posted: 09 Jul 2016 17:07
by Mike Yeager
Since I believe this is one of Maros's modules, he'll be happy to address the issue. He's fairly regular on here so give him a few days....
Re: Problem with module "Fire Protection"
Posted: 10 Jul 2016 11:31
by bjoern812
Hi Mike,
no, this module isn't from Maros. It is a module from Zwave.me (in beta status).
But, I think the module is correct and the problem seems in "automation/modules/ZWave/index.js",
where the definition of the probeTypes is.
From developer.z-wave.me at help site:
The datasource is either “namespaces” for devices or “locations” for rooms. The “enum” receives the array. In this case it would consist of the device IDs of all binary and multilevel sensors. Namespace masks are always in the following scheme:
deviceType : CommandClass : subCommandClass : id OR name
and the scheme in the modules.json is:
"namespaces:devices_sensorBinary:alarm:smoke:deviceId,namespaces:devices_sensorBinary:alarmSensor:smoke:deviceId"
Therefore, I think the problem isn't in the module.
Bjoern
Re: Problem with module "Fire Protection"
Posted: 25 Jul 2016 22:14
by bjoern812
Hello,
after installing v2.2.3 the module works as expected, because the developer have changed
the code in "automation/modules/ZWave/index.js".
Thanks.
Bjoern.
Re: [Solved] Problem with module "Fire Protection"
Posted: 26 Jul 2016 11:55
by pz1
Thanks for reporting back to the forum!
Re: Problem with module "Fire Protection"
Posted: 15 Sep 2016 18:12
by pz1
bjoern812 wrote:Hello,
after installing v2.2.3 the module works as expected, because the developer have changed
the code in "automation/modules/ZWave/index.js".
Thanks.
Bjoern.
Unfortunately the App does not recognise my three POPP 004001 Smoke detectors

- Popp.PNG (9.16 KiB) Viewed 12810 times
Strangely the type info says
unknown device type, but in EUI under /Control/Sensors the type is
Smoke
Re: Problem with module "Fire Protection"
Posted: 17 Sep 2016 11:28
by pz1
This is the virtualDevice sensor created from on of the Popp 004001 smoke sensor that is failing to show up.

- poppsmoke.PNG (6.86 KiB) Viewed 12792 times
Re: [Solved] Problem with module "Fire Protection"
Posted: 18 Sep 2016 10:37
by bjoern812
Hi pz1,
the problem is that your smoke sensors reports alarm on the command class 48 (sensorBinary),
but the module only supports command class 113 and 156.
The manual of your smoke sensor, if a have googled the correct one, says it supports also
command class "alarm" (113 or 156 - don't know).
May be you can change the command class that reports smoke thru a configuration option?
Greetings
Bjoern.
Popp 004001 incompatible with module "Fire Protection"?
Posted: 18 Sep 2016 11:36
by pz1
Good morning bjoern812,
Thanks for diving into this. Unfortunately no parameter for that as far as I can see (Pepper1 database
#725).
Apparantly ZWay does not recognise the alarm in this device. It only creates this binarySensor and a switch to activate the alarm.
Hope someone from zwave.me can shed some light on this.