homebridge-solaredge-inverter SolarEdge Inverter p

我要开发同款
匿名用户2021年12月10日
27阅读
开发技术JavaScript
所属分类其他开源、物联网
授权协议MIT License

作品详情

homebridge-solaredge-inverter

ASolarEdgeInverterpluginforHomebridge.ThiscreatesaasetofLightSensorsinhomekit,wheretheLUXreadingisactuallythepowergenerationinKiloWatts.Thereisalsoanoptiontodisplaybatterylevelifapplicable.

ThiscodeisheavilybasedontheworkofStog'shomebridge-fronius-inverteraccessory.

Installation

Runthesecommands:

%sudonpminstall-ghomebridge%sudonpminstall-ghomebridge-solaredge-inverter

NB:Ifyouinstallhomebridgelikethis:

sudonpminstall-g--unsafe-permhomebridge

Thenallsubsequentinstallationsmustbelikethis:

sudonpminstall-g--unsafe-permhomebridge-solaredge-inverterConfiguration

Exampleaccessoryconfig(needstobeaddedtothehomebridgeconfig.json):...

"accessories":[{"name":"SolarEdgeInverter","manufacturer":"SolarEdge","model":"SE10000H-US000BNU4","serial":"myserialno","site_id":"mysiteid","api_key":"longapikey","update_interval":15,"accessory":"SolarEdgeInverter","current":true,"currentWatts":true,"last_day":false,"last_month":false,"last_year":false,"life_time":true"battery":true"debug":false}]

...

ConfigExplanation:FieldDescriptionaccessory(required)Mustalwaysbe"SolarEdgeInverter".name(required)Thenameyouwanttouseforforthepowerlevelwidget.site_id(required)TheSiteIDforyourSolarEdgeinstallation.api_key(required)TheAPIKeyfortheadministrationofyourSolarEdgesite.manufacturer(optional)ThisshowsupinthehomekitaccessoryCharacteristics.model(optional)ThisshowsupinthehomekitaccessoryCharacteristics.serial(optional)ThisshowsupinthehomekitaccessoryCharacteristics.update_interval(optional)ThefrequencytopolltheSolarEdgeAPIinminutes(defaultsto15).debug(optional)Enablesadditionallogging.current(required)Displaycurrentpower(kW).currentWatts(optional)DisplaycurrentpowerinWvs.kW.last_day(required)DisplayLastDaypower(kW).last_month(required)DisplayLastMonthpower(kW).last_year(required)DisplayLastYearpower(kW).life_time(required)DisplayLifeTimepower(kW).battery(required)DisplayBatteryLevel(%).
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论