cryptk / python-omnilogic-local

Python Omnilogic Library for local access
Apache License 2.0
3 stars 0 forks source link

Error adding omnilogic instance #46

Closed d-bone closed 2 months ago

d-bone commented 2 months ago

Home Assistant Log:

Unexpected error fetching Omnilogic data: syntax error: line 1, column 0 3:46:08 PM – (ERROR) Hayward Omnilogic - message first occurred at 12:28:20 PM and shows up 49 times Unexpected exception: Failed to parse Telemetry: 6 validation errors for Telemetry Chlorinator -> 0 -> @enable field required (type=value_error.missing) ColorLogic-Light -> 0 -> @specialEffect field required (type=value_error.missing) VirtualHeater -> 0 -> @SolarSetPoint field required (type=value_error.missing) VirtualHeater -> 0 -> @Mode field required (type=value_error.missing) VirtualHeater -> 0 -> @SilentMode field required (type=value_error.missing) VirtualHeater -> 0 -> @whyHeaterIsOn field required (type=value_error.missing) 3:45:30 PM – (ERROR) OmniLogic Local (custom integration) - message first occurred at May 7, 2024 at 11:17:18 AM and shows up 12 times

Here is the tcpdump:

darryl@six:~$ sudo tcpdump -s 0 -A host 192.168.2.42 and udp tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on enp0s31f6, link-type EN10MB (Ethernet), snapshot length 262144 bytes 15:45:30.075941 IP six.39789 > 192.168.2.42.10444: UDP, length 155 E....A@.@..........*.m(.......hv....f:E.1.19........<?xml version='1.0' encoding='utf-8'?>

RequestConfiguration. 15:45:30.079765 IP 192.168.2.42.10444 > six.39789: UDP, length 24 E..4*r@.@......*....(..m. .T..hv....f;..1.14........ 15:45:30.142799 IP 192.168.2.42.10444 > six.39789: UDP, length 401 E...*s@.@..g...*....(..m...... f....f;..1.14........LeadMessage1003394140. 15:45:30.143333 IP six.39789 > 192.168.2.42.10444: UDP, length 138 E....B@.@..........*.m(.... .. f....f:E.1.19........ Ack. 15:45:30.148355 IP 192.168.2.42.10444 > six.39789: UDP, length 1024 E...*t@.@......*....(..m...... h....f;..1.14.......... f....x...kS.J....Y....P.rr..b.%...u>.8...M..D...w....DH.b...t.4.====.z...n....u..y...............u.\_4......a..8..n<.Vc.........x...?..........\0._.{.....fF.....<.....(..o.W.r..............;v_q4c.Y.^.2o..EI\.i......in...v....f..b.g............|"L..2.ea....Q...nZ..]#....P..8.E..O......../[`8...C...kcdv//........p...&.O..:...:4Nxn.... ...q...0...i. .r.w..(V.E"D).....j..m.2..n.B3... .-..M...E.V...\..1_.^..J..h...&...,.Q.....a..:.XQFC0.....p;.(..T.......a.[..A...~.6.....H.{ ......xa:.......e...&......7#.i..L...g.`..........Bj-.^M... ....../K.. ......b/.$I.^......0.0..G.q....rP ..........z..e:`....j/ .l_`.H.......u...i..u+.k..\..T.C.67m.Kj$.......... (........).B.:. 15:45:30.148877 IP six.39789 > 192.168.2.42.10444: UDP, length 138 E....C@.@..........*.m(.... .. h....f:E.1.19........ Ack. 15:45:30.152972 IP 192.168.2.42.10444 > six.39789: UDP, length 1024 E...*u@.@......*....(..m...S.. j....f;..1.14.......... f......o...q'`...a8.f.5t c..'.!...>......HV.U...u.......C.^.$.....x..*N\.-%^...y*...8:..@2(.?,.a.T...3.pk9..p.$4........ZJ..G...b.j.Jj2T.G]....Q%C}....>X...o...N.K........"..-....+T.....0.@..6"..U....R......'dpm0cj..>.hU9}.....=.....L^....l(.q...&.|..6..6.Vp..o..&ZBy...5.kz1.....x1e..6....A....9.....'qP....7-Tx.....O..|.k..)]Q..,]w.(* ...H^.......%..r..k..T..."M..7... ...).BW.;C:.!..d.2.3...L..#..9...}..j...~.Z.4.=.....{. /N.s~*H.....I...|.=z.~.~.cQ. .ie...31.T/.6V...).^...v#.~..DC...|....@.PY...y..(h.t.....j.A.....\.....5 .Y.fSU....k...Z......}m. .<..5....\._.... ..Rk.X...D.jU.sA^.Y...1.b...C..C......~G.o.....Q.p.K..,..Y.*N.W+8.Q..g&.h..... .e&$...+.p...D.3".l /.x..8..)..l.....5F...y............O..l..\...X.[....<.....[....%.NY~....d.../..8o..7X.}b..a...y...~h+.H.T.....^......; ..9....\s..J +..:N...~l!....@t..$,.Uq.%q.^..U.rI\.....Ev.J...z.^Y. B5C9....Q`;....7..:...GRO.. ?....\......0`.L......S}....>....2.F...{}...^[:.........<..6.[.C.I..\&.u)B.!N.?gng..........mT;#G.3..&.....u..,|. 15:45:30.153498 IP six.39789 > 192.168.2.42.10444: UDP, length 138 E....D@.@..........*.m(.... .. j....f:E.1.19........ Ack. 15:45:30.157587 IP 192.168.2.42.10444 > six.39789: UDP, length 1024 E...*v@.@......*....(..m..&c.. l....f;..1.14.......... f.....8........%K.....9..O)..mr./TFA..|K.b'....Sz.:z.4H..|d..v.xP. QH.......V.(.sk..9...D(jZE...%...L.x.m.u.L]....$.....d..<.d.UF=..*sh......ng,...._....!..f..PK.......C.Uyy.+._)w.....j...`..C..K "......#4.V_..*.....CYJ......!... .........)..&.......$.........g.iu.....,`{G..@.(..&q*..].w^.'..Wf.?>..4..8.;:...tZU~bPc.z..I....]..I.....Da.~....R..1"4.,.e.:..>........Z...U..n...8.....5s.".J.VO............aGn,..C1@..C.2.t5FNv.A.~.G..E,....|.@8......Y.5..%...4......t.}.gj.;=....h..F..(..N...Gm../.h{...s.:y...<..'.<....OAe}.H ..U.l.L...W.Nr....?<..;,..;_..L.j..S'.r......./.........\. .#.....3X.6 |....b...o.M.n._..-.......]...(..6.&..LJq..W4.`QLJ..V..h.=*.o..M.A=.Z..g;..0[..9.AE.i..........m.C.COI0..q..Bj............z.. j....P...+x..HT.......;%...{L.wK.;2....nIz.:..K.....w....K.{.:S.l...J..{.....R......2]...c..[k..wn.......z/..g+...!.....]o......D.+.5...?}.EO4........(..0$......`..!.GJU..t7....C'..Q.4..s..v......0i .W\..T..!9&..CT..v..... ........J? ...UXT....>..2.....]XTE%..%...)%.~.".T.. 15:45:30.158104 IP six.39789 > 192.168.2.42.10444: UDP, length 138 E....E@.@..........*.m(.... .. l....f:E.1.19........ Ack. 15:45:30.161650 IP 192.168.2.42.10444 > six.39789: UDP, length 997 E...*w@.@......*....(..m...... n....f;..1.14.......... f..... {.v..N*.......E%.)*.N.....P...@BW..;.....0......,s....pA......S!.f....-..P..4.....Q..K-........1{|...f4u..\.`..,...(@....^..Y.....>.......\ ...9).. A.+N..A.N..8!|.Lq4.$.eS.U.....*l....,Dr.7..h.M|./.....Vqr.=3N-.O..:%....b...-..eS.....u.$.L{.a.B..8-..9A.....80w.34...;. ..._}_...UP*..C_...v.l...z(..`.K...W".C...qr..j..D)..jF=d...Y.._x.0....Ib.....%.1...U*.v..:E....&.d..~..+c..^.....@....Gt.^:.2.M.s@...nUG.]....H..#...W.}7+p...WP.!...h.......Q.....J.#{.X.mO>.K..7.9.P..X..qu>......o..;~...q8.w.+..qu>.....T...|.........H.wN.....+...U+.....6{R8...]p.............:.Wg..8.w@.}V}....l..j..qu6.....Tg..l.........H.wN.....+...U+.:..g.... .p.....UO......*.:\.9 ....?..~uy....Kk...2.WT..{.../..{5f....\ .....]!.. .nU.v..........N.l....n.lWa.W..].m_W.v..}S=.. .FQU.|w..;m.,.o~P./a..(!.U8......].7a..*!.U.....R.*...|h7..U......^....K.x~./.x.#&d<...a..1.2...,.8W.. ..?h.a..Q.2~U .U....T`...'.i.7.....=....Z ....{e.6B.O..|D;.5z .F3.K..eOz..0.....[.7...$....5'.|`...S.....ZN. 15:45:30.162171 IP six.39789 > 192.168.2.42.10444: UDP, length 138 E....F@.@..........*.m(.... .. n....f:E.1.19........ Ack. 15:45:30.169554 IP six.38221 > 192.168.2.42.10444: UDP, length 155 E.....@.@..$.......*.M(......zN.....f:E.1.19...,.... RequestTelemetryData. 15:45:30.173542 IP 192.168.2.42.10444 > six.38221: UDP, length 24 E..4*x@.@......*....(..M. E..zN.....f;..1.14........ 15:45:30.180259 IP 192.168.2.42.10444 > six.38221: UDP, length 495 E...*y@.@......*....(..M...... p....f;..1.14........x..S]..0.|.WD~O....$.....D.R.../Y..N..Mh.}..h...T$$<.........t*@-T.2..=s..U".4d....b..f.....s4f.l3s....._5....6.?%!#.m......0.. 192.168.2.42.10444: UDP, length 138 E.....@.@..4.......*.M(.... .. p....f:E.1.19........ Ack.
d-bone commented 2 months ago

This issue was fixed by upgrading my Omnilogic firmware to the latest version (I was running 3.X, upgraded to 4.81