ElectricMotorcycleForum.com

  • April 24, 2024, 05:11:59 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: 1 2 3 [4] 5

Author Topic: How to stop charging below 100%  (Read 5500 times)

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #45 on: August 05, 2017, 09:44:25 AM »

I like it.
Logged
our knowledge about Zeros collects here: https://zeromanual.com/

remmie

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
Re: How to stop charging below 100%
« Reply #46 on: August 06, 2017, 01:17:54 AM »

maybe the Elgato EVE energy is a better choice as it uses Bluetooth

https://www.elgato.com/en/eve/eve-energy

only on iOS though
Logged
Current : Red Premium Zero SR/F (ordered May 25, delivered August 23 2019) with Rapid charger for 12kW charging
Former : White Zero SR 2018 ZF14.4 kWh (17.500 km)
Former : Black Zero SR 2014 ZF11.4 kWh (25.000 km)
SR's outfitted with Homemade "Supercharger" 6x eltek Flatpack S (12 kW)

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #47 on: August 06, 2017, 09:15:04 PM »

Design evolution continues. I'm adding AC control with two solid state relays. These will sequence the charging start and stop so that key on/off is not required to begin charging. AC input current can be 6, 8, 14, 16, or 22 amps when different combinations of FX onboard and two external QuiQ chargers are used.
Logged
2016 Zero FX, 2014 KTM 1190

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #48 on: August 08, 2017, 02:14:21 AM »

Nice.
Logged
our knowledge about Zeros collects here: https://zeromanual.com/

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #49 on: August 08, 2017, 03:12:22 AM »

It will be nice. Lots of metal work, required for AC wiring. I'll have a nice package when finished, power control box on top of stacked QuiQs. An improvement over my previous setup even without the Arduino. Pictures someday soon, waiting for parts...
Logged
2016 Zero FX, 2014 KTM 1190

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #50 on: August 13, 2017, 12:29:56 PM »

I installed the WeMo app but I can't get to the settings without a device. ...

I got one. Max standby watts is 99.  So WEMO auto-standby isn't useful.


« Last Edit: August 19, 2017, 01:44:51 AM by togo »
Logged
our knowledge about Zeros collects here: https://zeromanual.com/

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #51 on: August 18, 2017, 06:57:11 PM »

Finally got my parts and finished wiring the package. Still need to finalize the code and documents but the hardware is complete and functioning. A lot of time and effort to design and build but it makes a much neater and more convenient package for my charging needs.  Features are full or partial charging at four rates; charge packs on bike or off bike; simplified AC hookup; keyless delayed charging start; optional laptop connection to change program or monitor; charge two packs simultaneous off bike at low rate; control pack discharge to inverter, heat, and lights; connect to 15amp, 20amp, 15+20amp, 30amp, 50 amp, and J1772 AC service. Design is specialized for my four pack FX off road rural useage, but is easily adapted to any charger and bike combination.
Logged
2016 Zero FX, 2014 KTM 1190

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #52 on: August 19, 2017, 01:36:09 AM »

Awesome, really professional.

What box did you use for the arduino and dial?
Logged
our knowledge about Zeros collects here: https://zeromanual.com/

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #53 on: August 19, 2017, 02:01:04 AM »

I installed the WeMo app but I can't get to the settings without a device. ...

I got one. Max standby watts is 99.  So WEMO auto-standby isn't useful.

Back to the Wemo concept, there is a Python api available:

http://ouimeaux.readthedocs.io/en/latest/api.html#switches

And yes, it looks like you can read the current load and set the switch, so it should be doable if someone who knows Python has a computer on the same wifi network.

Logged
our knowledge about Zeros collects here: https://zeromanual.com/

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #54 on: August 19, 2017, 02:17:40 AM »

The enclosure is a Hammond 1590FFL, fits on the Quiq's pretty well, had to add a 1" plate on one side to get the length for mounting.

Python is pretty easy, but needs a computer, interpreter install, wifi, and it is a command line interface. Also WeMo is only 15amps. It would probably work for onboard charger control but would not be very convenient to use. Start charging manually, then run the python on the wifi networked computer. The python code itself would be extremely simple, just shut off when a current threshold is reached. Enter a stopping current value on the command line when running.
Logged
2016 Zero FX, 2014 KTM 1190

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #55 on: August 19, 2017, 02:36:47 AM »

This looks interesting, javascript would be easier to use than python. https://github.com/timonreinhard/wemo-client/blob/master/examples/insight.js
Logged
2016 Zero FX, 2014 KTM 1190

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #56 on: August 19, 2017, 08:35:59 AM »

Updated schematic to match hardware.
Logged
2016 Zero FX, 2014 KTM 1190

Scope

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: How to stop charging below 100%
« Reply #57 on: August 21, 2017, 12:08:27 AM »

A quick google search finds discussions of setting the threshold, Keith:

'Select "Edit" from the main Devices screen in the App. You can then change the standby threshold to your requirements.'

Scope, what value were you able to set?  Can it be in the hundreds of watts?
I let it auto detect and it came up with 2W. I use it because Zero recommended not leaving it plugged in after a complete charge.


Sent from my iPhone using Tapatalk
Logged

togo

  • It's like flying. But with more traction.
  • Hero Member
  • *****
  • Posts: 1638
    • View Profile
Re: How to stop charging below 100%
« Reply #58 on: August 23, 2017, 11:14:31 PM »

Doesn't help with the issue: How to stop charging below 100%

Logged
our knowledge about Zeros collects here: https://zeromanual.com/

Keith

  • Sr. Member
  • ****
  • Posts: 269
    • View Profile
Re: How to stop charging below 100%
« Reply #59 on: August 24, 2017, 05:14:17 AM »

I'm sure the link I posted above to a javascript WeMo client will allow partial charging control with a really simple web page. I've never use Node before but I just installed it. It's easy and free and all that is needed to support a localhost server for a WeMo Insight switched outlet. The code would simply get the wattage drawn by the charger in a loop and turn the outlet off when it gets above a set wattage level that occurs at the desired charge.

I might write this js code someday when the weather is not so good for riding but I have no good reason to buy a WeMo since my partial charger is working great and handles more amps than the WeMo. From the README file here https://github.com/timonreinhard/wemo-client/blob/master/README.md

getInsightParams(cb)

Get power consumption data for a Wemo Insight Switch

Callback cb cb(err, binaryState, instantPower, data)

This took about 5 minutes to get installed and working https://nodejs.org/en/docs/guides/getting-started-guide/
« Last Edit: August 24, 2017, 05:20:19 AM by Keith »
Logged
2016 Zero FX, 2014 KTM 1190
Pages: 1 2 3 [4] 5