lux4rd0 / sense-collector

Sense Collector provides a way of collecting real-time data from the Sense Energy Monitor. Includes Grafana dashboards for visualizations of detected devices and smart plugs and their wattage, voltage, and amp utilization.
https://labs.lux4rd0.com/sense-collector/
GNU Affero General Public License v3.0
25 stars 4 forks source link

Sense Collector - Device Overview #13

Closed danktankk closed 2 weeks ago

danktankk commented 7 months ago

Based on the lack of replies here this project looks abandoned. Thats a shame if that is true. I have been at this all afternoon and thought I might just simply ask why this one visualization isn't working. I have all 4 dashboards running with no issues and I am stumped on this one called [Device Status]. Its got nothing going on graphically.

db is created influx db v1.8 as 'sense' and added to grafana with no issues at all.

This is the query from the 'Device Status' dashboard and how it came from the import:

SELECT last("device_state") FROM "sense_event" WHERE ("event_type" = 'new_timeline' AND "name" =~ /^$devices$/) AND $timeFilter GROUP BY time($__interval), "name" fill(previous)

When I edit the dash and look in 'explore' it does see the devices, yet it doesn't display anything in this one dashboard. Its driving me crazy. lol Any ideas?

[edit] some things are beginning to pop in but are completely incorrect. Ill give it a few days to iron out.

InfoSecured commented 6 months ago

Did this ever iron out? I just set this up and have 1 dashboard out of 4 working.

danktankk commented 2 months ago

I did get the dashboards working, however no matter what I did, after a day or two they would all stop working. I dont use this anymore since it is basically a dead project.

lux4rd0 commented 2 months ago

Sorry for the lack of responses. I've been rebuilding all of my collectors from scratch to use InfluxDB2 and Python to make them easier to maintain. And I haven't really had all that much inspiration with Sense for the last few years since it never really lived up to its potential. That being said, the new version is almost ready to go, and I'll be releasing it soon. Hopefully, you'll find it useful.

InfoSecured commented 2 months ago

Great, thank you! Looking forward to it.

On Mon, Apr 22, 2024, at 5:03 PM, Dave Schmid wrote:

Sorry for the lack of responses. I've been rebuilding all of my collectors from scratch to use InfluxDB2 and Python to make them easier to maintain. And I haven't really had all that much inspiration with Sense for the last few years since it never really lived up to its potential. That being said, the new version is almost ready to go, and I'll be releasing it soon. Hopefully, you'll find it useful.

— Reply to this email directly, view it on GitHub https://github.com/lux4rd0/sense-collector/issues/13#issuecomment-2070948917, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7PIA7NQDV7QUBSBU4C4ALY6V3LXAVCNFSM6AAAAAA72NCINWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHE2DQOJRG4. You are receiving this because you commented.Message ID: @.***>

Jason

danktankk commented 1 month ago

Sorry for the lack of responses. I've been rebuilding all of my collectors from scratch to use InfluxDB2 and Python to make them easier to maintain. And I haven't really had all that much inspiration with Sense for the last few years since it never really lived up to its potential. That being said, the new version is almost ready to go, and I'll be releasing it soon. Hopefully, you'll find it useful.

Im not sure how I missed your post. I am very interested in getting this going again. I dont use influxdb2 though.

I didnt know what you meant by sense not living up to its potential either? They kind of have an impossible job. How does a company prioritize anything outside their own space as something they can claim to monitor or provide support for? The overall power is all I really care about because of this. Thank you for not giving up on this project!

I guess to continue to useage of this, I wil finally need to migrate form 1.8 to 2.0.......... :| this will suck. But it needs to be done anyway. Its only been out for what.. 2 years? maybe longer

i dont see any updates either. any help is appreciated

jsrichie commented 2 weeks ago

Evening I am looking forward to the new version as well. I have been using this thru homebridge as a way to get around the API issue https://github.com/cisien/homebridge-sense-power-meter

lux4rd0 commented 2 weeks ago

The new version was pushed out today!! Hopefully, you can take a look at it! Completely rewritten in Python instead of gasp - what I was hacking away with before! :)

I think the old version was having issues with Sense kicking it out with 429 too many calls. I've adjusted everything so that we should play nicely. Happy for testing and feedback! Thanks!