forked from jomjol/AI-on-the-edge-device
-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(mqtt)!: Complete rework of MQTT API & Add new content #151
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(webui): Add more content to system info page refactor(REST API): Provide content of '/heap' as JSON + HTML refactor(REST API)!: Remove handler starttime (use /info?type=DeviceStartTime) refactor(REST API)!: Remove handler uptime (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use /info?type=Uptime) refactor(REST API)!: Remove handler rssi (use '/info?type=WlanRSSI') refactor(REST API)!: Remove handler cputemp (use '/info?type=ChipTemp') refactor(REST API)!: Remove handler sysinfo (use '/info' + '/heap') refactor(REST API): Align time format (ISO)
Add 'datalogging sdcard' to '/info'
feat(REST API): Add legacy API by query parameter 'type' refactor(REST API): Remove chip temp from 'overview' page. It's accessable from 'system' -> 'info' page
Use '/process_data?type=ProcessState'
Use '/process_data?type=ProcessError
Keeping same functionality, but with reduced APIs to save some RAM
Keeping same functionality, but with reduced APIs to save RAM
Use /process_data API instead refactor(REST API): Merge parts of /value to /process_data Use /process_data API instead refactor(REST API): Rename remaining function of /value to /recognition_details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/docs/API/MQTT/_OVERVIEW.md
/docs/API/MQTT/_OVERVIEW.md
connection
topic moved to/device/status/
and states are renamed toonline
andoffline
device/gpio/
process/ctrl/
Retain Process Data
and Home Assistant DiscoveryRetain Discovery Topics
can be configured individuallyProcess Data Notation
to configure how process data (number sequence results) get publishedJSON
: Publish process data in JSON notationSingle Topics
: Publish process data as single topicsJSON + Topics
: Publish process data in JSON notation + single topics/docs/API/MQTT/home-assistant-discovery.md
Home Assistant Discovery Prefix
to configure 'HADiscoveryMainTopic' ->/docs/API/MQTT/HADiscoveryPrefix.md
Home Assistant Status Topic
->/docs/API/MQTT/HAStatusTopic.md
Home Assistant Status Topic
change toonline
to ensure Home Assistant read topics even after restart and non-retained messagesRetain Discovery Topics
to independently configure retain flag for Home Assistant Discovery Topics (Usually not needed as long topcis are controlled by Home Assistant Status Topic, therefore enable retention only if not working as expected)/docs/API/MQTT/_OVERVIEW.md