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

createEnergyMeterDevice causes Timeout #2

Open
geri-m opened this issue Jul 26, 2023 · 0 comments
Open

createEnergyMeterDevice causes Timeout #2

geri-m opened this issue Jul 26, 2023 · 0 comments

Comments

@geri-m
Copy link

geri-m commented Jul 26, 2023

Hi,

I created an Energy Meter using

  const heatPumpMeter = await freeAtHome.createEnergyMeterDevice("heatPumpMeter", "heatPumpMeter")
  heatPumpMeter.setAutoConfirm(true);
  heatPumpMeter.isAutoConfirm = true;

in the main() function of the example app. After some time i get the following error:

Process exited with code 1
Uncaught Error Error: timeout while waiting for device description from api
    at <anonymous> (/Users/xxx/dev/home/node-free-at-home-example/node_modules/@busch-jaeger/free-at-home/lib/freeAtHomeApi.js:253:45)
    at emit (events:514:28)
    at onTimeout (/Users/xxx/dev/home/node-free-at-home-example/node_modules/@busch-jaeger/free-at-home/lib/freeAtHomeApi.js:348:14)
    at listOnTimeout (internal/timers:573:17)
    at processTimers (internal/timers:514:7)

The Code works well for other Devices such as switches, actuators or weather sensors. Any guidance on how to make this work?

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