werthdavid / homebridge-website-to-camera

Homebridge plugin that displays a Website as virtual camera (intended for Google Maps Traffic)
MIT License
54 stars 7 forks source link

ReferenceError: Categories is not defined #39

Closed esp32x closed 2 years ago

esp32x commented 2 years ago

ReferenceError: Categories is not defined at new CameraAccessory (/usr/local/lib/node_modules/homebridge-website-to-camera/CameraAccessory.js:38:31) at /usr/local/lib/node_modules/homebridge-website-to-camera/index.js:27:67 at Array.map () at Platform.didFinishLaunching (/usr/local/lib/node_modules/homebridge-website-to-camera/index.js:27:55) at HomebridgeAPI.emit (node:events:402:35) at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10) at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:173:14)

version homebridge-website-to-camera@2.0.2

config

            "platform": "website-camera",
            "cameras": [
                {
                    "name": "Wikipedia",
                    "url": "https://de.wikipedia.org/wiki/Wikipedia:Hauptseite",
                    "timeout": 10000,
                    "renderTimeout": 1,
                    "cacheTime": 30000,
                    "chromiumPath": "/usr/bin/chromium-browser",
                    "live": "false",
                    "liveSnapshotInterval": 10000,
                    "liveRefreshInterval": 60000,
                    "livePort": 8554
                }
            ]
        },
werthdavid commented 2 years ago

Ooops. Seems like I forgot something there... can you test with v2.0.3 please?

esp32x commented 2 years ago

Looks better/good. But now when I set "live" to "true", I get an infinite boot loop.