1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-11-16 04:33:49 +01:00
Commit Graph

57 Commits

Author SHA1 Message Date
Robert van den Breemen
535d1a1d2b Merge branch 'pr/103' into dev-selective-mqtt-discovery 2022-01-03 22:46:57 +01:00
Robert van den Breemen
491dd26dad Update boilerplate year 2022-01-02 17:35:56 +01:00
Dave Davenport
b0c766d4c6 Fix some compiler warnings.
Making constant strings const.
Right signedness (need some more).
time_t -> unsigned long (for use with millis).
Fix some data types for printf.
Removed unused variables

Untested, not all warnings fixed, some signedness/unsigned conversion
remaining.
2021-12-31 16:23:03 +01:00
Robert van den Breemen
22d361e511 Improvement to serial handeling and profiling:
- removing delay from print status and removing profiling code
- change to debug so gmt + micros are used for now
- cleanup of handleotgw
- detecting buffer overrun on serial uart
- adding back the rxbuffer at 512 chars
- bugfix day of week in OpenTherm is different
- bugfix blinking led
- improving ot message logging
2021-12-30 16:06:29 +01:00
Robbert Lagreweij
6675915416 rename variable for clarity 2021-12-28 19:01:36 +01:00
Robert van den Breemen
4d083f2fd0 update version to 0.9.1 2021-12-20 19:31:38 +01:00
Robert van den Breemen
bc35d13f4f before update 0.9.1 2021-12-20 19:30:37 +01:00
Robert van den Breemen
17585124dc update the ot msg spec units 2021-12-20 09:24:48 +01:00
Robert van den Breemen
811ee91f9c fixing decoding and debug NTP cleanup 2021-12-19 11:57:29 +01:00
Robert van den Breemen
77e7460379 Only accept values proper "read" or "write" direction 2021-12-18 22:29:18 +01:00
Robert van den Breemen
f6a05cc772 adding the msg id to evaluation of skip criteria
Only skip a message if it overridden by the same msg id.
2021-12-15 11:53:11 +01:00
Robert van den Breemen
fbbf8ee603 Skipping T and B, when followed by A and R messages for same msgid
- Skipping MQTT when override
- Lowering delays after sendMQTT
2021-12-15 09:24:47 +01:00
Robert van den Breemen
ea66142137 adding delay override msg function 2021-12-03 23:03:59 +01:00
Robert van den Breemen
a172ac8aa4 fixing otdecoding
No longer push to MQTT when READ DATA with 0x0000 (empty)/.
2021-12-02 23:28:20 +01:00
Robert van den Breemen
51c8f7563b update to msgid's 2021-11-29 23:42:17 +01:00
Robert van den Breemen
bbe0fa819a Adding a MQTT set commands to firmware
Replacing the original MQTT command with a MQTT handler for set that can handle a number of commands and then translates and transmits the commands to OTGW serial device.
2021-11-28 13:08:02 +01:00
Robert van den Breemen
21bea0100b update version to 0.9.0 2021-11-06 16:03:20 +01:00
Robert van den Breemen
f9057d96fa update version to 0.9.0-beta 2021-11-03 19:01:47 +01:00
Robert van den Breemen
55f1aa1ac4 Adding time set command, date and year. And some small fixes 2021-11-02 23:00:43 +01:00
Robert van den Breemen
66f30fdce2 fixing status master and slave bits for webui 2021-10-31 17:30:16 +01:00
Robert van den Breemen
6a2b1b5d1b Moving array of structs OTmap into PROGMEM 2021-10-22 00:24:44 +02:00
Robert van den Breemen
de6639495a update version to 0.8.6 2021-09-12 20:02:19 +02:00
Robert van den Breemen
dc3dc141a0 update version to 0.8.5 2021-06-30 21:55:45 +02:00
Robert van den Breemen
4c0bd2aa77 Debug OTmessage parsing always prints received message now
Parsing status bits for master and slave only from boiler message
Fixed debug otmessage output
2021-06-26 22:22:22 +02:00
Robert van den Breemen
f901303adb update version to 0.8.4 2021-05-02 17:56:14 +02:00
Robert van den Breemen
1c448c0414 add missing msgids and more v/h for mqtt 2021-05-01 21:36:22 +02:00
Robert van den Breemen
df529540a0 update version to 0.8.3 2021-04-05 21:45:53 +02:00
Robert van den Breemen
2efb048b23 Correcting OT specificatio
- Tcollector = Tsolarcollector
- Tstorage = Tsolarstorage
- Texhaust = s16 not f88

Change to code bases and MQTT messages accordingly.
2021-04-05 00:21:50 +02:00
sjorsjuhmaniac
5107c3e3ab also fix Tcollector 2021-04-04 21:53:20 +02:00
sjorsjuhmaniac
3e79331885 bugfix: correct unit types for Texhaust + HA sensor 2021-04-04 21:46:06 +02:00
Robert van den Breemen
80bdc3ecd9 update version to 0.8.2 2021-03-25 21:41:44 +01:00
Robert van den Breemen
289e612c3f Merge branch 'dev' into main 2021-03-25 21:19:39 +01:00
Robert van den Breemen
6d15fda179 update headers 2021-03-25 21:19:39 +01:00
Robert van den Breemen
721fa1c189 Merge branch 'dev' into dev-adding-websockets 2021-03-23 22:13:45 +01:00
Robert van den Breemen
620acaa913 pass-by-reference bug fixed 2021-03-23 21:47:36 +01:00
Robert van den Breemen
6126b4429a message queue mechanism 2021-03-18 00:53:30 +01:00
Robert van den Breemen
63fabd2615 fixing sensor interval in UI 2021-03-15 20:41:17 +01:00
Robert van den Breemen
2acd5ec97b Adding DS18B20 support and improving otmsg processing and fixing bugs. 2021-03-14 14:47:14 +01:00
Robert van den Breemen
273e472f61 push on change of values 2021-03-09 00:32:27 +01:00
sjorsjuhmaniac
0aee007732 add HA device and thermostat entity through mqtt discovery.
add 'availability' topic for HA entities (requires OTGW birth/will messages to be implemented)

add will message.

add birth message

don't default to retaining msg's, add option to retain if we want

update HA discovery to use <mqtt top>/value/<sensor> and <mqtt top>/set/<command> naming convention

update MQTT functions to use <mqtt top>/value/<sensor> and <mqtt top>/set/<command> naming convention

improve mqtt topic subscribe debugging

reset mqtt buffer size after sending ha discovery to free up memory

improved ha discovery and entity support added
2021-03-03 23:41:46 +01:00
Robert van den Breemen
ec9301c140 update version to 0.7.8 2021-02-25 08:56:27 +01:00
Robert van den Breemen
5a204e9a7b update version to 0.7.6 2021-02-21 10:05:52 +01:00
Robert van den Breemen
58b1e23402 epoch per msg
Adding last update to each mdgid, by adding timestamp epoch and updating UI to only show anything that has been updated in the first place.
2021-02-21 09:44:57 +01:00
Robert van den Breemen
b2f40b5ebe update version to 0.7.5 2021-02-10 21:05:29 +01:00
Robert van den Breemen
0d4eeafdc9 error counting 2021-02-10 01:47:02 +01:00
Robert van den Breemen
cc3d93a17a update version to 0.7.3 2021-01-31 23:44:58 +01:00
Robert van den Breemen
8def32422e update version to 0.7.2 2021-01-30 17:13:58 +01:00
Robert van den Breemen
c7109fcb33 fixes 2021-01-30 15:24:54 +01:00
Robert van den Breemen
fe21c8a474 Changing default serial port to 25238 2021-01-25 09:31:31 +01:00
Robert van den Breemen
97738511c3 update version to 0.7.1 2021-01-24 12:50:44 +01:00