Replies: 1 comment 2 replies
-
You don't need Berry for that With Berry, it would just be 'autoexec.be', having 1 per line
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for some help with getting ESP32's Berry autoexec script that could substitute System#Boot rule turning multile (x12) DS18b20 IDs into althanumeric name using DS18x20_USE_ID_ALIAS. I have simply no space left accross rule1..3.
####################################################################################
Tasmota 13.1.0.1
xsns_05_esp32_ds18x20.ino - DS18x20 temperature sensor support for Tasmota
#define DS18x20_USE_ID_ALIAS in my_user_config.h or user_config_override.h
######################################################################################
Rule example:
Rule1 ON System#Boot DO
Backlog DS18Alias 783C01F096F2BB28,DS01;
DS18Alias 113C01F096174528,DS02;
DS18Alias 8B0316C310F3FF28,DS03;
...
DS18Alias 8B0316C310F3FF29,DS12 ENDON
Result in JSON: "DS01":{"Id":"783C01F096F2BB28","Temperature":26.3} (example with N=DS01)...
Thanks in advance
JP
Beta Was this translation helpful? Give feedback.
All reactions