Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch MQTT Libs #198

Merged
merged 21 commits into from
Jun 10, 2023
Merged

Switch MQTT Libs #198

merged 21 commits into from
Jun 10, 2023

Conversation

lbussy
Copy link
Owner

@lbussy lbussy commented Jun 10, 2023

No description provided.

lbussy added 21 commits June 8, 2023 16:06
* Move defines out of indiv headers

* Move wifihandler includes out of headers

* Move webpagehandler includes out of headers

* Move version includes out of headers

* Move urltarget includes out of headers

* Move uptimelog includes out of headers

* Move uptime includes out of headers

* Move tools includes out of headers

* Move thermostat includes out of headers

* Move thatVersion includes out of headers

* Move tempsensor includes out of headers

* Move taplistio includes out of headers

* Move serialhandler includes out of headers

* Move resetreasons includes out of headers

* Move ntphandler includes out of headers

* Move mdnshandler includes out of headers

* Move main includes out of headers

* Move kegscreen includes out of headers

* Move jsontools includes out of headers

* Move flowconfig includes out of headers

* Move execota includes out of headers

* Move appconfig includes out of headers

* Move api includes out of headers
@lbussy lbussy merged commit 0ea33d7 into home_asst Jun 10, 2023
@lbussy lbussy deleted the switch_mqtt branch June 10, 2023 18:19
lbussy added a commit that referenced this pull request Jun 30, 2023
* Switch MQTT Libs (#198)

* Set up to use generic push

* Protect Includes & Defines (#197)

* New RPints push

* Address templating and push logic

* Get rid of 24hr timer

* Fix RPints template

* Fix pulse reports

* Fix hostname, user, pass

* Clean up logging

* Add HA config to settings

* Add Home Assist settings to pages

* Add Mosquitto setup steps to troubleshooting

* Update documentation for HA context

* Handle HA config post

* Change field to password

* Initial device discovery

* Overloads for state and discovery

* Allow single tics in templates for clarity

* Add non-blocking delay

* Queue HASS functions

* Queue HASS at proper times

* Update MQTT documentation

* Use initial and ongoing timer for HASS

* Externalize tickers

* Base HASS timer to 5 mins

* Add single point re-broadcast

* MQTT update for only selected sensor

* MQTT update for unavailable too

* Make change on tap post

* Reset control state on sensor unavail

* Kill DRD when we pop portal

* Disable CP when sensor is disabled
lbussy added a commit that referenced this pull request Jul 19, 2023
* Remove kegscreen service advertisement

* Fix mDNS keys

* Fix for #146

* Use proper div

* Add scanNetworks() to reconnect

* Go back to platform package 1.0.6

* Stub this in for later

* Explicit python decl

* Add post process to zip data files

* Add .gz handler

* Update uptime refresh

* Update proper version.json

* Update Copyright date

* Change partition setup

* Fix active links

* Fix fan control enabled assignment

* Fix button delay/spin

* Fix for #152

* Fix for #149

* Fix for #150

* Restructure reconnect

* Restart serial and telnet

* Restart mDNS

* Restart Web Server

* Reset main loop and filesystem

* Add playDead() for failures

* Cleanup

* Cleanup logging

* Updated Async

* Add some delays to allow Serial to start

* Lockout

* Change logging to use ArduinoLog

* Separate stop and start

* Fix prefixes

* CONFIZG_ASYNC in lib

* Loop logic

* Set autoconnect off

* Initial conversion to MyST

* Update Bootswatch

* Stub in hourly reboots

* Dis/reconnect on iter

* Reverse temperature menu order

* Reboot every 1 hour to avoid panic

* Logging cleanup

* Clean filesystem defines

* Change to 2 hour reboot

* Standardize logic

* Fix for #165

* Tag new alpha

* Close FS after use

* Rearrange menu

* Use single open/close

* Add delay to see startup Serial

* Add drd back in

* Fix John's 'feature'

* Refactor return

* Move theme to info

* Add file list endpoint

* Get rid of some harmless 404 erors

* Reset to 42 day reboot

* No longer need _delay()

* Add new file handler

* Fixed asynch error

* Add notice about 404

* Update LCBUrl to HEAD

* Reverse order of debug

* Reconnect on connecton loss

* Remove debug

* Change execution order

* Rearranged to allow flow load

* Add realm to authentication

* Stylize file buttons

* Stylize filesystem info

* Add link to /fs/

* Style other buttons

* Change type

* Exclude delete/download buttons

* Style/cancel upload

* Toggle sections

* Fix concatenation

* Fix file upload

* Add default TIO labels

* Fix label default

* Limit debug printing when file is missing

* Fix download/delete

* Replace missing file

* Nail down LCBUrl version

* Current versions of libs

* Replace appconfig keys

* Additional FS cleanup - stopping point

* Restyle file list

* Disable/enable buttons

* Timeout messages

* Add confirm

* Disable uploads

* Restore file upload (#182)

* Rearrange events

* Create new file upload

* Add secret to fs actions

* Add filename to prompt

* Toggle both elements

* Document fs (#183)

* Document fs page

* Self-document fs API

* Fix file status display

* Update image

* Add fs api documentation

* Queue saves (#184)

* 404 retry (#185)

* Use updated ArduinoJson

* Add a better 404 handler

* Littlefs (#186)

* Avoid non-reentrant code (#187)

* Fix viewport (#188)

* Logging (#189)

* Rearrange fatal error

* Reset log priorities

* Backup config (#190)

* Add failure detect to app load

* Add copy file function

* Handle LittleFS or SPIFFS

* Use arguments for JSON load/save functions

* Create backup after good file save

* Attempt config reload

* Add config for debug settings

* Add handler for debug settings

* Add loglevel to serial init

* Change URL Target to Generic Rest (#191)

* Add Telnet and Loglevel Config (#192)

* Add debug to models

* Add config for debug settings

* Add handler for debug settings

* Add loglevel to serial init

* Update telnet lib

* Set telnet on app load

* Add telnet to web handler

* Add loglevel to web handler

* Add debug config handler to web pages

* Add telnet and loglevel info

* Fix docs requirements

* Fix settings debug (#193)

* Restore saving theme

* Wrap debug settings in form

* Move telnet changes out of async

* Fs errors (#194)

* Use explicit paths

* Compress PNG too

* Reorder page handlers

* Fix routes

* Turn off core debug

* Home asst (#199)

* Switch MQTT Libs (#198)

* Set up to use generic push

* Protect Includes & Defines (#197)

* New RPints push

* Address templating and push logic

* Get rid of 24hr timer

* Fix RPints template

* Fix pulse reports

* Fix hostname, user, pass

* Add HA config to settings

* Add Home Assist settings to pages

* Add Mosquitto setup steps to troubleshooting

* Update documentation for HA context

* Handle HA config post

* Change field to password

* Initial device discovery

* Overloads for state and discovery

* Allow single tics in templates for clarity

* Add non-blocking delay

* Queue HASS functions

* Queue HASS at proper times

* Update MQTT documentation

* Use initial and ongoing timer for HASS

* Externalize tickers

* Base HASS timer to 5 mins

* Add single point re-broadcast

* MQTT update for only selected sensor

* MQTT update for unavailable too

* Make change on tap post

* Reset control state on sensor unavail

* Kill DRD when we pop portal

* Disable CP when sensor is disabled

* Config kick detect (#200)

* Add kickdetect to model

* Add kickdetect to web settings

* Add kickdetect to settings

* Add kickdetect to API

* Allow skipping kickdetect

* Change verbiage

* Fix context link in temp page

* Templink (#201)

* Allow a reconect

* Fix temp page control link

---------

Co-authored-by: John <jbeeler@optictheory.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant