send power consumption data to UDP #1777
goeran03
started this conversation in
MEPLHAA Scripts
Replies: 4 comments 8 replies
-
"c":"v=#HAA@0002" |
Beta Was this translation helpful? Give feedback.
5 replies
-
Try BETA version: https://github.com/RavenSystem/haabeta |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi José
Now it works. Great. Thanks a lot.
What do you think about having a substitution not only for sensor values but for a device identifier as well. Something like the MAC-address or DNS-name or some like this.
This would help to separate incoming data on the receiver’s side and using same UDP-port.
Göran
Von: José Antonio Jiménez Campos ***@***.***>
Gesendet: Dienstag, 8. März 2022 12:58
An: RavenSystem/esp-homekit-devices ***@***.***>
Cc: goeransaenger ***@***.***>; Author ***@***.***>
Betreff: Re: [RavenSystem/esp-homekit-devices] send power consumption data to UDP (Discussion #1777)
Update to beta 5.
—
Reply to this email directly, view it on GitHub <#1777 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMVWWD3TPNAS3Y76RNBGQ3DU646EJANCNFSM5QCXQ47Q> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
What I mean is in case I have a lot of smart plugs for instance. So I could load the same JSON to each of them and they would send an unique identifier.
Von: José Antonio Jiménez Campos ***@***.***>
Gesendet: Dienstag, 8. März 2022 17:57
An: RavenSystem/esp-homekit-devices ***@***.***>
Cc: goeransaenger ***@***.***>; Author ***@***.***>
Betreff: Re: [RavenSystem/esp-homekit-devices] send power consumption data to UDP (Discussion #1777)
You can write what you want in content. If you want ro write any kind of ID, you can.
—
Reply to this email directly, view it on GitHub <#1777 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMVWWD4MZIMQXJKZ4PY2P63U66BGXANCNFSM5QCXQ47Q> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried to change my working Gosund JSON configuration as follows (see bold addon):
{
"c":{"l":2,"b":[{"g":13,"t":5}]},
"a":[
{
"t":2,
"0":{"r":[{"g":15},{"g":0,"v":1}]},
"1":{"r":[{"g":15,"v":1},{"g":0}]},
"b":[{"g":13}],
"es":[{
"t":75,
"dt":[5,4,12],
"vf":0.13334,
"cf":0.01295,
"pf":1.5312,
"y0":[{"v":245,"0":{"m":[[1]]}}],
"y1":[{"v":15,"0":{"m":[[1]]}}],
"y2":[{
"v":0,
"r":1,
"0":{"h":[{"h":"192.168.179.12","p":56333,"m":13,"c":"v=#HAA@0000"}]}
}]
}]
}
]
}
with less success. How can I display the power consumption values in the UDP string?
I just get the same string in the message with no value replacement.
Beta Was this translation helpful? Give feedback.
All reactions