Page 1 of 1

ZiGate webportal not working on latest beta

Posted: Saturday 26 October 2019 20:55
by ronaldbro
Hi,

When I switch to the beta branche of the ZiGate plugin the admin web portal doesn’t work (on port 9440).
In the Domoticz log I see that the web service starts on port null. So probably I’m missing a setting with the port number.
After switching back to the stable it works again.

How can I solve this?

Regards Ronald

Re: ZiGate webportal not working on latest beta

Posted: Saturday 26 October 2019 20:57
by pipiche
Cross-check the port number (to be specified) on the Domoticz Hardware tab where you start/stop the plugin.

Re: ZiGate webportal not working on latest beta

Posted: Saturday 26 October 2019 21:48
by ronaldbro
Ah, thanks. Didn't know the portnumber was added there.

Re: ZiGate webportal not working on latest beta

Posted: Sunday 27 October 2019 10:08
by pipiche
ronaldbro wrote: Saturday 26 October 2019 21:48 Ah, thanks. Didn't know the portnumber was added there.
That is the risk to use 'beta' ;-) Enjoy

Re: ZiGate webportal not working on latest beta

Posted: Sunday 27 October 2019 12:46
by ronaldbro
Found the setting and it works, Thanks :)

[RESOLVED] Re: ZiGate webportal not working on latest beta

Posted: Sunday 27 October 2019 13:39
by pipiche
Thanks for the feedback

Re: ZiGate webportal not working on latest beta

Posted: Tuesday 05 November 2019 12:17
by twoenter
Filled in the port number 9440 and webportal is working via SSH tunnel. The webportal is not accessable via domo-ip:9440 is that true? I'm on latest beta domoticz for syno and beta plugin from last weekend.

Re: ZiGate webportal not working on latest beta

Posted: Tuesday 05 November 2019 12:21
by pipiche
It should be accessible http://domo-ip:9440
Check if you don't have firewall protecting ...
And Check the log if the webserver has been started

Re: ZiGate webportal not working on latest beta

Posted: Friday 08 November 2019 11:57
by twoenter
Yep the firewall was blocking. It is working now!

[RESOLVED] Re: ZiGate webportal not working on latest beta

Posted: Friday 08 November 2019 12:56
by pipiche
Thanks for the feedback

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 16:55
by valideo
Hi,
Just set up my second PiZigate and portal is not launching. Already did on another PiZigate few months ago with domoticz on a raspberry4.
Here I'm using a Raspberry pi 3+.
I did the full set up and the interface is not launching (it may launch on 9440 but the port is even not open.
https://ibb.co/sRH2CXG
Any idea ?
Thanks !

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 16:57
by pipiche
valideo wrote: Thursday 22 October 2020 16:55 Hi,
Just set up my second PiZigate and portal is not launching. Already did on another PiZigate few months ago with domoticz on a raspberry4.
Here I'm using a Raspberry pi 3+.
I did the full set up and the interface is not launching (it may launch on 9440 but the port is even not open.
https://ibb.co/sRH2CXG
Any idea ?
Thanks !
a minimum of log please !

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 17:34
by valideo
pipiche wrote: Thursday 22 October 2020 16:57
valideo wrote: Thursday 22 October 2020 16:55 Hi,
Just set up my second PiZigate and portal is not launching. Already did on another PiZigate few months ago with domoticz on a raspberry4.
Here I'm using a Raspberry pi 3+.
I did the full set up and the interface is not launching (it may launch on 9440 but the port is even not open.
https://ibb.co/sRH2CXG
Any idea ?
Thanks !
a minimum of log please !
Here are the logs when I start domoticz :

2020-10-22 16:44:26.366 Sunrise: 14:06:00 SunSet: 01:18:00
2020-10-22 16:44:26.366 Day length: 11:12:00 Sun at south: 07:42:00
2020-10-22 16:44:26.366 Civil twilight start: 13:42:00 Civil twilight end: 01:43:00
2020-10-22 16:44:26.366 Nautical twilight start: 13:13:00 Nautical twilight end: 02:11:00
2020-10-22 16:44:26.366 Astronomical twilight start: 12:45:00 Astronomical twilight end: 02:39:00
2020-10-22 16:44:26.128 Status: Domoticz V2020.2 (build 12496) (c)2012-2020 GizMoCuz
2020-10-22 16:44:26.128 Status: Build Hash: f18fc9720-modified, Date: 2020-10-21 12:12:39
2020-10-22 16:44:26.128 Status: Startup Path: /home/valideo/domoticz/
2020-10-22 16:44:27.326 Active notification Subsystems: http (1/13)
2020-10-22 16:44:27.396 Starting shared server on: :::6144
2020-10-22 16:44:27.321 Status: PluginSystem: Started, Python version '3.7.3'.
2020-10-22 16:44:27.346 Status: WebServer(HTTP) started on address: :: with port 8080
2020-10-22 16:44:27.393 Status: WebServer(SSL) started on address: :: with port 443
2020-10-22 16:44:27.396 Status: TCPServer: shared server started...
2020-10-22 16:44:27.397 Status: RxQueue: queue worker started...
2020-10-22 16:44:29.397 Status: (Zigate) Started.
2020-10-22 16:44:29.397 Status: NotificationSystem: thread started...
2020-10-22 16:44:29.398 Status: EventSystem: reset all events...
2020-10-22 16:44:29.406 Status: EventSystem: reset all device statuses...
2020-10-22 16:44:29.449 Status: PluginSystem: Entering work loop.
2020-10-22 16:44:29.502 Status: Python EventSystem: Initalizing event module.
2020-10-22 16:44:29.502 Status: EventSystem: Queue thread started...
2020-10-22 16:44:29.502 Status: EventSystem: Started
2020-10-22 16:44:30.438 (Zigate) Debug Mode: -1, We do recommend to leave Verbors to None
2020-10-22 16:44:30.438 (Zigate) 'HardwareID':'2'
2020-10-22 16:44:30.438 (Zigate) 'HomeFolder':'/home/valideo/domoticz/plugins/Domoticz-Zigate/'
2020-10-22 16:44:30.438 (Zigate) 'StartupFolder':'/home/valideo/domoticz/'
2020-10-22 16:44:30.438 (Zigate) 'UserDataFolder':'/home/valideo/domoticz/'
2020-10-22 16:44:30.438 (Zigate) 'Database':'/home/valideo/domoticz/domoticz.db'
2020-10-22 16:44:30.438 (Zigate) 'Language':'fr'
2020-10-22 16:44:30.438 (Zigate) 'Version':'4.11'
2020-10-22 16:44:30.438 (Zigate) 'Author':'zaraki673 pipiche38'
2020-10-22 16:44:30.438 (Zigate) 'Name':'Zigate'
2020-10-22 16:44:30.438 (Zigate) 'Address':'0.0.0.0'
2020-10-22 16:44:30.438 (Zigate) 'Port':'9999'
2020-10-22 16:44:30.438 (Zigate) 'SerialPort':'/dev/serial0'
2020-10-22 16:44:30.438 (Zigate) 'Key':'Zigate'
2020-10-22 16:44:30.438 (Zigate) 'Mode1':'PI'
2020-10-22 16:44:30.438 (Zigate) 'Mode3':'True'
2020-10-22 16:44:30.438 (Zigate) 'Mode4':'9440'
2020-10-22 16:44:30.438 (Zigate) 'Mode6':'-1'
2020-10-22 16:44:30.438 (Zigate) 'DomoticzVersion':'2020.2 (build 12496)'
2020-10-22 16:44:30.438 (Zigate) 'DomoticzHash':'f18fc9720-modified'
2020-10-22 16:44:30.438 (Zigate) 'DomoticzBuildTime':'2020-10-21 12:12:39'
2020-10-22 16:44:30.438 (Zigate) Device count: 2
2020-10-22 16:44:30.438 (Zigate) Device: 1 - ID: 1, Name: 'Zigate - Zigate Status 2', nValue: 4, sValue: 'No Communication'
2020-10-22 16:44:30.438 (Zigate) Device ID: '1'
2020-10-22 16:44:30.438 (Zigate) Device Name: 'Zigate - Zigate Status 2'
2020-10-22 16:44:30.438 (Zigate) Device nValue: 4
2020-10-22 16:44:30.438 (Zigate) Device sValue: 'No Communication'
2020-10-22 16:44:30.438 (Zigate) Device LastLevel: 0
2020-10-22 16:44:30.438 (Zigate) Device Options: {}
2020-10-22 16:44:30.439 (Zigate) Device: 2 - ID: 2, Name: 'Zigate - Zigate Notifications 2', nValue: 0, sValue: ''
2020-10-22 16:44:30.439 (Zigate) Device ID: '2'
2020-10-22 16:44:30.439 (Zigate) Device Name: 'Zigate - Zigate Notifications 2'
2020-10-22 16:44:30.439 (Zigate) Device nValue: 0
2020-10-22 16:44:30.439 (Zigate) Device sValue: ''
2020-10-22 16:44:30.439 (Zigate) Device LastLevel: 0
2020-10-22 16:44:30.439 (Zigate) Device Options: {}
2020-10-22 16:44:30.439 (Zigate) DomoticzVersion: 2020.2 (build 12496)
2020-10-22 16:44:30.994 (Zigate) runmode_with_gpiocommand
2020-10-22 16:44:30.994 (Zigate) + Checkint GPIO PINs
2020-10-22 16:44:30.413 Status: (Zigate) Entering work loop.
2020-10-22 16:44:30.420 Status: (Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-10-22 16:44:30.438 Status: (Zigate) Zigate plugin stable-4.11.007 started
2020-10-22 16:44:30.438 Status: (Zigate) Debug: -1
2020-10-22 16:44:30.439 Status: (Zigate) load PluginConf
2020-10-22 16:44:30.449 Status: (Zigate) enableWebServer set to 1
2020-10-22 16:44:30.450 Status: (Zigate) filename set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-10-22 16:44:30.450 Status: (Zigate) pluginHome set to /home/valideo/domoticz/plugins/Domoticz-Zigate/
2020-10-22 16:44:30.450 Status: (Zigate) homedirectory set to /home/valideo/domoticz/plugins/Domoticz-Zigate/
2020-10-22 16:44:30.450 Status: (Zigate) pluginData set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Data/
2020-10-22 16:44:30.450 Status: (Zigate) pluginConfig set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Conf/
2020-10-22 16:44:30.450 Status: (Zigate) pluginOTAFirmware set to /home/valideo/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-10-22 16:44:30.450 Status: (Zigate) pluginReports set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Reports/
2020-10-22 16:44:30.450 Status: (Zigate) pluginWWW set to /home/valideo/domoticz/plugins/Domoticz-Zigate/www/
2020-10-22 16:44:30.450 Status: (Zigate) pluginLogs set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Logs/
2020-10-22 16:44:30.450 Status: (Zigate) Switching Heartbeat to 5 s interval
2020-10-22 16:44:30.450 Status: (Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-10-22 16:44:30.450 [GCC 8.3.0]
2020-10-22 16:44:30.450 Status: (Zigate) DomoticzVersion: 2020.2 (build 12496)
2020-10-22 16:44:30.450 Status: (Zigate) DomoticzHash: f18fc9720-modified
2020-10-22 16:44:30.450 Status: (Zigate) DomoticzBuildTime: 2020-10-21 12:12:39
2020-10-22 16:44:30.450 Status: (Zigate) Opening DomoticzDB in raw
2020-10-22 16:44:30.460 Status: (Zigate) Plugin Database: DeviceList-2.txt
2020-10-22 16:44:30.471 Status: (Zigate) DeviceConf loaded
2020-10-22 16:44:30.876 Status: (Zigate) load ListOfDevice
2020-10-22 16:44:30.907 Status: (Zigate) Entries loaded from /home/valideo/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-10-22 16:44:30.907 Status: (Zigate) Transport mode: PI
2020-10-22 16:44:30.988 Status: (Zigate) Python version: ['3.7.3 (default, Jul 25 2020, 13:03:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.6', '') linux_distribution: ('debian', '10.6', '') system: Linux machine: armv7l platform: Linux-5.4.51-v7+-armv7l-with-debian-10.6 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.51-v7+', version='#1333 SMP Mon Aug 10 16:45:19 BST 2020', machine='armv7l', processor='') version: #1333 SMP Mon Aug 10 16:45:19 BST 2020 mac_ver: ('', ('', '', ''), '')
2020-10-22 16:44:31.102 (Zigate) + Checkint GPIO PINs
2020-10-22 16:44:31.127 Status: (Zigate) ==> Transport Mode: auto
2020-10-22 16:44:31.132 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2020-10-22 16:44:31.132 Status: (Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-10-22 16:46:20.809 (Zigate) Debug Mode: -1, We do recommend to leave Verbors to None
2020-10-22 16:46:20.809 (Zigate) 'HardwareID':'2'
2020-10-22 16:46:20.809 (Zigate) 'HomeFolder':'/home/valideo/domoticz/plugins/Domoticz-Zigate/'
2020-10-22 16:46:20.809 (Zigate) 'StartupFolder':'/home/valideo/domoticz/'
2020-10-22 16:46:20.809 (Zigate) 'UserDataFolder':'/home/valideo/domoticz/'
2020-10-22 16:46:20.809 (Zigate) 'Database':'/home/valideo/domoticz/domoticz.db'
2020-10-22 16:46:20.809 (Zigate) 'Language':'fr'
2020-10-22 16:46:20.809 (Zigate) 'Version':'4.11'
2020-10-22 16:46:20.809 (Zigate) 'Author':'zaraki673 pipiche38'
2020-10-22 16:46:20.809 (Zigate) 'Name':'Zigate'
2020-10-22 16:46:20.809 (Zigate) 'Address':'0.0.0.0'
2020-10-22 16:46:20.809 (Zigate) 'Port':'9999'
2020-10-22 16:46:20.809 (Zigate) 'SerialPort':'/dev/serial0'
2020-10-22 16:46:20.809 (Zigate) 'Key':'Zigate'
2020-10-22 16:46:20.809 (Zigate) 'Mode1':'PI'
2020-10-22 16:46:20.809 (Zigate) 'Mode3':'False'
2020-10-22 16:46:20.809 (Zigate) 'Mode4':'9440'
2020-10-22 16:46:20.809 (Zigate) 'Mode6':'-1'
2020-10-22 16:46:20.809 (Zigate) 'DomoticzVersion':'2020.2 (build 12496)'
2020-10-22 16:46:20.809 (Zigate) 'DomoticzHash':'f18fc9720-modified'
2020-10-22 16:46:20.809 (Zigate) 'DomoticzBuildTime':'2020-10-21 12:12:39'
2020-10-22 16:46:20.809 (Zigate) Device count: 2
2020-10-22 16:46:20.809 (Zigate) Device: 1 - ID: 1, Name: 'Zigate - Zigate Status 2', nValue: 4, sValue: 'No Communication'
2020-10-22 16:46:20.809 (Zigate) Device ID: '1'
2020-10-22 16:46:20.809 (Zigate) Device Name: 'Zigate - Zigate Status 2'
2020-10-22 16:46:20.809 (Zigate) Device nValue: 4
2020-10-22 16:46:20.809 (Zigate) Device sValue: 'No Communication'
2020-10-22 16:46:20.809 (Zigate) Device LastLevel: 0
2020-10-22 16:46:20.809 (Zigate) Device Options: {}
2020-10-22 16:46:20.809 (Zigate) Device: 2 - ID: 2, Name: 'Zigate - Zigate Notifications 2', nValue: 0, sValue: ''
2020-10-22 16:46:20.809 (Zigate) Device ID: '2'
2020-10-22 16:46:20.809 (Zigate) Device Name: 'Zigate - Zigate Notifications 2'
2020-10-22 16:46:20.809 (Zigate) Device nValue: 0
2020-10-22 16:46:20.809 (Zigate) Device sValue: ''
2020-10-22 16:46:20.809 (Zigate) Device LastLevel: 0
2020-10-22 16:46:20.809 (Zigate) Device Options: {}
2020-10-22 16:46:20.809 (Zigate) DomoticzVersion: 2020.2 (build 12496)
2020-10-22 16:46:20.914 (Zigate) runmode_with_gpiocommand
2020-10-22 16:46:20.914 (Zigate) + Checkint GPIO PINs
2020-10-22 16:46:20.197 Status: (Zigate) Stop directive received.
2020-10-22 16:46:20.198 Status: (Zigate) Exiting work loop.
2020-10-22 16:46:20.244 Status: (Zigate) onStop called
2020-10-22 16:46:20.244 Status: (Zigate) Connection close: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2020-10-22 16:46:20.398 Status: (Zigate) Stopping threads.
2020-10-22 16:46:20.398 Status: (Zigate) Stopped.
2020-10-22 16:46:20.398 Status: (Zigate) Started.
2020-10-22 16:46:20.805 Status: (Zigate) Entering work loop.
2020-10-22 16:46:20.806 Status: (Zigate) Initialized version 4.11, author 'zaraki673 pipiche38'
2020-10-22 16:46:20.808 Status: (Zigate) Zigate plugin stable-4.11.007 started
2020-10-22 16:46:20.809 Status: (Zigate) Debug: -1
2020-10-22 16:46:20.810 Status: (Zigate) load PluginConf
2020-10-22 16:46:20.811 Status: (Zigate) enableWebServer set to 1
2020-10-22 16:46:20.811 Status: (Zigate) filename set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2020-10-22 16:46:20.811 Status: (Zigate) pluginHome set to /home/valideo/domoticz/plugins/Domoticz-Zigate/
2020-10-22 16:46:20.812 Status: (Zigate) homedirectory set to /home/valideo/domoticz/plugins/Domoticz-Zigate/
2020-10-22 16:46:20.812 Status: (Zigate) pluginData set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Data/
2020-10-22 16:46:20.812 Status: (Zigate) pluginConfig set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Conf/
2020-10-22 16:46:20.812 Status: (Zigate) pluginOTAFirmware set to /home/valideo/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2020-10-22 16:46:20.812 Status: (Zigate) pluginReports set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Reports/
2020-10-22 16:46:20.812 Status: (Zigate) pluginWWW set to /home/valideo/domoticz/plugins/Domoticz-Zigate/www/
2020-10-22 16:46:20.812 Status: (Zigate) pluginLogs set to /home/valideo/domoticz/plugins/Domoticz-Zigate/Logs/
2020-10-22 16:46:20.812 Status: (Zigate) Switching Heartbeat to 5 s interval
2020-10-22 16:46:20.812 Status: (Zigate) Python Version - 3.7.3 (default, Jul 25 2020, 13:03:44)
2020-10-22 16:46:20.812 [GCC 8.3.0]
2020-10-22 16:46:20.812 Status: (Zigate) DomoticzVersion: 2020.2 (build 12496)
2020-10-22 16:46:20.812 Status: (Zigate) DomoticzHash: f18fc9720-modified
2020-10-22 16:46:20.812 Status: (Zigate) DomoticzBuildTime: 2020-10-21 12:12:39
2020-10-22 16:46:20.812 Status: (Zigate) Opening DomoticzDB in raw
2020-10-22 16:46:20.819 Status: (Zigate) Plugin Database: DeviceList-2.txt
2020-10-22 16:46:20.826 Status: (Zigate) DeviceConf loaded
2020-10-22 16:46:20.881 Status: (Zigate) load ListOfDevice
2020-10-22 16:46:20.892 Status: (Zigate) Entries loaded from /home/valideo/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2020-10-22 16:46:20.893 Status: (Zigate) Transport mode: PI
2020-10-22 16:46:20.911 Status: (Zigate) Python version: ['3.7.3 (default, Jul 25 2020, 13:03:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.6', '') linux_distribution: ('debian', '10.6', '') system: Linux machine: armv7l platform: Linux-5.4.51-v7+-armv7l-with-debian-10.6 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.51-v7+', version='#1333 SMP Mon Aug 10 16:45:19 BST 2020', machine='armv7l', processor='') version: #1333 SMP Mon Aug 10 16:45:19 BST 2020 mac_ver: ('', ('', '', ''), '')
2020-10-22 16:46:20.244 Error: CConnection_disconnect, disconnection request from 'Zigate' ignored. Transport does not exist.
2020-10-22 16:46:21.004 (Zigate) + Checkint GPIO PINs
2020-10-22 16:46:21.031 Status: (Zigate) ==> Transport Mode: auto
2020-10-22 16:46:21.037 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/serial0
2020-10-22 16:46:21.037 Status: (Zigate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/serial0', Port: '', Baud: 115200, Connected: False, Parent: 'None'


Here's my config of the plugin :

https://ibb.co/HP1nh0p

I followed the following steps :
1 : https://zigate.fr/documentation/compati ... et-zero-w/
2 : https://zigate.fr/documentation/parametrer-la-pizigate/
3 : https://github.com/pipiche38/Domoticz-Z ... llation.md
4: https://github.com/pipiche38/Domoticz-Z ... uration.md
And also added this but not fixing the issue : https://github.com/pipiche38/Domoticz-Z ... terface.md

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 20:42
by pipiche
Is that a new PiZigate ?

If so did you do that:
In the Domoticz Web UI, navigate to the Hardware page.

In the hardware dropdown there will be an entry called "Zigate plugin".
On the first use of the Zigate, you have also to set True the Initialize ZiGate (Erase Memory) (previously name: ErasePDM in order to reset the ZIgate and get it initialized with the plugin.

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 22:05
by valideo
Yes it is a new PiZigate and yes I did that :
https://ibb.co/jy45ChP

Re: ZiGate webportal not working on latest beta

Posted: Thursday 22 October 2020 22:12
by valideo
pipiche wrote: Thursday 22 October 2020 20:42 Is that a new PiZigate ?

If so did you do that:
In the Domoticz Web UI, navigate to the Hardware page.

In the hardware dropdown there will be an entry called "Zigate plugin".
On the first use of the Zigate, you have also to set True the Initialize ZiGate (Erase Memory) (previously name: ErasePDM in order to reset the ZIgate and get it initialized with the plugin.
Sent you a message on Keybase

Re: ZiGate webportal not working on latest beta

Posted: Friday 23 October 2020 10:53
by valideo
I also just noticed that on my working configuration Zigate status shows "Ready"
Here, on the not working configuration, Zigate status shows "Startup" :
https://ibb.co/3phnsn7