Skip to content

Latest commit

 

History

119 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module Kinetic Ltd

An electric-vehicle charging station reported a fault. Before the company that runs it writes "cleared," seven questions have to pass. One no, and nothing is saved.

The station is the pedestal or wall box a car plugs into at a lot, a depot, or a public site. It is not a phone charger, and it is not the cord in a home garage.

Copyright 2026 DIGITAL CURRENSY INC / Module Kinetic Ltd. Apache-2.0.

Who it is for

The company that operates those stations, and the utility that has to take their power. Not the driver.

What you do

  1. A fault comes in from the station.
  2. Seven checks run, in order.
  3. You get one record for that period, or a refusal that says which question failed.

Sending the same fault twice does not create a second record.

The seven checks

Name In plain words It refuses when
Bayline Was this a real fault? The message is the old charger protocol, or it is only a status update
Loadclear Is this charger allowed back on? There is no repair job, or someone tries to turn it on while it is locked
Cabinetfield Was the cabinet measured? The fault is serious and there is no calibration for that time
Unitcommit Do the power numbers add up? The power does not match
Phasepin Is the clock good enough? The only clock is GPS, or the clock error is too large
Fiberlock Is the line clean enough? The line has too many errors
Photonseal Is the record signed? There is no signing key

The signing key is not saved in the record.

What this is not

It does not run the charger. It does not sell carbon credits. It does not make a coin or a token.

How to run the tests

GitHub will not open the operator screen. This repository is the checks.

python -m pip install pytest
PYTHONPATH=. python -m pytest

Do not put a database password or a signing key in the repository. If no database is set, a live save writes nothing.

The seven parts

Each check lives in its own repository. They stay separate.

Part What it checks Repository
Bayline The fault message bayline
Loadclear Whether the charger can be used loadclear
Cabinetfield The cabinet measurement cabinetfield
Unitcommit The power numbers unitcommit
Phasepin The clock phasepin
Fiberlock The line fiberlock
Photonseal The signature photonseal

License

You can use this code, change it, and sell a product built with it. You have to keep the copyright line and the license with any copy. See LICENSE. The names Digital Currensy and Module Kinetic are not part of that permission.

About

For the company that runs electric-vehicle charging stations, and the utility that takes their power. A station reports a fault. Seven questions have to pass before anyone writes "cleared." One no, and nothing is saved. Not for the driver.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages