Community
OpenEnergyMonitor

OpenEnergyMonitor Community

Publish payload json

Hello, i have a feed that publish data to mqtt and works good.
But, i need publish to mqtt this data to a client mqtt that received in this format (json):
Emon/solar {“energy”:{“power”: mydata}}
How i do in emoncms?
Thanks for help

Hello, in emoncms i have a feed that publish data to mqtt and works good.
But, i need publish (create topic) to mqtt with this data to a client mqtt that received in this format (json):
Emon/solar {“energy”:{“power”: mydata}}
How i do in emoncms?
Thanks for help

Hello, i have a feed that publish data to mqtt and works good.
But, i need publish to mqtt this data to a client mqtt that received in this format (json):
Topic = emon/solar
Data = {“energy”:{“power”: mydata}}
How i do in emoncms?
Thanks for help

I realise that you are new here, but asking the same question in multiple places helps nobody.

It is the holiday season here, it is likely that the experts who can give you a proper answer to your problem are on holiday. Please be patient, and hopefully, someone who can help you will see your question and respond.

Thanks.

Hello @Xelect this is not possible directly within emoncms, you could either do this with a script that subscribes to the topic that you publish to or with something like Node-RED perhaps…