[EDGE] Neo Coolcam Siren issues and Development

Hi @Sylvain
I have created a profile with the 9 configuration parameters for siren and bell that come in the siren documentation.

I have also added the European model 0x1088
Try to see if it works

───────────────────────────────────────────────────
 Name         Z-Wave Siren Mc
 Version      2023-01-22T12:34:00.543692949        
───────────────────────────────────────────────────
1 Like

@Mariano_Colmenarejo
Amazing , seem to work perfect , the only thing that is missing is routine … I can’t choose bell sound that I want ,only the one that was configure in parameter .

Don’t know if it’s a lot a work for you ,maybe one day if you have time !!

The sound types are in preferences, without names, just as they come in the manual.

In order for them to appear in routines, they world have to be put in a custom capability.

This week I won’t be able to do anything, if it’s very important I can put it in a capability later and you can find the names of the 10 sounds

Sounds great , when you have time . thank you so much.

1 Like

Hi @Mariano_Colmenarejo ,
Just a reminder if you have anytime to work on this custom capability, it would be awesome .
Thank you

Hi @Sylvain

I was waiting for you to send me the names of the sounds, but I can do it when I have some time with the numbers from 1 to 10 :wink:

I’m in for it too.
I found this on the net:
“Doorbell” value=“1”
“Fur Elise” value=“2”
“Doorbell Extended” value=“3”
“Alert” value=“4”
“William Tell” value=“5”
“Rondo Alla Turca” value=“6”
“Police Siren” value=“7”
“Evacuation” value=“8”
“Beep Beep” value=“9”
“Beep” value=“10”

With regards :love_you_gesture:

1 Like

Hi @dusanhauko

Are these doorbell sounds?

If you look for me the siren sounds then I can make another capability to choose siren sounds

Hey
I wish i knew. :confused:

Can you name it 1-10 and ill figure it out …

They are the same sound for bell or alarm mode if it’s what you means .
Alarm just play the sound for over and over till I hit desactivate

You mean there are only 10 sounds and they are used for siren and bell. Only the selected value for each use is saved in the corresponding parameter.

So I can put 2 capabilities and one controls parameter 5 of the siren and the other parameter 6 of the bell.

It is so!

Yes that it @Mariano_Colmenarejo

@Sylvain @dusanhauko

Try this driver TEST version
Tomorrow I’ll see what you tell me about how it works, now I’m leaving

───────────────────────────────────────────────────
 Name         Z-Wave Siren TEST
 Version      2023-03-11T18:21:52.660876621        
───────────────────────────────────────────────────
1 Like

Hi.
Installed test driver, removed device, readded.
Does not work :confused:
Nothing to configire. It doesnt even trigger.
I can send a cli log of pairing process in the morning.

Thank @Mariano_Colmenarejo
But it’s not working.
Here the logs
2023-03-12T02:57:07.108193020+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:12.718032314+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:18.607992775+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:24.671602903+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:30.614465614+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:37.037905825+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:42.718073912+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
2023-03-12T02:57:48.823150119+00:00 FATAL Z-Wave Siren TEST Lua: runtime error: [string “init.lua”]:134: [string “coolcam-siren/init.lua”]:113: attempt to index a nil value (field ‘setSiren_Sounds’)
stack traceback:
[C]: in function ‘error’
[string “env builder”]:95: in global ‘require’
[string “init.lua”]:134: in main chunk
Traceback:
stack traceback:
[C]: in

And no more parameter 5 and 6

@Sylvain @dusanhauko

Fixed in this driver version

Copy and paste issue :man_facepalming:

In setting no needed parameters 5 and 6, now are in custom capabilities to set its manual or routines

───────────────────────────────────────────────────
 Name         Z-Wave Siren TEST
 Version      2023-03-12T09:48:04.977646544        
───────────────────────────────────────────────────

Hi
Working but only with these two buttons. No option to set chime, volume, …

Clear the cache of the app to show the new profile or did you reboot the hub?

HI @Mariano_Colmenarejo
It is getting there but routine does not send the device to trigger , I can see that the routine change the siren sound to police , but the siren won’t activate . Here the log .

2023-03-12T12:38:32.012731638+00:00 TRACE Z-Wave Siren TEST Received event with handler capability
2023-03-12T12:38:32.015757250+00:00 INFO Z-Wave Siren TEST <ZwaveDevice: ef482434-bb55-403b-940b-70d099e05f82 [23] (NEO Coolcam Siren)> received command: {“args”:{“value”:“7”},“capability”:“legendabsolute60149.sirenSounds”,“command”:“setSirenSounds”,“component”:“main”,“positional_args”:[“7”]}
2023-03-12T12:38:32.017884644+00:00 TRACE Z-Wave Siren TEST Found CapabilityCommandDispatcher handler in zwave_siren → coolcam-siren
2023-03-12T12:38:32.026943237+00:00 PRINT Z-Wave Siren TEST siren_sounds Value 7
2023-03-12T12:38:32.029289647+00:00 INFO Z-Wave Siren TEST <ZwaveDevice: ef482434-bb55-403b-940b-70d099e05f82 [23] (NEO Coolcam Siren)> emitting event: {“attribute_id”:“sirenSounds”,“capability_id”:“legendabsolute60149.sirenSounds”,“component_id”:“main”,“state”:{“value”:“7”}}
2023-03-12T12:38:32.050932528+00:00 TRACE Z-Wave Siren TEST Z-Wave command(ffeabb2a) queued for radio transmission: CC:Configuration, CID:0x04
2023-03-12T12:38:32.051656416+00:00 INFO Z-Wave Siren TEST <ZwaveDevice: ef482434-bb55-403b-940b-70d099e05f82 [23] (NEO Coolcam Siren)> sending Z-Wave command: {args={configuration_value=7, default=false, parameter_number=5, size=1}, cmd_class=“CONFIGURATION”, cmd_id=“SET”, dst_channels={}, encap=“AUTO”, payload=“\x05\x01\x07”, src_channel=0, version=1}
2023-03-12T12:38:32.057507614+00:00 DEBUG Z-Wave Siren TEST NEO Coolcam Siren device thread event handled
2023-03-12T12:38:33.639137237+00:00 TRACE Z-Wave Siren TEST Z-Wave command(ffeabb2a) transmit status: TRANSMIT_COMPLETE_OK

Thank you

Hi @Sylvain

I don’t know if I understand well what you want to do.

The custom capabilities do the same as the preferences did, select what sound will play when the siren or bell is activated.
If you want it to sound too then you have to add the activate siren command to the routine

Or have you already added the command to routine and it doesn’t sound?