Qubine ZMNHBD1 not working well

For Z-Wave related questions in Domoticz

Moderator: leecollings

Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Qubine ZMNHBD1 not working well

Post by Machielw »

Hello, i am pretty new to z-wave and domoticz.

I have a problem with the ZMNHBD1 double relay.

I think there should be 3 switches
1 both switches i1 en i2 together.
2 switch i1
3 switch i2

I only have 2 switches: ( i1 and i2). Status reports from the first ( i1 and i2 together) is reported for i1.
One time i tried domoticz on windows and i had 3 devices which worked properly.
In de raspberry i never saw the 3 devices. The status is always wrong if i2 is on, it shows i1 is on as well (thought this is not the case)

Anybody know a solution? of update?
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Qubine ZMNHBD1 not working well

Post by bbqkees »

Do a search on the forum. You probably need to put the device in a few additional Z-Wave groups.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Machielw »

Thanks for the answer! I messed up things by adding groups.
But removing all the additional groups makes it work fine!
(I don't really know what I am doing, but very happy it is finaly working!)

But when I reboot the raspberry it adds 1+ to group 1 and I have to remove it again.
Any suggestion to solve it permanently?
Attachments
Knipsel.JPG
Knipsel.JPG (42.99 KiB) Viewed 3885 times
Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Machielw »

But the wall switches are not working then, they dont report....'

If i change it, its not working well again. see image --> But now it always reports that I1 is on when i use the wall switches. (for both)

So if I turn on I2 on de wall switch, it reports I1 is on. And i2 is off...

ideas?
Attachments
Knipsel2.JPG
Knipsel2.JPG (41.38 KiB) Viewed 3881 times
Last edited by Machielw on Monday 25 January 2016 23:18, edited 1 time in total.
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

remove this line from /home/pi/domoticz/Config/qubino/ZMNHBD2.xml (I suppose you mean 2 at the end)

Code: Select all

<CommandClass id="96" mapping="endpoints" />
Also read this post for some more information and a workaround for the status update: http://www.domoticz.com/forum/viewtopic.php?f=17&t=7043
Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Machielw »

No I really mean ZMNHBD1, used this (see link) because it did not work before with ZMNHBD2 config files. But it looks the same file as ZMNHBD2,

https://github.com/OpenZWave/open-zwave ... a7b1c836b7

I will give it a try this week, thanks!
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

Will probably be the same issue.
You don't really need the all on/off switch but you want it to report correctly when switch locally (wallswitch).
Try this before altering anything:
Open OZWcp, select the node and hit the refrefh button at the bottom. Do that after every change of one of the switches and look each time if it responds ok.
Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Machielw »

If I do the refresh then it reports well.

Tried your script from your other post: viewtopic.php?f=17&t=7043

<?php
sleep(2);
$zwaveurl = 'http://127.0.0.1/ozwcp/refreshpost.html';
$zwavedata = array('fun' => 'racp', 'node' => '3');
$zwaveoptions = array(
'http' => array(
'method' => 'POST',
'content' => http_build_query($zwavedata),
),
);
$zwavecontext = stream_context_create($zwaveoptions);
$zwaveresult = file_get_contents($zwaveurl, false, $zwavecontext);
echo '<pre>'.$zwaveresult.'</pre>';


Cannot get it to work, adjusted node to 3 and 03
I put it in the on an off action in the switch in domoticz
(http://127.0.0.1/scripts/zwaveqb.php )

respons,
2016-01-28 21:58:41.022 Error: Error opening url: http://127.0.0.1/scripts/zwaveqb.php.

pfffffff....
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

You need a PHP enabled web server for this.
Also, in the zwaveurl the port of domoticz should be added, and the code isn't complete.
Machielw
Posts: 15
Joined: Saturday 23 January 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Machielw »

Thanks for the help! I give up. I'm better with healthcare than with computers.
I will wait until someone can fix this in openzwave, qubino or Domoticz.
Or replace the module.
Again thanks for help!
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Qubine ZMNHBD1 not working well

Post by juankar »

Any solution?
1. My ZMNHBD1 is detected by Domoticz as TWO relays not three.
2. If I switch on/off by hand Domoticz doesn't reflects the new status, nor control panel
3. I I switch (in web panel) I2 hten i1 and I2 become ON, but It Works fine and just light Q2 goes on.
3. Energy is measured sometimes by Q1 and some times by Q2, It doesn'r matter which light is on.

All associations are OK
Lot of problems... grrrrrr. I have made a big mistake buying this device.
I am using an Aeotec Stick Gen5
Thanks
nickgosling
Posts: 33
Joined: Wednesday 06 January 2016 10:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by nickgosling »

I have exactly the same problems.
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

Search the forum for Qubino, workarounds are provided.
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Qubine ZMNHBD1 not working well

Post by juankar »

Yes. It's necessary to modify config file for this Qubino. Delete the last line
<!-- Map endpoints to instances -->
<CommandClass id="96" mapping="endpoints" />

Yo can exclude and include the module or ....
edit zwcfg_0xnnnnn.xml (nnnnn depends on the network, it is the homeid)
delete all the node of this Qubino
restart domoticz
and you'll see three nodes. It Works fine

(I refer to the last versión of Qubino firmware: S4, you can see it in the label: H1SxP1, x is the number of the firmware version)
Bye
SchattenMann
Posts: 73
Joined: Friday 09 October 2015 19:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by SchattenMann »

Hi,

I've tried as you said and I get one sensor and two switches, switch one controls both loads....
I suppose I should be getting 3 switches (one parent plus 2 childs) ?
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

You didn't remove the endpoints line.
SchattenMann
Posts: 73
Joined: Friday 09 October 2015 19:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by SchattenMann »

Hmm I didn't want to Exclude/Include the device so i've edited my zwcfg xml file and removed

<CommandClass id="96" name="COMMAND_CLASS_MULTI_INSTANCE/CHANNEL" version="4" request_flags="1" innif="true" mapping="endpoints">
<Instance index="1" />
</CommandClass>

I guess this is not enough then?
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Qubine ZMNHBD1 not working well

Post by Egregius »

No, there are other lines changed. And most important the 3th switch that appears.
SchattenMann
Posts: 73
Joined: Friday 09 October 2015 19:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by SchattenMann »

Ah I see, so the only way (given that I don't know *exactly* what to change) is to Exclude/Include...oh well
SchattenMann
Posts: 73
Joined: Friday 09 October 2015 19:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Qubine ZMNHBD1 not working well

Post by SchattenMann »

Now I do have 3 switches but the device gets marked as dead by OZW when the initial check ends so nothing works :-(
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests