Commit Graph

2923 Commits

Author SHA1 Message Date
Susis Strolch
0a700b9451 in ems-esp:setup: set GPIO15 to HIGH so we don't disturb the EMS-Bus during boot 2019-07-19 15:46:18 +02:00
Susis Strolch
5587b9d267 reworks because of 'tx_mode 2' and protocol issues
° added markers (GIO12, GPIO14) for logic analyzer debugging

° change UART initialisation
  - set RxFIFO full to 1 char, so we can detect active telegram on EMS-Bus
  - set RxTOT to 1 char for the same reason

° in ems_parseTelegram: ignore telegram if  emsRxStatus != EMS_RX_STATUS_IDLE
  because we missed to respond in a timely manner

° ems_tx_buffer is not void anymore, instead we return the Tx status
° extended the emsTxStatus
  - EMS_TX_WTD_TIMEOUT: timeout while waiting for echo of last Tx byte
    out telegram was ignored by the bus master, so the byte wasn't echoed
  - EMS_TX_BRK_DETECT:  BRK detected while sending the telegram
    bus master send us a break because of protocol violation

° add burnStarts, burnWorkMin and heatWorkMin to MQTT boiler message

TODO:
  + take care of ems_tx_buffer return code
  + accept direct telegram in ems_parse_telegram and do a proper acknowledge
  + split the heartbeat in static (version, IP-address) and dynamic (RSS etc)
  + change the hearbeat to a JSON structure so we can easier pick the uptime
2019-07-19 13:16:23 +02:00
Paul
80a9c98658 auto get temps from RC300/3000 2019-07-19 00:23:10 +02:00
Paul
e2da47afc7 tidy up HA config 2019-07-19 00:05:04 +02:00
Paul
3b986c2e28 https://github.com/proddy/EMS-ESP/issues/153 2019-07-18 23:06:36 +02:00
Susis Strolch
7743ff5d56 add burnStarts, burnWorkMin, heatWorkMin to boiler data set 2019-07-18 16:26:42 +02:00
Susis Strolch
7d361061c6 add marker pins (GPIO12, GPIO14) for logic analyser
° use faster macros for LA markers
2019-07-18 11:26:43 +02:00
Paul
ed25e89780 https://github.com/proddy/EMS-ESP/issues/145 2019-07-17 23:17:45 +02:00
Paul Derbyshire
bac3f53613 minor cleanup 2019-07-16 16:26:30 +02:00
Paul Derbyshire
d5c717c812 added version to firmware filename 2019-07-16 16:25:56 +02:00
Paul Derbyshire
c3bc82cbc8 RC300/3000 rename 2019-07-16 11:38:27 +02:00
Paul Derbyshire
2fd84b2ba4 https://github.com/proddy/EMS-ESP/issues/145 2019-07-16 11:29:20 +02:00
Paul
03106d27c5 updated with v4 pio 2019-07-15 21:34:17 +02:00
Paul Derbyshire
7b6dc38c3d https://github.com/proddy/EMS-ESP/issues/145 2019-07-15 10:54:15 +02:00
Paul Derbyshire
2f4d58bef4 fix typo with DEFAULT_NO_SERIAL 2019-07-08 13:42:45 +02:00
Paul Derbyshire
32b61f67cf telnet works in AP mode, no more automatic web refresh 2019-07-08 11:23:00 +02:00
Paul
61e8f093de ignore n/a values iin mqtt too 2019-07-06 17:14:02 +02:00
Paul
e0f07e52e2 minor changes to web layout 2019-07-06 17:13:46 +02:00
Paul
3d66c5897a https://github.com/proddy/EMS-ESP/issues/146 2019-07-06 16:13:56 +02:00
Paul
9c9f2771fc https://github.com/proddy/EMS-ESP/issues/146 2019-07-05 21:54:21 +02:00
Paul
bfbb1808a7 text changes 2019-07-05 15:36:58 +02:00
Paul
f231c863ec https://github.com/proddy/EMS-ESP/issues/146 2019-07-05 12:17:40 +02:00
Paul
daaed4d5f3 serial on as default and then off even in AP mode 2019-07-05 12:17:34 +02:00
Paul
d190446f0f clean up 2019-07-05 12:17:12 +02:00
Paul
9bc8b3d811 cleanup other devices & SM 2019-07-04 22:59:03 +02:00
Paul
335692c2ef bump 2019-07-04 22:58:44 +02:00
Paul
e2804cabc0 added option to enable serial on new installations 2019-07-04 22:58:33 +02:00
Paul
6368b12255 https://github.com/proddy/EMS-ESP/issues/144 2019-07-03 22:43:44 +02:00
Paul
18cb01b57f renamed previousSMPublishCRC 2019-07-02 22:46:24 +02:00
Paul
21ae6ebc0d handle rendering of signed shorts nicer 2019-07-01 09:47:29 +02:00
Paul
83d12ecba2 max ssid/password lengths 2019-07-01 09:47:09 +02:00
Paul
533a3b3408 stop all other processes when updating via OTA for speed 2019-07-01 09:15:38 +02:00
Paul
6fb30c7352 bump 2019-07-01 09:15:14 +02:00
Paul
74abec2591 https://github.com/proddy/EMS-ESP/issues/143 2019-07-01 09:15:06 +02:00
Paul
d37911e954 https://github.com/proddy/EMS-ESP/issues/140 https://github.com/proddy/EMS-ESP/issues/142 2019-06-30 19:56:53 +02:00
Paul
688e194011 minor fixes to SM output 2019-06-29 08:57:28 +02:00
Paul
8a46340979 bump 2019-06-29 08:57:07 +02:00
Paul
27692e80ca mention new SM changes 2019-06-29 08:56:57 +02:00
Paul
b56d775d5d formatting 2019-06-29 08:56:50 +02:00
Paul
1ea9bc0d91 added test 48 for outdoor temp 2019-06-29 08:56:19 +02:00
Paul
0ef73b61dc removed -DTESTS 2019-06-29 08:56:05 +02:00
Paul Derbyshire
8800c73fda Merge branch 'dev' of https://github.com/proddy/EMS-ESP into dev 2019-06-28 10:37:04 +02:00
Proddy
df5f94d11c Merge pull request #139 from Vuego123:AddValueForSolarPumpWorkingTime
Add value for solar pump working time
2019-06-28 10:36:51 +02:00
Paul Derbyshire
a7869e45b3 added .DS_Store for OSX 2019-06-28 10:35:21 +02:00
Vuego123
712e0b3e8c FixedSpacingForSolarPumpTime
fixed spacing
2019-06-27 23:26:02 +02:00
Vuego123
55ff267828 AddedISM1SolarPumpWorkingTime
Added ISM1 Solar Pump Working Time
2019-06-27 23:07:19 +02:00
Paul
4e50d13bd1 add tx_mode back as new tx code can cause resets 2019-06-26 22:02:16 +02:00
Paul
5740a8ee0d dont use program for help text 2019-06-26 22:01:56 +02:00
Proddy
a6a03e6485 Merge pull request #137 from Vuego123/SolarLogginOnly&BugfixSolar
SolarLoggingOnly&Bugfix
2019-06-26 11:45:21 +02:00
Paul
bdf18b091d support for web server and reset firmware option 2019-06-24 23:40:01 +02:00