Commit Graph
38 Commits
Author SHA1 Message Date
Ton Huisman cc2ec06cb2 [Fixes] %iswifi% report status value instead of boolean 2026-04-22 23:10:42 +02:00
Ton Huisman 7c5f9c171c [Rules] Add some functions, conversions and constants 2025-12-13 16:44:01 +01:00
Ton Huisman 1e9fc265d7 [SysVars] Documentation for %latitude% and %longitude% vars and Latitude and Longitude commands 2025-12-04 22:39:05 +01:00
Ton Huisman 5a396e9eed [Converters] Make system time-zone optional in %c_ts2isodate%() (second argument != 0) 2025-07-12 18:07:38 +02:00
Ton Huisman a7f8eb94e2 [Converters] Include system time-zone in %c_ts2isodate%() to have HA accept the Timestamp value type 2025-07-12 17:01:10 +02:00
Ton Huisman 781ccd4dd8 [Converters] Add %c_ts2isodate%() Timestamp to ISO date conversion 2025-07-12 14:54:36 +02:00
Ton Huisman 23e1848e94 [SysVars] Add %c_ts2wday%(timestamp) (dow) conversion and docs 2025-06-03 21:36:38 +02:00
Ton Huisman 51a16ac97a [SysVars] Rename %localunixtime% to %unixtime_lcl% 2025-06-02 20:11:32 +02:00
Ton Huisman e596aa6e78 [SysVars] Exclude %localunixtime% from Limited builds 2025-06-01 22:45:14 +02:00
Ton Huisman 0a31c4b62f [SysVars, Conversions] Add %localunixtime%, %systzoffset_s% sysvars and %c_ts2date%() conversion + docs 2025-06-01 22:32:09 +02:00
Ton Huisman b941fbf533 [Rules] Fix typo in docs 2025-05-29 23:27:11 +02:00
Ton Huisman 47a07e078d [Rules] Add conversion function %c_strf%() with docs 2025-05-29 22:10:58 +02:00
Ton Huisman 59de9efe6a [StringVars] Add documentation 2025-05-26 22:02:31 +02:00
Ton Huisman 6e10c79475 [SysVars] Make second argument for 2-argument conversions optional 2025-05-25 23:08:50 +02:00
TD-er aa64bc5cdd [SysVar] Add %c_random%(L,H) system variable
As requested on the [forum](https://www.letscontrolit.com/forum/viewtopic.php?p=73835#p73835)
2025-04-29 12:39:07 +02:00
Ton Huisman 4e3148a24f [SysVars] Add more conversions to get remote-unit info 2024-04-21 23:21:28 +02:00
Ton Huisman 527726fedf [SysVars] Add conversions to get remote-unit info 2024-04-21 17:16:03 +02:00
Ton Huisman b56c969d4a [Docs] Add missing %syssec_d% variable 2023-12-08 23:21:55 +01:00
Ton Huisman 0b6a8ea04c [Config] Update documentation 2023-01-27 20:47:06 +01:00
Ton Huisman afe1a1dfae [Docs] Add %sysmonth_s% and %systzoffset% variables 2022-12-29 14:55:06 +01:00
Ton Huisman 9994b6da8f [SysVars] Add conversion for minutes to hh:mm notation (%c_m2hcm%) 2022-08-08 19:57:04 +02:00
Ton Huisman 4f877e5f8c Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/sysvars-add-systm_0-and-systm_sp 2022-05-21 14:29:30 +02:00
TD-er 99ce784f8b [Sysvars] Add various system variables to hardware info
For example to send to a broker for lots of deployed nodes to keep track of what hardware is used.
2022-05-18 22:23:09 +02:00
Ton Huisman d1b7ca4620 [Sysvars] Update documentation 2022-05-07 17:28:10 +02:00
TD-er a86a5330e9 [Formula] Add more documentation for formulas + examples 2021-08-06 16:28:24 +02:00
Ton Huisman 9ea0ab7c38 [Sysvars] Correct typo in documentation 2021-07-22 20:50:29 +02:00
Ton Huisman 47cbc0c131 [Sysvars] Add %dns1% and %dns2% sysvars and urlencode stringfunction 2021-07-22 20:45:39 +02:00
Ton Huisman 69cf6c1929 [Sysvars] Extend documentation for s_sunrise, m_sunrise, s_sunset and m_sunset 2021-05-30 16:36:47 +02:00
Ton Huisman db824c1b2b [Sysvars] Add %s_sunrise%, %m_sunrise%, %s_sunset% and %m_sunset% variables 2021-05-30 15:27:46 +02:00
TD-er 8d006a8e3e [Docs] Document %iswifi% system environment variable 2021-05-23 00:37:04 +02:00
TD-er a16be4c45c [Boot Cause] Make boot cause more clear + add %bootcause% for rules
(re)boot cause as integer value, to be used in rules.

- 0 = manual reboot (reset btn)
- 1 = cold boot
- 2 = deep sleep
- 3 = soft restart
- 10 = ext Watchdog
- 11 = SW Watchdog
- 12 = Exception
- 20 = Power unstable
2021-05-11 11:39:17 +02:00
TD-er 09d6fe6c80 [BME680] Fix elevation compensation + add 2 conversion commands
Also added 2 commands:
- Altitude(air,sea): `%c_alt_pres_sea%(850,1000)` = `1350.03` meter.
- PressureElevation(air,alt): `%c_sea_pres_alt%(850,1350.03)` =  1000.00 hPa
2021-04-27 00:50:04 +02:00
Ton Huisman 55d71d7f08 [SysVars] Adjust documentation 2021-04-11 21:13:12 +02:00
Ton Huisman 34e95b473b [SysVars] Update documentation 2021-04-11 20:56:40 +02:00
Ton Huisman 67b214f532 Add argument for result on unknown IP:
- 0 = default `(IP unset)`
- 1 = empty string
- 2 = `0`
2020-11-09 21:41:30 +01:00
Ton Huisman 5a741df978 [Conversions] Add unitnr to IP address conversion
- Uses UDP Network member list to lookup the IP address
- Inspired by a [forum question](https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=8066)
2020-11-08 18:38:47 +01:00
TD-er 96dc16c825 Add standard conversion for converting int to HEX
For example `%c_2hex%(100000)` is converted to `186A0`
2020-10-07 14:35:11 +02:00
TD-er ffd0d26ed3 [Docs] Added some directory structure and template 2018-10-08 00:00:27 +02:00