Neo Coolcam 3 gang switch

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Neo Coolcam 3 gang switch

Post by Gianni »

Today i recieved my 3 gangs from NEO.
New product,not reconiged when add so i create my own manufacture and xml based on the 2 gang.
Create a hotel script like the 2 gang and everything works in the zwave settings and in domoticz.
So i can turn all the options of the switch on and off an from within domoticz if i switch the 3 gang on the hotelswitch script switch the other 2 gang on.
But if u use the hardware buttons on the switch self then the hotelswitch does not work?
It's also not reflected to my dashboard the state stay off?

If i use the hardware buttons and look into the ozwcp then i see that the state is changing from.
in my log is see this

Code: Select all

2019-10-21 13:58:55.921 Info, Node033, Received SwitchBinary report from node 33: level=On
2019-10-21 13:58:55.921 Detail, Node033, Refreshed Value: old value=false, new value=true, type=bool
2019-10-21 13:58:55.922 Detail, Node033, Changes to this value are not verified
2019-10-21 13:58:55.922 Detail, Node033, Notification: ValueChanged

If i used domoticz then i see the state changed to in ozwcp but i get this log.
u suspect that this is all the communication between zwave and domoticz.

Code: Select all

2019-10-21 13:56:24.186 Info, Node033, Value::Set - COMMAND_CLASS_SWITCH_BINARY - Switch - 0 - 1 - True
2019-10-21 13:56:24.187 Info, Node033, SwitchBinary::Set - Setting node 33 to On
2019-10-21 13:56:24.187 Detail, Node033, Queuing (Send) SwitchBinaryCmd_Set (Node=33): 0x01, 0x0a, 0x00, 0x13, 0x21, 0x03, 0x25, 0x01, 0xff, 0x25, 0x34, 0x0e
2019-10-21 13:56:24.187 Detail, Node033, Queuing (Send) SwitchBinaryCmd_Get (Node=33): 0x01, 0x09, 0x00, 0x13, 0x21, 0x02, 0x25, 0x02, 0x25, 0x35, 0xf1
2019-10-21 13:56:24.187 Detail,
2019-10-21 13:56:24.188 Info, Node033, Sending (Send) message (Callback ID=0x34, Expected Reply=0x13) - SwitchBinaryCmd_Set (Node=33): 0x01, 0x0a, 0x00, 0x13, 0x21, 0x03, 0x25, 0x01, 0xff, 0x25, 0x34, 0x0e
2019-10-21 13:56:24.197 Detail, Node033,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-10-21 13:56:24.197 Detail, Node033,   ZW_SEND_DATA delivered to Z-Wave stack
2019-10-21 13:56:24.215 Detail, Node033,   Received: 0x01, 0x07, 0x00, 0x13, 0x34, 0x00, 0x00, 0x02, 0xdd
2019-10-21 13:56:24.215 Detail, Node033,   ZW_SEND_DATA Request with callback ID 0x34 received (expected 0x34)
2019-10-21 13:56:24.215 Info, Node033, Request RTT 26 Average Request RTT 29
2019-10-21 13:56:24.215 Detail,   Expected callbackId was received
2019-10-21 13:56:24.215 Detail,   Expected reply was received
2019-10-21 13:56:24.215 Detail,   Message transaction complete
2019-10-21 13:56:24.215 Detail,
2019-10-21 13:56:24.215 Detail, Node033, Removing current message
2019-10-21 13:56:24.215 Detail,
2019-10-21 13:56:24.216 Info, Node033, Sending (Send) message (Callback ID=0x35, Expected Reply=0x04) - SwitchBinaryCmd_Get (Node=33): 0x01, 0x09, 0x00, 0x13, 0x21, 0x02, 0x25, 0x02, 0x25, 0x35, 0xf1
2019-10-21 13:56:24.224 Detail, Node033,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2019-10-21 13:56:24.224 Detail, Node033,   ZW_SEND_DATA delivered to Z-Wave stack
2019-10-21 13:56:24.232 Detail, Node033,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x21, 0x03, 0x25, 0x03, 0xff, 0x09
2019-10-21 13:56:24.232 Detail,
2019-10-21 13:56:24.232 Info, Node033, Response RTT 16 Average Response RTT 27
2019-10-21 13:56:24.232 Info, Node033, Received SwitchBinary report from node 33: level=On
2019-10-21 13:56:24.232 Detail, Node033, Refreshed Value: old value=false, new value=true, type=bool
2019-10-21 13:56:24.232 Detail, Node033, Changes to this value are not verified
2019-10-21 13:56:24.232 Detail, Node033, Notification: ValueChanged
2019-10-21 13:56:24.252 Detail, Node033,   Received: 0x01, 0x07, 0x00, 0x13, 0x35, 0x00, 0x00, 0x04, 0xda
2019-10-21 13:56:24.252 Detail, Node033,   ZW_SEND_DATA Request with callback ID 0x35 received (expected 0x35)
2019-10-21 13:56:24.252 Info, Node033, Request RTT 36 Average Request RTT 32
2019-10-21 13:56:24.253 Detail,   Expected callbackId was received
2019-10-21 13:56:24.266 Detail, Node033,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x21, 0x03, 0x25, 0x03, 0xff, 0x09
2019-10-21 13:56:24.266 Detail,
2019-10-21 13:56:24.266 Info, Node033, Response RTT 50 Average Response RTT 38
2019-10-21 13:56:24.266 Info, Node033, Received SwitchBinary report from node 33: level=On
2019-10-21 13:56:24.266 Detail, Node033, Refreshed Value: old value=true, new value=true, type=bool
2019-10-21 13:56:24.267 Detail, Node033, Changes to this value are not verified
2019-10-21 13:56:24.267 Detail, Node033,   Expected reply and command class was received
2019-10-21 13:56:24.267 Detail, Node033,   Message transaction complete
2019-10-21 13:56:24.267 Detail,
2019-10-21 13:56:24.267 Detail, Node033, Removing current message
2019-10-21 13:56:24.267 Detail, Node033, Notification: ValueChanged
2019-10-21 13:56:24.284 Detail, Node033,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x21, 0x03, 0x25, 0x03, 0xff, 0x09
2019-10-21 13:56:24.284 Detail,
2019-10-21 13:56:24.284 Info, Node033, Received SwitchBinary report from node 33: level=On
2019-10-21 13:56:24.284 Detail, Node033, Refreshed Value: old value=true, new value=true, type=bool
2019-10-21 13:56:24.284 Detail, Node033, Changes to this value are not verified
2019-10-21 13:56:24.284 Detail, Node033, Notification: ValueChanged
2019-10-21 13:56:24.300 Detail, Node033,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x21, 0x03, 0x25, 0x03, 0xff, 0x09
2019-10-21 13:56:24.300 Detail,
2019-10-21 13:56:24.300 Info, Node033, Received SwitchBinary report from node 33: level=On
2019-10-21 13:56:24.300 Detail, Node033, Refreshed Value: old value=true, new value=true, type=bool
2019-10-21 13:56:24.301 Detail, Node033, Changes to this value are not verified
2019-10-21 13:56:24.301 Detail, Node033, Notification: ValueChanged

if i triggerd a normal working 2 gang switch i see this in the log.
There a little difference between the 2 and 3 gang

Code: Select all

2019-10-21 14:04:48.701 Detail, Node025,   Received: 0x01, 0x0d, 0x00, 0x04, 0x00, 0x19, 0x07, 0x60, 0x0d, 0x01, 0x00, 0x25, 0x03, 0xff, 0x5d
2019-10-21 14:04:48.702 Detail,
2019-10-21 14:04:48.702 Info, Node025, Received a MultiChannelEncap from node 25, endpoint 1 for Command Class COMMAND_CLASS_SWITCH_BINARY
2019-10-21 14:04:48.702 Info, Node025, Received SwitchBinary report from node 25: level=On
2019-10-21 14:04:48.702 Detail, Node025, Refreshed Value: old value=false, new value=true, type=bool
2019-10-21 14:04:48.702 Detail, Node025, Changes to this value are not verified
2019-10-21 14:04:48.703 Detail, Node025, Notification: ValueChanged

Any idea why its works on the software but not on the hardware?

grts
knielen
Posts: 46
Joined: Sunday 10 September 2017 9:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Neo Coolcam 3 gang switch

Post by knielen »

Ouch, this weekend I broke the glass panel from my 2 gang switch and I ordered a 3 gang expecting no issues. Hopefully mine works fine, I will update this thread when mine arrives and I can test it.
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Neo Coolcam 3 gang switch

Post by Gianni »

lol i have 3 of them.
i know before that they ware new products and not in the zwave list at this moment.
It's just strange that it's works from within domoticz but not from the hardware buttons.
If you just need to switch a light then this is not a problem and this will work.
if you need a hotelswitch then i hope you have more luck then me :-)
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Neo Coolcam 3 gang switch

Post by Gianni »

just test some more and i just fond out that it's a one way problem.
from the 2 gang to the 3 gang it's works.
from the 3 gang to the 2 gang it's not works.
So the question is whats different with the 3 gang?
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Neo Coolcam 3 gang switch

Post by Gianni »

nobody from the devs who can help me?
i think it's the protocol version because this is the only thing that's different.
my zwave curtain who also is a new product and not recognized by domoticz has the same protocol version.
All my devices has protocol 4.x and these have 6.x
Knipsel1.JPG
Knipsel1.JPG (47.16 KiB) Viewed 1182 times
ronh123
Posts: 23
Joined: Monday 12 January 2015 13:30
Target OS: Linux
Domoticz version:
Contact:

Re: Neo Coolcam 3 gang switch

Post by ronh123 »

Any news on this subject? I just received one. Buttons are perfectly swtiched via the software, but seen as unknown switched by the hardware:
2019-10-29 17:07:45.846 (Z-wave stick) Light/Switch (Unknown) ( Pushed the button onthe swtich )
2019-10-29 17:08:01.514 (Z-wave stick) Light/Switch (Unknown) ( Pushed the button on the swich )
2019-10-29 17:08:10.476 (Z-wave stick) Light/Switch (Unknown) ( Pushed the button on the switch)
2019-10-29 17:08:30.752 OpenZWave: Domoticz has send a Switch command! NodeID: 2 (0x02) ( Via Domoticz )
2019-10-29 17:08:30.758 (Z-wave stick) Light/Switch (Switch 1)
2019-10-29 17:08:30.798 (Z-wave stick) Light/Switch (Unknown) ( Reply receive from the swtich ??? )
2019-10-29 17:08:30.751 Status: User: Admin initiated a switch command (2/Switch 1/On)
2019-10-29 17:08:32.988 OpenZWave: Domoticz has send a Switch command! NodeID: 2 (0x02) ( Via Domoticz )
2019-10-29 17:08:32.994 (Z-wave stick) Light/Switch (Switch 1)
2019-10-29 17:08:32.988 Status: User: Admin initiated a switch command (2/Switch 1/Off)
2019-10-29 17:08:33.035 (Z-wave stick) Light/Switch (Unknown) ( reply received from the swtich )
ronh123
Posts: 23
Joined: Monday 12 January 2015 13:30
Target OS: Linux
Domoticz version:
Contact:

Re: Neo Coolcam 3 gang switch

Post by ronh123 »

The open z-wave panel does see the changes on the switch when the buttons are pressed manually.
ronh123
Posts: 23
Joined: Monday 12 January 2015 13:30
Target OS: Linux
Domoticz version:
Contact:

Re: Neo Coolcam 3 gang switch

Post by ronh123 »

When the buttons are pressed manually and you press refresh in the Open-Zwave control pannel then status in the switch settings do change.
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Neo Coolcam 3 gang switch

Post by Gianni »

nope still not working for me and indeed when you push the button in OZWCP the switch changed.
SO i dont know if this zwave or domoticz error related.
Ixxy
Posts: 2
Joined: Saturday 25 November 2017 20:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Neo Coolcam 3 gang switch

Post by Ixxy »

I did get this working. Take a look at this:
https://www.domoticz.com/forum/viewtopi ... ch#p236567
dobber
Posts: 19
Joined: Saturday 07 May 2016 1:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta..
Location: Sweden
Contact:

Re: Neo Coolcam 3 gang switch

Post by dobber »

Working:
4 switches are added. Switch 2 is button 1, switch 3 is button 2 and switch 4 is button 3.

1. Add file /domoticz/Config/shenzen_neo/ls03ch.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
  <!--
  Shenzhen NEO Electronics (Neo-CoolCam) Light Switch (3 channel)
  -->
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value type="list" genre="config" instance="1" index="2" label="Back light Enable" value="1" size="1">
      <Help>This parameter defines the back light state of the touch button. The back light led would be on when Light Switch is powered on if the parameter is set to '1'. Otherwise the back light led would be off.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="3" label="Relay On/Off indicate" value="1" size="1">
      <Help>This parameter defines the relays state. The led will be turned on with pink color when the button is touched to tur on relay if this paramtere is set to '1'. Otherwise the ledstate is not changed.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="1" label="Relay On/Off States Saved Enable" value="1" size="1">
      <Help>This parameter defines the on/off status of relay needs to be saved. The status will be saved when relay status is changed if this parameter is set to '1'. Otherwise the relay stataus is not saved. The Light Switch will restore the relay On/Off  status when powered again.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="4" label="Root Device Mapped Setting" min="0" max="3" value="0" size="1">              <Help>This parameter defines which endpoint is mapped to root device (Endpoint 0). 0 - No endpoint is mapped to root device. 1 - Endpoint 1 is mapped to root device. 2 - Endpoint 2 is mapped to root device. 3 - Both endpoint 1 and 2 are mapped to root device.</Help>            <Item label="No endpoint is mapped to root device" value="0"/>
      <Item label="Endpoint 1 is mapped to root device" value="1"/>
      <Item label="Endpoint 2 is mapped to root device" value="2"/>
      <Item label="Endpoint 3 is mapped to root device" value="3"/>
      <Item label="All three endpoints are mapped to root device" value="4"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="4">
      <Group index="1" max_associations="5" label="Lifeline"/>
      <Group index="2" max_associations="5" label="Sending Report Endpoint 1"/>
      <Group index="3" max_associations="5" label="Sending Report Endpoint 2"/>
      <Group index="4" max_associations="5" label="Sending Report Endpoint 3"/>
        </Associations>
  </CommandClass>
</Product>
2. Add line in "manufacturer_specific.xml" Should look something like this when done:

Code: Select all

    <Product config="shenzen_neo/ls02ch.xml" id="108b" name="Wall Switch (2 channels)" type="0003"/>
    <Product config="shenzen_neo/ls03ch.xml" id="102b" name="Wall Switch (3 channels)" type="0200"/>
    <Product config="shenzen_neo/ls01ch.xml" id="008c" name="Wall Switch (1 channel)" type="0003"/>
3. Reboot and include the unit.

4. Done.

Every time the manufacturer_specific.xml gets updated you need to add the line again. I solved this with a simple bash/sed-script.

Code: Select all

if ! grep -q "ls03ch" /home/pi/domoticz/Config/manufacturer_specific.xml; then
  cd /home/pi/domoticz/Config
  sudo sed '/<Product config="shenzen_neo\/ls02ch.xml" id="108b" name="Wall Switch (2 channels)" type="0003"\/>/a <Product config="shenzenneo\/ls03ch.xml" id="102b" name="Wall Switch (3 channels)" type="0200"\/>' manufacturer_specific.xml > /tmp/manufacturer_specific.xml
  sudo cp /tmp/manufacturer_specific.xml manufacturer_specific.xml
fi
sudo service domoticz restart
Hopefully this can help someone.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest