Problems with decimals | ESP Wi-Fi | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Problems with decimals
No permission to create posts
April 20, 2019
12:19 pm
Avatar
MeteobotHdP
New Member
Members
Forum Posts: 2
Member Since:
April 20, 2019
sp_UserOfflineSmall Offline

Hello,
I am designing an application where a DHT11 reads the temperature. My microcontroller is a NodeMCU.
I don't have any problem in sending the data to ThinkSpeak server but I want to post the data on Twitter using IFTTT (not ThingTwit). I have been able to post the temperatures on Twiter but my main problem is that they have 5 decimals. Eg: Your temperature is 21.50000

Could anyone help me in having only one decimal?

I am not using ThingTweet because I have not been able to send an emoticon with the temperature.

Thank you very much for your help.Laugh

April 20, 2019
2:28 pm
Avatar
piajola

Gold
Members
Forum Posts: 113
Member Since:
October 12, 2015
sp_UserOfflineSmall Offline

Hi MeteobotHdP,

I do not know if this of help to you, but using PUSHINGBOX.COM from MATLAB Analysis in Apps you can directly send to Twitter with the format you wish/need

In pushingbox you use the SERVICE Twitter to build your SCENARIO with the data from Thingspeak and it will be posted to your account in twitter

If you are convinced and need more help ask again here

I hope this is of some help and Good luck Smile

April 21, 2019
6:18 am
Avatar
MeteobotHdP
New Member
Members
Forum Posts: 2
Member Since:
April 20, 2019
sp_UserOfflineSmall Offline

piajola said

Hi MeteobotHdP,

I do not know if this of help to you, but using PUSHINGBOX.COM from MATLAB Analysis in Apps you can directly send to Twitter with the format you wish/need

In pushingbox you use the SERVICE Twitter to build your SCENARIO with the data from Thingspeak and it will be posted to your account in twitter

If you are convinced and need more help ask again here

I hope this is of some help and Good luck Smile  

Thank you for your quick answer. I haven't been able to put emojis in PUSHINGBOX.COM...
Any other option?Frown

April 22, 2019
12:14 am
Avatar
piajola

Gold
Members
Forum Posts: 113
Member Since:
October 12, 2015
sp_UserOfflineSmall Offline

Hi MeteobotHdP,

Sorry for the delay, but I can not be of help with emojis
I send only values of interest and some text. I send notifications of "alarm news" without graphics normally.

I hope you solve this issue

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

khanhNguyen_CT, susyburr, quijano__, meosuckhoe, briskpanda, Dejw0089

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457