Blog Post

How to send messageQ string to smartControl

Jakes Van Der Mescht • Jun 12, 2020

I want to send smartControl a message from other controllers to publish to the cloud?

So smartController can be integrated to and from other controllers. IOTZA, a partner company wants to interface their ESP WIFI solution with smartCOntrol. The first step is to send smartControl a message using serial communication, and smartControl will process this and send to the cloud.

Firmware side.
The message is a serial message sent on serial communication line.
The message has the following format:
{mFrom:002;mTo:001;mAction:m;Topic:Payload;Topic:Payload;etc}
You can have 22 Topic:Payload pairs in one message.
Topic can never be longer than 15 chars.
Payload can never be longer than 25 chars.
The total message can never be longer than 210 chars. Including curly brackets.

You can bitbang this message on baudrate 9600 from your controller. Just measure and send.

An example message from an electricity controller could be:
{mFrom:002;mTo:001;mAction:m;wAmp:2.23;wVolt:230.4;wKwh:2004.7}

This will arrive in the cloud as different messages on MQTT, Topic wAmp Payload 2.23, another message as Topic wVolt Payload 230.4 etc.

Tip. If you want to make sure a specific message reaches the cloud, you can keep it in that message. For example a trigger on movement you can keep as 1(which means movement) for at least two minutes. Remember smartControl do sleep to preserve data and battery, so it could miss that important message.


Hardware side.
Connect your TX to RX connector on the scout side of smartControl. It is that easy.

Happy integrating to smartCOntrol. More later on receiving messages from the smartControl. 
Remember if you need some more help, contact me on jakes@itesseract.com
By Jakes Van Der Mescht 12 Oct, 2022
Heating and cooling is a very large component of most industries. It is also a large cost factor. Because of some industries dependency on heating or cooling, a breakage in your systems can be catastrophic and should be avoided at all costs. Airconditioners not switched off over a weekend or holdays can cost R1000s in losses. Shouldnt you be aware and notified of Aircon and other cooling health? That is where Tesrac can assist. With Tesrac controllers you can add load and temperature sensors, and control all the components like Aircons remotely and automated. Dashboards visible every moment on your smartphone. See when the temperatures are out of line, and spot problems before critical damage! Load will tell you any electricity supply problems and you can react accordingly in time. Tesrac gives you information on your smartphone, like: Temperature profiles When aircons are on, or off Duration aircons are running Electricity supply problems Control of aircons from your smartphone All you need is GSM reception, power at the controllers, and Tesrac. The installation is easy and any electrician or plumber can manage it. We are always available to support. All this said, it is the right thing to do, no excuses for wastage and large losses! Contact me at jakes@tesrac.com
By Jakes Van Der Mescht 16 Aug, 2022
Lost remote controls? No way to give visitors access without being around to open the gate? GSM systems just cumbersome and not the future! How about a visitors register? Not knowing when your gate is open, or people entering your property or business park without your knowledge, can you really afford that? That is where Tesrac can assist. smartGate is a Bluetooth long range solution that works from your smartphone. You can have multiple tags opening multiple gates and garages. smartGate has login security, so nobody can just enter your property anymore! You also can invite visitors and assign timeframes they can enter. And from an easy to use app you can then control your entrance to all your gates, homes, offices, garages, store rooms and more. smartGate makes gate control for families, office parks a or residential complexes easy to manage, and offer great add on features like: Gate tamper alarm Multiple tags can get activated and controlled by owner Owner can add visitors, family friends colleagues to the allowed access from his phone, to any gate Visitors download app and have access from app Sense auto open allows you to be close to the gate, and the gate will open without you doing anything Events list, view events in/out gate records from your phone Notifications when favourite people leave or return And more smartGate invites for visitors you need to be online, but access can be offline using latest ble(bluetooth low powered technology). The installation is easy and person with some basic battery and gate connection experience can manage that. We are always available to support. smartGate invites for visitors you need to be online, but access can be offline using latest ble(Bluetooth low powered technology). The installation is easy and person with some basic battery and gate connection experience can manage that. We are always available to support. All this said, it is the right thing to do, legacy remote controls are insecure, with no knowledge of who accessed when! There is no excuse not to use technology to give you piece of mind on gate access from your smart phone with smartGate! Contact me at jakes@tesrac.com
By Jakes Van Der Mescht 26 Jul, 2022
Heating and cooling is a very large component of most industries. It is also a large cost factor. Because of some industries dependency on heating or cooling, a breakage in your systems can be catastrophic and should be avoided at all costs. A heatpump not switched off when the water supply stopped, will burn out in no time. Yes we install manual cut-offs, but is it enough? Shouldnt you be aware and notified on all events on your heating and cooling? That is where Tesrac can assist. With Tesrac controllers you can add load and temperature sensors, and control all the components like pumps and elements remotely. All automated and visible every moment on your smartphone. See when the temperatures are out of line, and spot problems before critical damage! Load will tell you any electricity supply problems and you can react accordingly in time. Tesrac gives you information on your smartphone, like: Supply and return temp over time When pumps or elements were switched on, or off Duration of pumps and other comonents are running Electricity and water supply problems Control of componets from your smartphone All you need is GSM reception, power at the watermeters, and Tesrac. The installation is easy and any electrician or plumber can manage it. We are always available to support. All this said, it is the right thing to do, no excuses for wastage and large losses! Contact me at jakes@tesrac.com
By Jakes Van Der Mescht 13 Oct, 2021
Farming is difficult and complex as it is. And costs mount very quickly. One misstep can salvage your total profit on a cycle. Farming snails is relative new venture, mainstream for only a decade or so. With snails temperature and humidity is of atmost importance. These fragile animals cannot have weather to hot, or too cold, or not enough humidity. They can also have too much humidity! Get all this right, and you have a highly profitable business. You can farm snails in less space than what you need for most other farming. But this can also be your biggest factor to control. Lots of animals in a small space can become sick very quickly if you do not control their environment 24x7. That is where iTesseract comes in. With iTesseract controllers you can add humidity and temperature sensors, and control the misting of water on and off. All automated and visible every moment on your smartphone. Never let the humidity go down too low, or temperatures soar. When the temperature or humidity reaches critical level, your irrigation will be switched on. iTesseract gives you information on your smartphone, like: Humdity over time Temperatures over time When irrigation was switched on, or off Duration irrigation was on Whether the irrigation is on right now, or off And you can switch pumps on from your phone And you can add relays for aircons or UV pumps as well! All you need is GSM reception, power at the watermeters, and iTesseract. The installation is easy and any electrician or plumber can mange it. We are always available to support. All this said, it is the right thing to do, no excuses for wastage and accidental large electricity or water related bills! Contact me at jakes@itesseract.com
By Jakes Van Der Mescht 08 Apr, 2021
Most small holdings has businesses running from it, and people living on the premises. Sometimes even more than one family. Face it, to afford living on small holding you need to maximise your revenue you can generate from it. You have the space right? With having a small holding with businesses running from it, and probable a rental or two, the cost add up quickly to provide water and electricity. And it can quickly become your biggest expense. So if it is a large expense, shouldn't you closely manage it? That is where iTesseract comes in. With iTesseract controllers you can add water level sensors for reservoirs, and control the borehole on and off. All automated and visible every moment on your smartphone. Never let the pumps run dry, people without water or reservoirs running over. When the reservoir reaches critical level, your borehole will be switched on. When the reservoir is filled, your borehole pump will be switched off. Unlike legacy systems out there that does this today, iTesseract gives you information on your smartphone, like: Up to four levels When pump was switched on, or off Duration pumps were on Whether the pump is on right now, or off Temperature and Humidity at controller or site And you can switch pumps on from your phone The next big expense that is linked to how much water you are pumping, is electricity usage. iTesseract can measure consumption of your total electricity usage of the main incoming, sub metering per house, workshops and factories. Individual tenants and managers can see their electricity usage, and you can see all of electricity usage, including individual houses or workshops. Again iTesseract gives you on your phone: kwH usage per hour for the day kwH today vs yesterday per hour Usage for the month Usage for last month You can add a kwH downcounter, how many units are left for this month(credits like a prepaid meter) And you can add relays for houses or factories. Now you can convert the meter to a prepaid meter, or just use the relay to switch power off and on. All you need is GSM reception, power at the watermeters, and iTesseract. The installation is easy and any electrician or plumber can mange it. We are always available to support. All this said, it is the right thing to do, no excuses for wastage and accidental large electricity or water related bills! Contact me at jakes@itesseract.com
By Jakes Van Der Mescht 31 Jul, 2020
A must for Covid Agriculture, Agriculture IOT. Remote monitoring and management.
Agriculture - Chickenfarms connected, can we get our profitability up?
By Jakes Van Der Mescht 19 Jun, 2020
Agriculture - Chickenfarms connected, can we get our profitability up?
prepaid electricity meters
By Jakes 14 Oct, 2019
Can you afford not to install smart electricity meters?
iTesseract IOT Smart Cities
By Jakes Van Der Mescht 12 Jul, 2019
iTesseract IOT Smart Cities
iTesseract IOT farming Agricaulture
By Jakes Van Der Mescht 03 Jul, 2019
iTesseract IOT farming Agricaulture
Show More
Share by: