This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Fronius inverter JSON integration
#35
Daniel,

14. 4-byte floating point in HL Objects, but manual states that they are int16 and some acc32?

I'm trying like this now in the script:

Code:
grp.update('34/0/1', (data.Current_AC_Sum) ,dt.float16)                        -- Totaal vermogen (A)
grp.update('33/0/2', (data.Current_AC_Phase_1) ,dt.float16)                    -- Stroom L1 (A)
grp.update('33/0/3', (data.Current_AC_Phase_2) ,dt.float16)                    -- Stroom L2 (A)
grp.update('33/0/4', (data.Current_AC_Phase_3) ,dt.float16)                    -- Stroom L3 (A)
grp.update('34/0/5', (data.Voltage_AC_PhaseToPhase_12) ,dt.float32)                            -- Spanning L1-L2 (V)
grp.update('33/0/6', (data.Voltage_AC_PhaseToPhase_23) ,dt.float32)                        -- Spanning L2-L3 (V)
grp.update('33/0/7', (data.Voltage_AC_PhaseToPhase_31) ,dt.float32)                        -- Spanning L3-L1 (V)
grp.update('34/0/8', (data.Voltage_AC_Phase_1) ,dt.float32)                    -- Spanning L1-N (V)
grp.update('33/0/9', (data.Voltage_AC_Phase_2) ,dt.float32)                    -- Spanning L2-N (V)
grp.update('33/0/10', (data.Voltage_AC_Phase_3) ,dt.float32)                    -- Spanning L3-N (V)


and in HL Objects:

group 1-4: 2 byte floating point
group 5-10: 4 byte floating point.

This gives the correct values in HL, but still no auto update of those groups.
Novice DIY with a HL and KNX basics trying to ...
Reply


Messages In This Thread
RE: Fronius inverter JSON integration - by Firechief - 23.04.2021, 12:54

Forum Jump: