Skip to content

Commit

Permalink
fix meter string access
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 authored Mar 22, 2022
1 parent f2b3f8d commit 84225bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Scripting-Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ SEL:
`sml(m 2)` = reads serial data received by Meter m into string (if m<0 reads hex values, else asci values)(if defined USE_SML_SCRIPT_CMD)
`sml(m 3 hstr)` = inserts SML Hexstring variable hstr as binary to Meter m in Output stream e.g. for special MODBUS cmds, hstr must be a string variable NO string constant (if defined USE_SML_SCRIPT_CMD)
`sml[n]` = get value of SML energy register n (if defined USE_SML_SCRIPT_CMD)
`smlx[m]` = get value of SML meter string info of meter m (if defined USE_SML_SCRIPT_CMD)
`smls[m]` = get value of SML meter string info of meter m (if defined USE_SML_SCRIPT_CMD)
`smlv[n]` = get SML decode valid status of line n (1..N), returns 1 if line decoded. n=0 resets all status codes to zero (if defined USE_SML_SCRIPT_CMD)
`enrg[n]` = get value of energy register n 0=total, 1..3 voltage of phase 1..3, 4..6 current of phase 1..3, 7..9 power of phase 1..3 (if defined USE_ENERGY_SENSOR)
`gjp("host" "path")` = trigger HTTPS JSON page read as used by Tesla Powerwall (if defined SCRIPT_GET_HTTPS_JP)
Expand Down

0 comments on commit 84225bd

Please sign in to comment.