Commit Graph

79 Commits

Author SHA1 Message Date
gemu2015 292aa87854 add bcd decoder 2022-03-19 08:20:51 +01:00
gemu2015 89527287f9 optional calibration offset 2022-03-03 08:28:04 +01:00
zocker007 af23a73648 add pulse rate measurement for counter meter 2022-03-02 01:27:18 +01:00
gemu2015 ecd8e2ed29 add sml write once cmd 2022-02-11 08:01:07 +01:00
gemu2015 8b7f18dcf4 allow word swap in modbus response 2022-02-08 17:15:41 +01:00
SteWers a75b465385 [SML] Check for used GPIO
- Check for used GPIO
- more meaningful error messages
2022-01-24 20:18:07 +01:00
SteWers 03e4d65582 [SML] Serial activity monitor via LED
Visualize the activity of one or all serial meters via LED. It is helpful for debugging and also for viewing serial activity easily. The configuration is done via console commands:

- LED-GPIO for monitoring serial activity => sensor53 l2, l13, l15 ... or l255 for turn off (default)
- meter number for monitoring serial activity => sensor53 m1, m2, m3 ... or m0 for all (default)

To start at boot-time, add the entries in the boot-section (>B) of the script.
2022-01-20 20:19:50 +01:00
SteWers 0119bd1fb0
[SML] Remove colon at the end of the labels
Remove colon at the end of the labels on the WebUI to use the same format then all other sensors. Just a little cosmetics.
2022-01-15 19:29:31 +01:00
gemu2015 3845708acc fix vbus signed word 2021-12-28 12:38:39 +01:00
gemu2015 94844b4707 software serial for eps32 2021-12-15 14:46:05 +01:00
gemu2015 6301b598f5 =d fix, trx list allow split lines 2021-12-08 16:30:11 +01:00
gemu2015 41639d46c2 fix sml compile error SML_MAX_VARS missing 2021-10-23 08:07:51 +02:00
gemu2015 db1036e8b9 fix sml obis 2021-09-22 16:40:52 +02:00
Theo Arends 0d9678eef6 Refactor trim 2021-08-16 11:11:46 +02:00
gemu2015 f6b527d189 fix =d mode 2021-07-19 09:55:43 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Michael Voggenreiter de12709ed6 Added electricity meter easymeter Q3C 2021-04-28 07:57:05 +02:00
Jason2866 9851c26781
Fix for #11680
Using file from https://github.com/arendst/Tasmota/issues/11680#issuecomment-818844390
2021-04-15 20:21:51 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
gemu2015 7bc7b83f18 better modbus serial config 2021-03-30 08:38:13 +02:00
gemu2015 8e5a9c11b7 fix sml 24 bit signed 2021-03-09 12:10:37 +01:00
gemu2015 56f922a7a7 dumpsize configurable, =m,=h mqtt fix, 2021-03-02 09:11:08 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
gemu2015 ec330d70f8 fix sml calculate vars option (=m) 2021-02-28 09:01:13 +01:00
gemu2015 dc92fc6c61 serial dump recoded 2021-02-25 14:36:37 +01:00
gemu2015 9be1758f61 Update xsns_53_sml.ino 2021-02-24 10:20:03 +01:00
gemu2015 8b23b1a072 better vbus dump 2021-02-24 10:09:33 +01:00
gemu2015 16a30bd12e support for vbus 2021-02-24 09:11:21 +01:00
gemu2015 ed7c06a6ed sml several fixes 2021-02-22 11:10:49 +01:00
gemu2015 ca5ab2d094 send mqtt only on valid data 2021-02-20 17:32:01 +01:00
gemu2015 d29a9f4d55 better impl of ebus negative values 2021-02-11 08:47:48 +01:00
Sven Ebenfeld f52cb12b77 xsns_53_sml: add option to emit ebus sync only telegrams
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
2021-02-07 20:33:09 +01:00
Sven Ebenfeld 50adf2d003 sns_53_sml: make ebus correctly interpret signed values
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
2021-02-07 20:26:10 +01:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
gemu2015 152aabdc8b Update xsns_53_sml.ino 2021-01-22 08:33:42 +01:00
gemu2015 a545ec67d5 obis second () option 2021-01-22 08:31:22 +01:00
Theo Arends 7e62aa548d
Merge pull request #10341 from gemu2015/fixes
Fixes
2021-01-01 16:11:15 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
gemu2015 3ee92fb4ba smaller log buffer 2021-01-01 06:44:04 +01:00
Jason2866 50506017c9
Fix compile error 2020-12-25 20:38:29 +01:00
Theo Arends 61c559e748 Prep removal of global log_data providing re-entry 2020-12-23 18:09:21 +01:00
Theo Arends 765e0e922d Prep for ESP32-C3 ph3 2020-11-28 17:00:15 +01:00
gemu2015 8feffde365 sml add optional 2 modbus stop bits 2020-11-15 16:09:05 +01:00
TheChatty 53bcfd5ef8
SML: Clean code for NO_OP meter
Removing description for NO_OP meter saves about 80 bytes.
2020-11-14 00:35:21 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
gemu2015 975981fdbf Update xsns_53_sml.ino 2020-11-02 12:36:57 +01:00
gemu2015 70258a28a6 sml update
hardcode descriptor default to no op
better counter debounce
2020-11-02 12:24:39 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00