steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

Homebridge crash with ReferenceError: url is not defined #100

Closed bananajoe86 closed 3 years ago

bananajoe86 commented 3 years ago

With the actualy Version 1.3.2 my Homebridge crashes every 30min at my raspberry, with this Log-Error. Somebody an idea for me?

Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: [7/7/2021, 12:12:51 AM] [openHAB2-Complete] Item FensterTRkontaktsensorAquara_OpenClose's state was cleared from the cache, getting the current value Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: [7/7/2021, 12:12:51 AM] ReferenceError: url is not defined Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at OpenHAB._getStateWithoutCache (/usr/local/lib/node_modules/homebridge-openhab2-complete/util/OpenHAB.js:92:13) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at OpenHAB. (/usr/local/lib/node_modules/homebridge-openhab2-complete/util/OpenHAB.js:30:18) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at Cache.emit (events.js:375:28) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at Cache._getValueAndCheckExpiration (/usr/local/lib/node_modules/homebridge-openhab2-complete/util/Cache.js:55:26) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at Array.forEach () Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at Cache._checkCacheForExpiredItems (/usr/local/lib/node_modules/homebridge-openhab2-complete/util/Cache.js:45:33) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at listOnTimeout (internal/timers.js:557:17) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: at processTimers (internal/timers.js:500:7) Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: [7/7/2021, 12:12:51 AM] Got SIGTERM, shutting down Homebridge... Jul 07 00:12:51 HomebridgeTwo homebridge[31226]: [7/7/2021, 12:12:51 AM] [Harmony] INFO - shutdown

steilerDev commented 3 years ago

Thanks for reporting, this is a stupid one....fixed with the 1.3.3 release.