MQTT Enabled Raspberry Pi powermeter

MQTT Support – technology verification (Release 0.9)

We want to make a very simple demonstration project where we can demo the MQTT technology, and from that verify the best plan of implementation.

This demo system will contain the following modules:

Raspberry Pi

We have bought a samle of the SmartPi from

The product can be located on the following link: [login to view URL]

In the specifications for the device it lists MQTT as a supported protocol:

And the software of the device provides access to a configuration screen with the following options:

The challenge is that I cannot find any reference or documentation on how this is implemented, and what functionality are provided with the MQTT protocol block.

The SmartPi devices measures a number of energy related data (referenced from the website):

SmartPi 2.0 measures all important data:

• Current

• Voltage

• Power

• Active power

• Reactive power

• Apparent power

• Energy consumption

• Energy production

• Power consumption

• Power production

• Frequency

• Cos Phi

Important: The above data are listed for 3 power lines, so it 3xV, 3xI, 3xP, accumulated power and so on.

I do not have the skills to debug the code either…

Required functionality for the project:

1. Report the measured data on MQTT, when a request command is received.

2. Added functionality in the settings screen so it becomes possible to set an automatic reporting interval.

3. All of the real time data must be reported as values that are measured values.

At the time of writing this its V, I, P, Active, Reactive, Apparent power, frequency, Cos phi.

4. All of the production/consumption counters have to be reported as incremental values. This is the only way for us to ensure that accumulated consumption is measured correctly, even if we miss a package or several. (You existing power meter to you house does it this way).

The MQTT updates must refer uniquely to the device. This can be solved by using a combination of

An example of a MQTT Subject could be: MQTTtopic/Name/Serial

Which in this example translates to: “Submeter/House/smartpi12345”


For the pilot we will use the WiFi and Ethernet ports of the SmartPi to connect to either a local network or a 3G router.

MQTT Broker

A standardized MQTT broker will be used for now (Its already setup).

MQTT Test software

If nothing else is suggested we will use:

Release 0.91 – Two-way communication

The SmartPi has a building relay, which we want to be able to remote control using the MQTT protocol.

Release 0.92 - Test with protocol gateway

When the above setup is ready we will connect another protocol converter.

This will enable us to connect the PLC’s from Siemens and other manufacturers.

I do not yet know how we will have the data presented on the MQTT Broker, and therefore I cannot specify how we will match the data received to records in a database.

This section will be defined in detail when we have a demo system to learn from.

Release 0.93 – Data are delivered to the existing Energy Management system

Based on the above test and experiences developed we will agree on the beat possible way to integrate the data feed into the existing energy management system.

Release 1.00 – System deployment

When finished and tested it will be raised to a production release.

Release 1.10 – Proprietary data presentation.

The software developed in section/release 0.92 will provide access to additional datasets that the existing system doesn’t support for the time being.

We envisage that we will implement a dedicated software module, that presents both live data and historic data.

Again – when we know more we will agree on this.

Skills: Raspberry Pi, MQTT

See more: design a raspberry pi system to switch 12v led lights based on pc input, find a raspberry pi programmer, freelance raspberry pi, freelancer raspberry pi programmer toronto, help to setup a 24/7 home gateway on raspberry pi, help to setup a 247 home gateway on raspberry pi, hire a python programmer raspberry pi, looking for raspberry pi software developer, raspberry pi 2 software development nz, raspberry pi 2, raspberry pi eastern european freelance programmer, raspberry pi interface, raspberry pi microcontroller, raspberry pi os / model / ipsec, raspberry pi os model ipsec, raspberry pi python, raspberry pi video, Raspberry Pi, searching for raspberry pi programmer, raspberry pi freelancer

About the Employer:
( 2 reviews ) Hoejslev, Denmark

Project ID: #21674974

21 freelancers are bidding on average €586 for this job

(2 Reviews)

hi we know exactly what we will do ,we have the experience in: raspberry pi , MQTT , Nodejs and we can combined between it easy. so assume we will write a nodjs code which will subscribe to mqtt broker and then we ca More

€750 EUR in 15 days
(16 Reviews)

Hi, I have been working on projects involving MQTT, Raspberry Pi etc for more than 3 years now. I have gone through the product website and the pdf you have attached and I am quite sure that I will figure out easily th More

€750 EUR in 7 days
(8 Reviews)

I will deliver your project using the following tools : - python paho-mqtt Client - cloudmqtt broker (global mqtt broker) - raspberry pi 3b+ - python and raspian os Operation will be as follows : - getting current More

€666 EUR in 7 days
(2 Reviews)

Hi. I'm professional programmer/electronic hardware developer with experience over 20 years. I know raspberry PI as well as MQTT protocol. Regards, Alex.

€700 EUR in 15 days
(4 Reviews)

I am an Electrical/Electronics, Embedded Engineer and Raspberry Pi Expert. I read through the job description very carefully and I am absolutely sure that I can do the project very well. I have worked on similar proje More

€250 EUR in 7 days
(8 Reviews)
silicolabs More

€500 EUR in 7 days
(5 Reviews)

Hi Sir, We read details of your pi power smart meter. We are expert in PCB designs and embedded systems, we have rpi and we are IOT experts, we have done projects on smart power meters, so we are totally aware of the More

€450 EUR in 7 days
(2 Reviews)

Hello. I am a senior Microcontroller developer and electronic engineer. I read your description carefully. I can develop the smart pi firmware and develop the MQTT firmware for raspberry pi. My skill is firmware of ard More

€700 EUR in 10 days
(0 Reviews)

Hi, please go through the following Demo URL, we have completely built the energy management system using Pi, and we can quickly shift to smart Pi as well since we have completed the life cycle of energy management. More

€700 EUR in 15 days
(0 Reviews)

I have 3+ years of experience in IOT domain especially in smart energy metering segment. Having in depth understanding of MQTT broker , client (protocol level ) and energy metering along with expertise in Linux, rasp More

€500 EUR in 7 days
(0 Reviews)

Hello Sir, Hope you are doing great...! I completely read & understood your requirement & I am pretty much sure to do it . kindly have a look into my portfolio as well. i have total 5+ years of Exp. Related Websites More

€500 EUR in 7 days
(0 Reviews)

Hi, This is Vipin. I have 6+ years of experience in web development and has expertise in Python, PHP, HTML, Angular and Ionic framework. I have gone through your project description and would like to work on your pro More

€500 EUR in 7 days
(0 Reviews)

MQTT is something super easy to implement. I can build you the complete cloud server for it and setup a MQTT broker so that you can communicate with your raspberry Pi. I will also setup a database so that you can store More

€444 EUR in 4 days
(0 Reviews)

Hello I didn't use this device before , however .. If we're talking about MQTT .. there should be no difference if it runs on raspberry pi or smartPI or even a windows machine . One thing I couldn't get from this d More

€750 EUR in 15 days
(0 Reviews)

Dear Sir or Madam, My name is Milan Vujovic, I'm Electrical Engineer from University of Belgrade. I've been working as Embedded Software Developer for 4 years thru which I gain experience in writing firmware in C, C++ More

€600 EUR in 15 days
(0 Reviews)

Hello, I understood from your description that you want the values read by the Raspberry Pi (SmartPi) to be sent to the server via MQTT, also you want to control the relays via MQTT from the server. On the MQTT broker, More

€700 EUR in 7 days
(0 Reviews)

Hi I am experienced electronics engineer with more than 11 years of experience. I can do it for you. I have worked on a number of projects with raspberry pi and MQTT. Please get in touch to discuss it further if inter More

€750 EUR in 7 days
(0 Reviews)

My understanding of your project is as follows: • You already have a system that can receive information from smart meters, but you also want to add support for MQTT. • In order to test this, you are planning to use More

€550 EUR in 7 days
(0 Reviews)
(0 Reviews)