• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

enbility / eebus-go
93%

Build:
DEFAULT BRANCH: dev
Repo Added 05 Dec 2022 04:29PM UTC
Files 105
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH dev
branch: dev
CHANGE BRANCH
x
Reset
  • dev
  • 188-update-controlboxhems-examples-positive_failsafe_limits
  • 188-update-controlboxhems-examples-to-write-negative-appl-values
  • bugfix/remote-uc-removal
  • chore/bump-spine-go-to-prepare-for-releases
  • chore/redundant-nil-checks
  • docs/testspec-coverage-comments
  • feat/ca-cdsf
  • feat/ca-crcsf
  • feat/ca-crct
  • feat/ca-crhsf
  • feat/ca-crht
  • feat/consistent-write-operation-gate
  • feat/hvac-setpoint-features
  • feat/implement-mu-mpc
  • feat/ma-mdsf
  • feat/ma-mdt
  • feat/ma-mrcsf
  • feat/ma-mrhsf
  • feat/mot-usecase
  • feat/mrt-usecase
  • feat/rebased-mu-mpc-mgcp
  • feat/va-vhan
  • feature/binding-handling
  • feature/examples-clarification
  • feature/improve-data
  • feature/improve-disconnect-handling
  • feature/improved-register-handling
  • feature/jsonrpc2
  • feature/minor-maintenance
  • feature/mu-mpc--gcp-mgcp--smartmeter-demo
  • feature/shippairing-integration
  • fix/cs-lpc-lpp-0-duration
  • fix/eg-lpc-electricalconnection-sync
  • fix/eg-lpc-lpp-missing-constraints-setup
  • fix/event-firing-consistency
  • fix/gcp-mgcp-valid-actor-types
  • fix/ignore-usecaseavailable-eg
  • fix/inactive-limit-without-value
  • fix/loadcontrol-phase-parameter-description
  • fix/lpc-lpp-dependencies
  • fix/missing-pointer-nil-checks
  • fix/ohpcf-register-event-handler
  • fix/ohpcf-sequence-id
  • fix/opev-oscev-heartbeat
  • fix/optional-function-not-supported
  • fix/regenerate-mocks
  • fix/report-per-phase-measurements-for-correct-phase
  • fix/use-correct-eg-lpc-lpp-characteristic-types
  • implement-cem-ohpcf
  • implement-gcp-mgcp
  • main
  • ohpcf-msgcounter
  • patch-3
  • patch-5
  • push-zxvruxpyxtuv
  • result-callback-with-message-counter
  • test/lpp-partial-write-parity
  • wip/failsafe-limit-write-approval

31 Jul 2026 02:27PM UTC coverage: 92.806% (-0.001%) from 92.807%
30638645418

push

github

web-flow
fix: ignore useCaseAvailable flag on client (EG) side (#253)

Fixes #252 (TC_SPINE_RTC_003).

## Problem

Per SPINE-TS-UCD-01, a client acting as Energy Guard must **completely
ignore** the `useCaseAvailable` flag received during Use Case discovery.
The shared `UseCaseBase` event handler (`usecases/usecase/events.go`)
instead gated on it and `continue`d past the use case support entry
whenever the remote server sent `useCaseAvailable=false` — so the client
aborted setup and never initiated node management operations. Affects
all use cases routed through `useCaseDataUpdate()` (LPC, LPP, ...) in
the EG role.

## Fix

- Remove the `useCaseAvailable` check from the guard condition.
- Simplify the redundant `ScenarioSupport == nil && len(...) == 0` to
`ScenarioSupport == nil` (`len(nil) == 0` always).
- Replace the stale comment referencing the old behavior.

## Test

Updated `events_test.go`: the EV support entry with
`useCaseAvailable=false` now asserts the use case registers instead of
being dropped. All `usecases/...` suites pass, including `eg/lpc` and
`eg/lpp`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

4 of 4 new or added lines in 1 file covered. (100.0%)

9262 of 9980 relevant lines covered (92.81%)

13.96 hits per line

Relevant lines Covered
Build:
Build:
9980 RELEVANT LINES 9262 COVERED LINES
13.96 HITS PER LINE
Source Files on dev
  • Tree
  • List 105
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30638645418 dev fix: ignore useCaseAvailable flag on client (EG) side (#253) Fixes #252 (TC_SPINE_RTC_003). ## Problem Per SPINE-TS-UCD-01, a client acting as Energy Guard must **completely ignore** the `useCaseAvailable` flag received during Use Case discover... push 31 Jul 2026 02:28PM UTC web-flow github
92.81
29737760360 dev Fix validActorTypes for GCP MGCP use case. (#236) validActorTypes contains the valid remote actors, not which actors are valid locally. push 20 Jul 2026 11:13AM UTC web-flow github
92.81
29737576952 dev Add Monitoring of DHW Temperature (MDT) use case (#226) Adds the `ma/mdt` use case: a Monitoring Appliance reading a DHW circuit's domestic hot water temperature, per the EEBus UC TS *Monitoring of DHW Temperature* v1.0.0 (`monitoringOfDhwTempera... push 20 Jul 2026 11:11AM UTC web-flow github
92.81
28928364001 dev LPC/LPP CS: Fix expected remote Entity types (#235) Fix https://github.com/enbility/eebus-go/issues/234 push 08 Jul 2026 08:23AM UTC web-flow github
92.75
28926767023 dev Add msgCounter to OHPCF result callbacks (#231) Follow-up to #210 as requested in https://github.com/enbility/eebus-go/pull/210#issuecomment-4901842186. #210 added `msgCounter` to the result callback for `WriteLoadControlLimits` (OPEV/OSCEV) and... push 08 Jul 2026 07:55AM UTC web-flow github
91.9
28786253658 dev Register OHPCF event handler in constructor (#230) This PR reopens #228 since that got auto-closed when I merged #223 and I can't reopen it push 06 Jul 2026 10:53AM UTC web-flow github
91.93
28368348842 dev chore: fix EventType comment (#184) Fix typo and remove reference to cem push 29 Jun 2026 11:22AM UTC web-flow github
92.69
28368279500 dev Fix/lpc lpp not able to notify nominal max values (#205) Fixes #173 push 29 Jun 2026 11:21AM UTC web-flow github
92.71
28368155372 dev Add msgCounter to function signature of result callbacks (#210) This simplifies usage of the result callback as you can use the msgCounter in the callback to determine which message the response correlates to and don't need to provide that inform... push 29 Jun 2026 11:18AM UTC web-flow github
93.18
28368036961 dev Implement the MPC and MGCP use case for Monitored Units (#224) This adds an implementation of the MPC use case for Monitored Units. This PR is based on https://github.com/enbility/eebus-go/pull/108, rebased for current dev. push 29 Jun 2026 11:16AM UTC web-flow github
93.18
See All Builds (553)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc