On OpenHAB Connector config view on the z-way app store (http://RPI_IP:8083/smarthome/#/module/post/ZWay-OpenHABConnector), I'm told "something went wrong" when pressing Save. No idea what's wrong. Any idea is appreciated.
Info typed in on the config view:
Enter a name for openHAB server: openHAB_server
Enter the openHAB server ip address: 192.168.0.28
Enter openHAB server port: 8080
I found a server log.
$ tail /var/log/z-way-server.log
:
[2017-06-17 16:15:15.285] [D] [zway] Job 0x05: deleted from queue
[2017-06-17 16:16:00.218] [I] [core] Notification: error (core): Cannot instantiate module: ZWay-OpenHABConnector: TypeError: undefined is not a function
[2017-06-17 16:16:00.256] [I] [core] TypeError: undefined is not a function
at AutomationController.instantiateModule (automation/classes/AutomationController.js:395:24)
at AutomationController.createInstance (automation/classes/AutomationController.js:851:23)
at ZAutomationAPIWebRequest._.extend.createInstance (automation/ZAutomationAPIProvider.js:1138:40)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:41)
at automation/WebserverRequestRouter.js:32:35
at WebServer.document_root (automation/Webserver.js:35:11)
[2017-06-17 16:17:33.852] [I] [core] Notification: error (core): Cannot instantiate module: ZWay-OpenHABConnector: TypeError: undefined is not a function
[2017-06-17 16:17:33.861] [I] [core] TypeError: undefined is not a function
at AutomationController.instantiateModule (automation/classes/AutomationController.js:395:24)
at AutomationController.createInstance (automation/classes/AutomationController.js:851:23)
at ZAutomationAPIWebRequest._.extend.createInstance (automation/ZAutomationAPIProvider.js:1138:40)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:41)
at automation/WebserverRequestRouter.js:32:35
at WebServer.document_root (automation/Webserver.js:35:11)
[2017-06-17 16:17:46.174] [I] [core] Notification: error (core): Cannot instantiate module: ZWay-OpenHABConnector: TypeError: undefined is not a function
[2017-06-17 16:17:46.185] [I] [core] TypeError: undefined is not a function
at AutomationController.instantiateModule (automation/classes/AutomationController.js:395:24)
at AutomationController.createInstance (automation/classes/AutomationController.js:851:23)
at ZAutomationAPIWebRequest._.extend.createInstance (automation/ZAutomationAPIProvider.js:1138:40)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:41)
at automation/WebserverRequestRouter.js:32:35
at WebServer.document_root (automation/Webserver.js:35:11)
[2017-06-17 16:18:10.421] [I] [core] Notification: error (core): Cannot instantiate module: ZWay-OpenHABConnector: TypeError: undefined is not a function
[2017-06-17 16:18:10.432] [I] [core] TypeError: undefined is not a function
at AutomationController.instantiateModule (automation/classes/AutomationController.js:395:24)
at AutomationController.createInstance (automation/classes/AutomationController.js:851:23)
at ZAutomationAPIWebRequest._.extend.createInstance (automation/ZAutomationAPIProvider.js:1138:40)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:41)
at automation/WebserverRequestRouter.js:32:35
at WebServer.document_root (automation/Webserver.js:35:11)
I git cloned OpenHAB Connector:
$ cd /opt/z-way-server/automation/userModules
$ git clone https://github.com/pathec/ZWay-OpenHABConnector.git
$ sudo git clone https://github.com/pathec/ZWay-OpenHABConnector.git
$ ll
total 16
drwxr-xr-x 3 root root 4096 Jun 17 16:05 ./
drwxrwxr-x 11 pi pi 4096 Jun 16 20:08 ../
-rw-r--r-- 1 root root 0 Jun 16 20:08 .keep
-rwxr-xr-x 1 root root 836 Jun 16 20:08 uploadModule.sh*
drwxr-xr-x 6 root root 4096 Jun 17 16:05 ZWay-OpenHABConnector/
$ ps -ef|grep z-way
$ sudo /etc/init.d/z-way-server restart
$ cd ZWay-OpenHABConnector/
pi@pi-desktop:/opt/z-way-server/automation/userModules/ZWay-OpenHABConnector$ git branch -vv
* master 4d656cc [origin/master] fix changelog
On OpenHAB Connector config view on the z-way app store (
http://RPI_IP:8083/smarthome/#/module/post/ZWay-OpenHABConnector
), I'm told "something went wrong" when pressing Save. No idea what's wrong. Any idea is appreciated.Info typed in on the config view:
I found a server log.
I git cloned
OpenHAB Connector
:z-way ver (from http://RPI_IP:8083/smarthome/#/admin)