1.3.1 - 2.0.x DSM_STATE Removeal #178
-
|
EDIT - DSM State is the sensor the integration will continue to use. Do not rely on DSM Grid State as that is simply an alias for DSM State and could be removed in a future version of the integration. See the final answer for the summary. DSM State Sensor: What Changed and WhySummaryThe What the original sensor wasThe SPAN panel firmware provides two internal DSM fields via its REST API:
The v1 integration exposed both as sensors. The firmware's Rather than ship a misleading reconstruction, we removed it and replaced it with sensors that honestly represent the available data. What replaced it
DSM Grid State uses multiple signals from the panel to determine whether the grid is actually connected: battery grid-state (authoritative when a BESS is Dominant Power Source exposes the raw value that the old DSM State sensor was collapsing into a binary. Instead of losing information, you now see exactly Updating your automations
For solar ownersThe old sensor was especially problematic for solar installations. During peak production, the grid is typically still connected but solar is the dominant With the new sensors:
EDIT - DSM State is the sensor the integration will continue to use. Do not rely on DSM Grid State as that is simply an alias for DSM State and could be removed in a future version of the integration. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
You don't have to remove it it's entirely possible to provide both sensors. I have deterministic systems built on this. Fix the issue. Don't drop the info. |
Beta Was this translation helpful? Give feedback.
-
DSM State SensorThe The eBus MQTT schema does not expose the firmware's internal
For panels without a battery, signals 2-5 provide the determination. For panels with a battery, signal 1 is authoritative. Sensors
|
Beta Was this translation helpful? Give feedback.
-
|
See: spanio/SPAN-API-Client-Docs#8 |
Beta Was this translation helpful? Give feedback.
DSM State Sensor
The
DSM Statesensor (DSM_ON_GRID/DSM_OFF_GRID) is being restored in v2.1 with the same name and values. TheDSM Grid Statesensor from v2.0 will bedeprecated in favor of it.
The eBus MQTT schema does not expose the firmware's internal
dsmStatecomputation. The integration derives grid connectivity from four independent signals inpriority order:
ON_GRIDorOFF_GRIDGRIDDSM_ON_GRIDDSM_ON_GRID