Individual switch status not communicated with domoticz

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Draakje
Posts: 140
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 4.11539
Contact:

Individual switch status not communicated with domoticz

Post by Draakje »

Hi All,

I am fairly new to zigbee :) and I have this small issue.

I have setup a conbee II with Deconz plugins.
Within the phoscon App I have setup 2 switched which are in a single group.

I can see both switches and the group in domoticz.

I can turn on/off the group from domoticz But I cannot do a thing with the individual switches.
The status of the switch is not communicated with domoticz.. And I can not turn the individual switch on/off

Am I doing something the wrong way?

Regards,
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch
Draakje
Posts: 140
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 4.11539
Contact:

Re: Individual switch status not communicated with domoticz

Post by Draakje »

Ok,

I may have found my problem (maybe someone can confirm?)
I had removed the group from the gateway (phoscon app) and added the switch as individual in domoticz (had to reboot to update the devices)
Now I can switch on/off the switches individual and I also see a status.

So as a conclusion: groups should not be made on the gateway but in domoticz.
If anyone could confirm this, I would be very happy.
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Individual switch status not communicated with domoticz

Post by Thorgal789 »

Draakje wrote: Monday 03 June 2019 23:25 Ok,

I may have found my problem (maybe someone can confirm?)
I had removed the group from the gateway (phoscon app) and added the switch as individual in domoticz (had to reboot to update the devices)
Now I can switch on/off the switches individual and I also see a status.

So as a conclusion: groups should not be made on the gateway but in domoticz.
If anyone could confirm this, I would be very happy.
Good question ^^.
Wich kind of switches they are ? Passive switch that can only send command, or active one, that can receive command to active their integrated relay ?
It's not same, the first one is a sensor, the second one is a "bulb".

Have you tried in Phoscon ? If it works on Phoscon and not domoticz, there is a bug.

In Domoticz they are represented by bulb or switch ? Take care on active switch you can have 2 device in Domoticz, 1 switch + 1 bulb.
In your first try, you haven't error message on logs (when you make group in phoscon with the 2 switches, and try to send command with domoticz )?

If you want to make zigbee groups better to use Phoscon/Gateway (there is somes specials features), if you want to mix zigbee+zwave+wifi device use Domoticz groups. So if your precedure is good, I think I have a problem.
Draakje
Posts: 140
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 4.11539
Contact:

Re: Individual switch status not communicated with domoticz

Post by Draakje »

Hi,

Thanks for your reply.

I am using Phoscon/gateway.
The switches are from OSRAM and they are displayed as switches in Domoticz. Although the group was listed as a switch and the individual switches are displayed as walloutlet.

I could switch the switches on/off with the phoscon gateway . o maybe still a bug in domoticz..
But like I said.. I deleted the group in the phoscon gateway and created one in domoticz.. Works just fine.
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Individual switch status not communicated with domoticz

Post by Thorgal789 »

Draakje wrote: Tuesday 04 June 2019 22:36 The switches are from OSRAM and they are displayed as switches in Domoticz. Although the group was listed as a switch and the individual switches are displayed as walloutlet.
Displayed as walloutlet ?
In Osram I know only 2 switches.
- Osram SMART+ SWITCH (4058075816459).
- Osram SMART+ SWITCH MINI(4058075051935)
But they are passive, so you can't send command to them.

And I don't see how you can set (or see) a switch state in phoscon too ?
switch.jpg
switch.jpg (40.67 KiB) Viewed 1133 times
I know it's no more a problem for you, but if you have find a situation that work in Phoscon and not Domoticz, you have find a bug. But ATM I can't reproduce it.
Draakje
Posts: 140
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 4.11539
Contact:

Re: Individual switch status not communicated with domoticz

Post by Draakje »

Well actually the switches are detected as lights... (see screenshot)
The product name is a Smart Plug. (https://www.google.com/aclk?sa=l&ai=DCh ... CDk&adurl=)
Attachments
Screenshot 2019-06-06 at 07.31.11.png
Screenshot 2019-06-06 at 07.31.11.png (113.12 KiB) Viewed 1122 times
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch
Draakje
Posts: 140
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 4.11539
Contact:

Re: Individual switch status not communicated with domoticz

Post by Draakje »

And in Domoticz:
Attachments
Screenshot 2019-06-06 at 07.36.00.png
Screenshot 2019-06-06 at 07.36.00.png (23.26 KiB) Viewed 1122 times
Screenshot 2019-06-06 at 07.35.14.png
Screenshot 2019-06-06 at 07.35.14.png (21.93 KiB) Viewed 1122 times
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Individual switch status not communicated with domoticz

Post by Thorgal789 »

Ok, so they are definitively not switches ^^ (even they have this name for domoticz), but 100% plugs.
I still can't reproduce bug, but I have only 1 to put in a group.
So I have 1 group just for it with only 1 plug.

In domoticz :
- the plug is a "type : light switch, switch,on/off"
- the group is "type colorswitch RGBWWZ, Dimmer

If I click on the plug I have
2019-06-06 18:46:24.995 (deCONZ) Classic Data : [{'success': {'/lights/10/state/on': True}}]
2019-06-06 18:46:24.995 (deCONZ) ### WebSocket Data : {'r': 'lights', 'id': '10', 't': 'event', 'uniqueid': '7c:b0:3e:aa:00:b0:7b:11-03', 'state': {'alert': None, 'reachable': True, 'on': True}, 'e': 'changed'}
2019-06-06 18:46:24.996 (deCONZ) ### Update device (deCONZ - Plug Osram) : {'nValue': 1, 'sValue': 'on'}
If I click on the group I have
2019-06-06 18:47:36.081 (deCONZ) Classic Data : [{'success': {'/groups/5/action/on': False}}]
2019-06-06 18:47:36.081 (deCONZ) ### WebSocket Data : {'r': 'lights', 'id': '10', 't': 'event', 'uniqueid': '7c:b0:3e:aa:00:b0:7b:11-03', 'state': {'alert': None, 'reachable': True, 'on': False}, 'e': 'changed'}
2019-06-06 18:47:36.082 (deCONZ) ### Update device (deCONZ - Plug Osram) : {'nValue': 0, 'sValue': 'off'}
2019-06-06 18:47:36.087 (deCONZ) ### WebSocket Data : {'t': 'event', 'r': 'groups', 'state': {'all_on': False, 'any_on': False}, 'id': '5', 'e': 'changed'}
2019-06-06 18:47:36.087 (deCONZ) ### Update device (deCONZ - test) : {'nValue': 0, 'sValue': 'off'}
Maybe it's perhaps I m using the last beta version, but your bug is realy strange. If you have time, can you check on domoticz logs (setting/logs) if you have error message in the bugy situation (plug in a group in phoscon)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest