homebridge-enphase-envoy

7.11.32 • Public • Published

Homebridge Enphase Envoy

verified-by-homebridge npm npm npm GitHub pull requests GitHub issues

Package Requirements

Package Installation Role Required
Homebridge Homebridge Wiki HomeKit Bridge Required
Config UI X Config UI X Wiki Homebridge Web User Interface Recommended
Enphase Envoy Plug-In Wiki Homebridge Plug-In Required

About The Plugin

  • Support Token authorization from plugin v6.0.0.
  • Envoy password is detected automatically or can be added in config if was already chenged by user.
  • Installer password is generated automatically, no need generate it manually in external generator anymore.
  • Envoy device ID is detected automatically.
  • Support Ensemble Status working only with Envoy Fw. v7.x.x and newer.
  • Support Production Power Mode and PLC Level working only with Envoy Fw. v6.x.x and older.
  • For best experiences and display all data please use Controller or EVE app.
  • Support external integrations, RESTFul, MQTT.
  • Supported devices:
    • Firmware v5.x.x, 6.x.x, v7.x.x, v8.x.x.
    • Envoy Envoy S, IQ Envoy, IQ Load Controller, IQ Combiner.
    • Q-Relays Q-RELAY-1P Q-RELAY-3P.
    • AC Batteries AC Battery Storage.
    • Meters Production, Consumption, Storage.
    • Microinverters M215, M250, IQ6, IQ7, IQ8.
    • Encharges IQ Battery 3, IQ Battery 10, IQ Battery 5P, IQ Battery 3T, IQ Battery 10T,
    • Ensemble/Enpower IQ System Controller, IQ System Controller 2.
    • WirelessKit Communications Kit.
    • Generator
  • Exposed accessory in the native Home app:
    • Lightbulb:
      • Production Power State, Power Level.
      • AC Battery Energy State, Energy Level.
      • Encharge Energy State, Energy Level.
      • Encharge Profile:
        • Self Consumption Activate, Set Reserve.
        • Savings Activate, Set Reserve.
        • Full Backup Activate.
    • Contact Sensors:
      • Production Power State, Power Level, Energy State, Energy Level.
      • Consumption Power State, Power Level, Energy State, Energy Level.
      • Grid Mode:
        • Enpower Grid On, Grid Off, Multimode Grid On, Multimode Grid Off.
        • Encharge Grid On, Grid Off, Multimode Grid On, Multimode Grid Off.
        • Solar Grid On, Grid Off, Multimode Grid On, Multimode Grid Off.

Configuration

  • Run this plugin as a Child Bridge (Highly Recommended), this prevent crash Homebridge if plugin crashes.
  • Install and use Homebridge Config UI X to configure this plugin (Highly Recommended).
  • The sample-config.json can be edited and used manually as an alternative.
  • Be sure to always make a backup copy of your config.json file before making any changes to it.

Key Description
name Here set the accessory Name to be displayed in Homebridge/HomeKit.
host Here set the envoy IP Address or Hostname or leave empty (will be used default path envoy.local)
envoyFirmware7xx This enable support for Envoy Fw. v7.x.x and newer. If for some reason in the log You get validate JWT token error, log-in with stored in /homebridge/enphaseEnvoy/envoyToken_xxxxx token to Envoy from web browser first.
enlightenUser Here set the enlighten user name.
enlightenPasswd Here set the enlighten password.
envoySerialNumber Here set the envoy serial number.
envoyPasswd Here set the envoy password (only if U already changed the default password)
powerProductionSummary Here set the Power Summary in W of all microinverters, based on this value HomeKit app will display power level 0-100 %.
powerProductionStateSensor This enable Power State monitoring for production and expose contact sensor in HomeKit app.
powerProductionStateSensor.name Here set Your own sensor name.
powerProductionStateSensor.mode Here activate the sensor.
powerProductionLevelSensors This enable Power Level monitoring for production and expose contact sensor in HomeKit app.
powerProductionLevelSensors.name Here set Your own sensor name.
powerProductionLevelSensors.powerLevel Here set power level in W at which the sensor fired.
powerProductionLevelSensors.mode Here activate the sensor.
energyProductionStateSensor This enable Energy State monitoring for production and expose contact sensor in HomeKit app.
energyProductionStateSensor.name Here set Your own sensor name.
energyProductionStateSensor.mode Here activate the sensor.
energyProductionLevelSensors This enable Energy Level monitoring for production and expose contact sensor in HomeKit app.
energyProductionLevelSensors.name Here set Your own sensor name.
energyProductionLevelSensors.energyLevel Here set energy level in Wh at which the sensor fired.
energyProductionLevelSensors.mode Here activate the sensor.
energyProductionLifetimeOffset Here set the Energy Offset in Wh for production if nedded +/-.
powerConsumptionTotalStateSensor This enable Power State monitoring for consumption (Total and expose contact sensor in HomeKit app.
powerConsumptionTotalStateSensor.name Here set Your own sensor name.
powerConsumptionTotalStateSensor.mode Here activate the sensor.
powerConsumptionTotalLevelSensors This enable Power Level monitoring for consumption Total and expose contact sensor in HomeKit app.
powerConsumptionTotalLevelSensors.name Here set Your own sensor name.
powerConsumptionTotalLevelSensors.powerLevel Here set power level in W at which the sensor fired.
powerConsumptionTotalLevelSensors.mode Here activate the sensor.
energyConsumptionTotalStateSensor This enable Energy State monitoring for consumption Total and expose contact sensor in HomeKit app.
energyConsumptionTotalStateSensor.name Here set Your own sensor name.
energyConsumptionTotalStateSensor.mode Here activate the sensor.
energyConsumptionTotalLevelSensors This enable Energy Level monitoring for consumption Total and expose contact sensor in HomeKit app.
energyConsumptionTotalLevelSensors.name Here set Your own sensor name.
energyConsumptionTotalLevelSensors.energyLevel Here set energy level in Wh at which the sensor fired.
energyConsumptionTotalLevelSensors.mode Here activate the sensor.
energyConsumptionTotalLifetimeOffset Here set the Energy Offset in Wh for consumption Total if nedded +/-.
powerConsumptionNetStateSensor This enable Power State monitoring for consumption Net and expose contact sensor in HomeKit app.
powerConsumptionNetStateSensor.name Here set Your own sensor name.
powerConsumptionNetStateSensor.mode Here activate the sensor.
powerConsumptionNetLevelSensors This enable Power Level monitoring for consumption Net and expose contact sensor in HomeKit app.
powerConsumptionNetLevelSensors.name Here set Your own sensor name.
powerConsumptionNetLevelSensors.powerLevel Here set power level in W at which the sensor fired.
powerConsumptionNetLevelSensors.mode Here activate the sensor.
energyConsumptionNetStateSensor This enable Energy State monitoring for consumption Net and expose contact sensor in HomeKit app.
energyConsumptionNetStateSensor.name Here set Your own sensor name.
energyConsumptionNetStateSensor.mode Here activate the sensor.
energyConsumptionNetLevelSensors This enable Energy Level monitoring for consumption Net and expose contact sensor in HomeKit app.
energyConsumptionNetLevelSensors.name Here set Your own sensor name.
energyConsumptionNetLevelSensors.energyLevel Here set energy level in Wh at which the sensor fired.
energyConsumptionNetLevelSensors.mode Here activate the sensor.
energyConsumptionNetLifetimeOffset Here set the Energy Offset in Wh for consumption Net if nedded +/-.
enepowerGridModeSensors SensorsEnpower Grid Mode monitoring and expose as a contact sensor in HomeKit app. If Enpower Grid Mode matches, the contact fired.
enepowerGridModeSensors.name Here set Your own sensor name.
enepowerGridModeSensors.gridMode Here select the grid mode Grid On, Grid Off, Multimode Grid On, Multimode Grid Off for sensor.
enepowerGridModeSensors.mode Here activate the sensor.
enchargeGridModeSensors Sensors Encharge Grid Mode monitoring and expose as a contact sensor in HomeKit app. If Encharge Grid Mod matches, the contact fired.
enchargeGridModeSensors.name Here set Your own sensor name.
enchargeGridModeSensors.gridMode Here select the grid mode Grid On, Grid Off, Multimode Grid On, Multimode Grid Off for sensor.
enchargeGridModeSensors.mode Here activate the sensor.
solarGridModeSensors Sensors Solar Grid Mode monitoring and expose as a contact sensors in HomeKit app. If Solar Grid Mode matches, the contact fired.
solarGridModeSensors.name Here set Your own sensor name.
solarGridModeSensors.gridMode Here select the grid mode Grid On, Grid Off, Multimode Grid On, Multimode Grid Off for sensor.
solarGridModeSensors.mode Here activate the sensor.
supportProductionPowerMode If enabled, control Production Power Mode will be possible in Envoy section (EVE or Controler app) (only Fw. v6.x.x and older).
supportPlcLevel If enabled, check PLC Level will be possible (only Fw. v6.x.x and older).
supportEnsembleStatus If enabled, check Ensemble Status will be possible (only Fw. v7.x.x and newer).
supportLiveData If enabled, check Live Data will be possible (only Fw. v7.x.x and newer).
supportEnchargeProfile This enable support to check/control encharge profile.
liveDataRefreshTime Here set Live Data rfresh time in (ms).
metersDataRefreshTime Here set Meters Data rfresh time in (ms).
productionDataRefreshTime Here set Production Data rfresh time in (ms).
ensembleDataRefreshTime Here set Ensemble Data rfresh time in (ms).
enableDebugMode If enabled, deep log will be present in homebridge console.
disableLogInfo If enabled, info log will be hidden, all values and state will not be displayed in Homebridge log console.
disableLogDeviceInfo If enabled, the info device log will be hidden by every plugin restart.
enableRestFul If enabled, RESTful server will start automatically and respond to any path request.
restFulPort Here set the listening Port for RESTful server.
restFulDebug If enabled, deep log will be present in homebridge console for RESTFul server.
enableMqtt If enabled, MQTT Broker will start automatically and publish all awailable PV data.
mqttHost Here set the IP Address or Hostname for MQTT Broker.
mqttPort Here set the Port for MQTT Broker, default 1883.
mqttClientId Here optional set the Client Id of MQTT Broker.
mqttPrefix Here set the Prefix for Topic or leave empty.
mqttAuth If enabled, MQTT Broker will use authorization credentials.
mqttUser Here set the MQTT Broker user.
mqttPasswd Here set the MQTT Broker password.
mqttDebug If enabled, deep log will be present in homebridge console for MQTT.

RESTFul Integration

  • Request: http//homebridge_ip_address:port/path.
  • Path: token, info, home, inventory, meters, metersreading, ensembleinventory, ensemblestatus, gridprofile, livedata, production, productionct, microinverters, powermode, plclevel.
  • Respone as JSON data.

MQTT Integration

Direction Topic Message Payload Data
Publish Token, Info, Home, Inventory, Meters, Meters Reading, Ensemble Inventory, Ensemble Status, Grid Profile, Live Data, Production, Production CT, Microinverters, Power Mode, PCU Comm Level {"wattHoursToday": 2353, "wattsNow": 550} JSON object.
Subscribe Set {"Power": true} JSON object.
Subscribe Key Value Type Description
Envoy
ProductionPowerMode true, false boolean Production power mode, not implemented yet.
EnchargeProfile selfconsumption, savings, fullbackup string Set encharge profile, not implemented yet.

Dependents (0)

Package Sidebar

Install

npm i homebridge-enphase-envoy

Weekly Downloads

192

Version

7.11.32

License

MIT

Unpacked Size

554 kB

Total Files

13

Last publish

Collaborators

  • grzegorz914