Bidgely power usage upload SmartApp

Thanks for the new code. Seems to be working great for my multiple HEM setup.

How often do you poll your HEM units and what would you suggest for the batch processing?

Currently I have them setup to report every 5 mins, and upload after 5 events. I think I understand that this would mean I would get updates in bigley roughly every 25 mins.

Does that sound right?

I set this up and the site seems to be getting my data, however, looking in the logs, I get the following error after every post response

error groovy.lang.MissingMethodException

8:48:58 PM: info httpPost responce:200
8:48:58 PM: info Posting last 1 events to https://api.bidgely.com/v1/users/API_KEY/homes/1/gateways/6/upload
8:48:58 PM: debug 1
8:48:58 PM: info Home Energy Meter power is 890W Type:0
8:48:58 PM: error groovy.lang.MissingMethodException: No signature of method: script14478964180231563807024.sendEvent() is applicable for argument types: (physicalgraph.app.EventWrapper, java.lang.Integer, script14478964180231563807024$_circuitPowerEvent_closure2) values: [physicalgraph.app.EventWrapper@78dfd320, …]
Possible solutions: sendEvent(java.util.Map), sendEvent(java.lang.String, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map), sendEvent(java.lang.String, java.util.Map, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map, java.util.Map)
8:48:28 PM: info httpPost responce:200
8:48:28 PM: debug Home Energy Meter energy is 2.567kWh Type:0
8:43:43 PM: info httpPost responce:200
8:43:43 PM: info Posting last 1 events to https://api.bidgely.com/v1/users/API_KEY/homes/1/gateways/6/upload
8:43:43 PM: debug 1
8:43:43 PM: info Home Energy Meter power is 1525W Type:0
8:43:43 PM: error groovy.lang.MissingMethodException: No signature of method: script14478959980731563807024.sendEvent() is applicable for argument types: (physicalgraph.app.EventWrapper, java.lang.Integer, script14478959980731563807024$_circuitPowerEvent_closure2) values: [physicalgraph.app.EventWrapper@418bdc97, …]
Possible solutions: sendEvent(java.util.Map), sendEvent(java.lang.String, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map), sendEvent(java.lang.String, java.util.Map, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map, java.util.Map)
8:43:28 PM: info httpPost responce:200
8:43:28 PM: debug Home Energy Meter energy is 2.425kWh Type:0
8:43:28 PM: info httpPost responce:200
8:43:28 PM: info Posting last 1 events to https://api.bidgely.com/v1/users/API_KEY/homes/1/gateways/6/upload
8:43:28 PM: debug 1
8:43:28 PM: info Home Energy Meter power is 1589W Type:0

Did you ever figure it out?
I am getting a similar problem see my log below.
Also in my case, it seems to show one of my Aeon switch info and graph but never the main energy monitor which is what I am really interested in…

741cbe7c-db29-48f9-828d-7dfa13e3a1ba 1:22:27 PM: error groovy.lang.MissingMethodException: No signature of method: script14485595394781563807024.sendEvent() is applicable for argument types: (physicalgraph.app.EventWrapper, java.lang.Integer, script14485595394781563807024$_circuitPowerEvent_closure2) values: [physicalgraph.app.EventWrapper@6a5e0abb, …]
Possible solutions: sendEvent(java.util.Map), sendEvent(java.lang.String, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map), sendEvent(java.lang.String, java.util.Map, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map, java.util.Map)
741cbe7c-db29-48f9-828d-7dfa13e3a1ba 1:22:27 PM: info httpPost responce:200
741cbe7c-db29-48f9-828d-7dfa13e3a1ba 1:22:27 PM: info Posting last 1 events to https://api.bidgely.com/v1/users/ed1d4dd1-3120-4cf6-9f8d-1d4f88267339/homes/1/gateways/1/upload
741cbe7c-db29-48f9-828d-7dfa13e3a1ba 1:22:27 PM: debug 1
741cbe7c-db29-48f9-828d-7dfa13e3a1ba 1:22:27 PM: info Aeon Home Energy Monitor power is 308W Type:0

This is all I get in my logs and bidgely says not connected.

0b59841e-2411-4c00-8c03-95f68ec8bda9 ‎5‎:‎11‎:‎19‎ ‎PM: error groovy.lang.MissingMethodException: No signature of method: script14487483425431563807024.sendEvent() is applicable for argument types: (physicalgraph.app.EventWrapper, java.lang.Integer, script14487483425431563807024$_circuitPowerEvent_closure2) values: [physicalgraph.app.EventWrapper@2b40b8a3, …]
Possible solutions: sendEvent(java.util.Map), sendEvent(java.lang.String, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map), sendEvent(java.lang.String, java.util.Map, java.util.Map), sendEvent(physicalgraph.app.DeviceWrapper, java.util.Map, java.util.Map)

So If I just choose my home energy monitor it seems to work fine. If I select any individual monitors then the above error happens.

FYI - Bidgely is not allowing individual to sign up anymore. You can only sign up through your utility now.

Hmm I was able to sign up last week. If they changed it that sucks.

Yeah I emailed them yesterday after not being able to register and they responded as I indicated.

Hi ,
Thanks for writing to us.

Currently we have stopped individual signups and working only with utilities.So the Register option is disabled.

Thanks
Bidgely Support

Did you try going through here?

https://bidgely.com/register-check

Do you own a compatible Energy Monitor already?
Choose Yes

Sign Up Now

Enter Zip… Choose your Utility Co.

click “I have an Energy Monitor”

Then “Create Your Account”

I stopped here since I already have an account.

2 Likes

No, thank you!!!

This smart app is working great, thanks @bigpunk6

I am however disappointed that the Bidgely service won’t accept decimals between $0.1 and $0.2 a kwh for your rate

Seems silly it won’t accept $0.15

Okay, maybe I’m just new, but I can’t get Bidgely to connect to the Aeontech Smart Energy meter. I installed the code from @bigpunk6 and added the API URL they gave me, but it’s not connecting. What am I doing wrong? Do I need to do some sort of coding in Python, like with PlotWatt? I can’t code.

Does the smartapp send the additive result to bidgely and do you see it on the bidgely dashboard?

I have added 2 HEM to the bidgely smartapp under ‘‘House Power Meters’’, however on the bidgely dashboard online I only see the reading of the highest one.

When I test individually they work, but together only the highest one is being read by bidgely.

Am I doing something wrong? I was thinking maybe the ‘‘upload after this many events’’ can impact the reading?
I have set it to 1, also I have set the HEM to read the power every 1 second.

Thank you for your help in advance

When I register on the bidgely site, it asks me to select a power meter… I select bidgely API, then click “I have this monitor”

It then says, loading, please wait… and returns me to the same page of step 1 “select your power monitor”

Keeps doing this in an endless loop…

Anyone else seen the same behaviour?

For those getting the ‘no signature of method error’, I changed the circuitPowerEvent to this

def circuitPowerEvent(evt) {
sendEvent(evt, 10)// { it.toString() }

}

Not sure what the it.toString() did. It’s quite possible I broke it… but no errors after commenting it out. I also noticed while logging that there was a lot of spam if the ‘number of events’ was set too low… so I increased mine to 100.

Has anyone gotten Bidgely to detect the different appliances?

I’ve had this connected for over a year and mine has never shown any breakdown.

No, not really. I personally don’t think their algorithm works to isolate devices on the network.

Got this today from Bidgely

Thank you for being an early adopter of Bidgely. We appreciate your support!

During the last couple of years we have been working directly with utilities around the world to offer Bidgely’s services to their customers and have seen tremendous growth. As such, we will be focusing on projects run in conjunction with our utility partners, and will be closing down our direct-to-consumer services.

That means as of December 31, 2016, you will no longer be able to access the web app or the Bidgely mobile app (iOS / Android).

But your utility may already be working with Bidgely — check with them!

For more information on a different cloud service to use with your device, please contact your device manufacturer directly.

Efergy info.usa@efergy.com
Blueline https://www.bluelineinnovations.com/contact
TED info@theenergydetective.com
Rainforest https://rainforestautomation.com/communication-center/
Wattvision info@wattvision.com
YouLess http://www.youless.nl/contactformulier.html
digitalStrom info@digitalstrom.com
Digi https://www.digi.com/contactus
CurrentCost http://www.currentcost.com/contact.html
Thank you for being a Bidgely user. If you enjoyed using Bidgely, contact your utility company and let them know!

Bidgely Team

Well the smart app and web app are still working for me.

Hi guys,

does anyone know if i can connect (and how) a youless power meter using bigpunk6’s device handler? Would highly appreciate. thanks.

Emre