1.2.1 • Published 1 year ago

iobroker.sonnen-charger v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Logo

ioBroker.sonnen-charger

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

sonnen-charger adapter for ioBroker

This adpater integrates your sonnenCharger into ioBroker
Additional information about sonnenCharger can be found on vendors webpage.

Configuration

After you have created an instance of the apdater you have to configure several parameters:

Parameter NameDescriptionDefault
IP-AddressIP-Address of the sonnenCharger-
PortPort of Modbus-Interface of the sonnenCharger502
Request intervalInterval for fetching data in seconds (ValueRage 30 - 3600)30
Allow write access to sonnenChargerEXPERIMENTAL be carefull when writing data into sonnenChargerfalse

Usage

Channel: info

IdDescriptionDatatypeUnitRead/WriteAddition Information
connectionDevice or service connectedboolean-R-

Channel: chargerSettings

IdDescriptionDatatypeUnitRead/WriteAddition Information
serialNumberSerial numberstringR
modelModelstringR
hwVersionHardware versionstringR
swVersionSoftware versionstringR
numberOfConnectorsNumber of connectorsintegerR

Channel: chargerSettings.connector.\<number>

IdDescriptionDatatypeUnitRead/WriteAddition Information
connectorTypeConnector typestringR
numberOfPhasesNumber phasesintegerR
l1ConnectedToPhaseL1 connected to phaseintegerR
l2ConnectedToPhaseL2 connected to phaseintegerR
l3ConnectedToPhaseL3 connected to phaseintegerR
customMaxCurrentCustom max currentfloatAR

Channel: measurements.\<number>

IdDescriptionDatatypeUnitRead/WriteAddition Information
connectorStatusConnnector status idintegerR
connectorStatusLabelConnnector status labelstringR0 : Unknown 1 : SocketAvailable 2 : WaitingForVehicleToBeConnected 3 : WaitingForVehicleToStart 4 : Charging 5 : ChargingPausedByEv 6 : ChargingPausedByEvse 7 : ChargingEnded 8 : ChargingFault 9 : UnpausingCharging 10 : Unavailable
measuredVehicleNumberOfPhasesMeasured vehicle number of phases idintegerR
measuredVehicleNumberOfPhasesLabelMeasured vehicle number of phases labelstringR
evMaxPhaseCurrentEV max phase currentfloatAR
targetCurrentFromPowerMgmTarget current from power mgm or modbusfloatAR
frequencyFrequencyfloatHzR
voltageL1L-N voltage (L1)floatVR
voltageL2L-N voltage (L2)floatVR
voltageL3L-N voltage (L3)floatVR
currentL1Curent (L1)floatAR
currentL2Curent (L2)floatAR
currentL3Curent (L3)floatAR
activePowerL1Active power (L1)floatkWR
activePowerL2Active power (L2)floatkWR
activePowerL3Active power (L3)floatkWR
activePowerTotalActive power (total)floatkWR
powerFactorPower factorfloatR
totalImportedActiveEnergyInRunningSessionTotal imported active energy in running sessionfloatkWhR
runningSessionDurationRunning session durationnumbersecondsR
runningSessionDepartureTimeRunning session departure timenumbersecondsRUnix time (seconds since 1970-01-01 00:00:00 UTC)
runningSessionDepartureTimeISORunning session departure time in ISO UTC formatstringR
runningSessionIDRunning session IDintegerRIn the case that charger is communicating with central system, this is a transactionId provided by central system over OCPP
evMaxPowerEV max powerfloatkWRMax power detected in the currently running charging session
evPlannedEnergyEV planned energyfloatkWhRTotal amount of energy that is planned to be delivered for currently running charging session

Channel: commands

IdDescriptionDatatypeUnitRead/WriteAddition Information
restartRestart sonnen-chargerbuttonW
setTimeSet time UTC"integersecondsWUnix time (seconds since 1970-01-01 00:00:00 UTC)

Channel: commands.connectors\<number>

IdDescriptionDatatypeUnitRead/WriteAddition Information
stopChargingStop chargingbuttonW
pauseChargingPause chargingbuttonW
setDepartureTimeSet departure timeintegersecondsW
setCurrentSetpointSet current setpointfloatAW
cancelCurrentSetpointCancel current setpointbuttonW
setPowerSetpointSet power setpointfloatkWW
cancelPowerSetpointCancel power setpointbuttonW

Changelog

1.2.1 (2024-05-30)

  • (ChrisWbb) fix findings of adapter checker

1.2.0 (2024-05-30)

  • (ChrisWbb) update dependancy versions
  • (ChrisWbb) fix finding of adapter checker
  • (ChrisWbb) adjust state roles
  • (ChrisWbb) new version of @types/node
  • (ChrisWbb) tests for node 20.x

1.1.1 (2023-03-30)

  • (ChrisWbb) fixed release problem

1.1.0 (2023-03-30)

  • (ChrisWbb) write access to holding register
  • (ChrisWbb) refactoring async calls
  • (ChrisWbb) smaller changes based on suggestions from review
  • (ChrisWbb) update readme

1.0.2 (2023-02-18)

  • (ChrisWbb) fix ESLint findings

1.0.1 (2023-02-18)

  • (ChrisWbb) preparation for release
  • (ChrisWbb) small fixes from adapter check

1.0.0 (2023-01-02)

  • (ChrisWbb) initial version

License

MIT License

Copyright (c) 2024 ChrisWbb development@chrweber.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.2.0

1 year ago

1.2.1

1 year ago

1.1.0

2 years ago

1.1.1

2 years ago

1.0.2

2 years ago