Page 2 of 4

Re: Zigbee in Domoticz (win10)

Posted: Tuesday 22 November 2022 16:30
by pipiche
It is just the coordinator version which looks strange
This looks an old firmware. You might want to look after @koenkk Z-Stack-firmware git repo to get the latest master version.

Otherwise I think you are good

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 12:18
by olleman
My MOES dimmer module has finally arrived. I upgraded the firmware to the latest (20220219) using this guide: https://zigbee.blakadder.com/Sonoff_ZBDongle-P.html

However, the MOES Dimmer is initialized as a TS0601 valve thermostat!? Any ideas on what to do?

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 12:21
by pipiche
Yes please le us know what version of the plugin you are running, provides the export.json file from Plugin device RAW in Webui > tools

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 12:34
by olleman
Version is 6.3.006 (but the web ui is indicating that it's not up to date since the version number is in red text but I can't update further).

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 13:02
by pipiche
Is that that one https://zigbee.blakadder.com/Moes_MS-105B.html ?

can you switch to dev branch

git pull
git checkout dev
git pull

then you'll have to restart the plugin and remove the device/widgets and redo the pairing

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 15:17
by olleman
Thanks for all your fast help :)

Yes, it's that Dimmer module.

Ok, version 6.4.045 and after following the guide on how to completeley remove a device it's now working. I'm particularily pleased with the sycnhing between the module and DOmoticz. If I change the dimmer level on the wall switch or switch it of it's immidietly reported in Domoticz - fantastic :)

One thing though. Zigbee for domoticz have only created one widget for Domoticz but since this is a 2 gang Dimmer shouldn't it create two? I actually don't have anything connected to the second gang, could that be the issue?

How or when should I switch back to the more stable versions of the plugin?

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 15:44
by pipiche
I was not aware there is a 2 gangs one. I need to do some investigation then , and unfortunately you might have to redo the pairing when I would have fixe it.

to return back to stable, you will just have to do

Code: Select all

git checkout stable6
Most-likely it will continue to work, as the issue was on the creation, but for the 2nd gang, when fixed you will have to remain on dev until it is merged on stable6

Can you drop me once more the export.json as you previously did ?

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 15:56
by pipiche
Can you try teh following

Still on dev branch just update it with a git pull

then restart the plugin, remove the widgets/devices which have been created in Domotic. Check that it is correctly removed via the WebUI

then redo the pairing

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 16:17
by olleman
No problem to have to go back and forth, I'm in a testing phase now and will install these in our new house in about 3-4 months :)

Ok so I ran a "git pull" again and followed your instructions twice just to be sure but it still seems to make only one widget.

Just to be clear about this dimmer modules specifications. There's a 1 gang version and a 2 gang version. The 2 gang version ends with "B" in the model name. (https://moeshouse.com/collections/dimme ... 0565807185)

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 17:16
by pipiche
just made a mistake. Give me 5 mins to fix it

Re: Zigbee in Domoticz (win10)

Posted: Sunday 18 December 2022 17:19
by pipiche
if you can try once more

git pull
restart
then remove the widget and make sure this is removed from the plugin side

the you can start the pairing

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 19:31
by olleman
It now creates two widgets for the two two dimmers, great! I noticed, however, that I can't control the dimmer. It synchs with the module and shows me the present state in Domoticz but I can't control it from Domoticz. Nothings happens...

I tried removing the devices and then adding them again but now I get this error message:
2022-12-19 19:26:11.123 Error: Zigbee: Something wrong on Device 377d dc8e95fffe5f105a pairing process. (aborting)
2022-12-19 19:26:11.134 Error: Zigbee: DeviceExist - Found inconsistency ! Not Device e951 not found, while looking for dc8e95fffe5f105a (377d)

The device never registers under "Device management". This is the error code I get in domoticz while trying to pair the device once again. I have nothing in Domoticz that corresponds to this device and I can't find anything related to it in Zigbee web GUI either.

I did remove A LOT of unused devices from the Domoticz database yesterday since the device page was very sluggish. I have no other problems after I did this and I did not remove any devices related to Zigbee.

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 19:42
by pipiche
You might check if dc8e95fffe5f105a, you most-likely have some remainins stuff somewhere

exists in Domotics
exists in Plugin

If I summarize the
sync module -> plugin -> domoticz works for boths
commands from domoticz -> plugin -> module works only for the 1st one

I guess it is more on the plugin side, I'll check

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 19:49
by pipiche
Yep, found it something is missing, but I need some help/inputs from you

1) can you enable debugTuya with the WebUI > Tools > Debug

2) then do on the module side only
Switch On Gang1
dimmer action on Gang 1
Switch Off Gang1

Swich On Gang 2
One dimmer action on Gang 2
switch Off Gang2

3) drop me the Logs/PluginZigbee_xx.log file

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 20:25
by olleman
pipiche wrote: Monday 19 December 2022 19:42 You might check if dc8e95fffe5f105a, you most-likely have some remainins stuff somewhere

exists in Domotics
exists in Plugin
I have looked everywhere in the web interface for both Domoticz and Zigbee4Domoticz. No devices whatsoever in Zigbee and only the "status" and "notification" widgets in Domoticz.
pipiche wrote: Monday 19 December 2022 19:42 If I summarize the
sync module -> plugin -> domoticz works for boths
commands from domoticz -> plugin -> module works only for the 1st one
I have only tried 1 of the "gangs" since I don't have anything to connect ot the second one at the moment. So I can only confirm the following for gang 1.
sync module -> plugin -> domoticz works for gang 1
commands from domoticz -> plugin -> module does not work for gang 1

pipiche wrote: Monday 19 December 2022 19:49 Yep, found it something is missing, but I need some help/inputs from you

1) can you enable debugTuya with the WebUI > Tools > Debug

2) then do on the module side only
Switch On Gang1
dimmer action on Gang 1
Switch Off Gang1

Swich On Gang 2
One dimmer action on Gang 2
switch Off Gang2

3) drop me the Logs/PluginZigbee_xx.log file
I will try but I have to find a way to add the device in Zigbee4Domoticz first :) I hae checked the "Devices15.txt" file and that only contains the coordinator...any ideas?

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 20:41
by pipiche
could you update to the latest version of the plugin with a git pull, this should be better

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 20:44
by pipiche
did you try to restart the plugin ?

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 21:01
by olleman
pipiche wrote: Monday 19 December 2022 20:41 could you update to the latest version of the plugin with a git pull, this should be better
Yes, that new version got it working again.

One thing I noticed from the domoticz side.
*When switching on gang 1 in Domoticz > gang 1 shows as "switched on" in Domoticz.
*When switching on gang 2 in Domoticz > gang 1 AND 2 shows as "switched on" in Domoticz.

Log file attached, I hope I got this right now. If you see any inconsistencies it may be due to the fact that I don't use a "reset" switch to control the dimmer right now. I use normal "rocker" switch and switch it back and forth to mimic a reset switch.

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 22:00
by pipiche
I think I'm progressing on the discovery of the behaviour of that 2Gang dimmer.

Could you kindly do a git pull to update

At that stage you don't have to redo the pairing, just see if from Domoticz , you can command the dimmer.

Re: Zigbee in Domoticz (win10)

Posted: Monday 19 December 2022 22:14
by olleman
pipiche wrote: Monday 19 December 2022 22:00 I think I'm progressing on the discovery of the behaviour of that 2Gang dimmer.

Could you kindly do a git pull to update

At that stage you don't have to redo the pairing, just see if from Domoticz , you can command the dimmer.
Yes, works like a charm and the 2nd gang doesn't seem tied to the 1st gang anymore because nothing happens when I try to control that one.
I'm sorry but at this stage I have no way of testing the 2nd gang but I will get back to you with that one sooner or later :)

Thanks once again for all your help!