This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
If you like it, please consider a donation:
Interface to SMA SunnyPortal via SunnyHomeManager and SEMP
Add your devices from ioBroker in SunnyPortal. SunnyPortal can then better estimate your energy consumption and thus make better predictions and recommendations. But you can also have your devices controlled by SunnyPortal. If there is enough solar energy, the SunnyPortal can switch your devices on or, if there is not enough solar energy, switch them off again. In this way you optimize your own consumption, but you are not dependent on the few devices supported in SunnyPortal. With the adapter, any device from the ioBroker can be integrated into the SunnyPortal. It is not even necessary for the consumption of a single device to be measured. Even estimated values are sufficient.
see docu
For details about protocol and usage check SMA docu.
An description about general usage of energy requests see SMA docu. (german only)
- add devices from ioBroker in SunnyPortal via SMA SEMP
- informs the SunnyPortal about the current consumption
- let SunnyPortal control these devices (switch on when there is enough PV power and switch off when there is not enough solar energy)
- please create issues at github if you find bugs or whish new features
- (René) update dependencies
- (René) issue #317: test with nodejs@22
- (René) see issue #314: bug fix to use [email protected]
- (René) update dependencies
- (René) bug fixes based on adapter checker recommendation
- (René) see issue #250: no Power to be send for devices without measurement in off-status
- (René) change of dependencies
- (René) wallbox: check and log wrong value for Wallbox3phaseSwitchDelay only if enabled
- (René) wallbox: unnecessary warn messages deactivated
- (René) dependencies updated
- (René) bug fix in create timeframes
- (René) minor bug fix
- (René) bug fix: see issue #206 - wallbox OID's selectable
- (René) bug fix: see issue #207 - wallbox maximum charge time adjustable
- (René) see issue #208: timeframe can be disabled by user (optionally)
- (René) bug fix: wallbox counter and status are not handled
- (René) dependencies updated
- (René) dependencies updated
- (René) fix exceptions reported by sentry
- (René) some bug fixes based on changes in 1.3.11
- (René) see issue #30: more OID's can be used with URL for wallbox
- (René) option to set recommnended current instead of power (useful for go-e)
- (René) bug fix: removed missing Start() call in wallbox (avoid exception)
- (René) see issue #30: URL can be used to set recommended power to wallbox (attention: still only power, not current as needed for go-e)
- (René) see issue #30: bug fix URL as string to be used
- (René) see issue #30: URL can now be used directly to get status of wallbox (JSON only)
- (René) see issue #30: bug fix for type based status check of wallboxes
- (René) see issue #81: smaller bug fixes
- (René) see issue #81: wallbox three phase enabler by URL
- (René) see issue #81: wallbox three phase switch time configurable (default 3 minutes)
- (René) see issue #74: check max power consumption added
- (René) dependencies updated
- (René) dependencies updated
- (René) bug fix: sentry reported exceptions fixed
- (René) bug fix: exception in wallbox interface fixed
- (René) see #17: additional checks for BaseID
- (René) check BaseId of every DeviceId when adapter starts
- (René) bug fix csv-logging: create file if not exist and complete filename is provided, was working with path name only before
- (René) additional debug: show last timeframe sent to SHM as datapoint for every timeframe
- (René) device off at end of maximum running time and latest end overworked; option "Switch Off At End Of Timer" removed
- (René) issue #30: URL as another option for configuring the wallboy interface
- (René) dependencies updated
- (René) fast charge is now a boolean and can be enabled/disabled
- (René) wallbox charge time can be defined as 12h, 24h, endles or userdefined
- (René) bug fix: avoid exception when no switch is defined for wallbox
- (René) limit to switch between 1phase and 3phase charging of wallbox is adjustable now
- (René) allow one minute disconnected before state change. Sometimes when wallbox switches from 1phase to 3phase it sends "disconnected", but cable is still connected
- (René) redesign wallbox feature
- (René) add status ExcessEnergy in timeframes to show when excess energy is used
- (René) bug fix for "cannot read data undefined" when new device was created
- (René) issue #27: wallbox fast charging added
- (René) wallbox: some bug fixes
- (René) wallboxes: bug fix MinEnergy set to 0
- (René) wallboxes: add switch to enable 3phase charge
- (René) wallboxes: some bug fixes
- (René) wallboxes: see issue #23: wallbox OID can be configured (DP type and set or check value)
- (René) wallboxes: minimum and maximum energy for charging is adjustable by datapoint, default: battery capacity (10% and 100%)
- (René) see issue #24: delete csv logs if older then three days
- (René) MinPowerConsumption added
- (René) see issue #20: support of wallboxes
- (René) see issue #15: support of more then one time periods for energy requests
- (René) some bug fixes (0.0.3)
- (René) threshold for status detection with timer
- (René) csv logger for data to be sent to SHM (for debugging)
- (René) see issue #14: cancel request if device does not turn on
- (René) bug fix issue #19: turn off device at the end of maximum operation time
- (René) initial release
MIT License
Copyright (c) 2022-2024 René G. [email protected]
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.