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

MQTT JSON subscribe #198

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

MQTT JSON subscribe #198

wants to merge 9 commits into from

Commits on Mar 22, 2023

  1. improved mqtt subscriber

    TrystanLea committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    45efb65 View commit details
    Browse the repository at this point in the history
  2. mqtt pub examples for testing

    TrystanLea committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    ab1e3c6 View commit details
    Browse the repository at this point in the history
  3. remove here print

    TrystanLea committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    6a270ab View commit details
    Browse the repository at this point in the history
  4. only subscribe to mqtt if not a subscribing interfacer

    TrystanLea committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    146901d View commit details
    Browse the repository at this point in the history
  5. fix

    TrystanLea committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    08066d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Configuration menu
    Copy the full SHA
    e90b1af View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    770bc7c View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Fix broken rf transmit behaviour

    1) The emonhub configuration for mqtt has both sub and pub - change the if statement at line 256 to allow this
    2) Add tx/# to the mqtt subscribe at line 260
    3) rf sendving via nodeval has 5 topic parts not 4, fix line 304 (see
       below)
    4) Reinstate if statements:
     if topic_parts[0] == self._settings["nodevar_format_basetopic"][:-1]:
    and
     if topic_parts[0] == self._settings["node_format_basetopic"][:-1]:
    to avoid incorrect "Payload format error" messages
    
    To transmit via MQTT, example for emonglcd:
    topic:emonhub/tx/0/values/msg
    payload:10,14,49,25,27,04,24,150,835,1600,502
    alandpearson committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    3ed6157 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Merge pull request #212 from alandpearson/mqtt_subscribe

    Fix broken rf transmit behaviour in this version
    TrystanLea committed May 20, 2024
    Configuration menu
    Copy the full SHA
    6d1eac4 View commit details
    Browse the repository at this point in the history