Page 3 of 4

Re: [154] - CurrentCost Envir support

Posted: Thursday 28 January 2016 19:49
by JC38
JohnAdders wrote:@JC38

Are you able to try this code out? I've added code to support multiple meters and throttle the temp.

https://github.com/JohnAdders/domoticz.git

branch currentcost

John
Unfortunately no. I have downloaded the latest free VS Studio but I'm not aware with it and github. I would like to find a french user to explain me the basics. The most advanced language I know is .... Visual Basic for Application :oops:
If you want to compile yours, I need the Windows service version as my CC is running behind my W2012 server.

Re: [154] - CurrentCost Envir support

Posted: Friday 29 January 2016 11:34
by JohnAdders
@JC38

Ok, I'll look at getting it built under windows.

John

Re: [154] - CurrentCost Envir support

Posted: Sunday 31 January 2016 18:43
by JohnAdders

Re: [154] - CurrentCost Envir support

Posted: Sunday 31 January 2016 19:56
by JC38
I'm just back to home. :)
I've updated my Dz with yours and all seems to be ok now. I've got my 3 new sensors ( as i have 3 IAM)
I will have a look tomorrow.
Capture.JPG
Capture.JPG (25.03 KiB) Viewed 4499 times
Great job John.

PS : 0 watt for the sensor 1 is normal ;)

Re: [154] - CurrentCost Envir support

Posted: Monday 01 February 2016 12:59
by JC38
John,

All is working perfectly.
I've shared these devices so I can now get also its values into my Domoticz master (which is a Rpi).

Thank you again.

Please, tell us when the functionnality will be integrated into the branch master.

Re: [154] - CurrentCost Envir support

Posted: Monday 01 February 2016 15:19
by JohnAdders
JC38 wrote:Please, tell us when the functionnality will be integrated into the branch master.
I've opened a pull request

https://github.com/domoticz/domoticz/pull/403

Should be in soon.

John

Re: [154] - CurrentCost Envir support

Posted: Monday 01 February 2016 19:26
by JC38
Ok, I've got it from the branch master.

Re: [154] - CurrentCost Envir support

Posted: Tuesday 08 March 2016 9:52
by panser
Hi,

I have this CurrentCost EnviR with Netsmart Bridge:
http://www.currentcost.com/product-envir.html
http://www.currentcost.com/product-netsmart.html

As I understand, I need to connect my CC EnviR to my Pi with USB, I then assume I need:
http://www.currentcost.com/product-datacable.html

Is that correct?

Can I use both USB cable and network bridge?
Thanks a lot

Re: [154] - CurrentCost Envir support

Posted: Wednesday 09 March 2016 18:49
by JC38
Hello Panser,

You're right for the cable.

But you can't use both solution at the same time.

However, there is a Current Cost device with Lan Interface in Domoticz, maybe this is for your netsmart.

Re: [154] - CurrentCost Envir support

Posted: Wednesday 09 March 2016 22:32
by Nautilus
JC38 wrote:Hello Panser,

You're right for the cable.

But you can't use both solution at the same time.

However, there is a Current Cost device with Lan Interface in Domoticz, maybe this is for your netsmart.
Im afraid it's not:
JohnAdders wrote:
Nautilus wrote: just to confirm - do I understand correctly that the LAN interface option is not meant to be working with CurrenCost Bridge (available for EnviR at least)? But the USB option should work just by hooking the unit (EnviR in my case) to the Pi running Domoticz?
Correct

John
I have currently hooked my EnviR to both Netsmart bridge and USB with a help of RJ45 splitter (you can get one from Ebay for a dollar or two).

Re: [154] - CurrentCost Envir support

Posted: Thursday 10 March 2016 18:23
by panser
Nautilus and JC38, thanks to both.

I don't think I will use my.currectcost anymore if Domotics works stable with my CC.
And if I miss it, I will buy a rj45 splitter.

Thanks again :D

Re: [154] - CurrentCost Envir support

Posted: Saturday 12 March 2016 3:22
by asjmcguire
John -
does this support my 3 phase unit, and does it maintain a running total of the 24 hour usage? I'm not bothered about the longer running total as long as I can see how much I have consumed today and the graphs that Domoticz creates are still correct.

My script solution works, but it's hardly ideal - I'd be much happier with native support.

Re: [154] - CurrentCost Envir support

Posted: Saturday 12 March 2016 15:53
by JC38
asjmcguire wrote:John -
does this support my 3 phase unit, and does it maintain a running total of the 24 hour usage? I'm not bothered about the longer running total as long as I can see how much I have consumed today and the graphs that Domoticz creates are still correct.
As far as i know, the code will not work for a 3 phases current. It needs to be adapted to do so.
And the John's solution is only logging only the instantaneous values, the other values are ignored by the code.

Re: [154] - CurrentCost Envir support

Posted: Friday 18 March 2016 20:28
by panser
panser wrote:Hi,

I have this CurrentCost EnviR with Netsmart Bridge:
http://www.currentcost.com/product-envir.html
http://www.currentcost.com/product-netsmart.html

As I understand, I need to connect my CC EnviR to my Pi with USB, I then assume I need:
http://www.currentcost.com/product-datacable.html

Is that correct?

Can I use both USB cable and network bridge?
Thanks a lot
I have now connected my CC EnviR to my Rpi. Works flawless! :D Thanks to John.
Only thing I miss, is "last 24h" - "last 7 days" and "last 30 days" usage. Wouldn't that be possible to retrieve from the EnviR as well?

Thanks again :)

Re: [154] - CurrentCost Envir support

Posted: Sunday 18 September 2016 19:52
by steef84
panser wrote: Only thing I miss, is "last 24h" - "last 7 days" and "last 30 days" usage. Wouldn't that be possible to retrieve from the EnviR as well?
Anyone knows if this has been integrated already?

Re: [154] - CurrentCost Envir support

Posted: Monday 19 September 2016 9:09
by JC38
No, it is not.
Because there is no equivalent sensor in Dz to push this information into, except storing these values as text only.

Re: [154] - CurrentCost Envir support

Posted: Tuesday 04 October 2016 11:08
by rich710
Hello!
I bought Currentcost wireless smart gateway and one sensable transmitter and one optismart sensor and thought It was possible to just add the ip-number and port in domoticz hardware to start monitoring my energy. But after reading this thread I realized that it was not probaly that easy.
Am I correct that I CAN use my Currentcost devices, if I get the right datacable USB to RJ45 and then connect it to my Rpi3? Or is it just working on the windows version of domoticz?
thankful for help!

//Regards Richard from Sweden

Re: [154] - CurrentCost Envir support

Posted: Tuesday 04 October 2016 12:35
by bobdvb
rich710 wrote: Am I correct that I CAN use my Currentcost devices, if I get the right datacable USB to RJ45 and then connect it to my Rpi3? Or is it just working on the windows version of domoticz?
It was relatively easy for me with my Pi 2, I plugged in the USB cable to the Pi which is running Domoticz and then (if I remember correctly) I just selected the correct serial port in the configuration of the CurrentCost in Domoticz. You might have issues with serial port permissions, but I don't remember having that problem.

Bob

Re: [154] - CurrentCost Envir support

Posted: Wednesday 05 October 2016 23:07
by Nautilus
bobdvb wrote:
It was relatively easy for me with my Pi 2, I plugged in the USB cable to the Pi which is running Domoticz and then (if I remember correctly) I just selected the correct serial port in the configuration of the CurrentCost in Domoticz. You might have issues with serial port permissions, but I don't remember having that problem.

Bob
Same here, nothing else needed than to plug in the usb cable and add new CurrentCost Meter USB hardware. This created two sensors, Temp and Watt.

Based on testing this for an hour or so, is it really so that this is only storing the current wattage and not any cumulative power usage (kWh) data? As such it of course compliments the data from PV Output (which shows used energy and power) but I assume this info could be read directly to Domoticz with this hardware plugin? Then the bridge could be taken out of the equation altogether. Although, as I already have it, it's not a problem from my viewpoint :) I'll just keep loading the data to my.currencost.com (I also have the RJ45 splitter), PV Output reads it from there and finally Domoticz from PV Output :D

Re: [154] - CurrentCost Envir support

Posted: Friday 09 December 2016 10:18
by djib78
Hello,

I try to link current cost bridge with Domoticz without success.
My current cost bridge working fine in my.currentcost.com.

To add current cost bridge material in Domoticz you need to set IP address en port number :
- IP address is local network IP ?
- port number is 80 ?

Thanks for your help