Closed twachti closed 11 months ago
I guess you tested and it didn‘t work?
Von: twachti @.> Gesendet: Saturday, December 2, 2023 1:06:33 PM An: henne49/dbus-opendtu @.> Cc: Subscribed @.***> Betreff: [henne49/dbus-opendtu] Question: Integration of APSystems EZ1-M (Issue #128)
I am trying to integrate an APSystems EZ1-M at the template section and i have to set a different port (8050). ist i possible to add the port an the end of the host address? (host=x.x.x.x:8050)
Device you are using Steps to reproduce the behavior:
The data output of EZ1-M looks like this:
http://192.168.x.x:8050/getOutputData
{ "data": { "p1": 16, "e1": 0.04427, "te1": 73.22394, "p2": 32, "e2": 0.0842, "te2": 95.60328 }, "message": "SUCCESS", "deviceId": "E07000000000" }
— Reply to this email directly, view it on GitHubhttps://github.com/henne49/dbus-opendtu/issues/128, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABDSINTM2ZOD5AKZZTBJP3TYHMKUTAVCNFSM6AAAAABAD6Y5IKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDEMBRGQ4DIOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I tried to implement the EZ1-M via template, but i think my skills are the problem.
the config file: ` [DEFAULT]
SignOfLifeLog= 1
NumberOfTemplates=0
DTU=template
useYieldDay=0
ESP8266PollingIntervall=1000
Logging=DEBUG
MaxAgeTsLastSuccess=600
DryRun=0
Host=192.168.x.x:8050
HTTPTimeout=1.2
Username = Password =
################## TEMPLATES #####################
[TEMPLATE0]
Username = Password = DigestAuth = False Host= 192.168.x.x:8050 CUST_SN = E00000000 CUST_API_PATH= getOutputData CUST_POLLING = 1000 CUST_Total= data/te1 CUST_Total_Mult = 1 CUST_Power= data/p1 CUST_Power_Mult = 1 CUST_Voltage= none CUST_Current= none Phase=L2 DeviceInstance=47 AcPosition=0 Name= APSystemsEZ1-M_PV1 Servicename=com.victronenergy.grid
[TEMPLATE1]
Username = Password = DigestAuth = False Host= 192.168.x.x:8050 CUST_SN = E00000000 CUST_API_PATH= getOutputData CUST_POLLING = 1000 CUST_Total= data/te2 CUST_Total_Mult = 1 CUST_Power= data/p2 CUST_Power_Mult = 1 CUST_Voltage= none CUST_Current= none Phase=L2 DeviceInstance=48 AcPosition=0 Name= APSystemsEZ1-M_PV2 Servicename=com.victronenergy.genset `
The current.log only shows
2023-12-02 14:21:15,122 root DEBUG is_data_up2date: inverter #0: age_seconds=21350128, max_age_ts=600 2023-12-02 14:21:15,126 root DEBUG is_data_up2date: inverter #0: age_seconds=10, max_age_ts=600 2023-12-02 14:21:15,127 root DEBUG tests have passed 2023-12-02 14:21:15,129 root INFO Start 2023-12-02 14:21:15,138 root INFO Connected to dbus, and switching over to gobject.MainLoop() (= event based)
I will try to connect a Shelly Plus 1pm instead of EZ1-M to learn and debug und give the EZ1 another try if the Shelly is working...
you have to set NumberOfTemplates=1 and please next time upload the config.ini as file github is mixing the comment with markup formating
My mistake was that I didn't set NumbersOfTemplates. Thanks a lot!
Well, nice, that it works now
I am trying to integrate an APSystems EZ1-M at the template section and i have to set a different port (8050). Is it possible to add the port an the end of the host address? (host=x.x.x.x:8050)
Device you are using Steps to reproduce the behavior:
The data output of EZ1-M looks like this:
http://192.168.x.x:8050/getOutputData
{ "data": { "p1": 16, "e1": 0.04427, "te1": 73.22394, "p2": 32, "e2": 0.0842, "te2": 95.60328 }, "message": "SUCCESS", "deviceId": "E07000000000" }