epoplavskis / pyit600

MIT License
18 stars 19 forks source link

Support for ecm600 #27

Open bse4792 opened 3 years ago

bse4792 commented 3 years ago

Hi I have to show gratitude for your work in getting salus to ha

I have a ecm600 that measures the power usage via clamps on ingoing line.

Hoping you can include this into your portfolio.

Kindly bse4792

bse4792 commented 1 year ago

i run you script and filtered out what i think you need, if more is needed please ask

{"DeviceType":100,"DeviceSubType":9,"getModelIdentifierFlag_i":1,"UnquieID":"001e5e09021293d4","AttributeList":"00010010000300110033003400370005000700080006001b001600170018000b","ModelIdentifier_i":"ECM600","ClusterIDList_i":"000000010003001507020b05fc01fc02fc03000a0019#","DeviceEndpointNum_i":4},"sZDO":{"FirmwareVersion":"09160525","MACAddress":"001e5e09021293d4","ShortID_d":18824,"ProtocalType_i":2,"DeviceName":"{\"deviceName\":\"Strømmåler\",\"ShortID_d\":18824}","LeaveNetwork":0,"LeaveRequest_d":0,"JoinConfigVersion_i":"220119"},"sGenSche":{"UpdateGenScheStatus":0},"sBasicS":{"ManufactureName":"Computime Inc","ApplicationVersion_d":22,"ModelIdentifier":"ECM600","PowerSource":3,"HardwareVersion":"191"},"sEndpt":{"DeviceType":9,"Endpoint_i":1},"sZDOInfo":{"OnlineStatus_i":1,"GatewayNodeDSN_i":"VR00ZN000089491","ConfigureReportResponse":"0702010000000000000004","JoinConfigEnd":1,"AppData_c":"{\"ClampsUsed\":[{\"clamp\":1,\"name\":\"3 faset strøm ind\",\"phase\":3},{\"clamp\":2,\"name\":\"clamp2\",\"phase\":3},{\"clamp\":3,\"name\":\"clamp3\",\"phase\":3},{\"clamp\":4,\"name\":\"clamp4\",\"phase\":0}]}"},"sPowerS":{"BatteryVoltage_x10":51,"BatteryVolThreshold_x10_d":40,"BatteryVolThreshold3_x10_d":52,"BatteryVolThreshold2_x10_d":46,"ErrorPowerSLowBattery":0,"ErrorBatteryAlarmState_d":0,"BatteryAlarmMask_d":0,"BatteryVolThreshold1_x10_d":42,"BatteryRemaining":200,"MainsVoltage_x10":2200},"sMeterS":{"Multiplier":1,"Divisor":10000}},{"data":{"DeviceType":100,"Endpoint":9,"UniID":"001e5e090219b57d"},"sOTA":{"OTAStatus_d":0},"DeviceL":