We have moved at community.getvera.com

Author Topic: VeraBridge Issues (user error)  (Read 798 times)

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
VeraBridge Issues (user error)
« on: February 11, 2019, 10:05:57 pm »
I accidentally deleted the device VeraBridge, which was working fine.

Since then, I uninstalled and reinstalled VeraBridge from the plugins update, and I cannot get openluup to communicate with the Vera.  I filled in the IP directly under IP, and saved it, and tried the Misc Reload Luup Engine, and it still says No Vera, and no devices synced.

Any help appreciated. Accessed the logs under /etc/cmh-ludl (LuaUPnP.log, and LuaUPnP_startup.log) say nothing.

Any help would be appreciated. Thanks.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #1 on: February 12, 2019, 02:36:09 am »
  • Is there still a L_VeraBridge.lua file in the openLuup directory?
  • Is the VeraBridge entirely missing from the Startup log?
  • Is there a L_VeraBridge.lua file in cmh_ludl/ ?

There was no need to uninstall, just a click on the install button should have worked, but I don't think that this would be the issue.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #2 on: February 12, 2019, 07:34:57 am »
I'll look shortly when I have access remotely. In the meantime. Is there an easy way to reset the whole thing? I'd like to start from scratch.


In addition, since I am running it on Esxi, I started another fresh install under Ubuntu server but  there was an error when running the install just script under list.1 that said there was a broken ssl dependency to github. 


Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #3 on: February 12, 2019, 08:10:49 am »
I'll look shortly when I have access remotely. In the meantime. Is there an easy way to reset the whole thing? I'd like to start from scratch.

Yes.  If you want to throw everything you set up away, then, assuming the openLuup flies are intact, you can exit then running instance (with an HTTP request) and start it again from the shell using

Code: [Select]
./openLuup_reload AltUI&

Quote
In addition, since I am running it on Esxi, I started another fresh install under Ubuntu server but  there was an error when running the install just script under list.1 that said there was a broken ssl dependency to github.

This may mean that the Lua image you are running doesn?t have up to date libraries, or that the OS image doesn't have an up to date SSL (possibly openSSL?). GitHub has updated its security access a while ago and now uses tslv1.2, IIRC.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #4 on: February 12, 2019, 09:21:03 am »
In addition, since I am running it on Esxi, I started another fresh install under Ubuntu server but  there was an error when running the install just script under list.1 that said there was a broken ssl dependency to github.

This one is my fault... I haven't updated the install file for the tslv1.2 protocol.

Fix in progress.  Apologies.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #5 on: February 12, 2019, 11:35:45 am »
In addition, since I am running it on Esxi, I started another fresh install under Ubuntu server but  there was an error when running the install just script under list.1 that said there was a broken ssl dependency to github.

This one is my fault... I haven't updated the install file for the tslv1.2 protocol.

Fix in progress.  Apologies.

openLuup._install.lua now fixed in v19.2.12 in both master and development branches.
« Last Edit: February 12, 2019, 06:21:31 pm by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #6 on: February 12, 2019, 09:52:24 pm »
I did the reset and now get this:

No handler for data_request?id=lr_ALTUI_Handler


I did ./openLuup_reload AltUI&


That resulted in the above handler.

« Last Edit: February 13, 2019, 06:48:58 am by Drex »

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #7 on: February 12, 2019, 10:21:28 pm »
  • Is there still a L_VeraBridge.lua file in the openLuup directory?
  • Is the VeraBridge entirely missing from the Startup log?
  • Is there a L_VeraBridge.lua file in cmh_ludl/ ?


1) no
2)

Code: [Select]
2019-02-12 04:49:25.270   :: openLuup STARTUP :: /etc/cmh-ludl
2019-02-12 04:49:25.270   openLuup.init::        version 2018.03.21  @akbooer
2019-02-12 04:49:25.285   openLuup.scheduler::   version 2018.03.21  @akbooer
2019-02-12 04:49:25.287   openLuup.wsapi::       version 2017.01.12  @akbooer
2019-02-12 04:49:25.287   openLuup.servlet::     version 2018.02.22  @akbooer
2019-02-12 04:49:25.287   openLuup.server::      version 2018.03.22  @akbooer
2019-02-12 04:49:25.288   openLuup.rooms::       version 2016.06.23  @akbooer
2019-02-12 04:49:25.289   openLuup.scenes::      version 2018.02.19  @akbooer
2019-02-12 04:49:25.290   openLuup.chdev::       version 2018.03.18  @akbooer
2019-02-12 04:49:25.290   openLuup.userdata::    version 2018.03.02  @akbooer
2019-02-12 04:49:25.290   openLuup.requests::    version 2018.02.18  @akbooer
2019-02-12 04:49:25.290   openLuup.gateway::     version 2018.03.05  @akbooer
2019-02-12 04:49:25.292   openLuup.smtp::        version 2018.03.20  @akbooer
2019-02-12 04:49:25.292   openLuup.io::          version 2018.03.22  @akbooer
2019-02-12 04:49:25.292   openLuup.luup::        version 2018.03.22  @akbooer
2019-02-12 04:49:25.327   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /
2019-02-12 04:49:25.329   luup.create_device:: [2] D_openLuup.xml / I_openLuup.xml / D_openLuup.json
2019-02-12 04:49:25.329   openLuup.init:: loading configuration user_data.json
2019-02-12 04:49:25.339   openLuup.userdata:: loading user_data json...
2019-02-12 04:49:25.345   openLuup.userdata:: loading rooms...
2019-02-12 04:49:25.345   openLuup.userdata:: room#1 'MiOS-50002965'
2019-02-12 04:49:25.345   openLuup.userdata:: room#2 'Fountain'
2019-02-12 04:49:25.345   openLuup.userdata:: ...room loading completed
2019-02-12 04:49:25.345   openLuup.userdata:: loading devices...
2019-02-12 04:49:25.346   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /
2019-02-12 04:49:25.395   luup.create_device:: [3] D_ALTUI.xml / I_ALTUI.xml / D_ALTUI_UI7.json
2019-02-12 04:49:25.404   luup.create_device:: [4] D_AltAppStore.xml / I_AltAppStore.xml / D_AltAppStore.json
2019-02-12 04:49:25.415   luup.create_device:: [7] D_ZWay.xml / I_ZWay.xml / D_ZWay.json
2019-02-12 04:49:25.442   luup.create_device:: [8] D_DataYours.xml / I_DataYours.xml / D_DataYours.json
2019-02-12 04:49:25.455   luup.create_device:: [9] D_Arduino1.xml / I_Arduino1.xml / D_Arduino1.json
2019-02-12 04:49:25.457   luup.create_device:: [10] D_VeraBridge.xml / I_VeraBridge.xml / D_VeraBridge.json
2019-02-12 04:49:25.457   openLuup.userdata:: loading scenes...
2019-02-12 04:49:25.457   openLuup.userdata:: number of scenes = 0
2019-02-12 04:49:25.457   openLuup.userdata:: ...scene loading completed
2019-02-12 04:49:25.457   openLuup.userdata:: loading installed plugin info...
2019-02-12 04:49:25.457   openLuup.userdata:: [openLuup] openLuup (18.3.23)
2019-02-12 04:49:25.457   openLuup.userdata:: [8246] Alternate UI (GitHub.2501)
2019-02-12 04:49:25.457   openLuup.userdata:: [AltAppStore] Alternate App Store (18.2.27)
2019-02-12 04:49:25.457   openLuup.userdata:: [Z-Way] Z-Way (18.7.16)
2019-02-12 04:49:25.457   openLuup.userdata:: [Arduino] MySensors (GitHub.master)
2019-02-12 04:49:25.457   openLuup.userdata:: [8211] DataYours (16.10.4)
2019-02-12 04:49:25.457   openLuup.userdata:: [VeraBridge] VeraBridge (18.9.26)
2019-02-12 04:49:25.457   openLuup.userdata:: ...user_data loading completed
2019-02-12 04:49:25.457   openLuup.init:: running _openLuup_STARTUP_
3) yes



I reverted to the snapshot I made after screwing it up but before I received the Althandler error.  Please disregard that post.

In this version, my vera's ip address is showing in the device, but doesn't register even after reboot.

Thanks,

Drex
« Last Edit: February 12, 2019, 10:29:37 pm by Drex »

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #8 on: February 13, 2019, 02:31:53 am »
Does the VeraBridge device have a variable called RemotePort?

Try moving L_VeraBridge.lua to cmh-ludl/openLuup/ and then reload.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #9 on: February 13, 2019, 06:55:18 am »
please let me clarify my situation.

I reverted back to the version before the reload/reset. I no longer have the issue loading Alt UI. I am back to seeing the vera as a device with the attribute set to the correct IP but it fails to connect to the vera....
---------------
Part 2:
In the second new VM, openluup still won't install. It errors here after wiping out the old install Lua file and whetting the latest version:




download failed with tlsvl alert protocol version traceback [C}: in function 'assert' openluup_install.lua:30 in main chunk [c]: ?  and fails...

I don't know but suspect others trying to install openloop are having the same issue...




« Last Edit: February 13, 2019, 07:07:56 am by Drex »

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #10 on: February 13, 2019, 09:08:07 am »
It seems that you are not using the latest install. You need to get it manually from GitHub.
« Last Edit: February 13, 2019, 10:19:16 am by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #11 on: February 13, 2019, 09:50:49 am »
Will do.

In the meantime, in my existing running image, how do I get vera ridge to connect  correctly? It says it can't; the correct IP address was entered under attributes and won't despite restarts connect to my veraplus?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #12 on: February 13, 2019, 10:18:52 am »
In the meantime, in my existing running image, how do I get vera ridge to connect  correctly? It says it can't; the correct IP address was entered under attributes and won't despite restarts connect to my veraplus?

What does the console Scheduler > Startup Jobs show?
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #13 on: February 14, 2019, 10:04:54 pm »
not sure where to find scheduler.

on the new machine, I manually downloaded openLuup_install, and it still fails.

Code: [Select]
vera@veraplus:/etc/cmh-ludl$ lua5.1 openLuup_install
openLuup_install   2019.02.12   @akbooer
getting openLuup version tar file from GitHub branch master...
lua5.1: openLuup_install:31: GitHub download failed with code tlsv1 alert protocol version
stack traceback:
        [C]: in function 'assert'
        openLuup_install:31: in main chunk
        [C]: ?
vera@veraplus:/etc/cmh-ludl$

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #14 on: February 15, 2019, 05:09:51 am »
not sure where to find scheduler.

It's under the console pages menu.  You can get there with the URL http://your_openLuup_IP:3480/console?page=startup

Quote
on the new machine, I manually downloaded openLuup_install, and it still fails.

Yes, my fault (again.)  A case of 'more haste, less speed.'  I uploaded the wrong file!

It's been fixed in both branches again.  Sorry once more.
« Last Edit: February 16, 2019, 06:40:19 am by akbooer »
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.