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

Fixed HexToBytes function. Added Publish3 command to send binary data via MQTT. #21329

Merged
merged 1 commit into from
May 4, 2024

Conversation

mbezuidenhout
Copy link
Contributor

Description:

Add ability to the Publish command to send a hexstring as binary MQTT data.

Publish command now has the following options

Publish3 | = MQTT publish any topic and optional binary payload. For example the payload 7461736D6F7461 will output tasmota or the value ff will output the integer value 255

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.6
  • The code change is tested and works with Tasmota core ESP32 V.3.0.0
  • I accept the CLA.

@Jason2866
Copy link
Collaborator

Jason2866 commented May 3, 2024

A niche function which needs resources in every build, not a fan of.

@s-hadinger
Copy link
Collaborator

We could consider excluding this feature in SAFEBOOT as it shouldn't be useful there

@Jason2866
Copy link
Collaborator

We could consider excluding this feature in SAFEBOOT as it shouldn't be useful there

Fine when doing this way.

@s-hadinger s-hadinger merged commit 545cc27 into arendst:development May 4, 2024
59 checks passed
hawa-lc4 pushed a commit to hawa-lc4/Tasmota-dev that referenced this pull request May 7, 2024
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.

3 participants