nobl / ioBroker.senec

ioBroker adapter for Senec Home
Other
27 stars 7 forks source link
iobroker iobroker-adapter photovoltaics senec

Logo

ioBroker.senec

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Known Vulnerabilities

NPM

Tests: Test and Release

senec adapter for ioBroker

Dokumentation DE
Documentation EN

Initially targeted at the Senec Home V2.1 System. In the Senec.Home system, only selected values can be changed by the adapter. Use of this functionality is at your own risk and must be activated manually in the configuration beforehand. Senec currently also no longer provides a reliable way to influence peak shaving via the web interface. For this purpose, mein-senec.de must be used. Whether other systems (e.g. V3) also work with it depends on whether they are also based on lala.cgi and provide the same JSON information. Even with integration into the Senec.Clound it is not guaranteed that the data can still be retrieved via the web interface (for this please report your experiences).

Systems that might work:

SENEC Systems that don't provide a local webinterface might be monitored by using the API functionality only. Please contact the developer if you have any input on this.

Disclaimer

All product and company names or logos are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them or any associated subsidiaries! This personal project is maintained in spare time and has no business goal.

Installation

You can install the adapter via the ioBroker web interface.

  1. Open your ioBroker web interface in a browser (eg: 192.168.178.42:8081)
  2. Click on Tab "Adapters"
  3. Type "senec" in the filter
  4. Click on the "+" symbol of the senec adapter

Setup

In addition to the adapter installation you have to add an instance of the adapter.

ioBroker

  1. Open your ioBroker interface in a browser (eg: 192.168.178.42:8081) (if configuration dialogue was opened automatically after installation, skip to 4.).
  2. Navigate to Tab "Instances"
  3. Click on the wrench symbol of the senec adapter
  4. Now you can see the main settings of the adapter configuration page.
    Main Settings 4.1 Type in the IP-address of your SENEC system (FQDN is also possible if you have a working local DNS).
    4.2 You can change the polling interval, too. (Default: 10 seconds for high priority data, 60 minutes for low priority data)
    Warning! If you are polling too often, your SENEC system will not be able to connect to the SENEC servers anymore! So please be aware of this!
    4.3 If your network requires a higher timeout for requests sent to SENEC, please change the Request-Timeout in miliseconds accordingly. (Default: 5000 miliseconds)
    4.4 In case there is an issue communicating with SENEC the adapter will retry several times. You can adjust how often it will try to read from SENEC. (Default: 10)
    4.5 To space retries apart a bit more you can adjust the Polling Retry Factor. (Default: 2)
    Example: Using default settings the 1st retry will happen 20 seconds after the initial try, the 2nd will happen 40 seconds after the 2nd try.
    After each successful connect to SENEC, the number of retries is reset.
  5. Click on Save & Close

Usage

Here you can find a description of the states (list is incomplete) and how to use them. All states of this adapter are read-only states.

Example States (States differ per System and Version)

Channel: info

Channel: _api

This channel contains values polled from SENEC App-API.

Channel: BMS

Channel: ENERGY

Channel: SYS_UPDATE

Channel: WIZARD

Deprecated / Removed

Changelog

1.6.14

1.6.13 (NoBl)

1.6.12 (NoBl)

1.6.11 (NoBl)

1.6.10 (NoBl)

1.6.9 (NoBl)

1.6.8 (NoBl)

1.6.7 (NoBl)

1.6.6 (NoBl)

1.6.5 (NoBl)

1.6.4 (NoBl)

1.6.3 (NoBl)

1.6.2 (NoBl)

1.6.1 (NoBl)

1.6.0 (NoBl)

Former Updates

License

MIT License

Copyright (c) 2024 Norbert Bluemle github@bluemle.org

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.