Page 2 of 2
Re: Zigate plugin moving to a new era
Posted: Monday 17 January 2022 11:26
by Gamester17
Suggest should maybe even mention in your documentation that highly recommend updating to the latest firmware before testing any TI based adapter:
https://github.com/Koenkk/Z-Stack-firmw ... /README.md
https://github.com/Koenkk/Z-Stack-firmw ... ANGELOG.md
https://github.com/Koenkk/Z-Stack-firmw ... /README.md
Anyone who bought a pre-flashed Texas Instruments based Zigbee Coordinator will get a lot of bug-fixes if update to a later version of Z-Stack firmware.
Flashing new firmware to Texas Instruments based adapters with CC2652/CC2538/CC1352 chips is done by putting into bootloader mode then use one of:
https://github.com/xyzroe/ZigStarGW-MT = ZigStar GW Multi tool (multi platform GUI tool)
https://github.com/electrolama/llama-bsl = llama-bsl (multi platform Python based command line tool, a fork of cc2538-bsl with added features)
https://github.com/JelmerT/cc2538-bsl = CC2538-BSL (multi platform Python based command line tool)
https://www.ti.com/tool/FLASH-PROGRAMMER = Texas Instruments SmartRF Flash Programmer 2 (Windows only)
Re: Zigate plugin moving to a new era
Posted: Monday 24 January 2022 22:12
by pipiche
BTW guys, if you have some time and you are willing to do some translation you are more than welcome. Contact me in MP
Mainly the purpose is to provide a translated version of the WebUI .
- German if we have some German users
- English (might be good as we are not native english)
- ...
Re: Zigate plugin moving to a new era
Posted: Thursday 27 January 2022 12:06
by Gamester17
pipiche wrote: ↑Monday 24 January 2022 22:12
BTW guys, if you have some time and you are willing to do some translation you are more than welcome. Contact me in MP
Mainly the purpose is to provide a translated version of the WebUI .
- German if we have some German users
- English (might be good as we are not native english)
- ...
Any chance you could set up a translation system/framework via strings.po files that use Weblate to help users act as translators contribute translations?
https://weblate.org
https://docs.weblate.org/en/latest/admin/install.html
https://docs.weblate.org/en/latest/devel/gettext.html
https://en.wikipedia.org/wiki/Weblate
If have string.po file for each language and have workflow to update them regularly from your profile on Webplate then easier to translate for all. Ex:
/Localization/Language-Translations/english_en_gb.po
/Localization//Language-Translations/english_en_us.po
/Localization//Language-Translations/french_fr_fr.po
/Localization//Language-Translations/french_fr_ca.po
/Localization//Language-Translations/german_de_de.po
/Localization//Language-Translations/swedish_sv_se.po
/Localization//Language-Translations/norwegian_nb_no.po
/Localization//Language-Translations/danish_da_dk.po
The best is probably to always use english_en_gb.po (English Great Britain / United Kingdom) as the primary language and have all translate from it.
GNU gettext PO file format standard is used in used by the gettext i18n system is the most widely used format for translating open source software:
https://www.gnu.org/software/gettext/ma ... Files.html
https://docs.weblate.org/en/latest/formats.html#gettext
https://docs.weblate.org/en/latest/formats.html
https://docs.transifex.com/formats/gettext
To help with translation we as contributing users would have to sign up at Weblate at ex.
https://project-xyx.weblate.cloud/accounts/register/
I think that you then have to add volunteering users (usernames on Webplate) to your translation teams for each new language that you add.
I only have experience of Weblate (and previously Transifex) and PO file format from contributing to Kodi (formerly XBMC) and LibreELEC to Swedish:
https://kodi.tv/article/switching-trans ... o-weblate/
https://libreelec.tv/2021/11/20/transifex-weblate/
https://kodi.wiki/view/Translations
https://kodi.wiki/view/Language_support
https://forum.kodi.tv/showthread.php?tid=363590
Re: Zigate plugin moving to a new era
Posted: Thursday 27 January 2022 12:16
by pipiche
Thanks for your hint,
I was much more looking for a more simple thing counting on the Domoticz user community.
We have about 400 to 500 short statements they are all arrange per language.
Currently we have French/English/Dutch/Spanish
If the Plugin users are comfortable with that. that is fine for me
Re: Zigate plugin moving to a new era
Posted: Thursday 03 February 2022 11:19
by pipiche
Re: Zigate plugin moving to a new era
Posted: Thursday 03 February 2022 11:22
by pipiche
Gamester17 wrote: ↑Friday 07 January 2022 9:07
JBN wrote: ↑Wednesday 05 January 2022 13:46
I have a deCONZ and currently use
https://github.com/Smanar/Domoticz-deCONZ so I am not really in need of a new solution. But if I understand correctly that solution relies on deCONZ own implementation (via rest). Their webinterface shows little "fun" stuff, to see that I need to run the X-window application (and thus an X-server etc etc - not as fun as seeing things directly in a webinterface)
Perhaps it would be possible to convince Smanar to join the development of
https://github.com/zigbeefordomoticz/Do ... tree/zigpy using
zigpy-deconz?
https://github.com/Smanar/Domoticz-deCONZ is also written in Python and if joined the
https://github.com/zigbeefordomoticz/Do ... tree/zigpy project then Domoticz users would have a unified Zigbee plugin all written in Python which did not rely on third-party applications or closed source code libraries.
pipiche wrote: ↑Wednesday 05 January 2022 13:53
This could be indeed a path. We are however focussing on zzh ( based on Z-Stack ZNP) for the time. There is indeed a zigpy-deconz module which should do the trick , but didn't investigate yet.
@pipiche After the Texas Instruments ZNP module is stable I would love for you to next prioritize focusing on a "
bellows" for Silabs support in your plugin.
https://github.com/zigpy/bellows/
Partly because zigpy developer Adminiuga's own primary production/testing focus uses bellows so then he would then probably have a personal interest in assisting your project, and partly because Silicon Labs is the worlds largest manufacturer of Zigbee MCU/SoC chips and a IEEE 802.15.4 industry leader.
https://github.com/Adminiuga
https://www.silabs.com/wireless/zigbee
Note! bellows works best with newer released Silabs EFR32 chips but all using their EmberZNet Serial API version 8 protocol (EZSP v8) work however and recommended is to use EmberZNet NCP 6.7.9 firmware or later so the general tip is to buy one based on as new of a Silicon Labs EFR32 chip as possible.
Zigbee coordinator adapters using Silicon Labs chips with EmberZNet firmware also ranks among the least expensive as well as most available worldwide.
For reference, all these Silabs based adapters works with bellows as long as updated to EmberZNet 6.7.9 coordinator NCP firmware or newer for EZSP v8:
bellows works best with any Zigbee coordinator based on Silicon Labs EFR32 Zigbee NCP SoC from EFR32MG21/MGM210 and EFR32MG12/MGM12 series:
Understand that EFR32MG12/MGM12 series and older chips will not get support for the upcoming EmberZNet 7.x firmware/SDK release, (Silicon Labs had planned for a new SDK version sooner but with chip shortage the upcoming EFR32MG23 and EFR32MG24 series which it is optimized for has been delayed).
Anyway, firmware is maintained by community can be updated with Elelabs EZSP Firmware Update Utility or Zigbee firmware updater image by walthowd:
Direct link to zigpy wiki page where MattWestb documented recommended application firmware version for different Silabs EZSP Zigbee coordinators:
https://github.com/zigpy/zigpy/wiki/Coo ... ordinators
PS: Always remember to always use a long USB extension cable to avoid EMF from devices/cables regardless of which Zigbee Coordinator that you are using!
We have started to look after bellows to get open to Silicon Labs Coordinators. This will take a while. We are waiting for a sample.
Re: Zigate plugin moving to a new era
Posted: Saturday 02 April 2022 12:29
by pipiche
Re: Zigate plugin moving to a new era
Posted: Sunday 17 July 2022 21:07
by pfloryann
pipiche wrote: ↑Wednesday 29 December 2021 14:41
This is just to let you know that the Zigate plugin has moved to a new GitHub ownership and has been renamed. In order for your to continue getting the latest update make sure to do the following
Go to the Zigate plugin folder and do the following commands
Code: Select all
git remote set-url origin https://github.com/zigbeefordomoticz/Domoticz-Zigbee
That is all.
The plugin has been renamed to Zigbee for Domoticz as the upcoming version will managed TI CCxxx chipset through the zigpy libraries. The current development are done on an zzh key from Lama electronics
for you at that time using Zigate, there is not a single change for you, just the fact that we hope the community to be bigger and then benefit from additional developppers
Hi Pipiche, i tried with these commands but return this message:
"Your configuration specifies to merge with the ref 'refs/heads/beta'
from the remote, but no such ref was fetched."
i using Plugin: 5.2.325 beta branch, Zigate v1, domoticz 2022.1 (build 14382)
What i need to do? Thanks
Re: Zigate plugin moving to a new era
Posted: Sunday 17 July 2022 22:18
by pipiche
beta doesn't exist any more. you have either to move to beta6 or stable6 and in such cases please do follow the wiki
https://github.com/zigbeefordomoticz/wi ... rsion-6.md
Re: Zigate plugin moving to a new era
Posted: Monday 18 July 2022 9:34
by pfloryann
Hi, i followed this steps and i have error:
2022-07-18 10:30:05.814 Error: Zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigate/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2022-07-18 10:30:05.837 Error: Zigate: Traceback (most recent call last):
2022-07-18 10:30:05.837 Error: Zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py", line 94, in <module>
2022-07-18 10:30:05.837 Error: Zigate: from Classes.Transport.Transport import ZigateTransport
2022-07-18 10:30:05.837 Error: Zigate: ModuleNotFoundError: No module named 'Classes.Transport.Transport'
Re: Zigate plugin moving to a new era
Posted: Monday 18 July 2022 10:13
by pipiche
This looks like a setup issue or access rights ...
can you do
Code: Select all
cd /home/pi/domoticz/plugins/Domoticz-Zigate/
touch Domoticz.py
python3 plugin.py
what is the results ?
then you can do
Re: Zigate plugin moving to a new era
Posted: Monday 18 July 2022 10:38
by pfloryann
The Result after python3 plugin.py
Traceback (most recent call last):
File "plugin.py", line 94, in <module>
from Classes.Transport.Transport import ZigateTransport
ModuleNotFoundError: No module named 'Classes.Transport.Transport'
Re: Zigate plugin moving to a new era
Posted: Monday 18 July 2022 10:46
by pipiche
so check your installation and setup, you have something wrong.
the files are not correctly installed with git clone command, you don't have the correct access rights or something like that
Re: Zigate plugin moving to a new era
Posted: Tuesday 19 July 2022 10:00
by pfloryann
I solved it, the cause was domoticz autostart and the plugin installed incomplete.
Thank you!
Re: Zigate plugin moving to a new era
Posted: Tuesday 19 July 2022 11:24
by pipiche
great.