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

276 Commits

Author SHA1 Message Date
Robert van den Breemen
22e3c9465d Added fractional micros to debug time 2021-12-19 20:47:20 +01:00
Robert van den Breemen
4219671174 Show NTP timeout passed every 5 sec during wait for sync 2021-12-19 17:30:03 +01:00
Robert van den Breemen
06947d2d2e Adding MsgI=-100 decoding, fixed Summer/Wintertime decoding 2021-12-19 14:15:46 +01:00
Robert van den Breemen
3a82f1fb2d All status messages get decoded... 2021-12-19 12:05: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
eb609d535f cleaning up debugs 2021-12-19 09:58:36 +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
e853e8ef5d skip msg based on write_ack 2021-12-16 09:07:41 +01:00
Robert van den Breemen
216c7ecfb1 more clean up of the debug logs 2021-12-16 08:21:11 +01:00
Robert van den Breemen
dbb0ea2a6d Cleaning up the debug logging messages in prep for new feature 2021-12-15 12:57:30 +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
c38d49a970 fixing typo in bootcmds refactor 2021-12-15 09:43:57 +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
e460e49595 Fix to make it run on Arduino 3.0.2
fixing sendOTGW and updating AceTime & AceSorting

Thanks to RobR the upgrade to SDK 3.0.2 is possible, because of the fix of sendOTGW

removing .DS

remove .DS
2021-12-05 23:32:18 +01:00
Robert van den Breemen
2f1ecd827e Updating ntp time sync 2021-12-04 12:33:45 +01:00
Robert van den Breemen
42c1792f9d surpress all DATA READ to MQTT 2021-12-04 00:40:15 +01:00
Robert van den Breemen
ea66142137 adding delay override msg function 2021-12-03 23:03:59 +01:00
Robert van den Breemen
4e86c38c1c Fix the Room temperature parsing 2021-12-03 08:11:44 +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
22ff900c18 No complaining when no internet or version retrieved from PIC 2021-11-29 23:18:31 +01:00
Robert van den Breemen
453b9d0014 remove autoconnect esp again 2021-11-18 21:08:32 +01:00
Robert van den Breemen
8e7bdcdaa2 tiny fix for msglen 2021-11-15 21:39:02 +01:00
Robert van den Breemen
a19828a64c Fixing SR command pushing 2021-11-15 21:32:19 +01:00
Robert van den Breemen
d44fdfd265 before update 0.9.0 2021-11-06 16:02:32 +01:00
Robert van den Breemen
44449296ba before update 0.9.0-beta 2021-11-03 19:01:02 +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
06a79e0a3b trying to resolve merge 2021-10-30 17:50:01 +02:00
Robert van den Breemen
e48b6e8d5a before update 0.8.6 2021-09-12 20:01:13 +02:00
Robert van den Breemen
14e2267f2f cleaning up some lines of empty space 2021-09-11 18:04:15 +02:00
Robert van den Breemen
e5b0242bc8 Adding autoconfig rest api endpoint 2021-09-11 17:46:11 +02:00
Robert van den Breemen
3656042380 Keep it simple, just wifi.begin() should do it. 2021-09-10 01:34:11 +02:00
Robert van den Breemen
de13af2b5c Adding restart wifi, without a reboot and no captive portal. 2021-09-10 01:16:37 +02:00
Robert van den Breemen
35429f663d Turning off and on the watchdog at will, after it was turned on... 2021-09-10 00:57:56 +02:00
Robert van den Breemen
377dd375d7 stop using the network and otgw processing if there is no wifi 2021-09-09 23:30:05 +02:00
Robert van den Breemen
b4d44723ef Fixing ASFflags 2021-07-25 15:40:24 +02:00
Robert van den Breemen
92b6f52d71 Addeing OEMDiagnosticCode topic for auto discovery 2021-07-22 21:51:28 +02:00
Robert van den Breemen
ed6b63d287 fix a mqtt homeassistant configuration issue 2021-07-07 00:12:51 +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
2beb69d1dd Cleaning up command queue code section
Changed the send delay to 1 second (down from 20 second delay).
Cleaned up the comments for the functions.
2021-06-30 21:51:31 +02:00
Robert van den Breemen
7bbf52fc9b Updating readme for release 0.8.5 2021-06-30 20:39:41 +02:00
Robert van den Breemen
703b784f4f bugfix: command queue due
The queue due was compared with now(), instead of millis(). Now fixed, including some minor improvements to debug logs, so you can see what's going on.
2021-06-30 19:37:52 +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
373ccfb30e before update 0.8.4 2021-05-02 17:55:19 +02:00
Robert van den Breemen
27b4b28b91 Deetect PS=1 mode 2021-04-23 00:24:04 +02:00
Robert van den Breemen
033f7e5fc3 removing unused timer and moved evalOutput to backgroudtask 2021-04-12 17:32:07 +02:00
Robert van den Breemen
7257a9d147 Update version.h 2021-04-12 17:20:06 +02:00
Robert van den Breemen
cf365d141b fixing STA mode 2021-04-12 17:01:11 +02:00
Robert van den Breemen
c02e0e0dfd update version.hash 2021-04-05 23:00:19 +02:00
Robert van den Breemen
2fa1f1f97d update version.hash to 1b8259b 2021-04-05 21:54:23 +02:00
Robert van den Breemen
459fe1cdc2 before update 0.8.3 2021-04-05 21:44:57 +02:00
Robert van den Breemen
aa2c40a504 Removed some whitepace 2021-04-05 21:43:49 +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
Robert van den Breemen
d0b72bdf69 versision detectoin changed. 2021-04-03 23:11:50 +02:00
Robert van den Breemen
88fed5c6c3 Adding MQTT error debug 2021-04-03 19:07:15 +02:00
Robert van den Breemen
96d6a6fe3b Change to nodeid, not setting. 2021-04-01 22:33:58 +02:00
Robert van den Breemen
bdef473281 Adding debug help menu 2021-04-01 22:29:54 +02:00
Robert van den Breemen
a4939632d6 cleaning OT parsing functions 2021-03-30 23:37:52 +02:00
Robert van den Breemen
c4282140e0 Fixing debug verbose in MQTT 2021-03-30 21:33:37 +02:00
Robert van den Breemen
1da08001f1 Adding devices info rest api and update human translate 2021-03-28 18:51:50 +02:00
Robert van den Breemen
60d2216663 Determine state of Boiler and Thermostate 2021-03-28 18:45:15 +02:00
Robert van den Breemen
bb64a9aa8d Verbose RESTAPi debug cleaned 2021-03-28 13:38:34 +02:00
Robert van den Breemen
4c078b921d cleaning up versbose OTGW core debug 2021-03-27 22:26:11 +01:00
Robert van den Breemen
4004b7cb21 update littlefs hash 2021-03-25 21:41:44 +01:00
Robert van den Breemen
78e37b8365 remove beta label 2021-03-25 21:41:44 +01:00
Robert van den Breemen
1644da3732 Release 0.8.2
- adding command queue to mqtt
- bugfix values not updating in webui
- adding verbose debug modes
- adding check for littlefs hash
- adding interval setting to sensor readout
- adding send commands to OTGW on boot
- bugfix hostname updated when changed
2021-03-25 21:41:44 +01:00
Robert van den Breemen
80bdc3ecd9 update version to 0.8.2 2021-03-25 21:41:44 +01:00
Robert van den Breemen
1802f4954c fixing bug in assiging the value 2021-03-24 21:23:22 +01:00
Robert van den Breemen
8bcd31c715 escape json and adding verbose debug 2021-03-24 21:12:58 +01:00
Robert van den Breemen
a34784ca25 fixing settings ui 2021-03-24 00:03:06 +01:00
Robert van den Breemen
1ad2b36f93 default when reading "null" for otgwcommands 2021-03-23 23:54:00 +01:00
Robert van den Breemen
caa806388a fixing passing string 2021-03-23 23:51:55 +01:00
Robert van den Breemen
b85d40b077 adding otgw commands on boot to webui settings 2021-03-23 23:44:47 +01:00
Robert van den Breemen
ac93d34242 adding switchable verbose debug information 2021-03-23 23:33:00 +01:00
Robert van den Breemen
8631ca8183 only move queue if not last entry 2021-03-23 22:28:07 +01:00
Robert van den Breemen
a6f4907511 fixing queues 2021-03-22 20:21:22 +01:00
Robert van den Breemen
b296972359 correct handeling of expired queue entries 2021-03-20 01:10:19 +01:00
Robert van den Breemen
2c2ab63939 hooking mqtt command to queue code 2021-03-20 00:48:39 +01:00
Robert van den Breemen
95eda504fe finishing up 2021-03-19 23:50:52 +01:00
Robert van den Breemen
8f8379511f check for existing cmd in queue
Check to see if command is already in queue, if so, then overwrite. Otherwise add to free slot at end of queue.
2021-03-19 00:24:35 +01:00
Robert van den Breemen
bb150f749e fixing verify fuction call 2021-03-18 00:54:25 +01:00
Robert van den Breemen
6126b4429a message queue mechanism 2021-03-18 00:53:30 +01:00
Robert van den Breemen
3281377a85 Adding matching littlefs check on boot 2021-03-15 22:50:59 +01:00
Robert van den Breemen
eb7ff52e2b check littlefs for hash 2021-03-15 22:18: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
cbbf49c7a2 sending commands to OTGW on boot 2021-03-14 23:05:56 +01:00
Robert van den Breemen
38ec4e4d5e adding publish interval for sensor 2021-03-14 21:58:35 +01:00
Robert van den Breemen
d7e70b4d74 Commit - version file 92f10cb 2021-03-14 15:03:52 +01:00
Robert van den Breemen
216f865d9a before update 0.8.1 2021-03-14 13:58:47 +01:00
Robert van den Breemen
ffdd389530 push on change for all msg 2021-03-09 18:52:58 +01:00
Robert van den Breemen
de30981720 turn on/off OT msg to MQTT 2021-03-09 00:45:45 +01:00
Robert van den Breemen
273e472f61 push on change of values 2021-03-09 00:32:27 +01:00
Robert van den Breemen
2ba77da657 adding error msg handeling and mqtt messages 2021-03-08 03:00:56 +01:00
Robert van den Breemen
352e5f1a25 sending mqtt uptime 2021-03-08 02:43:37 +01:00
Robert van den Breemen
de9caa96dc adding firmware version info and uptime to mqtt 2021-03-08 02:15:28 +01:00
Robert van den Breemen
034e6a99b9 adding release workflow document 2021-03-07 00:59:23 +01:00
Robert van den Breemen
fa62a3995f set MQTT timeout to 4 seconds 2021-03-06 22:26:15 +01:00
Robert van den Breemen
6a425821ac adding LLMNR with .local 2021-03-06 19:14:08 +01:00
Robert van den Breemen
e3de480cb1 moving non-settings to mqtt stuff 2021-03-06 18:36:14 +01:00
Robert van den Breemen
460ad9b4b7 adding LLMNR responder for windows 2021-03-06 16:42:57 +01:00