Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Raspi 4 #85

Open
FlyingLemming opened this issue May 6, 2020 · 0 comments
Open

Error in Raspi 4 #85

FlyingLemming opened this issue May 6, 2020 · 0 comments

Comments

@FlyingLemming
Copy link

Hi,
I recently migrated to a Raspberry Pi 4B due to performance issues on my old device. Hence, I am running Raspbian 10 instead of 9 now. Unfortunately, I cannot get homebridge-netatmo to run on the new platform:

May 06 11:54:45 raspberrypi homebridge[14869]: [5/6/2020, 11:54:45] TypeError: Cannot read property 'CO2' of undefined
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherStationAccessory.mapAccessoryDataToWeatherData (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/accessory/weatherstation-accessory.js:80:40)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherStationAccessory.notifyUpdate (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/accessory/weatherstation-accessory.js:64:30)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherStationAccessory. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/accessory/weatherstation-accessory.js:56:16)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:76:11)
May 06 11:54:45 raspberrypi homebridge[14869]: at NodeCache.module.exports.NodeCache.get (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/node-cache/lib/node_cache.js:58:11)
May 06 11:54:45 raspberrypi homebridge[14869]: at NodeCache.get (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/node-cache/lib/node_cache.js:3:59)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType.refreshDeviceData (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:67:16)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherStationAccessory.refreshData (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/accessory/weatherstation-accessory.js:54:19)
May 06 11:54:45 raspberrypi homebridge[14869]: at new WeatherStationAccessory (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/accessory/weatherstation-accessory.js:50:12)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType.buildAccessory (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/device/weatherstation-device.js:45:14)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:110:30)
May 06 11:54:45 raspberrypi homebridge[14869]: at Array.forEach (:null:null)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType.buildAccessories (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:96:34)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:58:14)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/lib/netatmo-device.js:72:13)
May 06 11:54:45 raspberrypi homebridge[14869]: at WeatherstationDeviceType. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/device/weatherstation-device.js:40:9)
May 06 11:54:45 raspberrypi homebridge[14869]: at netatmo. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/netatmo/netatmo.js:227:14)
May 06 11:54:45 raspberrypi homebridge[14869]: at Request.self.callback (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/request/request.js:185:22)
May 06 11:54:45 raspberrypi homebridge[14869]: at Request.emit (events.js:311:20)
May 06 11:54:45 raspberrypi homebridge[14869]: at Request. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/request/request.js:1154:10)
May 06 11:54:45 raspberrypi homebridge[14869]: at Request.emit (events.js:311:20)
May 06 11:54:45 raspberrypi homebridge[14869]: at IncomingMessage. (/usr/local/lib/node_modules/homebridge-netatmo-schmittx/node_modules/request/request.js:1076:12)
May 06 11:54:45 raspberrypi homebridge[14869]: at Object.onceWrapper (events.js:417:28)
May 06 11:54:45 raspberrypi homebridge[14869]: at IncomingMessage.emit (events.js:323:22)
May 06 11:54:45 raspberrypi homebridge[14869]: at endReadableNT (_stream_readable.js:1204:12)
May 06 11:54:45 raspberrypi homebridge[14869]: at processTicksAndRejections (internal/process/task_queues.js:84:21)

Any ideas...?

Best regards,
Jochen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant