Hello to all,
hope this is the correct section to post this problem.
I've noticed a strange behavior with domoticz and ZWave.
Suppose you are running domoticz with a zwave controller and you run into 1 of this situation :
- You have light 1 turned off
then
- You shut down your domoticz, turn to the Light1 with manual action on the switch, then start domoticz
or
- You turn on the Light1 with manual action on the switch, but LIGHT1 cannot transport ZWave info to the controller (temporaly loss of connectivity)
In that case you have the LIGH1 on domoticz with status "ON" but it is "OFF"
If you try to send a "TurnOff" command via ZWave the light do not turn off becouse system Already know it is "OFF", despite it is "ON"
In order to turn it off, you have to send a "TurnOn" and then a "TurnOff"
Is there a command to use to update to ZWave switch status (something like request actual state) or a command to force sending the turnoff / turnOn command?
Request Information
Moderator: leecollings
-
- Posts: 32
- Joined: Saturday 25 February 2017 18:42
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Milano, Italy
- Contact:
Request Information
Sorry for any spelling mistake, English is not my native language.
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Request Information
similar issues are group or device dotification problems, it not something related to Domoticz.
Under Hardware / zWave / Group & Network
ensure that in the lifeline group (move the mouse over to see the group name) there is ONLY the ID 1 (controller)
in some devices (aeotec) you have an option about Noification: None/BASIC/HAIL... use BASIC (default None)
this solved my problems in notification status
ciao
M
Under Hardware / zWave / Group & Network
ensure that in the lifeline group (move the mouse over to see the group name) there is ONLY the ID 1 (controller)
in some devices (aeotec) you have an option about Noification: None/BASIC/HAIL... use BASIC (default None)
this solved my problems in notification status
ciao
M
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 32
- Joined: Saturday 25 February 2017 18:42
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Milano, Italy
- Contact:
Re: Request Information
Mmmm .... I've got problem with device that have only ID1 and problem that are plan to don't have only ID1.
An example ... i'm using a Fibaro Motion Sensor to drive a Fibaro Switch directly without needing a controller sending to the switch only the main on frame , skipping the main off and set switch to poweroff after 15 minute.
Anyway , as said in previous post, I only need to know if :
- There is some instruction to force request node status update to a zwave node
- There is some instruction in order to send a change status even if domoticz internal database have the same status as requested.
Is it possibile ?
An example ... i'm using a Fibaro Motion Sensor to drive a Fibaro Switch directly without needing a controller sending to the switch only the main on frame , skipping the main off and set switch to poweroff after 15 minute.
Anyway , as said in previous post, I only need to know if :
- There is some instruction to force request node status update to a zwave node
- There is some instruction in order to send a change status even if domoticz internal database have the same status as requested.
Is it possibile ?
Sorry for any spelling mistake, English is not my native language.
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: Request Information
uh... association like yours can be done (for FGMS001 motion sensor) using Group 1 (Basic Report)
so an activation of the PIR will send the ON frame to the associated devices in group1
doing this you will skip communication between device and controller (and it works as expected)
but.. to have Domoticz knowing the state of the device, you have to add ID1 to group3 (lifeline), and by doing this you will need to wake up the device so you do not need to wait for the wake-up window
if you have to force it, you need to pushing 3 times the button (it becomes blue and flashes)
Normally this operation is made to change configuration (and group config), for sensor state this is not normally needed
If you still have problems with status... that's because LifeLine is not configured with ID 1
ciao
M
P.S.
you can even try to heal node and wake it up to see if there are some communication issues
so an activation of the PIR will send the ON frame to the associated devices in group1
doing this you will skip communication between device and controller (and it works as expected)
but.. to have Domoticz knowing the state of the device, you have to add ID1 to group3 (lifeline), and by doing this you will need to wake up the device so you do not need to wait for the wake-up window
on battery powered devices it is not the controller that wakes up devices, they have a window defined in the WakeUp ParameterThere is some instruction to force request node status update to a zwave node
if you have to force it, you need to pushing 3 times the button (it becomes blue and flashes)
Normally this operation is made to change configuration (and group config), for sensor state this is not normally needed
If you still have problems with status... that's because LifeLine is not configured with ID 1
ciao
M
P.S.
you can even try to heal node and wake it up to see if there are some communication issues
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 32
- Joined: Saturday 25 February 2017 18:42
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Milano, Italy
- Contact:
Re: Request Information
Sorry Emme,
I'm a little bit busy these days ... so I cannot read forum in real-time.
Anyway, look at this point :
Suppose only 1 device with ID1 , and the case scenario 1.
Light is off, I manually turn off domoticz server, then manual turn on the light and then power on domoticz server.
Domoticz server on his internal database know Light as off ..... there is a way to sync domoticz internel database with the actual status of light (a way to read the zwave device status) ?
I'm a little bit busy these days ... so I cannot read forum in real-time.
Anyway, look at this point :
Forget the association group which is not my interest right now.Suppose you are running domoticz with a zwave controller and you run into 1 of this situation :
- You have light 1 turned off
then
- You shut down your domoticz, turn to the Light1 with manual action on the switch, then start domoticz
or
- You turn on the Light1 with manual action on the switch, but LIGHT1 cannot transport ZWave info to the controller (temporaly loss of connectivity)
In that case you have the LIGH1 on domoticz with status "ON" but it is "OFF"
Suppose only 1 device with ID1 , and the case scenario 1.
Light is off, I manually turn off domoticz server, then manual turn on the light and then power on domoticz server.
Domoticz server on his internal database know Light as off ..... there is a way to sync domoticz internel database with the actual status of light (a way to read the zwave device status) ?
Sorry for any spelling mistake, English is not my native language.
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
-
- Posts: 71
- Joined: Saturday 13 July 2013 2:45
- Target OS: Linux
- Domoticz version: 3.5877
- Location: Scotland
- Contact:
Re: Request Information
Pretty sure that's what polling is for - where every so many seconds Domoticz via OpenZWave will request status updates of nodes that have polling turned on.candrea77 wrote:Sorry Emme,
I'm a little bit busy these days ... so I cannot read forum in real-time.
Anyway, look at this point :Forget the association group which is not my interest right now.Suppose you are running domoticz with a zwave controller and you run into 1 of this situation :
- You have light 1 turned off
then
- You shut down your domoticz, turn to the Light1 with manual action on the switch, then start domoticz
or
- You turn on the Light1 with manual action on the switch, but LIGHT1 cannot transport ZWave info to the controller (temporaly loss of connectivity)
In that case you have the LIGH1 on domoticz with status "ON" but it is "OFF"
Suppose only 1 device with ID1 , and the case scenario 1.
Light is off, I manually turn off domoticz server, then manual turn on the light and then power on domoticz server.
Domoticz server on his internal database know Light as off ..... there is a way to sync domoticz internel database with the actual status of light (a way to read the zwave device status) ?
Otherwise you want to tell OpenZWave to refresh the node - by posting to http://<ip>:<port>/ozwcp/refreshpost.html with parameters fun=racp node=<nodeid> (the ZWave Node, not the Domoticz one)
eg:
http://192.168.2.12:8080/ozwcp/refreshpost.html with postdata fun=racp&node=2
AEOTEC ZStick, 11 ZWave Nodes, RFXCOMM, 50ish Byron Sockets.. HE851 (PIR), 2x HE852 (DoorContact)
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
WS2300, CM180, CC128, 2xTHGR122NX, 2xPiZeroW w/DS18B20, 8Ch 1W Relay Board.
8 Panasonic IP Cams, 1 16ch CCTV DVR + 15 CCTV Cams
-
- Posts: 32
- Joined: Saturday 25 February 2017 18:42
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Milano, Italy
- Contact:
Re: Request Information
asjmcguire , thank you very much for this information.
So seems that my problems is due to polling set to off.
Also thank you for this
Really thanks to all
So seems that my problems is due to polling set to off.
Also thank you for this
Now it's time to make some test.http:// <ip>:<port>/ozwcp/refreshpost.html with parameters fun=racp node=<nodeid>
Really thanks to all
Sorry for any spelling mistake, English is not my native language.
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
DomoticZ running on Ubuntu 20.04 LTS , dzVents Version: 3.1.7 , Python Version: 3.8.5
Who is online
Users browsing this forum: No registered users and 1 guest