hassio-addons / addon-zwave2mqtt

Z-Wave to MQTT - Home Assistant Community Add-ons
https://addons.community
MIT License
57 stars 27 forks source link

Failing to open Web UI #69

Closed lsilva171 closed 3 years ago

lsilva171 commented 3 years ago

Problem/Motivation

Running Home Assistant on Odroid C4 with Z-Wave to MQTT v0.8.3 and when trying to open the Web UI, it fails with an ERR_EMPTY_RESPONSE error

Expected behavior

Z-Wave to MQTT Web UI to show web page

Actual behavior

It opens a new tab in the web browser and shows an ERR_EMPTY_RESPONSE error.

Generates "PANIC: unprotected error in call to Lua API (bad light userdata pointer)" message in the log.

There is no additional information generated in any other log levels.

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

frenck commented 3 years ago

Please provide startup logs

lsilva171 commented 3 years ago

Hi,

Here it is. An v0.8.2 image was restored from a previous backup and upgraded to v0.8.3

This allowed me to get rid of several errors regarding missing modules and also allowed me have the necessary settings in place.

You can see, at the bottom, the PANIC error messages created when I tried to access the Web UI.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 00-banner.sh: executing... , -----------------------------------------------------------, Add-on: Z-Wave to MQTT, Fully configurable Z-Wave to MQTT gateway and control panel, -----------------------------------------------------------, Add-on version: 0.8.3, You are running the latest version of this add-on., System: HassOS 5.5 (aarch64 / odroid-c4), Home Assistant Core: 0.118.5, Home Assistant Supervisor: 2020.12.6, -----------------------------------------------------------, Please, share the above information when looking for help, or support in, e.g., GitHub, forums or the Discord chat., -----------------------------------------------------------, [cont-init.d] 00-banner.sh: exited 0., [cont-init.d] 01-log-level.sh: executing... , [cont-init.d] 01-log-level.sh: exited 0., [cont-init.d] nginx.sh: executing... , [cont-init.d] nginx.sh: exited 0., [cont-init.d] zwave2mqtt.sh: executing... , [cont-init.d] zwave2mqtt.sh: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done., [00:35:02] INFO: Starting the Z-Wave to MQTT..., 2020-12-11T05:35:03.368Z z2m:Store scenes.json not found, 2020-12-11T05:35:04.674Z z2m:App Zwave2Mqtt version: 4.0.6, 2020-12-11T05:35:04.676Z z2m:App Application path:/opt, Initialising OpenZWave 1.6.974 binary addon for Node.JS., OpenZWave Security API is ENABLED, ZWave device db : /etc/openzwave, User settings path : /opt/store, Option Overrides : --Logging undefined --ConsoleOutput undefined --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 10000 --AutoUpdateConfigFile true --NetworkKey 2020-12-11T05:35:05.012Z z2m:Zwave Connecting to /dev/ttyACM0, 2020-12-11 00:35:05.015 Always, OpenZwave Version 1.6-974-ge89d2a16-dirty Starting Up, 2020-12-11 00:35:05.047 Always, Using Language Localization , 2020-12-11T05:35:06.999Z z2m:Zwave Zwave connected, Openzwave version: 1.6.974, 2020-12-11 00:35:07.077 Warning, Config Revision of ManufacturerSpecific Database is out of date, 2020-12-11T05:35:07.311Z z2m:App Listening on port 44920, [00:35:07] INFO: Starting NGinx..., nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html), 2020-12-11 00:35:09.390 Warning, Config File for ZRH12 Portable Remote Controller does not exist - /etc/openzwave/fakro/zrh12.xml, 2020-12-11 00:35:09.395 Warning, Config File for ARZ SOLAR Roof Window Roller Shutter does not exist - /etc/openzwave/fakro/arzsolar.xml, 2020-12-11 00:35:09.406 Warning, Config File for QZ2140-840 Plug-In Dimmer does not exist - /etc/openzwave/qolsys/qz2140-840.xml, 2020-12-11 00:35:09.414 Warning, Config File for Heatit Z-Push Button 4 does not exist - /etc/openzwave/thermofloor/heatitz4.xml, 2020-12-11 00:35:09.422 Warning, Config File for Z-Wave Dimmer 400W does not exist - /etc/openzwave/namron/4512710.xml, 2020-12-11 00:35:09.422 Warning, Config File for Z-Wave Switch 400W does not exist - /etc/openzwave/namron/4512715.xml, 2020-12-11 00:35:09.423 Warning, Config File for Z-Wave Dimmer 2 400W does not exist - /etc/openzwave/namron/4512724.xml, 2020-12-11 00:35:09.601 Warning, Download of http://download.db.openzwave.com/0004.0001.0085.xml Failed (Node: 0), 2020-12-11 00:35:09.766 Warning, Download of http://download.db.openzwave.com/0012.0003.0085.xml Failed (Node: 0), 2020-12-11 00:35:09.926 Warning, Download of http://download.db.openzwave.com/3032.4744.012a.xml Failed (Node: 0), 2020-12-11 00:35:10.101 Warning, Download of http://download.db.openzwave.com/a306.0300.019b.xml Failed (Node: 0), 2020-12-11 00:35:10.258 Warning, Download of http://download.db.openzwave.com/d005.0200.0438.xml Failed (Node: 0), 2020-12-11T05:35:10.266Z z2m:Mqtt MQTT client connected, 2020-12-11 00:35:10.411 Warning, Download of http://download.db.openzwave.com/d006.0200.0438.xml Failed (Node: 0), 2020-12-11 00:35:10.571 Warning, Download of http://download.db.openzwave.com/d00c.0200.0438.xml Failed (Node: 0), 2020-12-11 00:35:10.776 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 168 - No Help Entry for CommandClass 43, ValueID: 0 (-1): (null) (Lang: ), 2020-12-11 00:35:10.776 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 171 - No Help Entry for CommandClass 43, ValueID: 1 (-1): (null) (Lang: ), 2020-12-11 00:35:10.779 Warning, Value size is invalid (0). Only 1, 2 & 4 supported for node 4, class 0x33, instance 1, index 1, 2020-12-11 00:35:10.782 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 676 - No Help Entry for CommandClass 43, ValueID: 0 (-1): (null) (Lang: ), 2020-12-11 00:35:10.783 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 679 - No Help Entry for CommandClass 43, ValueID: 1 (-1): (null) (Lang: ), 2020-12-11 00:35:10.786 Warning, Value size is invalid (0). Only 1, 2 & 4 supported for node 6, class 0x71, instance 1, index 6, 2020-12-11 00:35:10.789 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 1179 - No Help Entry for CommandClass 43, ValueID: 0 (-1): (null) (Lang: ), 2020-12-11 00:35:10.789 Warning, Localization::ReadXMLVIDHelp: Error in /opt/store/ozwcache_0xde0f8783.xml at line 1182 - No Help Entry for CommandClass 43, ValueID: 1 (-1): (null) (Lang: ), 2020-12-11 00:35:10.794 Warning, Value size is invalid (0). Only 1, 2 & 4 supported for node 8, class 0x71, instance 1, index 6, 2020-12-11T05:35:10.802Z z2m:Zwave Scanning network with homeid: 0xde0f8783, 2020-12-11T05:35:10.804Z z2m:Zwave Node added 1, 2020-12-11T05:35:10.810Z z2m:Zwave node 1 AVAILABLE: AEON Labs - ZW090 Z-Stick Gen5 US (Static PC Controller), 2020-12-11T05:35:10.812Z z2m:Zwave ValueAdded: 1-32-1-0 Basic, 2020-12-11T05:35:10.817Z z2m:Mqtt Subscribing to zwave2mqtt/+/+/+/+/set, 2020-12-11T05:35:10.823Z z2m:Zwave ValueAdded: 1-112-1-81 LED indicator configuration, 2020-12-11T05:35:10.827Z z2m:Zwave ValueAdded: 1-112-1-220 Configuration of the RF power level, 2020-12-11T05:35:10.831Z z2m:Zwave ValueAdded: 1-112-1-242 Security network enabled, 2020-12-11T05:35:10.835Z z2m:Zwave ValueAdded: 1-112-1-243 Security network key, 2020-12-11T05:35:10.839Z z2m:Zwave ValueAdded: 1-112-1-252 Lock/Unlock Configuration, 2020-12-11T05:35:10.842Z z2m:Zwave ValueAdded: 1-112-1-255 Reset default configuration, 2020-12-11T05:35:10.845Z z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision, 2020-12-11T05:35:10.848Z z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision, 2020-12-11T05:35:10.851Z z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:10.854Z z2m:Zwave ValueAdded: 1-114-1-3 Device ID, 2020-12-11T05:35:10.856Z z2m:Zwave ValueAdded: 1-114-1-4 Serial Number, 2020-12-11T05:35:10.859Z z2m:Zwave Node added 3, 2020-12-11T05:35:10.868Z z2m:Zwave node 3 AVAILABLE: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11T05:35:10.869Z z2m:Zwave ValueAdded: 3-37-1-2 Transition Duration, 2020-12-11T05:35:10.872Z z2m:Zwave ValueAdded: 3-37-1-1 Target State, 2020-12-11T05:35:10.875Z z2m:Zwave ValueAdded: 3-37-1-0 Switch, 2020-12-11T05:35:10.877Z z2m:Zwave ValueAdded: 3-39-1-0 Switch All, 2020-12-11T05:35:10.881Z z2m:Zwave ValueAdded: 3-43-1-0 Scene, 2020-12-11T05:35:10.883Z z2m:Zwave ValueAdded: 3-43-1-1 Duration, 2020-12-11T05:35:10.886Z z2m:Zwave ValueAdded: 3-94-1-0 ZWave+ Version, 2020-12-11T05:35:10.889Z z2m:Zwave ValueAdded: 3-94-1-1 InstallerIcon, 2020-12-11T05:35:10.892Z z2m:Zwave ValueAdded: 3-94-1-2 UserIcon, 2020-12-11T05:35:10.895Z z2m:Zwave ValueAdded: 3-112-1-7 Locator LED Status, 2020-12-11T05:35:10.898Z z2m:Zwave ValueAdded: 3-114-1-0 Loaded Config Revision, 2020-12-11T05:35:10.901Z z2m:Zwave ValueAdded: 3-114-1-1 Config File Revision, 2020-12-11T05:35:10.904Z z2m:Zwave ValueAdded: 3-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:10.907Z z2m:Zwave ValueAdded: 3-114-1-3 Device ID, 2020-12-11T05:35:10.910Z z2m:Zwave ValueAdded: 3-114-1-4 Serial Number, 2020-12-11T05:35:10.912Z z2m:Zwave ValueAdded: 3-115-1-0 Powerlevel, 2020-12-11T05:35:10.915Z z2m:Zwave ValueAdded: 3-115-1-1 Timeout, 2020-12-11T05:35:10.918Z z2m:Zwave ValueAdded: 3-115-1-2 Set Powerlevel, 2020-12-11T05:35:10.922Z z2m:Zwave ValueAdded: 3-115-1-3 Test Node, 2020-12-11T05:35:10.925Z z2m:Zwave ValueAdded: 3-115-1-4 Test Powerlevel, 2020-12-11T05:35:10.928Z z2m:Zwave ValueAdded: 3-115-1-5 Frame Count, 2020-12-11T05:35:10.930Z z2m:Zwave ValueAdded: 3-115-1-6 Test, 2020-12-11T05:35:10.933Z z2m:Zwave ValueAdded: 3-115-1-7 Report, 2020-12-11T05:35:10.936Z z2m:Zwave ValueAdded: 3-115-1-8 Test Status, 2020-12-11T05:35:10.938Z z2m:Zwave ValueAdded: 3-115-1-9 Acked Frames, 2020-12-11T05:35:10.941Z z2m:Zwave ValueAdded: 3-134-1-0 Library Version, 2020-12-11T05:35:10.943Z z2m:Zwave ValueAdded: 3-134-1-1 Protocol Version, 2020-12-11T05:35:10.945Z z2m:Zwave ValueAdded: 3-134-1-2 Application Version, 2020-12-11T05:35:10.948Z z2m:Zwave Node added 4, 2020-12-11T05:35:10.949Z z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW117 Range Extender 6 (Generic Repeater), 2020-12-11T05:35:10.950Z z2m:Zwave ValueAdded: 4-32-1-0 Basic, 2020-12-11T05:35:10.953Z z2m:Zwave ValueAdded: 4-38-1-5 Dimming Duration, 2020-12-11T05:35:10.955Z z2m:Zwave ValueAdded: 4-38-1-0 Level, 2020-12-11T05:35:10.958Z z2m:Zwave ValueAdded: 4-38-1-1 Bright, 2020-12-11T05:35:10.961Z z2m:Zwave ValueAdded: 4-38-1-2 Dim, 2020-12-11T05:35:10.964Z z2m:Zwave ValueAdded: 4-38-1-3 Ignore Start Level, 2020-12-11T05:35:10.966Z z2m:Zwave ValueAdded: 4-38-1-4 Start Level, 2020-12-11T05:35:10.969Z z2m:Zwave ValueAdded: 4-51-1-2 Color Channels, 2020-12-11T05:35:10.972Z z2m:Zwave ValueAdded: 4-51-1-0 Color, 2020-12-11T05:35:10.975Z z2m:Zwave ValueAdded: 4-51-1-1 Color Index, 2020-12-11T05:35:10.978Z z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version, 2020-12-11T05:35:10.980Z z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon, 2020-12-11T05:35:10.983Z z2m:Zwave ValueAdded: 4-94-1-2 UserIcon, 2020-12-11T05:35:10.986Z z2m:Zwave ValueAdded: 4-112-1-82 LED when the Range Extender relays Z-Wave message, 2020-12-11T05:35:10.989Z z2m:Zwave ValueAdded: 4-112-1-200 Partner ID, 2020-12-11T05:35:10.991Z z2m:Zwave ValueAdded: 4-112-1-252 Configuration Locked, 2020-12-11T05:35:10.994Z z2m:Zwave ValueAdded: 4-112-1-254 Device tag, 2020-12-11T05:35:10.996Z z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults, 2020-12-11T05:35:10.999Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision, 2020-12-11T05:35:11.001Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision, 2020-12-11T05:35:11.004Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:11.006Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID, 2020-12-11T05:35:11.009Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number, 2020-12-11T05:35:11.011Z z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel, 2020-12-11T05:35:11.014Z z2m:Zwave ValueAdded: 4-115-1-1 Timeout, 2020-12-11T05:35:11.017Z z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel, 2020-12-11T05:35:11.019Z z2m:Zwave ValueAdded: 4-115-1-3 Test Node, 2020-12-11T05:35:11.022Z z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel, 2020-12-11T05:35:11.024Z z2m:Zwave ValueAdded: 4-115-1-5 Frame Count, 2020-12-11T05:35:11.027Z z2m:Zwave ValueAdded: 4-115-1-6 Test, 2020-12-11T05:35:11.029Z z2m:Zwave ValueAdded: 4-115-1-7 Report, 2020-12-11T05:35:11.032Z z2m:Zwave ValueAdded: 4-115-1-8 Test Status, 2020-12-11T05:35:11.034Z z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames, 2020-12-11T05:35:11.036Z z2m:Zwave ValueAdded: 4-134-1-0 Library Version, 2020-12-11T05:35:11.039Z z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version, 2020-12-11T05:35:11.041Z z2m:Zwave ValueAdded: 4-134-1-2 Application Version, 2020-12-11T05:35:11.043Z z2m:Zwave Node added 5, 2020-12-11T05:35:11.045Z z2m:Zwave node 5 AVAILABLE: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11T05:35:11.046Z z2m:Zwave ValueAdded: 5-37-1-2 Transition Duration, 2020-12-11T05:35:11.048Z z2m:Zwave ValueAdded: 5-37-1-1 Target State, 2020-12-11T05:35:11.050Z z2m:Zwave ValueAdded: 5-37-1-0 Switch, 2020-12-11T05:35:11.053Z z2m:Zwave ValueAdded: 5-39-1-0 Switch All, 2020-12-11T05:35:11.056Z z2m:Zwave ValueAdded: 5-43-1-0 Scene, 2020-12-11T05:35:11.058Z z2m:Zwave ValueAdded: 5-43-1-1 Duration, 2020-12-11T05:35:11.061Z z2m:Zwave ValueAdded: 5-94-1-0 ZWave+ Version, 2020-12-11T05:35:11.063Z z2m:Zwave ValueAdded: 5-94-1-1 InstallerIcon, 2020-12-11T05:35:11.066Z z2m:Zwave ValueAdded: 5-94-1-2 UserIcon, 2020-12-11T05:35:11.069Z z2m:Zwave ValueAdded: 5-112-1-7 Locator LED Status, 2020-12-11T05:35:11.071Z z2m:Zwave ValueAdded: 5-114-1-0 Loaded Config Revision, 2020-12-11T05:35:11.074Z z2m:Zwave ValueAdded: 5-114-1-1 Config File Revision, 2020-12-11T05:35:11.076Z z2m:Zwave ValueAdded: 5-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:11.079Z z2m:Zwave ValueAdded: 5-114-1-3 Device ID, 2020-12-11T05:35:11.082Z z2m:Zwave ValueAdded: 5-114-1-4 Serial Number, 2020-12-11T05:35:11.085Z z2m:Zwave ValueAdded: 5-115-1-0 Powerlevel, 2020-12-11T05:35:11.089Z z2m:Zwave ValueAdded: 5-115-1-1 Timeout, 2020-12-11T05:35:11.091Z z2m:Zwave ValueAdded: 5-115-1-2 Set Powerlevel, 2020-12-11T05:35:11.094Z z2m:Zwave ValueAdded: 5-115-1-3 Test Node, 2020-12-11T05:35:11.097Z z2m:Zwave ValueAdded: 5-115-1-4 Test Powerlevel, 2020-12-11T05:35:11.100Z z2m:Zwave ValueAdded: 5-115-1-5 Frame Count, 2020-12-11T05:35:11.102Z z2m:Zwave ValueAdded: 5-115-1-6 Test, 2020-12-11T05:35:11.105Z z2m:Zwave ValueAdded: 5-115-1-7 Report, 2020-12-11T05:35:11.108Z z2m:Zwave ValueAdded: 5-115-1-8 Test Status, 2020-12-11T05:35:11.111Z z2m:Zwave ValueAdded: 5-115-1-9 Acked Frames, 2020-12-11T05:35:11.113Z z2m:Zwave ValueAdded: 5-134-1-0 Library Version, 2020-12-11T05:35:11.116Z z2m:Zwave ValueAdded: 5-134-1-1 Protocol Version, 2020-12-11T05:35:11.118Z z2m:Zwave ValueAdded: 5-134-1-2 Application Version, 2020-12-11T05:35:11.121Z z2m:Zwave Node added 6, 2020-12-11T05:35:11.123Z z2m:Zwave node 6 AVAILABLE: Ecolink - Tilt Sensor (Sensor Notification), 2020-12-11T05:35:11.124Z z2m:Zwave ValueAdded: 6-32-1-0 Basic, 2020-12-11T05:35:11.126Z z2m:Zwave ValueAdded: 6-48-1-0 Sensor, 2020-12-11T05:35:11.129Z z2m:Zwave ValueAdded: 6-94-1-0 ZWave+ Version, 2020-12-11T05:35:11.132Z z2m:Zwave ValueAdded: 6-94-1-1 InstallerIcon, 2020-12-11T05:35:11.134Z z2m:Zwave ValueAdded: 6-94-1-2 UserIcon, 2020-12-11T05:35:11.137Z z2m:Zwave ValueAdded: 6-112-1-991 Fault restore, 2020-12-11T05:35:11.139Z z2m:Zwave ValueAdded: 6-113-1-6 Access Control, 2020-12-11T05:35:11.142Z z2m:Zwave ValueAdded: 6-113-1-7 Home Security, 2020-12-11T05:35:11.145Z z2m:Zwave ValueAdded: 6-113-1-8 Power Management, 2020-12-11T05:35:11.148Z z2m:Zwave ValueAdded: 6-113-1-256 Previous Event Cleared, 2020-12-11T05:35:11.150Z z2m:Zwave ValueAdded: 6-114-1-0 Loaded Config Revision, 2020-12-11T05:35:11.153Z z2m:Zwave ValueAdded: 6-114-1-1 Config File Revision, 2020-12-11T05:35:11.156Z z2m:Zwave ValueAdded: 6-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:11.159Z z2m:Zwave ValueAdded: 6-114-1-3 Device ID, 2020-12-11T05:35:11.161Z z2m:Zwave ValueAdded: 6-114-1-4 Serial Number, 2020-12-11T05:35:11.164Z z2m:Zwave ValueAdded: 6-115-1-0 Powerlevel, 2020-12-11T05:35:11.168Z z2m:Zwave ValueAdded: 6-115-1-1 Timeout, 2020-12-11T05:35:11.171Z z2m:Zwave ValueAdded: 6-115-1-2 Set Powerlevel, 2020-12-11T05:35:11.174Z z2m:Zwave ValueAdded: 6-115-1-3 Test Node, 2020-12-11T05:35:11.177Z z2m:Zwave ValueAdded: 6-115-1-4 Test Powerlevel, 2020-12-11T05:35:11.179Z z2m:Zwave ValueAdded: 6-115-1-5 Frame Count, 2020-12-11T05:35:11.182Z z2m:Zwave ValueAdded: 6-115-1-6 Test, 2020-12-11T05:35:11.184Z z2m:Zwave ValueAdded: 6-115-1-7 Report, 2020-12-11T05:35:11.187Z z2m:Zwave ValueAdded: 6-115-1-8 Test Status, 2020-12-11T05:35:11.190Z z2m:Zwave ValueAdded: 6-115-1-9 Acked Frames, 2020-12-11T05:35:11.193Z z2m:Zwave ValueAdded: 6-128-1-0 Battery Level, 2020-12-11T05:35:11.196Z z2m:Zwave ValueAdded: 6-132-1-1 Minimum Wake-up Interval, 2020-12-11T05:35:11.199Z z2m:Zwave ValueAdded: 6-132-1-2 Maximum Wake-up Interval, 2020-12-11T05:35:11.202Z z2m:Zwave ValueAdded: 6-132-1-3 Default Wake-up Interval, 2020-12-11T05:35:11.204Z z2m:Zwave ValueAdded: 6-132-1-4 Wake-up Interval Step, 2020-12-11T05:35:11.207Z z2m:Zwave ValueAdded: 6-132-1-0 Wake-up Interval, 2020-12-11T05:35:11.210Z z2m:Zwave ValueAdded: 6-134-1-0 Library Version, 2020-12-11T05:35:11.213Z z2m:Zwave ValueAdded: 6-134-1-1 Protocol Version, 2020-12-11T05:35:11.216Z z2m:Zwave ValueAdded: 6-134-1-2 Application Version, 2020-12-11T05:35:11.218Z z2m:Zwave Node added 7, 2020-12-11T05:35:11.220Z z2m:Zwave node 7 AVAILABLE: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11T05:35:11.221Z z2m:Zwave ValueAdded: 7-37-1-2 Transition Duration, 2020-12-11T05:35:11.224Z z2m:Zwave ValueAdded: 7-37-1-1 Target State, 2020-12-11T05:35:11.227Z z2m:Zwave ValueAdded: 7-37-1-0 Switch, 2020-12-11T05:35:11.229Z z2m:Zwave ValueAdded: 7-39-1-0 Switch All, 2020-12-11T05:35:11.232Z z2m:Zwave ValueAdded: 7-43-1-0 Scene, 2020-12-11T05:35:11.235Z z2m:Zwave ValueAdded: 7-43-1-1 Duration, 2020-12-11T05:35:11.237Z z2m:Zwave ValueAdded: 7-94-1-0 ZWave+ Version, 2020-12-11T05:35:11.240Z z2m:Zwave ValueAdded: 7-94-1-1 InstallerIcon, 2020-12-11T05:35:11.242Z z2m:Zwave ValueAdded: 7-94-1-2 UserIcon, 2020-12-11T05:35:11.245Z z2m:Zwave ValueAdded: 7-112-1-7 Locator LED Status, 2020-12-11T05:35:11.253Z z2m:Zwave ValueAdded: 7-114-1-0 Loaded Config Revision, 2020-12-11T05:35:11.256Z z2m:Zwave ValueAdded: 7-114-1-1 Config File Revision, 2020-12-11T05:35:11.258Z z2m:Zwave ValueAdded: 7-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:11.261Z z2m:Zwave ValueAdded: 7-114-1-3 Device ID, 2020-12-11T05:35:11.264Z z2m:Zwave ValueAdded: 7-114-1-4 Serial Number, 2020-12-11T05:35:11.267Z z2m:Zwave ValueAdded: 7-115-1-0 Powerlevel, 2020-12-11T05:35:11.270Z z2m:Zwave ValueAdded: 7-115-1-1 Timeout, 2020-12-11T05:35:11.272Z z2m:Zwave ValueAdded: 7-115-1-2 Set Powerlevel, 2020-12-11T05:35:11.278Z z2m:Zwave ValueAdded: 7-115-1-3 Test Node, 2020-12-11T05:35:11.281Z z2m:Zwave ValueAdded: 7-115-1-4 Test Powerlevel, 2020-12-11T05:35:11.284Z z2m:Zwave ValueAdded: 7-115-1-5 Frame Count, 2020-12-11T05:35:11.287Z z2m:Zwave ValueAdded: 7-115-1-6 Test, 2020-12-11T05:35:11.291Z z2m:Zwave ValueAdded: 7-115-1-7 Report, 2020-12-11T05:35:11.294Z z2m:Zwave ValueAdded: 7-115-1-8 Test Status, 2020-12-11T05:35:11.298Z z2m:Zwave ValueAdded: 7-115-1-9 Acked Frames, 2020-12-11T05:35:11.302Z z2m:Zwave ValueAdded: 7-134-1-0 Library Version, 2020-12-11T05:35:11.305Z z2m:Zwave ValueAdded: 7-134-1-1 Protocol Version, 2020-12-11T05:35:11.309Z z2m:Zwave ValueAdded: 7-134-1-2 Application Version, 2020-12-11T05:35:11.312Z z2m:Zwave Node added 8, 2020-12-11T05:35:11.314Z z2m:Zwave node 8 AVAILABLE: Ecolink - Tilt Sensor (Sensor Notification), 2020-12-11T05:35:11.315Z z2m:Zwave ValueAdded: 8-32-1-0 Basic, 2020-12-11T05:35:11.318Z z2m:Zwave ValueAdded: 8-48-1-0 Sensor, 2020-12-11T05:35:11.321Z z2m:Zwave ValueAdded: 8-94-1-0 ZWave+ Version, 2020-12-11T05:35:11.324Z z2m:Zwave ValueAdded: 8-94-1-1 InstallerIcon, 2020-12-11T05:35:11.326Z z2m:Zwave ValueAdded: 8-94-1-2 UserIcon, 2020-12-11T05:35:11.330Z z2m:Zwave ValueAdded: 8-112-1-991 Fault restore, 2020-12-11T05:35:11.333Z z2m:Zwave ValueAdded: 8-113-1-6 Access Control, 2020-12-11T05:35:11.336Z z2m:Zwave ValueAdded: 8-113-1-7 Home Security, 2020-12-11T05:35:11.340Z z2m:Zwave ValueAdded: 8-113-1-8 Power Management, 2020-12-11T05:35:11.343Z z2m:Zwave ValueAdded: 8-113-1-256 Previous Event Cleared, 2020-12-11T05:35:11.346Z z2m:Zwave ValueAdded: 8-114-1-0 Loaded Config Revision, 2020-12-11T05:35:11.349Z z2m:Zwave ValueAdded: 8-114-1-1 Config File Revision, 2020-12-11T05:35:11.353Z z2m:Zwave ValueAdded: 8-114-1-2 Latest Available Config File Revision, 2020-12-11T05:35:11.357Z z2m:Zwave ValueAdded: 8-114-1-3 Device ID, 2020-12-11T05:35:11.361Z z2m:Zwave ValueAdded: 8-114-1-4 Serial Number, 2020-12-11T05:35:11.364Z z2m:Zwave ValueAdded: 8-115-1-0 Powerlevel, 2020-12-11T05:35:11.367Z z2m:Zwave ValueAdded: 8-115-1-1 Timeout, 2020-12-11T05:35:11.373Z z2m:Zwave ValueAdded: 8-115-1-2 Set Powerlevel, 2020-12-11T05:35:11.377Z z2m:Zwave ValueAdded: 8-115-1-3 Test Node, 2020-12-11T05:35:11.381Z z2m:Zwave ValueAdded: 8-115-1-4 Test Powerlevel, 2020-12-11T05:35:11.385Z z2m:Zwave ValueAdded: 8-115-1-5 Frame Count, 2020-12-11T05:35:11.388Z z2m:Zwave ValueAdded: 8-115-1-6 Test, 2020-12-11T05:35:11.392Z z2m:Zwave ValueAdded: 8-115-1-7 Report, 2020-12-11T05:35:11.396Z z2m:Zwave ValueAdded: 8-115-1-8 Test Status, 2020-12-11T05:35:11.399Z z2m:Zwave ValueAdded: 8-115-1-9 Acked Frames, 2020-12-11T05:35:11.404Z z2m:Zwave ValueAdded: 8-128-1-0 Battery Level, 2020-12-11T05:35:11.407Z z2m:Zwave ValueAdded: 8-132-1-1 Minimum Wake-up Interval, 2020-12-11T05:35:11.410Z z2m:Zwave ValueAdded: 8-132-1-2 Maximum Wake-up Interval, 2020-12-11T05:35:11.413Z z2m:Zwave ValueAdded: 8-132-1-3 Default Wake-up Interval, 2020-12-11T05:35:11.416Z z2m:Zwave ValueAdded: 8-132-1-4 Wake-up Interval Step, 2020-12-11T05:35:11.419Z z2m:Zwave ValueAdded: 8-132-1-0 Wake-up Interval, 2020-12-11T05:35:11.422Z z2m:Zwave ValueAdded: 8-134-1-0 Library Version, 2020-12-11T05:35:11.424Z z2m:Zwave ValueAdded: 8-134-1-1 Protocol Version, 2020-12-11T05:35:11.427Z z2m:Zwave ValueAdded: 8-134-1-2 Application Version, 2020-12-11T05:35:11.430Z z2m:Zwave Notification from node 3: Notification - NoOperation (2), 2020-12-11T05:35:11.431Z z2m:Zwave Notification from node 4: Notification - NoOperation (2), 2020-12-11T05:35:11.432Z z2m:Zwave Notification from node 5: Notification - NoOperation (2), 2020-12-11T05:35:17.072Z z2m:Zwave Notification from node 6: Notification - NoOperation (2), 2020-12-11T05:35:17.097Z z2m:Zwave Notification from node 6: Notification - Node Asleep (4), 2020-12-11T05:35:17.141Z z2m:Zwave Notification from node 7: Notification - NoOperation (2), 2020-12-11 00:35:23.188 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0, 2020-12-11 00:35:23.189 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=0, 2020-12-11T05:35:23.189Z z2m:Zwave Notification from node 8: Notification - NoOperation (2), 2020-12-11T05:35:23.202Z z2m:Zwave Notification from node 8: Notification - Node Asleep (4), 2020-12-11T05:35:23.240Z z2m:Zwave node 1 ready: AEON Labs - ZW090 Z-Stick Gen5 US (Static PC Controller), 2020-12-11 00:35:26.307 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0, 2020-12-11 00:35:26.307 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=0, 2020-12-11 00:35:26.348 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0, 2020-12-11 00:35:26.348 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=0, 2020-12-11 00:35:26.379 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0, 2020-12-11 00:35:26.379 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=0, 2020-12-11T05:35:26.379Z z2m:Zwave node 3 ready: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11 00:35:26.417 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=0, 2020-12-11 00:35:26.417 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1, 2020-12-11T05:35:26.434Z z2m:Zwave node 4 ready: AEON Labs - ZW117 Range Extender 6 (Generic Repeater), 2020-12-11T05:35:26.475Z z2m:Zwave node 5 ready: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11T05:35:26.506Z z2m:Zwave node 7 ready: Leviton - Leviton DZPA1 Plug-In Outlet (On/Off Power Switch), 2020-12-11T05:35:26.510Z z2m:Zwave Network scan complete. Found: 7 nodes, PANIC: unprotected error in call to Lua API (bad light userdata pointer), PANIC: unprotected error in call to Lua API (bad light userdata pointer), PANIC: unprotected error in call to Lua API (bad light userdata pointer),

lsilva171 commented 3 years ago

And here a trace log from a brand new v0.8.3 instance created from scratch, instead of using a snapshot as I did above.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 00-banner.sh: executing... , -----------------------------------------------------------, Add-on: Z-Wave to MQTT, Fully configurable Z-Wave to MQTT gateway and control panel, -----------------------------------------------------------, Add-on version: 0.8.3, You are running the latest version of this add-on., System: HassOS 5.5 (aarch64 / odroid-c4), Home Assistant Core: 0.118.5, Home Assistant Supervisor: 2020.12.6, -----------------------------------------------------------, Please, share the above information when looking for help, or support in, e.g., GitHub, forums or the Discord chat., -----------------------------------------------------------, [cont-init.d] 00-banner.sh: exited 0., [cont-init.d] 01-log-level.sh: executing... , Log level is set to TRACE, [cont-init.d] 01-log-level.sh: exited 0., [cont-init.d] nginx.sh: executing... , [00:01:50] TRACE: bashio::config.true: ssl, [00:01:50] TRACE: bashio::config: ssl, [00:01:50] TRACE: bashio::jq: /data/options.json if (.ssl == null) then, null, elif (.ssl | type == "string") then, .ssl // empty, elif (.ssl | type == "boolean") then, .ssl // false, elif (.ssl | type == "array") then, if (.ssl == []) then, empty, else, .ssl[], end, elif (.ssl | type == "object") then, if (.ssl == {}) then, empty, else, .ssl, end, else, .ssl, end, [00:01:50] TRACE: bashio::var.true: false, [00:01:50] TRACE: bashio::config.true: ssl, [00:01:50] TRACE: bashio::config: ssl, [00:01:50] TRACE: bashio::jq: /data/options.json if (.ssl == null) then, null, elif (.ssl | type == "string") then, .ssl // empty, elif (.ssl | type == "boolean") then, .ssl // false, elif (.ssl | type == "array") then, if (.ssl == []) then, empty, else, .ssl[], end, elif (.ssl | type == "object") then, if (.ssl == {}) then, empty, else, .ssl, end, else, .ssl, end, [00:01:51] TRACE: bashio::var.true: false, [00:01:51] TRACE: bashio::dns.host, [00:01:51] TRACE: bashio::dns dns.info.host .host, [00:01:51] TRACE: bashio::cache.exists: dns.info.host, [00:01:51] TRACE: bashio::fs.file_exists: /dev/shm/bashio/dns.info.host.cache, [00:01:51] TRACE: bashio::cache.exists: dns.info, [00:01:51] TRACE: bashio::fs.file_exists: /dev/shm/bashio/dns.info.cache, [00:01:51] TRACE: bashio::api.supervisor GET /dns/info false, [00:01:51] DEBUG: Requested API resource: http://supervisor/dns/info, [00:01:51] DEBUG: Request method: GET, [00:01:51] DEBUG: Request data: {}, [00:01:51] DEBUG: API HTTP Response code: 200, [00:01:51] DEBUG: API Response: {"result": "ok", "data": {"version": "2020.11.0", "version_latest": "2020.11.0", "update_available": false, "host": "172.30.32.3", "servers": [], "locals": ["dns://10.0.0.1"]}}, [00:01:51] TRACE: bashio::jq: {"result": "ok", "data": {"version": "2020.11.0", "version_latest": "2020.11.0", "update_available": false, "host": "172.30.32.3", "servers": [], "locals": ["dns://10.0.0.1"]}}, .result, [00:01:51] TRACE: bashio::var.true: false, [00:01:51] TRACE: bashio::jq: {"result": "ok", "data": {"version": "2020.11.0", "version_latest": "2020.11.0", "update_available": false, "host": "172.30.32.3", "servers": [], "locals": ["dns://10.0.0.1"]}}, if .data == {} then empty else .data end, [00:01:51] TRACE: bashio::var.has_value: , [00:01:51] TRACE: bashio::cache.set: dns.info {"version":"2020.11.0","version_latest":"2020.11.0","update_available":false,"host":"172.30.32.3","servers":[],"locals":["dns://10.0.0.1"]}, [00:01:51] TRACE: bashio::fs.directory_exists: /dev/shm/bashio, [00:01:51] TRACE: bashio::var.has_value: .host, [00:01:51] TRACE: bashio::jq: {"version":"2020.11.0","version_latest":"2020.11.0","update_available":false,"host":"172.30.32.3","servers":[],"locals":["dns://10.0.0.1"]} .host, [00:01:52] TRACE: bashio::cache.set: dns.info.host 172.30.32.3, [00:01:52] TRACE: bashio::fs.directory_exists: /dev/shm/bashio, [cont-init.d] nginx.sh: exited 0., [cont-init.d] zwave2mqtt.sh: executing... , [cont-init.d] zwave2mqtt.sh: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done., [00:01:52] TRACE: bashio::net.wait_for 44920, [00:01:52] INFO: Starting the Z-Wave to MQTT..., 2020-12-11T05:01:53.151Z z2m:Store settings.json not found, 2020-12-11T05:01:53.175Z z2m:Store scenes.json not found, 2020-12-11T05:01:53.177Z z2m:Store nodes.json not found, 2020-12-11T05:01:54.436Z z2m:App Zwave2Mqtt version: 4.0.6, 2020-12-11T05:01:54.437Z z2m:App Application path:/opt, 2020-12-11T05:01:54.621Z z2m:Gateway Zwave settings are not valid, 2020-12-11T05:01:54.877Z z2m:App Listening on port 44920, [00:01:55] INFO: Starting NGinx..., [00:01:55] TRACE: bashio::config.true: leave_front_door_open, [00:01:55] TRACE: bashio::config: leave_front_door_open, [00:01:55] TRACE: bashio::jq: /data/options.json if (.leave_front_door_open == null) then, null, elif (.leave_front_door_open | type == "string") then, .leave_front_door_open // empty, elif (.leave_front_door_open | type == "boolean") then, .leave_front_door_open // false, elif (.leave_front_door_open | type == "array") then, if (.leave_front_door_open == []) then, empty, else, .leave_front_door_open[], end, elif (.leave_front_door_open | type == "object") then, if (.leave_front_door_open == {}) then, empty, else, .leave_front_door_open, end, else, .leave_front_door_open, end, [00:01:55] TRACE: bashio::var.true: null, nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html), PANIC: unprotected error in call to Lua API (bad light userdata pointer), PANIC: unprotected error in call to Lua API (bad light userdata pointer),

lsilva171 commented 3 years ago

My current Home Assistant environment is:

System Health

Home Assistant Core Integration

version: 0.118.5 installation_type: Home Assistant OS dev: false hassio: true docker: true virtualenv: false python_version: 3.8.6 os_name: Linux os_version: 5.9.6 arch: aarch64 timezone: America/Toronto

Home Assistant Cloud

logged_in: true subscription_expiration: December 25, 2020, 7:00 PM relayer_connected: true remote_enabled: false remote_connected: false alexa_enabled: true google_enabled: true can_reach_cert_server: ok can_reach_cloud_auth: ok can_reach_cloud: undefined

Hass.io

host_os: HassOS 5.5 update_channel: stable supervisor_version: 2020.12.6 docker_version: 19.03.12 disk_total: 28.0 GB disk_used: 5.4 GB healthy: true supported: true board: odroid-c4 supervisor_api: ok version_api: ok installed_addons: Samba share (9.3.0), MariaDB (2.2.1), ADB - Android Debug Bridge (0.6.3), Glances (0.9.1), Mosquitto broker (5.1), Network UPS Tools (0.3.1), AirCast (2.4.1), AppDaemon 4 (0.3.2), Check Home Assistant configuration (3.6.0), Portainer (1.3.0), TasmoAdmin (0.13.1), Zigbee2mqtt (1.16.2.2), Ring Livestream (1.35), Z-Wave to MQTT (0.8.3)

Lovelace

dashboards: 2 mode: auto-gen resources: 5

lsilva171 commented 3 years ago

Any news about this issue?

frenck commented 3 years ago

No, or you would have seen an response.

smithdo commented 3 years ago

Is there a way to install 0.8.2 as a workaround until this can be addressed?

smithdo commented 3 years ago

Also tried turning off ssl by setting it to false and it did not work, still get the SSL error on the page and look in the log and still has a panic message