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.
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
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
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.
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.
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.