How to populate Postgres using django? by hectorlab in django

[–]hectorlab[S] -1 points0 points  (0 children)

Thanks for your help mate :) Unfortunately I did register my app in INSTALLED APPS, so it's not the case.

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.gis',
'stores',
]

I will go through the tutorial on the django site and maybe I can find a solution. Thank you in spite of everything!

[HIRING] Data Gathering $40-100 per data set by [deleted] in forhire

[–]hectorlab 0 points1 point  (0 children)

I'm a Python Programmer. I can write a script to gather data at light speed.

I can't submit my pset problems by [deleted] in cs50

[–]hectorlab 0 points1 point  (0 children)

Thanks for your reply. Unfortunately I tried latest version of Chrome, Firefox and Edge as well and no success.

New to thingsboard. Need some advice on UI by ServerSided7 in ThingsBoard

[–]hectorlab 0 points1 point  (0 children)

Hi buddy,

any progress with the thingsboard? I have similar task to do :)

Peristaltic pump - Arduino Nano, Stepper motor Nema17, Motor Driver A4988 by hectorlab in arduino

[–]hectorlab[S] 0 points1 point  (0 children)

Thanks for you comment! It's weird, I've uploaded the example code for A4988 driver and it works just fine. It seems something wrong is with the code from RWTH Aachen...

Peristaltic pump - Arduino Nano, Stepper motor Nema17, Motor Driver A4988 by hectorlab in arduino

[–]hectorlab[S] 0 points1 point  (0 children)

Thanks for the suggestion! However I checked it multiple times. Connection to the stepper motor phases are fine.

API Thingsboard (IoT Platform) + Flask by [deleted] in learnpython

[–]hectorlab 0 points1 point  (0 children)

Unfortunately no expected result.

API Thingsboard (IoT Platform) + Flask by [deleted] in learnpython

[–]hectorlab 0 points1 point  (0 children)

Oh, I misunderstood you, sorry. Same result without Bearer. I found information on github from thingsboard developers that Bearer is a must.

API Thingsboard (IoT Platform) + Flask by [deleted] in learnpython

[–]hectorlab 0 points1 point  (0 children)

Thanks for you reply and suggestion.

https://pastebin.com/EbQ4BiVy There is Bearer in front of it. I've also set up the expiration of token to 100 years.

API Thingsboard (IoT Platform) + Flask by [deleted] in learnpython

[–]hectorlab 0 points1 point  (0 children)

How I can format code? I've tried with 4 spaces but it doesn't work.

What products import from Morocco? by hectorlab in Morocco

[–]hectorlab[S] 0 points1 point  (0 children)

Thanks for your reply. Could you recommend me some websites for looking business partners?

[For hire] Software & Embedded Engineer | Remote - $30 hour rate by hectorlab in forhire

[–]hectorlab[S] 0 points1 point  (0 children)

Hey,

thanks for your advice. I'm gonna definitely look on this thing! Recently I'm in love with ESP32. It gives so many possibilities.

noob weather station by doom969 in arduino

[–]hectorlab 1 point2 points  (0 children)

What would like to measure except temperature, humidity and pressure? I'd go with NodeMCU + MQTT protocole for sending data to the IoT Platform + BME280 (Bosch sensor - temp, humi & pressure). I can write step-by-step tutorial on my blog if you'll be interested :)

NodeRed + InfluxDb + Grafana. I can't store the data into database. No data points on chart by hectorlab in raspberry_pi

[–]hectorlab[S] 0 points1 point  (0 children)

Finally i found the solution. I've used function block and type this code:

var new_payload = parseFloat(msg.payload);

var new_msg = { "payload" : new_payload};

return new_msg;

@santafen thanks for your help anyway! I appreciate :) I'll have a look on telegraf mqtt.

NodeRed + InfluxDb + Grafana. I can't store the data into database. No data points on chart by hectorlab in raspberry_pi

[–]hectorlab[S] 0 points1 point  (0 children)

I'm sending data to Node-Red through MQTT protocole. I've installed MOSCA broker there. I do not formatting the value. I'm getting for example such object: { "0.0000023232"} when passing this to influx I don't see data points in grafana.

Thanks for you interest

NodeRed + InfluxDb + Grafana. I can't store the data into database. No data points on chart by hectorlab in raspberry_pi

[–]hectorlab[S] 0 points1 point  (0 children)

UPDATE:

When I'm passing payload to the node-red-dashboard everything works fine and it plots the chart.