question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Energy Monitor - Missing data 'no data available'

See original GitHub issue

I have created a new plugin, and can’t find the correct combination to fix the ‘no data available’ graph under the on/off button. I have created this as a ‘Service.Switch’ and am populating the historical data with time, power and status.

fakegatoService.addEntry({
          time: Date.now(),
          power: this.accessories.find(accessory => accessory.UUID === element.uuid)?.getService(this.Service.Switch)?.getCharacteristic(this.CustomCharacteristic.CurrentConsumption).value ?? 0,
          status: (this.accessories.find(accessory => accessory.UUID === element.uuid)?.getService(this.Service.Switch)?.getCharacteristic(this.Characteristic.On).value ?? false ? 1 : 0 )

I have tried using an Outlet and no luck either. Does anyone have a working example I can look at ? Or is this just not feasible.

The top portion of this image.

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:45 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
NorthernMan54commented, Oct 8, 2020

I was really hoping it was a setup issue on my side, but it looks like I may need to obtain one and do some reverse engineering.

Tks @simont77 @ebaauw

0reactions
thncodecommented, Nov 11, 2020

I can only do that indirectly: I made two web based buttons (via web server on the device) and switched on/off. (1) All the other characteristics do recognize this instantly, (2) the switch cha + graph is ignoring it till I pull down the screen. (1) lets me assume that notifications are managed correctly…

What kind of characteristic is this first entry, if not HAP 9.70?

Bildschirmfoto 2020-11-11 um 19 54 46

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing data in meter on web page - Sense Community
I figured my meter is still saving “usage” though its not posting it live, it saves that data then resubmits it as soon...
Read more >
Why are there gaps in my smart meter data?
The first thing to do if you see missing data in the Track section of the Loop app is to pull down to...
Read more >
No data for last two days, 'offline' but it isn't? : r/Sense - Reddit
It says "your monitor was offline" ... After turning it back on all the interval missing data from the last few days has...
Read more >
Graph Missing Data - What does it mean? - Emoncms
Yes, it means emoncms did not receive a datapoint for the timestamp in question. Can you think of any reason why datapoints may...
Read more >
Energy data gone? - Configuration - Home Assistant Community
I checked just now and found no energy data available to me from pre ... System 9.0 Frontend 20220907.2 - latest Did daylight...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found